Re: [PATCH ghak82] audit: Fix wrong task in comparison of session ID

2018-05-21 Thread Paul Moore
On Mon, May 21, 2018 at 3:50 AM, Ondrej Mosnacek wrote: > 2018-05-18 21:23 GMT+02:00 Paul Moore : >> On Thu, May 17, 2018 at 11:31 AM, Ondrej Mosnacek >> wrote: >>> The audit_filter_rules() function in auditsc.c compared the session ID >>> with the credentials of the current task, while it shoul

Re: [PATCH ghak82] audit: Fix wrong task in comparison of session ID

2018-05-21 Thread Ondrej Mosnacek
2018-05-18 21:23 GMT+02:00 Paul Moore : > On Thu, May 17, 2018 at 11:31 AM, Ondrej Mosnacek wrote: >> 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()

Re: [PATCH ghak82] audit: Fix wrong task in comparison of session ID

2018-05-18 Thread Paul Moore
On Thu, May 17, 2018 at 11:31 AM, Ondrej Mosnacek wrote: > 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: >

Re: [PATCH ghak82] audit: Fix wrong task in comparison of session ID

2018-05-17 Thread Richard Guy Briggs
On 2018-05-17 17:31, Ondrej Mosnacek wrote: > 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://githu

[PATCH ghak82] audit: Fix wrong task in comparison of session ID

2018-05-17 Thread Ondrej Mosnacek
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: 8fae47705