Commit ee17d11
add sysctl to allow disabling unprivileged CLONE_NEWUSER
This is a short-term patch. Unprivileged use of CLONE_NEWUSER
is certainly an intended feature of user namespaces. However
for at least saucy we want to make sure that, if any security
issues are found, we have a fail-safe.
[bwh: Remove unneeded binary sysctl bits]
[bwh: Keep this sysctl, but change the default to enabled]
[heftig: correct commit subject to reduce confusion]
[heftig: for 6.17, move all code into kernel/fork.c]1 parent 5dfbc53 commit ee17d11
1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
1990 | 1996 | | |
1991 | 1997 | | |
1992 | 1998 | | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
1993 | 2004 | | |
1994 | 2005 | | |
1995 | 2006 | | |
| |||
3025 | 3036 | | |
3026 | 3037 | | |
3027 | 3038 | | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
3028 | 3043 | | |
3029 | 3044 | | |
3030 | 3045 | | |
| |||
3255 | 3270 | | |
3256 | 3271 | | |
3257 | 3272 | | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
3258 | 3282 | | |
3259 | 3283 | | |
3260 | 3284 | | |
| |||
0 commit comments