commit | 41757106b9ca7867dafb2404d618f947b4786fd7 | [log] [tgz] |
---|---|---|
author | Steve Grubb <sgrubb@redhat.com> | Mon Jun 12 07:48:28 2006 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jun 20 05:25:29 2006 -0400 |
tree | 6feff3fade7d842e58d535eef4f397ebfb8ae19e | |
parent | 9c937dcc71021f2dbf78f904f03d962dd9bcc130 [diff] |
[PATCH] make set_loginuid obey audit_enabled Hi, I was doing some testing and noticed that when the audit system was disabled, I was still getting messages about the loginuid being set. The following patch makes audit_set_loginuid look at in_syscall to determine if it should create an audit event. The loginuid will continue to be set as long as there is a context. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>