aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 8f6424f2b604..da5f521be04b 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -325,7 +325,7 @@ extern void auditsc_get_stamp(struct audit_context *ctx,
325extern int audit_set_loginuid(struct task_struct *task, uid_t loginuid); 325extern int audit_set_loginuid(struct task_struct *task, uid_t loginuid);
326extern uid_t audit_get_loginuid(struct audit_context *ctx); 326extern uid_t audit_get_loginuid(struct audit_context *ctx);
327extern int audit_ipc_obj(struct kern_ipc_perm *ipcp); 327extern int audit_ipc_obj(struct kern_ipc_perm *ipcp);
328extern int audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, mode_t mode, struct kern_ipc_perm *ipcp); 328extern int audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, mode_t mode);
329extern int audit_bprm(struct linux_binprm *bprm); 329extern int audit_bprm(struct linux_binprm *bprm);
330extern int audit_socketcall(int nargs, unsigned long *args); 330extern int audit_socketcall(int nargs, unsigned long *args);
331extern int audit_sockaddr(int len, void *addr); 331extern int audit_sockaddr(int len, void *addr);
@@ -345,7 +345,7 @@ extern int audit_set_macxattr(const char *name);
345#define auditsc_get_stamp(c,t,s) do { BUG(); } while (0) 345#define auditsc_get_stamp(c,t,s) do { BUG(); } while (0)
346#define audit_get_loginuid(c) ({ -1; }) 346#define audit_get_loginuid(c) ({ -1; })
347#define audit_ipc_obj(i) ({ 0; }) 347#define audit_ipc_obj(i) ({ 0; })
348#define audit_ipc_set_perm(q,u,g,m,i) ({ 0; }) 348#define audit_ipc_set_perm(q,u,g,m) ({ 0; })
349#define audit_bprm(p) ({ 0; }) 349#define audit_bprm(p) ({ 0; })
350#define audit_socketcall(n,a) ({ 0; }) 350#define audit_socketcall(n,a) ({ 0; })
351#define audit_sockaddr(len, addr) ({ 0; }) 351#define audit_sockaddr(len, addr) ({ 0; })