| 1 |
.TH "AUDIT_REQUEST_SIGNAL_INFO" "3" "Feb 2007" "Red Hat" "Linux Audit API" |
| 2 |
.SH NAME |
| 3 |
audit_request_signal_info \- Request signal info for the audit system |
| 4 |
.SH "SYNOPSIS" |
| 5 |
.B #include <libaudit.h> |
| 6 |
.sp |
| 7 |
.BI "int audit_request_signal_info(int" fd);" |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
|
| 11 |
audit_request_signal_info requests that the kernel send information about the sender of a signal to the audit daemon. The signal info structure is as follows: |
| 12 |
|
| 13 |
.nf |
| 14 |
struct audit_sig_info { |
| 15 |
uid_t uid; |
| 16 |
pid_t pid; |
| 17 |
char ctx[0]; |
| 18 |
}; |
| 19 |
.fi |
| 20 |
|
| 21 |
This function is likely to be used only by audit daemons and shouldn't be called by any other kind of program. |
| 22 |
|
| 23 |
.SH "RETURN VALUE" |
| 24 |
|
| 25 |
The return value is <= 0 on error, otherwise it is the netlink sequence id number. This function can have any error that sendto would encounter. |
| 26 |
|
| 27 |
.SH "SEE ALSO" |
| 28 |
|
| 29 |
.BR audit_open (3), |
| 30 |
.BR audit_get_reply (3). |
| 31 |
|
| 32 |
.SH AUTHOR |
| 33 |
Steve Grubb |