[AUDIT] return EINTR not ERESTART*
authorEric Paris <eparis@redhat.com>
Mon, 7 Jan 2008 18:34:51 +0000 (13:34 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:05:55 +0000 (14:05 -0500)
commitf701b75ed5ffb6820efe530d1a3abcc6fc4678ad
tree46036f5e1b2703f6f9073a4a1469e3c5a611083e
parentbfef93a5d1fb5654fe2025276c55e202d10b5255
[AUDIT] return EINTR not ERESTART*

The syscall exit code will change ERESTART* kernel internal return codes
to EINTR if it does not restart the syscall.  Since we collect the audit
info before that point we should fix those in the audit log as well.

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c