mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/htop: avoid suid with USE="-filecaps"
Closes: https://bugs.gentoo.org/961054 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -96,7 +96,8 @@ pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
fcaps cap_sys_ptrace usr/bin/${PN}
|
||||
# Non-caps mode is blank to avoid suid with USE="-filecaps" (bug 961054)
|
||||
fcaps -m '' cap_sys_ptrace usr/bin/htop
|
||||
|
||||
optfeature "Viewing processes accessing certain files" sys-process/lsof
|
||||
}
|
||||
@@ -96,7 +96,8 @@ pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
fcaps cap_sys_ptrace usr/bin/${PN}
|
||||
# Non-caps mode is blank to avoid suid with USE="-filecaps" (bug 961054)
|
||||
fcaps -m '' cap_sys_ptrace usr/bin/htop
|
||||
|
||||
optfeature "Viewing processes accessing certain files" sys-process/lsof
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user