mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3688] [MERGED] profiles: chromium: rework & add new profiles #4848
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#4848
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/3688
Author: @rusty-snake
Created: 10/23/2020
Status: ✅ Merged
Merged: 11/9/2020
Merged by: @rusty-snake
Base:
master← Head:rework-chromium📝 Commits (4)
d281e3crework chromiuma2b6ce9update 11d023a3update 265193c3update 3📊 Changes
24 files changed (+126 additions, -14 deletions)
View changed files
➕
etc/inc/chromium-common-hardened.inc(+5 -0)📝
etc/inc/disable-programs.inc(+2 -0)📝
etc/profile-a-l/bnox.profile(+5 -0)📝
etc/profile-a-l/brave.profile(+6 -0)➕
etc/profile-a-l/chromium-browser-privacy.profile(+17 -0)📝
etc/profile-a-l/chromium-common.profile(+12 -1)📝
etc/profile-a-l/dnox.profile(+5 -0)📝
etc/profile-a-l/enox.profile(+5 -0)📝
etc/profile-a-l/flashpeak-slimjet.profile(+5 -0)📝
etc/profile-a-l/google-chrome-beta.profile(+5 -0)📝
etc/profile-a-l/google-chrome-unstable.profile(+5 -0)📝
etc/profile-a-l/google-chrome.profile(+5 -0)📝
etc/profile-a-l/inox.profile(+5 -0)📝
etc/profile-a-l/iridium.profile(+5 -0)📝
etc/profile-m-z/min.profile(+5 -0)📝
etc/profile-m-z/opera-beta.profile(+5 -0)📝
etc/profile-m-z/opera.profile(+5 -0)📝
etc/profile-m-z/snox.profile(+5 -0)📝
etc/profile-m-z/vivaldi-beta.profile(+3 -1)📝
etc/profile-m-z/vivaldi-snapshot.profile(+1 -11)...and 4 more files
📄 Description
516d0811has removed fundamental security features.(remove caps.drop=all, nonewprivs, noroot, seccomp, protocol; add
caps.keep) Though this is only necessary if running under a kernel which
disallow unprivileged userns clones. Arch's linux-hardened and debian kernel
are patched accordingly. Arch's linux and linux-lts kernels support this
restriction via sysctk (kernel.unprivileged_userns_clone=0) as users
opt-in. Other kernels such as mainline or fedora/redhat always support
unprivileged userns clone and have no sysctl parameter to disable it. Debian and
Arch users can enable it with 'sysctl kernel.unprivileged_userns_clone=1'.
This commit adds a chromium-common-hardened.inc which can be included
in chromium-common to enhance security of chromium-based programs.
chromium-common.profile: add private-cache
chromium-common.profile: add wruc and wusc, but disable it for the following profiles until tested. tests welcome.
move vivaldi-snapshot paths from vivaldi-snapshot.profile to vivaldi.
/usr/bin/vivaldi is a symlink to /etc/alternatives/vivaldi which can be vivaldi-stable, vivaldi-beta or vivaldi-snapshot. vivaldi-snapshot.profile missed also some features from vivaldi.profile, solve this by making it redirect to vivaldi.profile. TODO: exist new paths such as .local/lib/vivaldi also for vivaldi-snapshot?
Move drm-relaktions in vivaldi.profile behind BROWSER_ALLOW_DRM.create chromium-browser-privacy.profile (closes #3633)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.