AUDIT_LOG_USER_SEMANAGE_MESSAGE
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
AUTHOR
NAME
audit_log_user_semanage_message − log a semanage message
SYNOPSIS
#include <libaudit.h>
int audit_log_user_semanage_message(int audit_fd, int type, const char *pgname, const char *op, const char *name, unsigned int id, const char *new_seuser, const char *new_role, const char *new_range, const char *old_seuser, const char *old_role, const char *old_range, const char *host, const char *addr, const char *tty, int result)
DESCRIPTION
This function will log a message to the audit system using a predefined message format. It should be used for all SE linux user and role manipulation operations. The function parameters are as follows:
audit_fd - The
fd returned by audit_open
type - type of message: AUDIT_USER_ROLE_CHANGE for changing
any SE Linux user or role attributes.
pgname - program’s name
op - operation. "adding user", "changing
finger info", "deleting group"
name - user’s account or group name. If not available
use NULL.
id - uid or gid that the operation is being performed on.
This is used only when user is NULL.
new_seuser - the new seuser that the login user is getting
new_role - the new_role that the login user is getting
new_range - the new mls range that the login user is getting
old_seuser - the old seuser that the login usr had
old_role - the old role that the login user had
old_range - the old mls range that the login usr had
host - The hostname if known
addr - The network address of the user
tty - The tty of the user
result - 1 is "success" and 0 is
"failed"
RETURN VALUE
It returns the sequence number which is > 0 on success or <= 0 on error.
ERRORS
This function returns -1 on failure. Examine errno for more info.
SEE ALSO
audit_log_user_message(3), audit_log_acct_message(3), audit_log_user_avc_message(3), audit_log_user_comm_message(3).
AUTHOR
Steve Grubb
More Linux Commands
manpages/slk_set.3ncurses.html
slk_set(3ncurses) - curses soft label routines (Man Page)...
The slk* functions manipulate the set of soft function-key labels that exist on many terminals. For those terminals that do not have soft labels, curses takes o
manpages/gnutls_x509_rdn_get_by_oid.3.html
gnutls_x509_rdn_get_by_oid(3) - API function (Man Page).....
This function will return the name of the given Object identifier, of the RDN sequence. The name will be encoded using the rules from RFC2253. RETURNS On succes
manpages/POSIX.3pm.html
POSIX(3pm) - Perl interface to IEEE Std 1003.1 (Man Page)...
The POSIX module permits you to access all (or nearly all) the standard POSIX 1003.1 identifiers. Many of these identifiers have been given Perl-ish interfaces.
manpages/glTexCoord1f.3gl.html
glTexCoord1f(3gl) - set the current texture coordinates.....
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (s, 0, 0, 1); a call to glT
manpages/fgetspent.3.html
fgetspent(3) - get shadow password file entry (Man Page)....
Long ago it was considered safe to have encrypted passwords openly visible in the password file. When computers got faster and people got more security-consciou
manpages/glBlendEquation.3gl.html
glBlendEquation(3gl) - set the blend equation (Man Page)....
The blend equation determines how a new pixel (the source color) is combined with a pixel already in the framebuffer (the destination color). GL_MIN sets the bl
manpages/ldap_matchingrule_free.3.html
ldap_matchingrule_free(3) - Schema definition handling routi
These routines are used to parse schema definitions in the syntax defined in RFC 4512 into structs and handle these structs. These routines handle four kinds of
manpages/Tcl_SetObjLength.3.html
Tcl_SetObjLength(3) - manipulate Tcl objects as strings.....
The procedures described in this manual entry allow Tcl objects to be manipulated as string values. They use the internal representation of the object to store
manpages/pptpsetup.8.html
pptpsetup(8) - Point-to-Point Tunneling Protocol setup......
PPTP Client is a Linux, FreeBSD, NetBSD and OpenBSD client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. This script configures PPTP Cl
manpages/feof.3.html
feof(3) - check and reset stream status - Linux manual page
The function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function feof() tests the end-of-file indicator for
manpages/SDL_JoystickName.3.html
SDL_JoystickName(3) - Get joystick name - Linux manual page
Get the implementation dependent name of joystick. The index parameter refers to the Nth joystick on the system. RETURN VALUE Returns a char pointer to the joys
manpages/perl5143delta.1.html
perl5143delta(1) what is new for perl v5.14.3 (Man Page)....
This document describes differences between the 5.14.2 release and the 5.14.3 release. If you are upgrading from an earlier release such as 5.12.0, first read p
