[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] [PATCH] Add tst_require_root to acct01 testcase.
From:       Garrett Cooper <yanegomi () gmail ! com>
Date:       2011-01-21 8:28:16
Message-ID: AANLkTikt-TBmgTSqcRT4OY21udzxpuq-s0yGqirMrWFr () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jan 20, 2011 at 5:30 AM, Cristian Greco <cristian@regolo.cc> wrote:
> Hi,
>
> [ please keep CC as I'm not currently subscribed to the list ]
>
> please find attached a small fix to check for root privileges in
> acct(2) testcase (syscalls/acct/acct01.c).

    Thanks for spotting the issue. I've fixed it, added a few more
testcases, and discovered what appears to be a kernel bug on 2.6.34
(acct("/tmp/does/not/exist") should fail with == -1 and errno ==
ENOTDIR) :)...
Cheers,
-Garrett

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic