Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 645500 Details for
Bug 728992
sys-apps/portage: Add ebuild-helper to disable file's seccomp sandbox
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bin/ebuild-helpers/file
file (text/plain), 761 bytes, created by
tka
on 2020-06-21 11:42:31 UTC
(
hide
)
Description:
bin/ebuild-helpers/file
Filename:
MIME Type:
Creator:
tka
Created:
2020-06-21 11:42:31 UTC
Size:
761 bytes
patch
obsolete
>#!/bin/bash ># Copyright 2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > ># file's seccomp sandbox does not work under portage's own sandbox. ># Therefore, disable file's sandbox. See https://bugs.gentoo.org/728978 ># for an example. > ># TODO consider to keep file's sandbox enabled if portage is run ># without sandbox. > >scriptpath=${BASH_SOURCE[0]} >scriptname=${scriptpath##*/} > >old_IFS="${IFS}" >IFS=":" > >for path in $PATH; do > if [[ -x ${path}/${scriptname} ]]; then > [[ ${path} == */portage/*/ebuild-helpers* ]] && continue > [[ ${path}/${scriptname} -ef ${scriptpath} ]] && continue > # disable file's system-call sandboxing by adding -S > exec "${path}/${scriptname}" -S "$@" > exit 0 > fi >done > >IFS="${old_IFS}" >exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 728992
: 645500