diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-12-12 08:34:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-12-12 08:34:05 -0800 |
commit | 667161ba0a1c5badc5c40fc45cf62a6d62883710 (patch) | |
tree | 77681ccd6d526c7e3b5d1c2ff766a96c1ebedcbd /include/linux | |
parent | 059c4a341df7dbaab0a30a8e5420b619518f8887 (diff) | |
parent | b9069728a70c23dad00684eb994a3f5295f127cf (diff) |
Merge tag 'seccomp-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull seccomp updates from Kees Cook:
- Add missing kerndoc parameter (Randy Dunlap)
- Improve seccomp selftest to check CAP_SYS_ADMIN (Gautam Menghani)
- Fix allocation leak when cloned thread immediately dies (Kuniyuki
Iwashima)
* tag 'seccomp-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
seccomp: document the "filter_count" field
seccomp: Move copy_seccomp() to no failure path.
selftests/seccomp: Check CAP_SYS_ADMIN capability in the test mode_filter_without_nnp
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/seccomp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index d31d76be4982..175079552f68 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -27,6 +27,7 @@ struct seccomp_filter; * * @mode: indicates one of the valid values above for controlled * system calls available to a process. + * @filter_count: number of seccomp filters * @filter: must always point to a valid seccomp-filter or NULL as it is * accessed without locking during system call entry. * |