Skip to content

Commit 79dede7

Browse files
committed
Merge branch 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull security subsystem fix from James Morris: "Fix the default value of fs_context_parse_param hook" * 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: security: Fix the default value of fs_context_parse_param hook
2 parents 192ffb7 + 54261af commit 79dede7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/lsm_hook_defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ LSM_HOOK(void, LSM_RET_VOID, bprm_committing_creds, struct linux_binprm *bprm)
5555
LSM_HOOK(void, LSM_RET_VOID, bprm_committed_creds, struct linux_binprm *bprm)
5656
LSM_HOOK(int, 0, fs_context_dup, struct fs_context *fc,
5757
struct fs_context *src_sc)
58-
LSM_HOOK(int, 0, fs_context_parse_param, struct fs_context *fc,
58+
LSM_HOOK(int, -ENOPARAM, fs_context_parse_param, struct fs_context *fc,
5959
struct fs_parameter *param)
6060
LSM_HOOK(int, 0, sb_alloc_security, struct super_block *sb)
6161
LSM_HOOK(void, LSM_RET_VOID, sb_free_security, struct super_block *sb)

0 commit comments

Comments
 (0)