Commit [591c99]  Maximize  Restore  History

acct01: fix TBROK to TCONF if acct not implemented

acct system call is avaliable only when the kernel option is on.
When it fails, acct returns -1 and sets errno correspondingly.
ENOSYS is set when the system call is not implemented.
Currently, ENOSYS is not checked when the TEST_FILE5 argument is passed.
It just goes to TBROK regardless of the implementation in kernel.
This patch modifies to check errno ENOSYS, and marks as TCONF in that case.

Signed-off-by: Honggyu Kim <>
Reviewed-by: Wanlong Gao <>

Honggyu Kim Honggyu Kim 2013-11-03

Wanlong Gao Wanlong Gao 2013-11-04

changed testcases/kernel/syscalls/acct/acct01.c
testcases/kernel/syscalls/acct/acct01.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks