![]() |
![]() |
| |||||
exec_args TokenThe exec_args token records the arguments to an exec() system call. The exec_args token has two fixed fields:
The remainder of this token is composed of zero or more null-terminated strings. The praudit command displays the exec_args token as follows:
The following figure shows the format of an exec_args token. Figure 23-8 exec_args Token Format ![]() Note - The exec_args token is output only when the audit policy argv is active. exec_env TokenThe exec_env token records the current environment variables to an exec() system call. The exec_env token has two fixed fields:
The remainder of this token is composed of zero or more null-terminated strings. The praudit command displays the exec_env token as follows:
The following figure shows the format of an exec_env token. Figure 23-9 exec_env Token Format ![]() Note - The exec_env token is output only when the audit policy arge is active. exit TokenThe exit token records the exit status of a program. The exit token contains the following fields:
The praudit command displays the exit token as follows:
The following figure shows the format of an exit token. Figure 23-10 exit Token Format ![]() file TokenThe file token is a special token that is generated by the audit daemon. The token marks the beginning of a new audit file and the end of an old audit file as the old file is deactivated. The audit daemon builds a special audit record that contains this token to "link" together successive audit files into one audit trail. The file token has four fields:
The praudit command displays the file token as follows:
The following figure shows the format of a file token. Figure 23-11 file Token Format ![]() group Token (Obsolete)This token has been replaced by the newgroups token, which provides the same type of information but requires less space. A description of the group token is provided here for completeness, but the application designer should use the newgroups token. Notice that praudit does not distinguish between the two tokens, as both token IDs are labeled group in praudit output. The group token records the groups entries from the process's credential. The group token has two fixed fields:
The remainder of the token consists of zero or more group entries. The praudit command displays the group token as follows:
The following figure shows the format of a group token. Figure 23-12 group Token Format ![]() Note - The group token is output only when the audit policy group is active. header TokenThe header token is special in that it marks the beginning of an audit record. The header token combines with the trailer token to bracket all the other tokens in the record. The header token has six fields:
| |||||
| |||||