SYSCALL_DEFINE1

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

SYSCALL_DEFINE1 - enable/disable process accounting

SYNOPSIS

SYSCALL_DEFINE1(acct, const char __user * , name);

ARGUMENTS

acct

-- undescribed --
-- undescribed --

name

file name for accounting records or NULL to shutdown accounting

DESCRIPTION

Returns 0 for success or negative errno values for failure.

sys_acct is the only system call needed to implement process accounting. It takes the name of the file where accounting records should be written. If the filename is NULL, accounting will be shutdown.