diff options
author | 2022-11-28 15:42:39 +0100 | |
---|---|---|
committer | 2022-12-06 17:11:37 -0500 | |
commit | 361dd63ed5f1103ff21e22408a142a7d40804527 (patch) | |
tree | 4bf02d4c445180c5b32eff1192f11cacc48b34c2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | reiserfs: Add missing calls to reiserfs_security_free() (diff) | |
download | wireguard-linux-361dd63ed5f1103ff21e22408a142a7d40804527.tar.xz wireguard-linux-361dd63ed5f1103ff21e22408a142a7d40804527.zip |
lsm: Clarify documentation of vm_enough_memory hook
include/linux/lsm_hooks.h reports the result of the LSM infrastructure to
the callers, not what LSMs should return to the LSM infrastructure.
Clarify that and add that if all LSMs return a positive value
__vm_enough_memory() will be called with cap_sys_admin set. If at least one
LSM returns 0 or negative, it will be called with cap_sys_admin cleared.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions