[PATCH 3/3] tests: add acct.test
Dmitry V. Levin
ldv at altlinux.org
Fri Mar 4 14:51:07 UTC 2016
On Fri, Mar 04, 2016 at 05:10:48PM +0800, Fei Jie wrote:
[...]
> + int rc = syscall(__NR_acct, TMP_FILE);
> + printf("acct(\"%s\") = %d %s (%m)\n",
> + TMP_FILE, rc,
> + errno == ENOSYS ? "ENOSYS" : "ENOENT");
EPERM is also possible, and, in fact, very likely result of this syscall.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160304/38d6ecbb/attachment.bin>
More information about the Strace-devel
mailing list