Micah Morton
40852275a9
LSM: add SafeSetID module that gates setid calls
...
This change ensures that the set*uid family of syscalls in kernel/sys.c
(setreuid, setuid, setresuid, setfsuid) all call ns_capable_common with
the CAP_OPT_INSETID flag, so capability checks in the security_capable
hook can know whether they are being called from within a set*uid
syscall. This change is a no-op by itself, but is needed for the
proposed SafeSetID LSM.
Signed-off-by: Micah Morton <mortonm@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
2019-01-25 11:22:43 -08:00
..
2019-01-18 15:19:56 -08:00
2018-12-29 10:57:20 -08:00
2018-10-24 20:55:56 -04:00
2018-12-30 08:31:52 +00:00
2019-01-16 09:59:17 -05:00
2019-01-03 18:57:57 -08:00
2018-12-19 11:32:08 +01:00
2018-12-01 12:38:50 -08:00
2019-01-04 13:13:48 -08:00
2018-12-28 12:11:47 -08:00
2019-01-03 18:57:57 -08:00
2018-12-01 12:45:42 -08:00
2019-01-06 09:46:51 +09:00
2018-12-28 12:45:04 -08:00
2019-01-15 11:33:45 -05:00
2018-11-26 18:40:00 -05:00
2018-11-26 18:40:00 -05:00
2018-11-26 18:40:00 -05:00
2018-12-14 12:09:30 -05:00
2018-11-26 18:41:21 -05:00
2018-11-26 18:41:21 -05:00
2018-10-31 08:54:14 -07:00
2019-01-25 11:22:43 -08:00
2019-01-04 12:56:09 -08:00
2018-11-28 11:57:07 +01:00
2018-08-22 10:52:47 -07:00
2019-01-08 13:18:44 -08:00
2018-10-26 16:26:32 -07:00
2019-01-16 05:13:36 +12:00
2018-10-31 08:54:12 -07:00
2019-01-08 18:58:29 -08:00
2018-08-06 12:35:20 +02:00
2019-01-03 18:57:57 -08:00
2019-01-04 13:13:45 -08:00
2019-01-06 09:46:51 +09:00
2018-09-10 22:54:33 +09:00
2018-12-15 17:44:35 +09:00
2019-01-04 13:13:47 -08:00
2018-12-28 12:11:47 -08:00
2018-12-06 14:38:50 +00:00
2018-12-26 14:45:18 -08:00
2018-08-13 11:25:07 -07:00
2019-01-06 09:46:51 +09:00
2018-12-28 12:11:52 -08:00
2018-11-07 14:41:41 +01:00
2019-01-06 09:46:51 +09:00
2018-11-16 14:11:04 +08:00
2019-01-04 13:13:47 -08:00
2018-09-16 16:08:25 +02:00
2018-12-28 12:42:30 -08:00
2018-10-31 08:54:16 -07:00
2019-01-03 18:57:57 -08:00
2018-09-11 16:13:24 +01:00
2018-12-28 12:11:49 -08:00
2019-01-03 18:57:57 -08:00
2019-01-22 14:33:10 -08:00
2019-01-03 18:57:57 -08:00
2018-10-09 16:51:11 +02:00
2018-10-25 11:43:47 -07:00
2018-12-05 19:31:44 -08:00
2018-08-13 11:25:07 -07:00
2018-12-18 16:13:04 +01:00
2019-01-25 11:22:43 -08:00
2019-01-04 13:13:47 -08:00
2019-01-04 13:13:47 -08:00
2018-12-01 12:45:35 -08:00
2018-11-27 09:21:41 -08:00
2019-01-11 18:05:40 -08:00
2018-10-09 16:51:11 +02:00
2018-11-07 23:51:16 -06:00
2018-08-22 10:52:47 -07:00
2018-08-11 02:05:53 -05:00
2018-08-30 12:56:40 +02:00
2018-08-30 12:56:40 +02:00
2018-11-27 09:21:44 -08:00