Commit a42e392
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 ad8a3ed commit a42e392
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 | | |
| |||
2030 | 2036 | | |
2031 | 2037 | | |
2032 | 2038 | | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
2033 | 2044 | | |
2034 | 2045 | | |
2035 | 2046 | | |
| |||
3066 | 3077 | | |
3067 | 3078 | | |
3068 | 3079 | | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
3069 | 3084 | | |
3070 | 3085 | | |
3071 | 3086 | | |
| |||
3296 | 3311 | | |
3297 | 3312 | | |
3298 | 3313 | | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
3299 | 3323 | | |
3300 | 3324 | | |
3301 | 3325 | | |
| |||
0 commit comments