The inclusion of the "include firefox-common.profile" line at the end of the file causes seccomp to be enabled. This line includes the contents of the "firefox-common.profile" file, which contains the seccomp rules for enabling system call filtering.
User
Here is the firefox-common.profile file.:
Firejail profile for firefox-common
This file is overwritten after every install/update
Assistant
The line "seccomp !chroot" in the firefox-common.profile file specifies a system call filter using the seccomp (Secure Computing Mode) feature.
The "!" symbol negates the following parameter, in this case, "chroot". This means that the chroot system call is explicitly allowed, and all other system calls are restricted.
The "chroot" system call is used to create a new root directory for a process, effectively changing its root directory to a specified directory. By allowing the chroot system call, the profile grants Firefox the ability to change its root directory when necessary, for example, when accessing files or resources within a sandbox environment.
User
What is the command-line parameter for disabling seccomp?
Assistant
The command-line parameter for disabling seccomp in Firejail is --noseccomp.
You can use this parameter when launching Firejail to disable the seccomp system call filtering. This allows the application to make unrestricted system calls, which may be necessary for certain applications that require full system access.
Here's an example of how to use the --noseccomp parameter:
code
firejail --noseccomp firefox
This command launches the Firefox browser within Firejail without enabling seccomp filtering.
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-proc.inc
include disable-programs.inc
mkdir HOME/.local/share/pkimkdir{HOME}/.pki
whitelist DOWNLOADSwhitelist{HOME}/.local/share/pki
whitelist ${HOME}/.pki
include whitelist-common.inc
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-var-common.inc
apparmor
Fixme!
apparmor-replace
caps.drop all
machine-id breaks pulse audio; add it to your firefox-common.local if sound is not required.