OSDN Git Service

audit: move loginuid and sessionid from CONFIG_AUDITSYSCALL to CONFIG_AUDIT
authorRichard Guy Briggs <rgb@redhat.com>
Tue, 22 Jan 2019 22:06:39 +0000 (17:06 -0500)
committerPaul Moore <paul@paul-moore.com>
Fri, 25 Jan 2019 18:03:23 +0000 (13:03 -0500)
commit4b7d248b3a1de483ffe9d05c1debbf32a544164d
tree6b652f40d702f6b09c084676955312902c650900
parent626abcd13d4ea2b67be3249a250046cf713f532a
audit: move loginuid and sessionid from CONFIG_AUDITSYSCALL to CONFIG_AUDIT

loginuid and sessionid (and audit_log_session_info) should be part of
CONFIG_AUDIT scope and not CONFIG_AUDITSYSCALL since it is used in
CONFIG_CHANGE, ANOM_LINK, FEATURE_CHANGE (and INTEGRITY_RULE), none of
which are otherwise dependent on AUDITSYSCALL.

Please see github issue
https://github.com/linux-audit/audit-kernel/issues/104

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: tweaked subject line for better grep'ing]
Signed-off-by: Paul Moore <paul@paul-moore.com>
fs/proc/base.c
include/linux/audit.h
include/linux/sched.h
init/init_task.c
kernel/audit.c
kernel/auditsc.c