id
stringlengths
4
63
text
stringlengths
153
8.81M
attr_get(3)
NAME attr_get, attr_getf - get the value of a user attribute of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_get (const char *path, const char *attrname, char *attrvalue, int *valuelength, int flags); int attr_getf (int fd, const char *attrname, ...
attr_get.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
attr_getf(3)
NAME attr_get, attr_getf - get the value of a user attribute of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_get (const char *path, const char *attrname, char *attrvalue, int *valuelength, int flags); int attr_getf (int fd, const char *attrname, ...
attr_list(3)
NAME attr_list, attr_listf - list the names of the user attributes of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_list (const char ∗path, char ∗buffer, const int buffersize, int flags, attrlist_cursor_t ∗cursor); int attr_listf (int f...
attr_listf(3)
NAME attr_list, attr_listf - list the names of the user attributes of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_list (const char ∗path, char ∗buffer, const int buffersize, int flags, attrlist_cursor_t ∗cursor); int attr_listf (int f...
attr_multi(3)
NAME attr_multi, attr_multif - manipulate multiple user attributes on a filesystem object at once C SYNOPSIS #include <attr/attributes.h> int attr_multi (const char *path, attr_multiop_t *oplist, int count, int flags); int attr_multif (int fd, attr_multiop_t *oplist, ...
attr_multif(3)
NAME attr_multi, attr_multif - manipulate multiple user attributes on a filesystem object at once C SYNOPSIS #include <attr/attributes.h> int attr_multi (const char *path, attr_multiop_t *oplist, int count, int flags); int attr_multif (int fd, attr_multiop_t *oplist, ...
attr_off.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
attr_on.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
attr_remove(3)
NAME attr_remove, attr_removef - remove a user attribute of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_remove (const char *path, const char *attrname, int flags); int attr_removef (int fd, const char *attrname, int flags); DESCRIPTION The attr_remove and attr_removef function...
attr_removef(3)
NAME attr_remove, attr_removef - remove a user attribute of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_remove (const char *path, const char *attrname, int flags); int attr_removef (int fd, const char *attrname, int flags); DESCRIPTION The attr_remove and attr_removef function...
attr_set(3)
NAME attr_set, attr_setf - set the value of a user attribute of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_set (const char *path, const char *attrname, const char *attrvalue, const int valuelength, int flags); int attr_setf (int fd, co...
attr_set.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
attr_setf(3)
NAME attr_set, attr_setf - set the value of a user attribute of a filesystem object C SYNOPSIS #include <attr/attributes.h> int attr_set (const char *path, const char *attrname, const char *attrvalue, const int valuelength, int flags); int attr_setf (int fd, co...
attr_t.3x(3)
NAME bool, chtype, cchar_t, attr_t, SCREEN, WINDOW, TRUE, FALSE, ERR, OK, curscr, newscr, stdscr, COLORS, COLOR_PAIRS, COLS, LINES, ESCDELAY, TABSIZE - curses data types, constants, and global variables SYNOPSIS #include <ncursesw/curses.h> /* data types */ typedef /* ... */ bool; typedef /* ... ...
attribute_container_add_attrs(9)
NAME attribute_container_add_attrs - add attributes SYNOPSIS int attribute_container_add_attrs (struct device *classdev ); ARGUMENTS classdev The class device DESCRIPTION This simply creates all the class device sysfs files from the attributes listed in the container SEE ALSO Kernel file ./drivers/base/attribute...
attribute_container_add_class_device(9)
NAME attribute_container_add_class_device - same function as device_add SYNOPSIS int attribute_container_add_class_device (struct device *classdev ); ARGUMENTS classdev the class device to add DESCRIPTION This performs essentially the same function as device_add except for attribute containers, namely add the cla...
attribute_container_add_device(9)
NAME attribute_container_add_device - see if any container is interested in dev SYNOPSIS void attribute_container_add_device (struct device *dev , int (*fn)(struct attribute_container *, struct device *, struct device *) ); ARGUMENTS dev device to add attributes to fn function to trigger addi...
attribute_container_class_device_del(9)
NAME attribute_container_class_device_del - equivalent of class_device_del SYNOPSIS void attribute_container_class_device_del (struct device *classdev ); ARGUMENTS classdev the class device DESCRIPTION This function simply removes all the attribute files and then calls device_del. SEE ALSO Kernel file ./drivers/...
attribute_container_classdev_to_container(9)
NAME attribute_container_classdev_to_container - given a classdev, return the container SYNOPSIS struct attribute_container * attribute_container_classdev_to_container (struct device *classdev ); ARGUMENTS classdev the class device created by attribute_container_add_device. DESCRIPTION Returns the container assoc...
attribute_container_device_trigger(9)
NAME attribute_container_device_trigger - execute a trigger for each matching classdev SYNOPSIS void attribute_container_device_trigger (struct device *dev , int (*fn)(struct attribute_container *, struct device *, struct device *) ); ARGUMENTS dev The generic device to run the trigger for fn ...
attribute_container_device_trigger_safe(9)
NAME attribute_container_device_trigger_safe - execute a trigger for each matching classdev or fail all of them. SYNOPSIS int attribute_container_device_trigger_safe (struct device *dev , int (*fn)(struct attribute_container *, struct device *, struct device *) , int (*undo)(struct attribute_container *, struct device...
attribute_container_find_class_device(9)
NAME attribute_container_find_class_device - find the corresponding class_device SYNOPSIS struct device * attribute_container_find_class_device (struct attribute_container *cont , struct device *dev ); ARGUMENTS cont the container dev the generic device DESCRIPTION Looks up the device in the c...
attribute_container_register(9)
NAME attribute_container_register - register an attribute container SYNOPSIS void attribute_container_register (struct attribute_container *cont ); ARGUMENTS cont The container to register. This must be allocated by the callee and should also be zeroed by it. SEE ALSO Kernel file ./drivers/base/attribute_c...
attribute_container_remove_attrs(9)
NAME attribute_container_remove_attrs - remove any attribute files SYNOPSIS void attribute_container_remove_attrs (struct device *classdev ); ARGUMENTS classdev The class device to remove the files from SEE ALSO Kernel file ./drivers/base/attribute_container.c attribute_container_classdev_to_container(9), attribu...
attribute_container_remove_device(9)
NAME attribute_container_remove_device - make device eligible for removal. SYNOPSIS void attribute_container_remove_device (struct device *dev , void (*fn)(struct attribute_container *, struct device *, struct device *) ); ARGUMENTS dev The generic device fn A function to call to remove the d...
attribute_container_unregister(9)
NAME attribute_container_unregister - remove a container registration SYNOPSIS int attribute_container_unregister (struct attribute_container *cont ); ARGUMENTS cont previously registered container to remove SEE ALSO Kernel file ./drivers/base/attribute_container.c attribute_container_classdev_to_container...
attributes(7)
NAME attributes - POSIX safety concepts DESCRIPTION Note: the text of this man page is based on the material taken from the "POSIX Safety Concepts" section of the GNU C Library manual. Further details on the topics described here can be found in that manual. Various function manual pages include a section ATT...
attroff.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
attron.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
attrset.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
au_read_buf(9)
NAME au_read_buf - read chip data into buffer SYNOPSIS void au_read_buf (struct nand_chip *this , void *buf , unsigned int len ); ARGUMENTS this NAND chip object buf buffer to store date len number of bytes to read DESCRIPTION read function for 8bit buswidth SEE ALSO Kernel fi...
au_read_buf16(9)
NAME au_read_buf16 - read chip data into buffer SYNOPSIS void au_read_buf16 (struct nand_chip *this , void *buf , unsigned int len ); ARGUMENTS this NAND chip object buf buffer to store date len number of bytes to read DESCRIPTION read function for 16bit buswidth SEE ALSO Kern...
au_write_buf(9)
NAME au_write_buf - write buffer to chip SYNOPSIS void au_write_buf (struct nand_chip *this , const void *buf , unsigned int len ); ARGUMENTS this NAND chip object buf data buffer len number of bytes to write DESCRIPTION write function for 8bit buswidth SEE ALSO Kernel file ./...
au_write_buf16(9)
NAME au_write_buf16 - write buffer to chip SYNOPSIS void au_write_buf16 (struct nand_chip *this , const void *buf , unsigned int len ); ARGUMENTS this NAND chip object buf data buffer len number of bytes to write DESCRIPTION write function for 16bit buswidth SEE ALSO Kernel fi...
audio_disconnect_channel(9)
NAME audio_disconnect_channel - function to disconnect a channel SYNOPSIS int audio_disconnect_channel (struct most_interface *iface , int channel_id ); ARGUMENTS iface pointer to interface instance channel_id channel index DESCRIPTION This frees allocated memory and removes the sound card from ALSA R...
audio_probe_channel(9)
NAME audio_probe_channel - probe function of the driver module SYNOPSIS int audio_probe_channel (struct most_interface *iface , int channel_id , struct most_channel_config *cfg , char *device_name , char *arg_list ); ARGUMENTS iface pointer to interface instance channel_id channel index/ID cfg ...
audio_rx_completion(9)
NAME audio_rx_completion - completion handler for rx channels SYNOPSIS int audio_rx_completion (struct mbo *mbo ); ARGUMENTS mbo pointer to buffer object that has completed DESCRIPTION This searches for the channel this MBO belongs to and copy the data from MBO to ring buffer Returns 0 on success or error co...
audio_tx_completion(9)
NAME audio_tx_completion - completion handler for tx channels SYNOPSIS int audio_tx_completion (struct most_interface *iface , int channel_id ); ARGUMENTS iface pointer to interface instance channel_id channel index/ID DESCRIPTION This searches the channel that belongs to this combination of interface...
audit_alloc(9)
NAME audit_alloc - allocate an audit context block for a task SYNOPSIS int audit_alloc (struct task_struct *tsk ); ARGUMENTS tsk task DESCRIPTION Filter on the task information and allocate a per-task audit context if necessary. Doing so turns on system call auditing for the specified task. This is called ...
audit_buffer_aux_end(9)
NAME audit_buffer_aux_end - Switch back to the "main" record from an aux record SYNOPSIS void audit_buffer_aux_end (struct audit_buffer *ab ); ARGUMENTS ab audit_buffer DESCRIPTION Restores the "main" audit record to ab->skb. SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struct auditd_conn...
audit_buffer_aux_new(9)
NAME audit_buffer_aux_new - Add an aux record buffer to the skb list SYNOPSIS int audit_buffer_aux_new (struct audit_buffer *ab , int type ); ARGUMENTS ab audit_buffer type message type DESCRIPTION Aux records are allocated and added to the skb list of the "main" record. The ab->skb is re...
audit_caps(9)
NAME audit_caps - audit a capability SYNOPSIS int audit_caps (struct apparmor_audit_data *ad , struct aa_profile *profile , int cap , int error ); ARGUMENTS ad audit data profile profile being tested for confinement (NOT NULL) cap capability tested error error code r...
audit_cb(9)
NAME audit_cb - call back for mount specific audit fields SYNOPSIS void audit_cb (struct audit_buffer *ab , void *va ); ARGUMENTS ab audit_buffer (NOT NULL) va audit struct to audit values of (NOT NULL) SEE ALSO Kernel file ./security/apparmor/mount.c audit_mount(9), match_mnt_flags(9), m...
audit_cfg_lsm(9)
NAME audit_cfg_lsm - Identify a security module as providing a secctx. SYNOPSIS void audit_cfg_lsm (const struct lsm_id *lsmid , int flags ); ARGUMENTS lsmid LSM identity flags which contexts are provided DESCRIPTION Increments the count of the security modules providing a secctx. If the LSM id ...
audit_compare_dname_path(9)
NAME audit_compare_dname_path - compare given dentry name with last component in given path. Return of 0 indicates a match. SYNOPSIS int audit_compare_dname_path (const struct qstr *dname , const char *path , int parentlen ); ARGUMENTS dname dentry name that we're comparing path full pathname tha...
audit_core_dumps(9)
NAME audit_core_dumps - record information about processes that end abnormally SYNOPSIS void audit_core_dumps (long signr ); ARGUMENTS signr signal value DESCRIPTION If a process ends with a core dump, something fishy is going on and we should record the event for investigation. SEE ALSO Kernel file ./kerne...
audit_ctl_lock(9)
NAME audit_ctl_lock - Take the audit control lock SYNOPSIS void audit_ctl_lock (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struct auditd_connection(9), struct audit_ctl_mutex(9), auditd_test_task(9), audit_ctl_unlock(9), audit_ctl_owner_current(9), audi...
audit_ctl_owner_current(9)
NAME audit_ctl_owner_current - Test to see if the current task owns the lock SYNOPSIS bool audit_ctl_owner_current (void ); ARGUMENTS void no arguments DESCRIPTION Return true if the current task owns the audit control lock, false if it doesn't own the lock. SEE ALSO Kernel file ./kernel/audit.c struct audi...
audit_ctl_unlock(9)
NAME audit_ctl_unlock - Drop the audit control lock SYNOPSIS void audit_ctl_unlock (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struct auditd_connection(9), struct audit_ctl_mutex(9), auditd_test_task(9), audit_ctl_lock(9), audit_ctl_owner_current(9), ...
audit_dmv_roothash(9)
NAME audit_dmv_roothash - audit the roothash of a dmverity_roothash property. SYNOPSIS void audit_dmv_roothash (struct audit_buffer *ab , const void *rh ); ARGUMENTS ab Supplies a pointer to the audit_buffer to append to. rh Supplies a pointer to the digest structure. SEE ALSO Kernel file ....
audit_expand(9)
NAME audit_expand - expand skb in the audit buffer SYNOPSIS int audit_expand (struct audit_buffer *ab , int extra ); ARGUMENTS ab audit_buffer extra space to add at tail of the skb DESCRIPTION Returns 0 (no space) on failed expansion, or available space if successful. SEE ALSO Kernel file ....
audit_filter_uring(9)
NAME audit_filter_uring - apply filters to an io_uring operation SYNOPSIS void audit_filter_uring (struct task_struct *tsk , struct audit_context *ctx ); ARGUMENTS tsk associated task ctx audit context SEE ALSO Kernel file ./kernel/auditsc.c __audit_filter_op(9), audit_reset_context(9), ...
audit_fsv_digest(9)
NAME audit_fsv_digest - audit the digest of a fsverity_digest property. SYNOPSIS void audit_fsv_digest (struct audit_buffer *ab , const void *d ); ARGUMENTS ab Supplies a pointer to the audit_buffer to append to. d Supplies a pointer to the digest structure. SEE ALSO Kernel file ./security...
audit_get_sk(9)
NAME audit_get_sk - Return the audit socket for the given network namespace SYNOPSIS struct sock * audit_get_sk (const struct net *net ); ARGUMENTS net the destination network namespace DESCRIPTION Returns the sock pointer if valid, NULL otherwise. The caller must ensure that a reference is held for the net...
audit_iface(9)
NAME audit_iface - do audit message for policy unpacking/load/replace/remove SYNOPSIS int audit_iface (struct aa_profile *new , const char *ns_name , const char *name , const char *info , struct aa_ext *e , int error ); ARGUMENTS new profile if it has been allocated (MAYBE NULL) ns_name name of th...
audit_list_rules_send(9)
NAME audit_list_rules_send - list the audit rules SYNOPSIS int audit_list_rules_send (struct sk_buff *request_skb , int seq ); ARGUMENTS request_skb skb of request we are replying to (used to target the reply) seq netlink audit message sequence (serial) number SEE ALSO Kernel file ./kernel/auditfilte...
audit_log(9)
NAME audit_log - Log an audit record SYNOPSIS void audit_log (struct audit_context *ctx , gfp_t gfp_mask , int type , const char *fmt , ... ); ARGUMENTS ctx audit context gfp_mask type of allocation type audit message type fmt format string to use ... ...
audit_log_end(9)
NAME audit_log_end - end one audit record SYNOPSIS void audit_log_end (struct audit_buffer *ab ); ARGUMENTS ab the audit_buffer DESCRIPTION We can not do a netlink send inside an irq context because it blocks (last arg, flags, is not set to MSG_DONTWAIT), so the audit buffer is placed on a queue and a kthre...
audit_log_format(9)
NAME audit_log_format - format a message into the audit buffer. SYNOPSIS void audit_log_format (struct audit_buffer *ab , const char *fmt , ... ); ARGUMENTS ab audit_buffer fmt format string ... optional parameters matching fmt string DESCRIPTION All the work is done in audit...
audit_log_lost(9)
NAME audit_log_lost - conditionally log lost audit message event SYNOPSIS void audit_log_lost (const char *message ); ARGUMENTS message the message stating reason for lost audit message DESCRIPTION Emit at least 1 message per second, even if audit_rate_check is throttling. Always increment the lost messages cou...
audit_log_lsm_data(9)
NAME audit_log_lsm_data - helper to log common LSM audit data SYNOPSIS void audit_log_lsm_data (struct audit_buffer *ab , const struct common_audit_data *a ); ARGUMENTS ab the audit buffer a common audit data SEE ALSO Kernel file ./security/lsm_audit.c ipv4_skb_to_auditdata(9), ipv6_skb_to...
audit_log_n_hex(9)
NAME audit_log_n_hex - convert a buffer to hex and append it to the audit skb SYNOPSIS void audit_log_n_hex (struct audit_buffer *ab , const unsigned char *buf , size_t len ); ARGUMENTS ab the audit_buffer buf buffer to convert to hex len length of buf to be converted DESCRIP...
audit_log_n_untrustedstring(9)
NAME audit_log_n_untrustedstring - log a string that may contain random characters SYNOPSIS void audit_log_n_untrustedstring (struct audit_buffer *ab , const char *string , size_t len ); ARGUMENTS ab audit_buffer string string to be logged len length of string (not including trai...
audit_log_path_denied(9)
NAME audit_log_path_denied - report a path restriction denial SYNOPSIS void audit_log_path_denied (int type , const char *operation ); ARGUMENTS type audit message type (AUDIT_ANOM_LINK, AUDIT_ANOM_CREAT, etc) operation specific operation name SEE ALSO Kernel file ./kernel/audit.c struct audit_net(...
audit_log_start(9)
NAME audit_log_start - obtain an audit buffer SYNOPSIS struct audit_buffer * audit_log_start (struct audit_context *ctx , gfp_t gfp_mask , int type ); ARGUMENTS ctx audit_context (may be NULL) gfp_mask type of allocation type audit message type DESCRIPTION Returns audit_buffer poin...
audit_log_subj_ctx(9)
NAME audit_log_subj_ctx - Add LSM subject information SYNOPSIS int audit_log_subj_ctx (struct audit_buffer *ab , struct lsm_prop *prop ); ARGUMENTS ab audit_buffer prop LSM subject properties. DESCRIPTION Add a subj= field and, if necessary, a AUDIT_MAC_TASK_CONTEXTS record. SEE ALSO Kernel ...
audit_log_untrustedstring(9)
NAME audit_log_untrustedstring - log a string that may contain random characters SYNOPSIS void audit_log_untrustedstring (struct audit_buffer *ab , const char *string ); ARGUMENTS ab audit_buffer string string to be logged DESCRIPTION Same as audit_log_n_untrustedstring, except that strlen is u...
audit_log_uring(9)
NAME audit_log_uring - generate a AUDIT_URINGOP record SYNOPSIS void audit_log_uring (struct audit_context *ctx ); ARGUMENTS ctx the audit context SEE ALSO Kernel file ./kernel/auditsc.c __audit_filter_op(9), audit_filter_uring(9), audit_reset_context(9), audit_alloc(9), __audit_free(9), audit_retu...
audit_mount(9)
NAME audit_mount - handle the auditing of mount operations SYNOPSIS int audit_mount (const struct cred *subj_cred , struct aa_profile *profile , const char *op , const char *name , const char *src_name , const char *type , const char *trans , unsigned long flags , const void *data , u32 request , struct aa_perms *pe...
audit_policy(9)
NAME audit_policy - Audit a policy's name, version and thumbprint to @ab. SYNOPSIS void audit_policy (struct audit_buffer *ab , const char *audit_format , const struct ipe_policy *const p ); ARGUMENTS ab Supplies a pointer to the audit buffer to append to. audit_format Supplies a p...
audit_pre(9)
NAME audit_pre - core AppArmor function. SYNOPSIS void audit_pre (struct audit_buffer *ab , void *va ); ARGUMENTS ab audit buffer to fill (NOT NULL) va audit structure containing data to audit (NOT NULL) DESCRIPTION Record common AppArmor audit data from va SEE ALSO Kernel file ./security/...
audit_ptrace_mask(9)
NAME audit_ptrace_mask - convert mask to permission string SYNOPSIS const char * audit_ptrace_mask (u32 mask ); ARGUMENTS mask permission mask to convert RETURN pointer to static string SEE ALSO Kernel file ./security/apparmor/task.c aa_get_task_label(9), aa_replace_current_label(9), aa_set_current_onexec(9)...
audit_receive(9)
NAME audit_receive - receive messages from a netlink control socket SYNOPSIS void audit_receive (struct sk_buff *skb ); ARGUMENTS skb the message buffer DESCRIPTION Parse the provided skb and deal with any messages that may be present, malformed skbs are discarded. SEE ALSO Kernel file ./kernel/audit.c s...
audit_reset_context(9)
NAME audit_reset_context - reset a audit_context structure SYNOPSIS void audit_reset_context (struct audit_context *ctx ); ARGUMENTS ctx the audit_context to reset DESCRIPTION All fields in the audit_context will be reset to an initial state, all references held by fields will be dropped, and private mem...
audit_resource(9)
NAME audit_resource - audit setting resource limit SYNOPSIS int audit_resource (const struct cred *subj_cred , struct aa_profile *profile , unsigned int resource , unsigned long value , struct aa_label *peer , const char *info , int error ); ARGUMENTS subj_cred cred setting the resource profile profile ...
audit_return_fixup(9)
NAME audit_return_fixup - fixup the return codes in the audit_context SYNOPSIS void audit_return_fixup (struct audit_context *ctx , int success , long code ); ARGUMENTS ctx the audit_context success true/false value to indicate if the operation succeeded or not code operation return...
audit_rule(9)
NAME audit_rule - audit an IPE policy rule. SYNOPSIS void audit_rule (struct audit_buffer *ab , const struct ipe_rule *r ); ARGUMENTS ab Supplies a pointer to the audit_buffer to append to. r Supplies a pointer to the ipe_rule to approximate a string form for. SEE ALSO Kernel file ./securi...
audit_rule_change(9)
NAME audit_rule_change - apply all rules to the specified message type SYNOPSIS int audit_rule_change (int type , int seq , void *data , size_t datasz ); ARGUMENTS type audit message type seq netlink audit message sequence (serial) number data payload data datasz siz...
audit_seccomp(9)
NAME audit_seccomp - record information about a seccomp action SYNOPSIS void audit_seccomp (unsigned long syscall , long signr , int code ); ARGUMENTS syscall syscall number signr signal value code the seccomp action DESCRIPTION Record the information associated with a seccomp action...
audit_send_reply(9)
NAME audit_send_reply - send an audit reply message via netlink SYNOPSIS void audit_send_reply (struct sk_buff *request_skb , int seq , int type , int done , int multi , const void *payload , int size ); ARGUMENTS request_skb skb of request we are replying to (used to target the reply) seq sequence nu...
audit_serial(9)
NAME audit_serial - compute a serial number for the audit record SYNOPSIS unsigned int audit_serial (void ); ARGUMENTS void no arguments DESCRIPTION Compute a serial number for the audit record. Audit records are written to user-space as soon as they are generated, so a complete audit record may be written i...
audit_set_loginuid(9)
NAME audit_set_loginuid - set current task's loginuid SYNOPSIS int audit_set_loginuid (kuid_t loginuid ); ARGUMENTS loginuid loginuid value DESCRIPTION Returns 0. Called (set) from fs/proc/base.c::proc_loginuid_write. SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struct auditd_connection(9), struc...
audit_signal_cb(9)
NAME audit_signal_cb - call back for signal specific audit fields SYNOPSIS void audit_signal_cb (struct audit_buffer *ab , void *va ); ARGUMENTS ab audit_buffer (NOT NULL) va audit struct to audit values of (NOT NULL) SEE ALSO Kernel file ./security/apparmor/ipc.c audit_signal_mask(9) Ap...
audit_signal_info(9)
NAME audit_signal_info - record signal info for shutting down audit subsystem SYNOPSIS int audit_signal_info (int sig , struct task_struct *t ); ARGUMENTS sig signal value t task being signaled DESCRIPTION If the audit subsystem is being terminated, record the task (pid) and uid that is doi...
audit_signal_info_syscall(9)
NAME audit_signal_info_syscall - record signal info for syscalls SYNOPSIS int audit_signal_info_syscall (struct task_struct *t ); ARGUMENTS t task being signaled DESCRIPTION If the audit subsystem is being terminated, record the task (pid) and uid that is doing that. SEE ALSO Kernel file ./kernel/audits...
audit_signal_mask(9)
NAME audit_signal_mask - convert mask to permission string SYNOPSIS const char * audit_signal_mask (u32 mask ); ARGUMENTS mask permission mask to convert RETURN pointer to static string SEE ALSO Kernel file ./security/apparmor/ipc.c audit_signal_cb(9) April 2026 ...
audit_string_contains_control(9)
NAME audit_string_contains_control - does a string need to be logged in hex SYNOPSIS bool audit_string_contains_control (const char *string , size_t len ); ARGUMENTS string string to be checked len max length of the string to check SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), s...
auditd_conn_free(9)
NAME auditd_conn_free - RCU helper to release an auditd connection struct SYNOPSIS void auditd_conn_free (struct rcu_head *rcu ); ARGUMENTS rcu RCU head DESCRIPTION Drop any references inside the auditd connection tracking struct and free the memory. SEE ALSO Kernel file ./kernel/audit.c struct audit_ne...
auditd_pid_vnr(9)
NAME auditd_pid_vnr - Return the auditd PID relative to the namespace SYNOPSIS pid_t auditd_pid_vnr (void ); ARGUMENTS void no arguments DESCRIPTION Returns the PID in relation to the namespace, 0 on failure. SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struct auditd_connection(9), struct ...
auditd_reset(9)
NAME auditd_reset - Disconnect the auditd connection SYNOPSIS void auditd_reset (const struct auditd_connection *ac ); ARGUMENTS ac auditd connection state DESCRIPTION Break the auditd/kauditd connection and move all the queued records into the hold queue in case auditd reconnects. It is important to not...
auditd_send_unicast_skb(9)
NAME auditd_send_unicast_skb - Send a record via unicast to auditd SYNOPSIS int auditd_send_unicast_skb (struct sk_buff *skb ); ARGUMENTS skb audit record DESCRIPTION Send a skb to the audit daemon, returns positive/zero values on success and negative values on failure; in all cases the skb will be consumed ...
auditd_set(9)
NAME auditd_set - Set/Reset the auditd connection state SYNOPSIS int auditd_set (struct pid *pid , u32 portid , struct net *net , struct sk_buff *skb , bool *ack ); ARGUMENTS pid auditd PID portid auditd netlink portid net auditd network namespace pointer skb the n...
auditd_test_task(9)
NAME auditd_test_task - Check to see if a given task is an audit daemon SYNOPSIS int auditd_test_task (struct task_struct *task ); ARGUMENTS task the task to check DESCRIPTION Return 1 if the task is a registered audit daemon, 0 otherwise. SEE ALSO Kernel file ./kernel/audit.c struct audit_net(9), struc...
auditsc_get_stamp(9)
NAME auditsc_get_stamp - get local copies of audit_context values SYNOPSIS int auditsc_get_stamp (struct audit_context *ctx , struct audit_stamp *stamp ); ARGUMENTS ctx audit_context for the task stamp timestamp to record DESCRIPTION Also sets the context as auditable. SEE ALSO Kernel file ....
auth_destroy(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
auth_domain_cleanup(9)
NAME auth_domain_cleanup - check that the auth_domain table is empty SYNOPSIS void auth_domain_cleanup (void ); ARGUMENTS void no arguments DESCRIPTION On module unload the auth_domain_table must be empty. To make it easier to catch bugs which don't clean up domains properly, we warn if anything remains in ...
authenticate_sleb(9)
NAME authenticate_sleb - authenticate one scan LEB SYNOPSIS int authenticate_sleb (struct ubifs_info *c , struct ubifs_scan_leb *sleb , struct shash_desc *log_hash , int is_last ); ARGUMENTS c UBIFS file-system description object sleb the scan LEB to authenticate log_hash is_l...
authnone_create(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
authunix_create(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...