audit_request_signal_info(3)

audit_request_signal_info3

Request signal info for the audit system

Usage

#include <libaudit.h>

int audit_request_signal_info(intfd);"

Overview

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

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.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0–10
  2. 11
  3. 12–13
  4. Arch

Author

Steve Grubb

From audit 4.2.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.