mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
13 lines
486 B
Diff
13 lines
486 B
Diff
Index: b/security/apparmor/lsm.c
|
|
===================================================================
|
|
--- a/security/apparmor/lsm.c
|
|
+++ b/security/apparmor/lsm.c
|
|
@@ -207,7 +207,7 @@ static int apparmor_sb_mount(char *dev_n
|
|
|
|
static int apparmor_umount(struct vfsmount *mnt, int flags)
|
|
{
|
|
- return aa_reject_syscall(current, GFP_ATOMIC, "umount");
|
|
+ return aa_reject_syscall(current, GFP_KERNEL, "umount");
|
|
}
|
|
|
|
static int apparmor_inode_mkdir(struct inode *dir, struct dentry *dentry,
|