Re: [LTP] file capabilities ltp test

2008-01-23 Thread Subrata Modak
And this is done. Thanks. --Subrata > I would also add some license statements before checking in. > > --Subrata > > > Hi Serge, > > > > Troubled you a lot. The following output is OK with me: > > > > <<>> > > tag=Filecaps stime=1201094408 > > cmdline="filecapstest.sh" > > contacts="" > > ana

Re: [LTP] file capabilities ltp test

2008-01-23 Thread Subrata Modak
I would also add some license statements before checking in. --Subrata > Hi Serge, > > Troubled you a lot. The following output is OK with me: > > <<>> > tag=Filecaps stime=1201094408 > cmdline="filecapstest.sh" > contacts="" > analysis=exit > initiation_status="ok" > <<>> > incrementing stop >

Re: [LTP] file capabilities ltp test

2008-01-23 Thread Subrata Modak
Hi Serge, Troubled you a lot. The following output is OK with me: <<>> tag=Filecaps stime=1201094408 cmdline="filecapstest.sh" contacts="" analysis=exit initiation_status="ok" <<>> incrementing stop setcap not installed. Please install libcap from ftp://ftp.kernel.org/pub/linux/libs/security/linu

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Serge E. Hallyn
Hi Subrata, here is yet another version. There must be a cleaner way to do this, but this appears to at least work so I'd like to let it sit for awhile and see how it goes. (The reason for splitting up the libcap and CONFIG_SECURITY_CAPABILITIES checks is that if libcap isn't there then the test

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Subrata Modak
> Quoting Subrata Modak ([EMAIL PROTECTED]): > > > > Quoting Subrata Modak ([EMAIL PROTECTED]): > > > > > > > Here is a patch to add some file capability tests to ltp. > > > > > > > > > > > > > > > > > > > Thanks. I am running this and will get back to you soon. > > > > > > > > > > > > > > > >

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): > > > Quoting Subrata Modak ([EMAIL PROTECTED]): > > > > > > Here is a patch to add some file capability tests to ltp. > > > > > > > > > > > > > > > > Thanks. I am running this and will get back to you soon. > > > > > > > > > > > > > I am not able to e

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Subrata Modak
> > Quoting Subrata Modak ([EMAIL PROTECTED]): > > > > > Here is a patch to add some file capability tests to ltp. > > > > > > > > > > > > > Thanks. I am running this and will get back to you soon. > > > > > > > > > > I am not able to execute this through: > > > > > > ./runltp -f filecaps, > >

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Subrata Modak
> Quoting Subrata Modak ([EMAIL PROTECTED]): > > > > Here is a patch to add some file capability tests to ltp. > > > > > > > > > > Thanks. I am running this and will get back to you soon. > > > > > > > I am not able to execute this through: > > > > ./runltp -f filecaps, > > On further investig

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): > > > Here is a patch to add some file capability tests to ltp. > > > > > > > Thanks. I am running this and will get back to you soon. > > > > I am not able to execute this through: > > ./runltp -f filecaps, > On further investigation i found that "fi

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Subrata Modak
> > Here is a patch to add some file capability tests to ltp. > > > > Thanks. I am running this and will get back to you soon. > I am not able to execute this through: ./runltp -f filecaps, On further investigation i found that "filecapstest.sh" is not present inside testcases/bin. Is some tw

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Subrata Modak
> Here is a patch to add some file capability tests to ltp. > Thanks. I am running this and will get back to you soon. --Subrata > Andrew, the inh_capped test should detect the bug you just found > and fixed. Note that it finds it when it tries to raise > cap_sys_admin to pI while still having