android_kernel_samsung_msm8976/include
Steve Grubb c2f0c7c356 The attached patch addresses the problem with getting the audit daemon
shutdown credential information. It creates a new message type 
AUDIT_TERM_INFO, which is used by the audit daemon to query who issued the 
shutdown. 

It requires the placement of a hook function that gathers the information. The 
hook is after the DAC & MAC checks and before the function returns. Racing 
threads could overwrite the uid & pid - but they would have to be root and 
have policy that allows signalling the audit daemon. That should be a 
manageable risk.

The userspace component will be released later in audit 0.7.2. When it 
receives the TERM signal, it queries the kernel for shutdown information. 
When it receives it, it writes the message and exits. The message looks 
like this:

type=DAEMON msg=auditd(1114551182.000) auditd normal halt, sending pid=2650 
uid=525, auditd pid=1685

Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2005-05-06 12:38:39 +01:00
..
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-alpha [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-arm ARM: Add missed imxfb include file 2005-05-05 14:06:31 +01:00
asm-arm26 [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-cris [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-frv [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-generic [PATCH] ppc32: platform-specific functions missing from kallsyms. 2005-05-05 16:36:31 -07:00
asm-h8300 [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-i386 [PATCH] x86: geode support fixes 2005-05-05 16:36:49 -07:00
asm-ia64 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git 2005-05-04 19:52:45 -07:00
asm-m32r [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-m68k [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-m68knommu [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-mips [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-parisc [PATCH] make some things static 2005-05-05 16:36:47 -07:00
asm-ppc [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-ppc64 [PATCH] ppc64: pgtable.h and other header cleanups 2005-05-05 16:36:32 -07:00
asm-s390 [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-sh [PATCH] make some things static 2005-05-05 16:36:47 -07:00
asm-sh64 [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-sparc [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-sparc64 [SPARC64]: Kill useless __pte_alloc_one_kernel indirection 2005-05-05 14:27:56 -07:00
asm-um [PATCH] fix up a comment still refering to verify_area 2005-05-05 16:36:48 -07:00
asm-v850 [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
asm-x86_64 [PATCH] make some things static 2005-05-05 16:36:47 -07:00
linux The attached patch addresses the problem with getting the audit daemon 2005-05-06 12:38:39 +01:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
media Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net [PATCH] update Ross Biro bouncing email address 2005-05-05 16:36:49 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rxrpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
sound Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00