mknodat: add auth check for device nodes

This commit is contained in:
Matheus
2026-05-13 18:24:33 -03:00
parent 38221a0d03
commit 5cfc6cf782
3 changed files with 16 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@
#define AUTH_ACTIONS_FILESYSTEM_MOUNT 16
#define AUTH_ACTIONS_FILESYSTEM_UNLINK 32
#define AUTH_ACTIONS_FILESYSTEM_RENAME 64
#define AUTH_ACTIONS_FILESYSTEM_MKNOD 128
#define AUTH_ACTIONS_CRED_SETRESUID 1
#define AUTH_ACTIONS_CRED_SETRESGID 2