diff options
author | Adrian Reber <areber@redhat.com> | 2020-07-19 13:04:13 +0300 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2020-07-19 21:14:42 +0300 |
commit | b9a3db92e1a1f281724e2f34b849d18d1a53bece (patch) | |
tree | f2ac0fe3487dd9abf8100add478736f2800a04fc /fs/proc | |
parent | 1caef81da05a84a40dbf02110e967ce6d1135ff6 (diff) | |
download | linux-b9a3db92e1a1f281724e2f34b849d18d1a53bece.tar.xz |
pid_namespace: use checkpoint_restore_ns_capable() for ns_last_pid
Use the newly introduced capability CAP_CHECKPOINT_RESTORE to allow
writing to ns_last_pid.
Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20200719100418.2112740-4-areber@redhat.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions