aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/acct
AgeCommit message (Collapse)AuthorFilesLines
2024-08-01selftest: acct: Add selftest for the acct() syscallAbdulrasaq Lawani3-0/+86
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 <[email protected]> Signed-off-by: Shuah Khan <[email protected]>