AUDIT: Spawn kernel thread to list filter rules.
commitf6a789d19858a951e7ff9e297a44b377c21b6c33
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Tue, 21 Jun 2005 15:22:01 +0000 (21 16:22 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Tue, 21 Jun 2005 15:22:01 +0000 (21 16:22 +0100)
tree5e54f1460bc048706ad6df8c5cb5bf748f067f13
parentae7b961b1c943367dfe179411f120d7bf8eaba89
AUDIT: Spawn kernel thread to list filter rules.

If we have enough rules to fill the netlink buffer space, it'll
deadlock because auditctl isn't ever actually going to read from the
socket until we return, and we aren't going to return until it
reads... so we spawn a kernel thread to spew out the list and then
exit.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/audit.h
kernel/audit.c
kernel/auditsc.c