aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-03-29 20:23:36 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-05-01 06:06:18 -0400
commit5411be59db80333039386f3b1ccfe5eb9023a916 (patch)
tree77873af4b7557768c3c48b56e7ae4508be4a70a5 /include/linux/audit.h
parente495149b173d8e133e1f6f2eb86fd97be7e92010 (diff)
[PATCH] drop task argument of audit_syscall_{entry,exit}
... it's always current, and that's a good thing - allows simpler locking. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 1c47c59058c1..39fef6ebb854 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -287,10 +287,10 @@ struct netlink_skb_parms;
287 /* Public API */ 287 /* Public API */
288extern int audit_alloc(struct task_struct *task); 288extern int audit_alloc(struct task_struct *task);
289extern void audit_free(struct task_struct *task); 289extern void audit_free(struct task_struct *task);
290extern void audit_syscall_entry(struct task_struct *task, int arch, 290extern void audit_syscall_entry(int arch,
291 int major, unsigned long a0, unsigned long a1, 291 int major, unsigned long a0, unsigned long a1,
292 unsigned long a2, unsigned long a3); 292 unsigned long a2, unsigned long a3);
293extern void audit_syscall_exit(struct task_struct *task, int failed, long return_code); 293extern void audit_syscall_exit(int failed, long return_code);
294extern void audit_getname(const char *name); 294extern void audit_getname(const char *name);
295extern void audit_putname(const char *name); 295extern void audit_putname(const char *name);
296extern void __audit_inode(const char *name, const struct inode *inode, unsigned flags); 296extern void __audit_inode(const char *name, const struct inode *inode, unsigned flags);
@@ -323,8 +323,8 @@ extern int audit_set_macxattr(const char *name);
323#else 323#else
324#define audit_alloc(t) ({ 0; }) 324#define audit_alloc(t) ({ 0; })
325#define audit_free(t) do { ; } while (0) 325#define audit_free(t) do { ; } while (0)
326#define audit_syscall_entry(t,ta,a,b,c,d,e) do { ; } while (0) 326#define audit_syscall_entry(ta,a,b,c,d,e) do { ; } while (0)
327#define audit_syscall_exit(t,f,r) do { ; } while (0) 327#define audit_syscall_exit(f,r) do { ; } while (0)
328#define audit_getname(n) do { ; } while (0) 328#define audit_getname(n) do { ; } while (0)
329#define audit_putname(n) do { ; } while (0) 329#define audit_putname(n) do { ; } while (0)
330#define __audit_inode(n,i,f) do { ; } while (0) 330#define __audit_inode(n,i,f) do { ; } while (0)