AUDIT\_REQUEST\_SIGNAL\_INFO(3) Linux Audit API AUDIT\_REQUEST\_SIGNAL\_INFO(3)

# [NAME](#NAME)

audit\_request\_signal\_info - Request signal info for the audit system

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;libaudit.h&gt;**

**int audit\_request\_signal\_info(intfd);"**

# [DESCRIPTION](#DESCRIPTION)

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:

```
struct audit_sig_info {


        uid_t           uid;


        pid_t           pid;


        char            ctx[0];
};
```

This function is likely to be used only by audit daemons and shouldn't be called by any other kind of program.

# [RETURN VALUE](#RETURN_VALUE)

The return value is &lt;= 0 on error, otherwise it is the netlink sequence id number. This function can have any error that sendto would encounter.

# [SEE ALSO](#SEE_ALSO)

[**audit\_open**(3)](/man/os/audit/audit_open.3), [**audit\_get\_reply**(3)](/man/os/audit/audit_get_reply.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

Document: audit_request_signal_info(3) from audit 4.2.1-r1 (Chainguard OS)
Source: https://github.com/linux-audit/audit-userspace
