Skip to content

Commit

Permalink
Allow kcmp() through the Firejail sandbox
Browse files Browse the repository at this point in the history
Mesa 19.3.4 on AMDGPU started using kcmp(), which is blocked by
the default sandbox. Explicitly allow it here until Firejail
decides on a permanent solution.

Upstream bug: netblue30/firejail#3219
  • Loading branch information
creideiki committed Feb 15, 2020
1 parent 7144fb6 commit 2bcafe4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www-client/firefox-ephemeral/files/firefox-ephemeral
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ then
exit 1
fi

firejail --whitelist="$DIR"/"$PROFILE" firefox --profile "$DIR"/"$PROFILE" --no-remote --private-window "$@"
firejail --ignore=seccomp '--seccomp=!kcmp,!chroot' --whitelist="$DIR"/"$PROFILE" firefox --profile "$DIR"/"$PROFILE" --no-remote --private-window "$@"

cd "$DIR"
rm -r "$PROFILE"
Expand Down

0 comments on commit 2bcafe4

Please sign in to comment.