Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-03 Thread Casey Schaufler
On 2/3/2022 5:16 AM, Vishal Goel wrote:   Currently tracer process info is printed in object field in smack error log for ptrace check which is wrong. Object process should print the tracee process info. Tracee info is not printed in the smack error logs. So it is not possible to debug

RE: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-03 Thread Vishal Goel
  Currently tracer process info is printed in object field in smack error log for ptrace check which is wrong. Object process should print the tracee process info. Tracee info is not printed in the smack error logs. So it is not possible to debug the

RE: Re: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-03 Thread Vishal Goel
> Currently tracer process info is printed in object field in > smack error log for ptrace check which is wrong. > Object process should print the tracee process info. > Tracee info is not printed in the smack error logs. > So it is not possible to debug the ptrace smack

Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-02 Thread Casey Schaufler
On 2/2/2022 7:20 AM, Paul Moore wrote: On Wed, Feb 2, 2022 at 5:38 AM Vishal Goel wrote: Currently tracer process info is printed in object field in smack error log for ptrace check which is wrong. Object process should print the tracee process info. Tracee info is not printed in the smack

Re: Re: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-02 Thread Paul Moore
On Wed, Feb 2, 2022 at 5:38 AM Vishal Goel wrote: > > Currently tracer process info is printed in object field in > > smack error log for ptrace check which is wrong. > > Object process should print the tracee process info. > > Tracee info is not printed in the smack error logs. >

RE: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-01 Thread Vishal Goel
>>> Currently tracer process info is printed in object field in >>> smack error log for ptrace check which is wrong. >>> Object process should print the tracee process info. >>> Tracee info is not printed in the smack error logs. >>> So it is not possible to debug the ptrace smack issues. >>> >>>

Re: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-02-01 Thread Paul Moore
On Tue, Feb 1, 2022 at 2:55 AM Vishal Goel wrote: > >>> Currently tracer process info is printed in object field in > >>> smack error log for ptrace check which is wrong. > >>> Object process should print the tracee process info. > >>> Tracee info is not printed in the smack error logs. > >>> So

Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-01-28 Thread Paul Moore
On Fri, Jan 28, 2022 at 11:25 AM Casey Schaufler wrote: > On 12/20/2021 2:13 AM, Vishal Goel wrote: > > Currently tracer process info is printed in object field in > > smack error log for ptrace check which is wrong. > > Object process should print the tracee process info. > > Tracee info is not

Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2022-01-28 Thread Casey Schaufler
On 12/20/2021 2:13 AM, Vishal Goel wrote: Currently tracer process info is printed in object field in smack error log for ptrace check which is wrong. Object process should print the tracee process info. Tracee info is not printed in the smack error logs. So it is not possible to debug the

RE: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2021-12-30 Thread Vishal Goel
Hi,   > Signed-off-by: Vishal Goel Could you include a permissive license with this code?>I'd like to add it or a derivative of it to the Smack test suite.   You can use below license:- #

Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2021-12-21 Thread Casey Schaufler
On 12/21/2021 5:12 AM, Vishal Goel wrote: Hi, Signed-off-by: Vishal Goel What test case do you have that generates these records? Could you include a permissive license with this code? I'd like to add it or a derivative of it to the Smack test suite. Test case for 1st log:- void main(int

RE: Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2021-12-21 Thread Vishal Goel
Hi, >>> Signed-off-by: Vishal Goel > > What test case do you have that generates these records? Test case for 1st log:- void main(int argc,char *argv[]) { int pid; if (argc < 2) { printf("enter pid of the tracee process\n"); exit(0); }

Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2021-12-20 Thread Casey Schaufler
On 12/20/2021 8:41 AM, Casey Schaufler wrote: On 12/20/2021 2:13 AM, Vishal Goel wrote: Currently tracer process info is printed in object field in smack error log for ptrace check which is wrong. Object process should print the tracee process info. Tracee info is not printed in the smack error

Re: [PATCH 1/1] Smack:- Fix the issue of wrong info printed in ptrace error logs

2021-12-20 Thread Casey Schaufler
On 12/20/2021 2:13 AM, Vishal Goel wrote: Currently tracer process info is printed in object field in smack error log for ptrace check which is wrong. Object process should print the tracee process info. Tracee info is not printed in the smack error logs. So it is not possible to debug the