We have several branches in sys_mount, each of them will check
CAP_SYS_ADMIN capability seperately. Do this check at the beginning
of sys_mount.
Also check permission as early as possible in sys_umount.
Signed-off-by: Yan Hong
---
fs/namespace.c | 26 +++---
1 file
We have several branches in sys_mount, each of them will check
CAP_SYS_ADMIN capability seperately. Do this check at the beginning
of sys_mount.
Also check permission as early as possible in sys_umount.
Signed-off-by: Yan Hong clouds@gmail.com
---
fs/namespace.c | 26
2 matches
Mail list logo