Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34346
b: refs/heads/master
c: a83fbf6
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 23, 2006
1 parent 8ec42b5 commit 388e3c1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db392219c5f572610645696e3672f6ea38783a65
refs/heads/master: a83fbf635992442edf6aa3252e4008d4a08edf12
4 changes: 4 additions & 0 deletions trunk/include/asm-generic/audit_change_attr.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
__NR_chmod,
__NR_fchmod,
#ifdef __NR_chown
__NR_chown,
__NR_fchown,
__NR_lchown,
#endif
__NR_setxattr,
__NR_lsetxattr,
__NR_fsetxattr,
__NR_removexattr,
__NR_lremovexattr,
__NR_fremovexattr,
#ifdef __NR_fchownat
__NR_fchownat,
__NR_fchmodat,
#endif
#ifdef __NR_chown32
__NR_chown32,
__NR_fchown32,
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/asm-generic/audit_dir_write.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
__NR_rename,
__NR_mkdir,
__NR_rmdir,
#ifdef __NR_creat
__NR_creat,
#endif
__NR_link,
__NR_unlink,
__NR_symlink,
__NR_mknod,
#ifdef __NR_mkdirat
__NR_mkdirat,
__NR_mknodat,
__NR_unlinkat,
__NR_renameat,
__NR_linkat,
__NR_symlinkat,
#endif
2 changes: 2 additions & 0 deletions trunk/lib/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ int audit_classify_syscall(int abi, unsigned syscall)
switch(syscall) {
case __NR_open:
return 2;
#ifdef __NR_openat
case __NR_openat:
return 3;
#endif
#ifdef __NR_socketcall
case __NR_socketcall:
return 4;
Expand Down

0 comments on commit 388e3c1

Please sign in to comment.