[kernel] r7659 - in dists/trunk/linux-2.6/debian: . patches/bugfix
patches/series
Martin Michlmayr
tbm at alioth.debian.org
Sun Oct 29 11:59:47 UTC 2006
Author: tbm
Date: Sun Oct 29 12:59:47 2006
New Revision: 7659
Added:
dists/trunk/linux-2.6/debian/patches/bugfix/audit-syscalls.patch
Modified:
dists/trunk/linux-2.6/debian/changelog
dists/trunk/linux-2.6/debian/patches/series/4
Log:
audit: fix missing ifdefs in syscall classes hookup for generic targets
Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog (original)
+++ dists/trunk/linux-2.6/debian/changelog Sun Oct 29 12:59:47 2006
@@ -23,6 +23,7 @@
* arm/iop32x: Fix the interrupt of the 2nd Ethernet slot on N2100.
* arm/iop32x: Allow USB and serial to co-exist on N2100.
* arm/ixp4xx: Add clocksource for Intel IXP4xx platforms.
+ * audit: fix missing ifdefs in syscall classes hookup for generic targets
[ maximilian attems ]
* Add netpoll leak fix.
Added: dists/trunk/linux-2.6/debian/patches/bugfix/audit-syscalls.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/audit-syscalls.patch Sun Oct 29 12:59:47 2006
@@ -0,0 +1,73 @@
+From: Al Viro <viro at ftp.linux.org.uk>
+Date: Fri, 22 Sep 2006 23:10:18 +0000 (+0100)
+Subject: [PATCH] fix missing ifdefs in syscall classes hookup for generic targets
+X-Git-Tag: v2.6.19-rc1
+X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a83fbf635992442edf6aa3252e4008d4a08edf12
+
+[PATCH] fix missing ifdefs in syscall classes hookup for generic targets
+
+several targets have no ....at() family and m32r calls its only chown variant
+chown32(), with __NR_chown being undefined. creat(2) is also absent in some
+targets.
+
+Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
+Signed-off-by: Linus Torvalds <torvalds at osdl.org>
+---
+
+--- a/include/asm-generic/audit_change_attr.h
++++ b/include/asm-generic/audit_change_attr.h
+@@ -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,
+--- a/include/asm-generic/audit_dir_write.h
++++ b/include/asm-generic/audit_dir_write.h
+@@ -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
+--- a/lib/audit.c
++++ b/lib/audit.c
+@@ -28,8 +28,10 @@ int audit_classify_syscall(int abi, unsi
+ switch(syscall) {
+ case __NR_open:
+ return 2;
++#ifdef __NR_openat
+ case __NR_openat:
+ return 3;
++#endif
+ #ifdef __NR_socketcall
+ case __NR_socketcall:
+ return 4;
Modified: dists/trunk/linux-2.6/debian/patches/series/4
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/4 (original)
+++ dists/trunk/linux-2.6/debian/patches/series/4 Sun Oct 29 12:59:47 2006
@@ -12,3 +12,4 @@
+ bugfix/net-r8169-hotplug_loop.patch
+ bugfix/arm/arm-generic-time.patch
+ bugfix/arm/ixp4xx-clocksource.patch
++ bugfix/audit-syscalls.patch
More information about the Kernel-svn-changes
mailing list