diff options
| -rw-r--r-- | security/selinux/hooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 099e1eaa729f..d7cca0131e49 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2127,7 +2127,7 @@ static int selinux_inode_setxattr(struct dentry *dentry, char *name, void *value sbsec = inode->i_sb->s_security; if (sbsec->behavior == SECURITY_FS_USE_MNTPOINT) - return -ENOTSUPP; + return -EOPNOTSUPP; AVC_AUDIT_DATA_INIT(&ad,FS); ad.u.fs.dentry = dentry; @@ -2185,7 +2185,7 @@ static int selinux_inode_getxattr (struct dentry *dentry, char *name) struct superblock_security_struct *sbsec = inode->i_sb->s_security; if (sbsec->behavior == SECURITY_FS_USE_MNTPOINT) - return -ENOTSUPP; + return -EOPNOTSUPP; return dentry_has_perm(current, NULL, dentry, FILE__GETATTR); } |
