Commit 900f83c
selinux: ignore unknown extended permissions
When evaluating extended permissions, ignore unknown permissions instead
of calling BUG(). This commit ensures that future permissions can be
added without interfering with older kernels.
Cc: [email protected]
Fixes: fa1aa14 ("selinux: extended permissions for ioctls")
Signed-off-by: Thiébaud Weksteen <[email protected]>
Signed-off-by: Paul Moore <[email protected]>1 parent 40384c8 commit 900f83c
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
983 | 986 | | |
984 | 987 | | |
985 | 988 | | |
| |||
998 | 1001 | | |
999 | 1002 | | |
1000 | 1003 | | |
1001 | | - | |
| 1004 | + | |
| 1005 | + | |
1002 | 1006 | | |
1003 | 1007 | | |
1004 | 1008 | | |
| |||
0 commit comments