[kernel] r19606 - in dists/sid/linux/debian: . patches patches/debian
Ben Hutchings
benh at alioth.debian.org
Sat Dec 15 01:10:20 UTC 2012
Author: benh
Date: Sat Dec 15 01:10:19 2012
New Revision: 19606
Log:
audit: Increase maximum number of names logged per syscall to 30 (Closes: #631799)
Added:
dists/sid/linux/debian/patches/debian/audit-increase-AUDIT_NAMES.patch
Modified:
dists/sid/linux/debian/changelog
dists/sid/linux/debian/patches/series
Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog Fri Dec 14 01:14:08 2012 (r19605)
+++ dists/sid/linux/debian/changelog Sat Dec 15 01:10:19 2012 (r19606)
@@ -2,6 +2,8 @@
* [ia64] Make IPV6 built-in (fixes FTBFS)
* [rt] Update to 3.2.35-rt52
+ * audit: Increase maximum number of names logged per syscall to 30
+ (Closes: #631799)
-- Ben Hutchings <ben at decadent.org.uk> Mon, 10 Dec 2012 13:13:53 +0000
Added: dists/sid/linux/debian/patches/debian/audit-increase-AUDIT_NAMES.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux/debian/patches/debian/audit-increase-AUDIT_NAMES.patch Sat Dec 15 01:10:19 2012 (r19606)
@@ -0,0 +1,24 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Subject: audit: Increase maximum number of names logged per syscall to 30
+Date: Sat, 15 Dec 2012 01:03:52 +0000
+Bug-Debian: http://bugs.debian.org/631799
+
+Increase maximum number of names logged per syscall to 30, as the
+current value of 20 can be too small. This was enough for Rik Theys
+who reported #631799.
+
+There is a better but bigger fix upstream, commit 5195d8e217a7
+('audit: dynamically allocate audit_names when not enough space is in
+the names array').
+
+--- a/kernel/auditsc.c
++++ b/kernel/auditsc.c
+@@ -72,7 +72,7 @@
+
+ /* AUDIT_NAMES is the number of slots we reserve in the audit_context
+ * for saving names from getname(). */
+-#define AUDIT_NAMES 20
++#define AUDIT_NAMES 30
+
+ /* Indicates that audit should log the full pathname. */
+ #define AUDIT_NAME_FULL -1
Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series Fri Dec 14 01:14:08 2012 (r19605)
+++ dists/sid/linux/debian/patches/series Sat Dec 15 01:10:19 2012 (r19606)
@@ -431,3 +431,4 @@
bugfix/all/exec-do-not-leave-bprm-interp-on-stack.patch
bugfix/all/exec-use-ELOOP-for-max-recursion-depth.patch
bugfix/all/megaraid_sas-fix-memory-leak-if-SGL-has-zero-length-entries.patch
+debian/audit-increase-AUDIT_NAMES.patch
More information about the Kernel-svn-changes
mailing list