diff options
| author | Adrian Reber <[email protected]> | 2020-07-19 10:04:14 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2020-07-19 18:14:42 +0000 |
| commit | 12886f8ab10ce6a09af1d92535d49c81aaa215a8 (patch) | |
| tree | 5216c20df0841870c59b86e55c52d5860d948900 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | pid_namespace: use checkpoint_restore_ns_capable() for ns_last_pid (diff) | |
| download | kernel-12886f8ab10ce6a09af1d92535d49c81aaa215a8.tar.gz kernel-12886f8ab10ce6a09af1d92535d49c81aaa215a8.zip | |
proc: allow access in init userns for map_files with CAP_CHECKPOINT_RESTORE
Opening files in /proc/pid/map_files when the current user is
CAP_CHECKPOINT_RESTORE capable in the root namespace is useful for
checkpointing and restoring to recover files that are unreachable via
the file system such as deleted files, or memfd files.
Signed-off-by: Adrian Reber <[email protected]>
Signed-off-by: Nicolas Viennot <[email protected]>
Reviewed-by: Cyrill Gorcunov <[email protected]>
Reviewed-by: Serge Hallyn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
