Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH] Enable {ipc,network,pid}-sandbox by default
Date: Wed, 12 Dec 2018 17:37:54
Message-Id: 20181212173746.21514-1-mgorny@gentoo.org
1 The sandboxes are stable enough to be enabled by default, and they all
2 prevent undesirable situations. Furthermore, they all gracefully handle
3 missing namespace support.
4 ---
5 cnf/make.globals | 9 +++++----
6 1 file changed, 5 insertions(+), 4 deletions(-)
7
8 diff --git a/cnf/make.globals b/cnf/make.globals
9 index d394a1890..1bcc7ce64 100644
10 --- a/cnf/make.globals
11 +++ b/cnf/make.globals
12 @@ -52,10 +52,11 @@ FETCHCOMMAND_SFTP="bash -c \"x=\\\${2#sftp://} ; host=\\\${x%%/*} ; port=\\\${ho
13 # Default user options
14 FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
15 config-protect-if-modified distlocks ebuild-locks
16 - fixlafiles merge-sync multilib-strict news
17 - parallel-fetch preserve-libs protect-owned
18 - sandbox sfperms strict unknown-features-warn unmerge-logs
19 - unmerge-orphans userfetch userpriv usersandbox usersync"
20 + fixlafiles ipc-sandbox merge-sync multilib-strict
21 + network-sandbox news parallel-fetch pid-sandbox
22 + preserve-libs protect-owned sandbox sfperms strict
23 + unknown-features-warn unmerge-logs unmerge-orphans userfetch
24 + userpriv usersandbox usersync"
25
26 # Ignore file collisions in /lib/modules since files inside this directory
27 # are never unmerged, and therefore collisions must be ignored in order for
28 --
29 2.20.0

Replies