From: Garrett C. <yan...@gm...> - 2011-01-21 08:28:24
|
On Thu, Jan 20, 2011 at 5:30 AM, Cristian Greco <cri...@re...> 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 |