]> err.no Git - linux-2.6/commit
[AUDIT] LOGIN message credentials
authorSteve Grubb <sgrubb@redhat.com>
Fri, 29 Apr 2005 16:30:07 +0000 (17:30 +0100)
committer <dwmw2@shinybook.infradead.org> <>
Fri, 29 Apr 2005 16:30:07 +0000 (17:30 +0100)
commit456be6cd90dbbb9b0ea01d56932d56d110d51cf7
tree27f0d001610f686d11ff460cb6c848a599c8ca4f
parent37509e749dc2072e667db806ef24b9e897f61b8a
[AUDIT] LOGIN message credentials

Attached is a new patch that solves the issue of getting valid credentials
into the LOGIN message. The current code was assuming that the audit context
had already been copied. This is not always the case for LOGIN messages.

To solve the problem, the patch passes the task struct to the function that
emits the message where it can get valid credentials.

Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/proc/base.c
include/linux/audit.h
kernel/auditsc.c