selftest: acct: Add selftest for the acct() syscall
The acct() system call enables or disables process accounting. If accounting is turned on, records for each terminating process are appended to a specified filename as it terminates. An argument of NULL causes accounting to be turned off. This patch will add a test for the acct() syscall. Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
committed by
Shuah Khan
parent
44b045e27c
commit
f0a1ffa6f9
@@ -0,0 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
TEST_GEN_PROGS := acct_syscall
|
||||
CFLAGS += -Wall
|
||||
|
||||
include ../lib.mk
|
||||
Reference in New Issue
Block a user