diff options
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 26c4f6f65a46..466a953d4bf6 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -446,7 +446,7 @@ extern void audit_log_task_context(struct audit_buffer *ab); | |||
446 | extern int __audit_ipc_obj(struct kern_ipc_perm *ipcp); | 446 | extern int __audit_ipc_obj(struct kern_ipc_perm *ipcp); |
447 | extern int __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, mode_t mode); | 447 | extern int __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, mode_t mode); |
448 | extern int audit_bprm(struct linux_binprm *bprm); | 448 | extern int audit_bprm(struct linux_binprm *bprm); |
449 | extern int audit_socketcall(int nargs, unsigned long *args); | 449 | extern void audit_socketcall(int nargs, unsigned long *args); |
450 | extern int audit_sockaddr(int len, void *addr); | 450 | extern int audit_sockaddr(int len, void *addr); |
451 | extern int __audit_fd_pair(int fd1, int fd2); | 451 | extern int __audit_fd_pair(int fd1, int fd2); |
452 | extern int audit_set_macxattr(const char *name); | 452 | extern int audit_set_macxattr(const char *name); |
@@ -549,7 +549,7 @@ extern int audit_signals; | |||
549 | #define audit_ipc_obj(i) ({ 0; }) | 549 | #define audit_ipc_obj(i) ({ 0; }) |
550 | #define audit_ipc_set_perm(q,u,g,m) ({ 0; }) | 550 | #define audit_ipc_set_perm(q,u,g,m) ({ 0; }) |
551 | #define audit_bprm(p) ({ 0; }) | 551 | #define audit_bprm(p) ({ 0; }) |
552 | #define audit_socketcall(n,a) ({ 0; }) | 552 | #define audit_socketcall(n,a) ((void)0) |
553 | #define audit_fd_pair(n,a) ({ 0; }) | 553 | #define audit_fd_pair(n,a) ({ 0; }) |
554 | #define audit_sockaddr(len, addr) ({ 0; }) | 554 | #define audit_sockaddr(len, addr) ({ 0; }) |
555 | #define audit_set_macxattr(n) do { ; } while (0) | 555 | #define audit_set_macxattr(n) do { ; } while (0) |