diff options
-rw-r--r-- | security/security.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c index 038ef04b2c7f..f0d96a6cc4e9 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -225,12 +225,12 @@ int security_bprm_check(struct linux_binprm *bprm) | |||
225 | 225 | ||
226 | void security_bprm_committing_creds(struct linux_binprm *bprm) | 226 | void security_bprm_committing_creds(struct linux_binprm *bprm) |
227 | { | 227 | { |
228 | return security_ops->bprm_committing_creds(bprm); | 228 | security_ops->bprm_committing_creds(bprm); |
229 | } | 229 | } |
230 | 230 | ||
231 | void security_bprm_committed_creds(struct linux_binprm *bprm) | 231 | void security_bprm_committed_creds(struct linux_binprm *bprm) |
232 | { | 232 | { |
233 | return security_ops->bprm_committed_creds(bprm); | 233 | security_ops->bprm_committed_creds(bprm); |
234 | } | 234 | } |
235 | 235 | ||
236 | int security_bprm_secureexec(struct linux_binprm *bprm) | 236 | int security_bprm_secureexec(struct linux_binprm *bprm) |
@@ -613,7 +613,7 @@ int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp) | |||
613 | 613 | ||
614 | void security_commit_creds(struct cred *new, const struct cred *old) | 614 | void security_commit_creds(struct cred *new, const struct cred *old) |
615 | { | 615 | { |
616 | return security_ops->cred_commit(new, old); | 616 | security_ops->cred_commit(new, old); |
617 | } | 617 | } |
618 | 618 | ||
619 | int security_kernel_act_as(struct cred *new, u32 secid) | 619 | int security_kernel_act_as(struct cred *new, u32 secid) |