diff options
author | 2020-06-09 10:22:13 -0700 | |
---|---|---|
committer | 2020-06-14 10:52:02 -0700 | |
commit | 39030e1351aa1aa7443bb2da24426573077c83da (patch) | |
tree | f593d47dfb088f59bf3db1ce3be5ddc475af6218 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.7 (diff) | |
download | wireguard-linux-39030e1351aa1aa7443bb2da24426573077c83da.tar.xz wireguard-linux-39030e1351aa1aa7443bb2da24426573077c83da.zip |
security: Add LSM hooks to set*gid syscalls
The SafeSetID LSM uses the security_task_fix_setuid hook to filter
set*uid() syscalls according to its configured security policy. In
preparation for adding analagous support in the LSM for set*gid()
syscalls, we add the requisite hook here. Tested by putting print
statements in the security_task_fix_setgid hook and seeing them get hit
during kernel boot.
Signed-off-by: Thomas Cedeno <thomascedeno@google.com>
Signed-off-by: Micah Morton <mortonm@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions