diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index 301b141b9a32..23cbb1a295a3 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -764,6 +764,16 @@ void security_bprm_committed_creds(struct linux_binprm *bprm) | |||
764 | call_void_hook(bprm_committed_creds, bprm); | 764 | call_void_hook(bprm_committed_creds, bprm); |
765 | } | 765 | } |
766 | 766 | ||
767 | int security_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc) | ||
768 | { | ||
769 | return call_int_hook(fs_context_dup, 0, fc, src_fc); | ||
770 | } | ||
771 | |||
772 | int security_fs_context_parse_param(struct fs_context *fc, struct fs_parameter *param) | ||
773 | { | ||
774 | return call_int_hook(fs_context_parse_param, -ENOPARAM, fc, param); | ||
775 | } | ||
776 | |||
767 | int security_sb_alloc(struct super_block *sb) | 777 | int security_sb_alloc(struct super_block *sb) |
768 | { | 778 | { |
769 | return call_int_hook(sb_alloc_security, 0, sb); | 779 | return call_int_hook(sb_alloc_security, 0, sb); |