Commit 7dff88a
committed
Revert "jailer: Use O_NOFOLLOW for cgroup and netns file operations"
This reverts commit ce2a467.
It turns out users do want to legitimately use symlinks in these paths.
Commit 72340ca ("docs: Clarify that all jailer inputs must be
trusted") updated documentation to make it clear that all jailer inputs
are always considered trusted anyway, so this revert is not a
regression.
Signed-off-by: Ilias Stamatis <ilstam@amazon.com>1 parent 4a2183a commit 7dff88a
2 files changed
Lines changed: 4 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 522 | + | |
| 523 | + | |
527 | 524 | | |
528 | 525 | | |
529 | 526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| |||
243 | 240 | | |
244 | 241 | | |
245 | 242 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 243 | + | |
254 | 244 | | |
255 | 245 | | |
256 | 246 | | |
257 | 247 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 248 | + | |
265 | 249 | | |
266 | 250 | | |
267 | 251 | | |
| |||
0 commit comments