[PATCH ghak104 V1] audit: move loginuid and sessionid from CONFIG_ AUDITSYSCALL to AUDIT

Paul Moore paul at paul-moore.com
Fri Jan 25 18:27:08 UTC 2019


On Tue, Jan 22, 2019 at 5:07 PM Richard Guy Briggs <rgb at redhat.com> wrote:
> 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 at redhat.com>
> ---
>  fs/proc/base.c        |  6 ++--
>  include/linux/audit.h | 42 +++++++++++++------------
>  include/linux/sched.h |  2 +-
>  init/init_task.c      |  2 +-
>  kernel/audit.c        | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  kernel/auditsc.c      | 84 --------------------------------------------------
>  6 files changed, 113 insertions(+), 108 deletions(-)

Looks good, merged.

-- 
paul moore
www.paul-moore.com




More information about the Linux-audit mailing list