aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
authorOndrej Mosnáček <omosnace@redhat.com>2018-05-17 17:31:14 +0200
committerPaul Moore <paul@paul-moore.com>2018-05-21 14:27:43 -0400
commit5b71388663c0920848c0ee7de946970a2692b76d (patch)
tree733d0e03c619487b466fdd26319c66f56dd72f90 /security/selinux/ss/services.c
parentaudit: use existing session info function (diff)
downloadlinux-dev-5b71388663c0920848c0ee7de946970a2692b76d.tar.xz
linux-dev-5b71388663c0920848c0ee7de946970a2692b76d.zip
audit: Fix wrong task in comparison of session ID
The audit_filter_rules() function in auditsc.c compared the session ID with the credentials of the current task, while it should use the credentials of the task given to audit_filter_rules() as a parameter (tsk). GitHub issue: https://github.com/linux-audit/audit-kernel/issues/82 Fixes: 8fae47705685 ("audit: add support for session ID user filter") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Reviewed-by: Richard Guy Briggs <rgb@redhat.com> [PM: not user visible, dropped stable] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions