id
stringlengths
4
63
text
stringlengths
153
8.81M
seekdir(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME seekdir — set the position of a directory stream SYNOPSIS #inc...
segv_handler(9)
NAME segv_handler - the SIGSEGV handler SYNOPSIS void segv_handler (int sig , struct siginfo *unused_si , struct uml_pt_regs *regs , void *mc ); ARGUMENTS sig the signal number unused_si the signal info struct; unused in this handler regs the ptrace register information mc ...
sel_ib_pkey_find(9)
NAME sel_ib_pkey_find - Search for a pkey record SYNOPSIS struct sel_ib_pkey * sel_ib_pkey_find (u64 subnet_prefix , u16 pkey_num ); ARGUMENTS subnet_prefix subnet_prefix pkey_num pkey_num DESCRIPTION Search the pkey table and return the matching record. If an entry can not be found in the table return N...
sel_ib_pkey_flush(9)
NAME sel_ib_pkey_flush - Flush the entire pkey table SYNOPSIS void sel_ib_pkey_flush (void ); ARGUMENTS void no arguments DESCRIPTION Remove all entries from the pkey table SEE ALSO Kernel file ./security/selinux/ibpkey.c sel_ib_pkey_hashfn(9), sel_ib_pkey_find(9), sel_ib_pkey_insert(9), sel_ib_pkey_sid_slow...
sel_ib_pkey_hashfn(9)
NAME sel_ib_pkey_hashfn - Hashing function for the pkey table SYNOPSIS unsigned int sel_ib_pkey_hashfn (u16 pkey ); ARGUMENTS pkey pkey number DESCRIPTION This is the hashing function for the pkey table, it returns the bucket number for the given pkey. SEE ALSO Kernel file ./security/selinux/ibpkey.c sel_ib_...
sel_ib_pkey_insert(9)
NAME sel_ib_pkey_insert - Insert a new pkey into the table SYNOPSIS void sel_ib_pkey_insert (struct sel_ib_pkey *pkey ); ARGUMENTS pkey the new pkey record DESCRIPTION Add a new pkey record to the hash table. SEE ALSO Kernel file ./security/selinux/ibpkey.c sel_ib_pkey_hashfn(9), sel_ib_pkey_find(9), sel_ib_...
sel_ib_pkey_sid(9)
NAME sel_ib_pkey_sid - Lookup the SID of a PKEY SYNOPSIS int sel_ib_pkey_sid (u64 subnet_prefix , u16 pkey_num , u32 *sid ); ARGUMENTS subnet_prefix subnet_prefix pkey_num pkey number sid pkey SID DESCRIPTION This function determines the SID of a PKEY using the fastest method possible. Fi...
sel_ib_pkey_sid_slow(9)
NAME sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy SYNOPSIS int sel_ib_pkey_sid_slow (u64 subnet_prefix , u16 pkey_num , u32 *sid ); ARGUMENTS subnet_prefix subnet prefix pkey_num pkey number sid pkey SID DESCRIPTION This function determines the SID of a pkey by querying...
sel_loadlut(9)
NAME sel_loadlut - load the LUT table SYNOPSIS int sel_loadlut (u32 __user *lut ); ARGUMENTS lut user table DESCRIPTION Load the LUT table from user space. Make a temporary copy so a partial update doesn't make a mess. Locking: The console lock is acquired. SEE ALSO Kernel file ./drivers/tty/vt/selection.c...
sel_netif_destroy(9)
NAME sel_netif_destroy - Remove an interface record from the table SYNOPSIS void sel_netif_destroy (struct sel_netif *netif ); ARGUMENTS netif the existing interface record DESCRIPTION Remove an existing interface record from the network interface table. SEE ALSO Kernel file ./security/selinux/netif.c sel_net...
sel_netif_find(9)
NAME sel_netif_find - Search for an interface record SYNOPSIS struct sel_netif * sel_netif_find (const struct net *ns , int ifindex ); ARGUMENTS ns the network namespace ifindex the network interface DESCRIPTION Search the network interface table and return the record matching ifindex. If an en...
sel_netif_flush(9)
NAME sel_netif_flush - Flush the entire network interface table SYNOPSIS void sel_netif_flush (void ); ARGUMENTS void no arguments DESCRIPTION Remove all entries from the network interface table. SEE ALSO Kernel file ./security/selinux/netif.c sel_netif_hashfn(9), sel_netif_find(9), sel_netif_insert(9), sel_...
sel_netif_hashfn(9)
NAME sel_netif_hashfn - Hashing function for the interface table SYNOPSIS u32 sel_netif_hashfn (const struct net *ns , int ifindex ); ARGUMENTS ns the network namespace ifindex the network interface DESCRIPTION This is the hashing function for the network interface table, it returns the bucket n...
sel_netif_insert(9)
NAME sel_netif_insert - Insert a new interface into the table SYNOPSIS int sel_netif_insert (struct sel_netif *netif ); ARGUMENTS netif the new interface record DESCRIPTION Add a new interface record to the network interface hash table. Returns zero on success, negative values on failure. SEE ALSO Kernel fil...
sel_netif_kill(9)
NAME sel_netif_kill - Remove an entry from the network interface table SYNOPSIS void sel_netif_kill (const struct net *ns , int ifindex ); ARGUMENTS ns the network namespace ifindex the network interface DESCRIPTION This function removes the entry matching ifindex from the network interface tabl...
sel_netif_sid(9)
NAME sel_netif_sid - Lookup the SID of a network interface SYNOPSIS int sel_netif_sid (struct net *ns , int ifindex , u32 *sid ); ARGUMENTS ns the network namespace ifindex the network interface sid interface SID DESCRIPTION This function determines the SID of a network interf...
sel_netif_sid_slow(9)
NAME sel_netif_sid_slow - Lookup the SID of a network interface using the policy SYNOPSIS int sel_netif_sid_slow (struct net *ns , int ifindex , u32 *sid ); ARGUMENTS ns the network namespace ifindex the network interface sid interface SID DESCRIPTION This function determines the...
sel_netnode_find(9)
NAME sel_netnode_find - Search for a node record SYNOPSIS struct sel_netnode * sel_netnode_find (const void *addr , u16 family ); ARGUMENTS addr IP address family address family DESCRIPTION Search the network node table and return the record matching addr. If an entry can not be found in the tab...
sel_netnode_flush(9)
NAME sel_netnode_flush - Flush the entire network address table SYNOPSIS void sel_netnode_flush (void ); ARGUMENTS void no arguments DESCRIPTION Remove all entries from the network address table. SEE ALSO Kernel file ./security/selinux/netnode.c sel_netnode_hashfn_ipv4(9), sel_netnode_hashfn_ipv6(9), sel_net...
sel_netnode_hashfn_ipv4(9)
NAME sel_netnode_hashfn_ipv4 - IPv4 hashing function for the node table SYNOPSIS unsigned int sel_netnode_hashfn_ipv4 (__be32 addr ); ARGUMENTS addr IPv4 address DESCRIPTION This is the IPv4 hashing function for the node interface table, it returns the bucket number for the given IP address. SEE ALSO Kernel ...
sel_netnode_hashfn_ipv6(9)
NAME sel_netnode_hashfn_ipv6 - IPv6 hashing function for the node table SYNOPSIS unsigned int sel_netnode_hashfn_ipv6 (const struct in6_addr *addr ); ARGUMENTS addr IPv6 address DESCRIPTION This is the IPv6 hashing function for the node interface table, it returns the bucket number for the given IP address. ...
sel_netnode_insert(9)
NAME sel_netnode_insert - Insert a new node into the table SYNOPSIS void sel_netnode_insert (struct sel_netnode *node ); ARGUMENTS node the new node record DESCRIPTION Add a new node record to the network address hash table. SEE ALSO Kernel file ./security/selinux/netnode.c sel_netnode_hashfn_ipv4(9), sel_ne...
sel_netnode_sid(9)
NAME sel_netnode_sid - Lookup the SID of a network address SYNOPSIS int sel_netnode_sid (const void *addr , u16 family , u32 *sid ); ARGUMENTS addr the IP address family the address family sid node SID DESCRIPTION This function determines the SID of a network address using the fa...
sel_netnode_sid_slow(9)
NAME sel_netnode_sid_slow - Lookup the SID of a network address using the policy SYNOPSIS int sel_netnode_sid_slow (const void *addr , u16 family , u32 *sid ); ARGUMENTS addr the IP address family the address family sid node SID DESCRIPTION This function determines the SID of a ne...
sel_netport_find(9)
NAME sel_netport_find - Search for a port record SYNOPSIS struct sel_netport * sel_netport_find (u8 protocol , u16 pnum ); ARGUMENTS protocol protocol pnum port DESCRIPTION Search the network port table and return the matching record. If an entry can not be found in the table return NULL. SEE ALS...
sel_netport_flush(9)
NAME sel_netport_flush - Flush the entire network port table SYNOPSIS void sel_netport_flush (void ); ARGUMENTS void no arguments DESCRIPTION Remove all entries from the network address table. SEE ALSO Kernel file ./security/selinux/netport.c sel_netport_hashfn(9), sel_netport_find(9), sel_netport_insert(9),...
sel_netport_hashfn(9)
NAME sel_netport_hashfn - Hashing function for the port table SYNOPSIS unsigned int sel_netport_hashfn (u16 pnum ); ARGUMENTS pnum port number DESCRIPTION This is the hashing function for the port table, it returns the bucket number for the given port. SEE ALSO Kernel file ./security/selinux/netport.c sel_ne...
sel_netport_insert(9)
NAME sel_netport_insert - Insert a new port into the table SYNOPSIS void sel_netport_insert (struct sel_netport *port ); ARGUMENTS port the new port record DESCRIPTION Add a new port record to the network address hash table. SEE ALSO Kernel file ./security/selinux/netport.c sel_netport_hashfn(9), sel_netport...
sel_netport_sid(9)
NAME sel_netport_sid - Lookup the SID of a network port SYNOPSIS int sel_netport_sid (u8 protocol , u16 pnum , u32 *sid ); ARGUMENTS protocol protocol pnum port sid port SID DESCRIPTION This function determines the SID of a network port using the fastest method possible. First ...
sel_netport_sid_slow(9)
NAME sel_netport_sid_slow - Lookup the SID of a network address using the policy SYNOPSIS int sel_netport_sid_slow (u8 protocol , u16 pnum , u32 *sid ); ARGUMENTS protocol protocol pnum port sid port SID DESCRIPTION This function determines the SID of a network port by querying the ...
select(2)
NAME select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO, fd_set - synchronous I/O multiplexing LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/select.h> typedef /* ... */ fd_set; int select(int nfds, fd_set *_Nullable restrict readfds, fd_set *_Nullable restrict writefd...
select(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME select — synchronous I/O multiplexing SYNOPSIS #include <sys/s...
select_bin(9)
NAME select_bin - Select the bin that should be used to pack the compressed data in a data_vio with other data_vios. SYNOPSIS struct packer_bin * select_bin (struct packer *packer , struct data_vio *data_vio ); ARGUMENTS packer The packer. data_vio The data_vio. SEE ALSO Kernel file ./drivers/md/dm...
select_bio_queue(9)
NAME select_bio_queue - Select the bio queue on which to finish a flush request. SYNOPSIS thread_id_t select_bio_queue (struct flusher *flusher ); ARGUMENTS flusher The flusher finishing the request. SEE ALSO Kernel file ./drivers/md/dm-vdo/flush.c assert_on_flusher_thread(9), as_flusher(9), completion_as_vdo_f...
select_bucket(9)
NAME select_bucket - Select and return the hash bucket for a given search key. SYNOPSIS struct bucket * select_bucket (const struct int_map *map , u64 key ); ARGUMENTS map The map to search. key The mapping key. SEE ALSO Kernel file ./drivers/md/dm-vdo/int-map.c Kernel API(9), struct bucket(...
select_channel(9)
NAME select_channel - Select a SPU channel to handle a crypto request. Selects channel in round robin order. SYNOPSIS u8 select_channel (void ); ARGUMENTS void no arguments RETURN channel index SEE ALSO Kernel file ./drivers/crypto/bcm/cipher.c spu_skcipher_rx_sg_create(9), spu_skcipher_tx_sg_create(9...
select_lru_page(9)
NAME select_lru_page - Determine which page is least recently used. SYNOPSIS struct page_info * select_lru_page (struct vdo_page_cache *cache ); ARGUMENTS cache The page cache. DESCRIPTION Picks the least recently used from among the non-busy entries at the front of each of the lru list. Since whenever we mark...
select_numa_node_cpu(9)
NAME select_numa_node_cpu - Select a CPU based on NUMA node SYNOPSIS int select_numa_node_cpu (int node ); ARGUMENTS node NUMA node ID that we want to select a CPU from DESCRIPTION This function will attempt to find a "random" cpu available on a given node. If there are no CPUs available on the given node...
select_sbcm_params(9)
NAME select_sbcm_params - selects the shared buffer pool configuration SYNOPSIS const struct mlx5_sbcm_params * select_sbcm_params (struct mlx5e_bufferx_reg *buffer , u8 lossless_buff_count ); ARGUMENTS buffer <input> port buffer to retrieve params of lossless_buff_count <input> number...
select_tut(2)
NAME select, pselect - synchronous I/O multiplexing LIBRARY Standard C library (libc, -lc) SYNOPSIS See select(2) DESCRIPTION The select() and pselect() system calls are used to efficiently monitor multiple file descriptors, to see if any of them is, or becomes, "ready"; that is, to see whether I/O becomes possibl...
select_unwinder(9)
NAME select_unwinder - Select the best registered stack unwinder. SYNOPSIS struct unwinder * select_unwinder (void ); ARGUMENTS void no arguments DESCRIPTION Private function. Must hold unwinder_lock when called. Select the stack unwinder with the best rating. This is useful for setting up curr_unwinder. SE...
select_writing_agent(9)
NAME select_writing_agent - Search through the lock waiters for a data_vio that has an allocation. SYNOPSIS struct data_vio * select_writing_agent (struct hash_lock *lock ); ARGUMENTS lock The hash lock to modify. DESCRIPTION If an allocation is found, swap agents, put the old agent at the head of the wait qu...
self_check_ai(9)
NAME self_check_ai - check the attaching information. SYNOPSIS int self_check_ai (struct ubi_device *ubi , struct ubi_attach_info *ai ); ARGUMENTS ubi UBI device description object ai attaching information DESCRIPTION This function returns zero if the attaching information is all right, and ...
self_check_eba(9)
NAME self_check_eba - run a self check on the EBA table constructed by fastmap. SYNOPSIS int self_check_eba (struct ubi_device *ubi , struct ubi_attach_info *ai_fastmap , struct ubi_attach_info *ai_scan ); ARGUMENTS ubi UBI device description object ai_fastmap UBI attach info object created by fastma...
self_check_ec(9)
NAME self_check_ec - make sure that the erase counter of a PEB is correct. SYNOPSIS int self_check_ec (struct ubi_device *ubi , int pnum , int ec ); ARGUMENTS ubi UBI device description object pnum the physical eraseblock number to check ec the erase counter to check DESCRIPTI...
self_check_ec_hdr(9)
NAME self_check_ec_hdr - check if an erase counter header is all right. SYNOPSIS int self_check_ec_hdr (const struct ubi_device *ubi , int pnum , const struct ubi_ec_hdr *ec_hdr ); ARGUMENTS ubi UBI device description object pnum physical eraseblock number the erase counter header belongs to ...
self_check_in_pq(9)
NAME self_check_in_pq - check if wear-leveling entry is in the protection queue. SYNOPSIS int self_check_in_pq (const struct ubi_device *ubi , struct ubi_wl_entry *e ); ARGUMENTS ubi UBI device description object e the wear-leveling entry to check DESCRIPTION This function returns zero if e...
self_check_in_wl_tree(9)
NAME self_check_in_wl_tree - check that wear-leveling entry is in WL RB-tree. SYNOPSIS int self_check_in_wl_tree (const struct ubi_device *ubi , struct ubi_wl_entry *e , struct rb_root *root ); ARGUMENTS ubi UBI device description object e the wear-leveling entry to check root ...
self_check_not_bad(9)
NAME self_check_not_bad - ensure that a physical eraseblock is not bad. SYNOPSIS int self_check_not_bad (const struct ubi_device *ubi , int pnum ); ARGUMENTS ubi UBI device description object pnum physical eraseblock number to check DESCRIPTION This function returns zero if the physical eraseb...
self_check_peb_ec_hdr(9)
NAME self_check_peb_ec_hdr - check erase counter header. SYNOPSIS int self_check_peb_ec_hdr (const struct ubi_device *ubi , int pnum ); ARGUMENTS ubi UBI device description object pnum the physical eraseblock number to check DESCRIPTION This function returns zero if the erase counter header is...
self_check_peb_vid_hdr(9)
NAME self_check_peb_vid_hdr - check volume identifier header. SYNOPSIS int self_check_peb_vid_hdr (const struct ubi_device *ubi , int pnum ); ARGUMENTS ubi UBI device description object pnum the physical eraseblock number to check DESCRIPTION This function returns zero if the volume identifier...
self_check_seen(9)
NAME self_check_seen - check whether all PEB have been seen by fastmap. SYNOPSIS int self_check_seen (struct ubi_device *ubi , unsigned long *seen ); ARGUMENTS ubi UBI device description object seen integer array of ubi->peb_count size SEE ALSO Kernel file ./drivers/mtd/ubi/fastmap.c init_s...
self_check_vid_hdr(9)
NAME self_check_vid_hdr - check that a volume identifier header is all right. SYNOPSIS int self_check_vid_hdr (const struct ubi_device *ubi , int pnum , const struct ubi_vid_hdr *vid_hdr ); ARGUMENTS ubi UBI device description object pnum physical eraseblock number the volume identifier header ...
self_check_volume(9)
NAME self_check_volume - check volume information. SYNOPSIS int self_check_volume (struct ubi_device *ubi , int vol_id ); ARGUMENTS ubi UBI device description object vol_id volume ID DESCRIPTION Returns zero if volume is all right and a negative error code if not. SEE ALSO Kernel file ./drivers...
self_check_volumes(9)
NAME self_check_volumes - check information about all volumes. SYNOPSIS int self_check_volumes (struct ubi_device *ubi ); ARGUMENTS ubi UBI device description object DESCRIPTION Returns zero if volumes are all right and a negative error code if not. SEE ALSO Kernel file ./drivers/mtd/ubi/vmt.c ubi_create_vo...
self_check_write(9)
NAME self_check_write - make sure write succeeded. SYNOPSIS int self_check_write (struct ubi_device *ubi , const void *buf , int pnum , int offset , int len ); ARGUMENTS ubi UBI device description object buf buffer with data which were written pnum physical eraseblock number the...
self_vtbl_check(9)
NAME self_vtbl_check - check volume table. SYNOPSIS void self_vtbl_check (const struct ubi_device *ubi ); ARGUMENTS ubi UBI device description object SEE ALSO Kernel file ./drivers/mtd/ubi/vtbl.c ubi_update_layout_vol(9), ubi_change_vtbl_record(9), ubi_vtbl_rename_volumes(9), vtbl_check(9), create_vtbl(9...
selftest_clock(9)
NAME selftest_clock - Perform clock test. SYNOPSIS int selftest_clock (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_memory(9), selftest_register(9), selftest_nvram(9), can...
selftest_interrupt(9)
NAME selftest_interrupt - Perform interrupt test. SYNOPSIS int selftest_interrupt (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_memory(9), selftest_register(9), selftest_clock(9), selftest_nvram(9), c...
selftest_memory(9)
NAME selftest_memory - Perform memory test. SYNOPSIS int selftest_memory (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_register(9), selftest_clock(9), selftest_nvram(9), c...
selftest_nvram(9)
NAME selftest_nvram - Perform nvram test. SYNOPSIS int selftest_nvram (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_memory(9), selftest_register(9), selftest_clock(9), can...
selftest_register(9)
NAME selftest_register - Perform register test. SYNOPSIS int selftest_register (struct qed_dev *cdev ); ARGUMENTS cdev Qed dev pointer. RETURN 0 on success, error otherwise. SEE ALSO Kernel file ./include/linux/qed/qed_if.h selftest_interrupt(9), selftest_memory(9), selftest_clock(9), selftest_nvram(9), can_...
selinux_audit_rule_avc_callback(9)
NAME selinux_audit_rule_avc_callback - update the audit LSM rules on AVC events. SYNOPSIS int selinux_audit_rule_avc_callback (u32 event ); ARGUMENTS event the AVC event DESCRIPTION Update any audit LSM rules based on the AVC event specified in event. Returns 0 on success, negative values otherwise. SEE ALSO...
selinux_audit_rule_free(9)
NAME selinux_audit_rule_free - free an selinux audit rule structure. SYNOPSIS void selinux_audit_rule_free (void *rule ); ARGUMENTS rule pointer to the audit rule to be freed DESCRIPTION This will free all memory associated with the given rule. If rule is NULL, no operation is performed. SEE ALSO Kernel fil...
selinux_audit_rule_init(9)
NAME selinux_audit_rule_init - alloc/init an selinux audit rule structure. SYNOPSIS int selinux_audit_rule_init (u32 field , u32 op , char *rulestr , void **rule , gfp_t gfp ); ARGUMENTS field the field this rule refers to op the operator the rule uses rulestr the text "target" of t...
selinux_audit_rule_known(9)
NAME selinux_audit_rule_known - check to see if rule contains selinux fields. SYNOPSIS int selinux_audit_rule_known (struct audit_krule *rule ); ARGUMENTS rule rule to be checked Returns 1 if there are selinux fields specified in the rule, 0 otherwise. SEE ALSO Kernel file ./security/selinux/include/audit.h s...
selinux_audit_rule_match(9)
NAME selinux_audit_rule_match - determine if a context ID matches a rule. SYNOPSIS int selinux_audit_rule_match (struct lsm_prop *prop , u32 field , u32 op , void *rule ); ARGUMENTS prop includes the context ID to check field the field this rule refers to op the operator the rule...
selinux_conn_sid(9)
NAME selinux_conn_sid - Determine the child socket label for a connection SYNOPSIS int selinux_conn_sid (u32 sk_sid , u32 skb_sid , u32 *conn_sid ); ARGUMENTS sk_sid the parent socket's SID skb_sid the packet's SID conn_sid the resulting connection SID DESCRIPTION If skb_sid is valid t...
selinux_getselfattr(9)
NAME selinux_getselfattr - Get SELinux current task attributes SYNOPSIS int selinux_getselfattr (unsigned int attr , struct lsm_ctx __user *ctx , u32 *size , u32 flags ); ARGUMENTS attr the requested attribute ctx buffer to receive the result size buffer size (input), buffer size...
selinux_initcall(9)
NAME selinux_initcall - Perform the SELinux initcalls SYNOPSIS int selinux_initcall (void ); ARGUMENTS void no arguments DESCRIPTION Used as a device initcall in the SELinux LSM definition. SEE ALSO Kernel file ./security/selinux/initcalls.c April 2026 ...
selinux_inode_permission(9)
NAME selinux_inode_permission - Check if the current task can access an inode SYNOPSIS int selinux_inode_permission (struct inode *inode , int requested ); ARGUMENTS inode the inode that is being accessed requested the accesses being requested DESCRIPTION Check if the current task is allowed to acces...
selinux_inode_xattr_skipcap(9)
NAME selinux_inode_xattr_skipcap - Skip the xattr capability checks? SYNOPSIS int selinux_inode_xattr_skipcap (const char *name ); ARGUMENTS name name of the xattr DESCRIPTION Returns 1 to indicate that SELinux "owns" the access control rights to xattrs named name; the LSM layer should avoid enforcing any ...
selinux_netlbl_cache_invalidate(9)
NAME selinux_netlbl_cache_invalidate - Invalidate the NetLabel cache SYNOPSIS void selinux_netlbl_cache_invalidate (void ); ARGUMENTS void no arguments DESCRIPTION Invalidate the NetLabel security attribute mapping cache. SEE ALSO Kernel file ./security/selinux/netlabel.c selinux_netlbl_sidlookup_ca...
selinux_netlbl_err(9)
NAME selinux_netlbl_err - Handle a NetLabel packet error SYNOPSIS void selinux_netlbl_err (struct sk_buff *skb , u16 family , int error , int gateway ); ARGUMENTS skb the packet family the packet's address family error the error code gateway true if host is acting as a g...
selinux_netlbl_inet_conn_request(9)
NAME selinux_netlbl_inet_conn_request - Label an incoming stream connection SYNOPSIS int selinux_netlbl_inet_conn_request (struct request_sock *req , u16 family ); ARGUMENTS req incoming connection request socket family the request socket's address family DESCRIPTION A new incoming connection...
selinux_netlbl_inet_csk_clone(9)
NAME selinux_netlbl_inet_csk_clone - Initialize the newly created sock SYNOPSIS void selinux_netlbl_inet_csk_clone (struct sock *sk , u16 family ); ARGUMENTS sk the new sock family the sock's address family DESCRIPTION A new connection has been established using sk, we've already labeled the ...
selinux_netlbl_option(9)
NAME selinux_netlbl_option - Is this a NetLabel option SYNOPSIS int selinux_netlbl_option (int level , int optname ); ARGUMENTS level the socket level or protocol optname the socket option name DESCRIPTION Returns true if level and optname refer to a NetLabel option. Helper for selinux_netlbl_sock...
selinux_netlbl_sctp_assoc_request(9)
NAME selinux_netlbl_sctp_assoc_request - Label an incoming sctp association. SYNOPSIS int selinux_netlbl_sctp_assoc_request (struct sctp_association *asoc , struct sk_buff *skb ); ARGUMENTS asoc incoming association. skb the packet. DESCRIPTION A new incoming connection is represented by asoc,...
selinux_netlbl_sctp_sk_clone(9)
NAME selinux_netlbl_sctp_sk_clone - Copy state to the newly created sock SYNOPSIS void selinux_netlbl_sctp_sk_clone (struct sock *sk , struct sock *newsk ); ARGUMENTS sk current sock newsk the new sock DESCRIPTION Called whenever a new socket is created by accept(2) or sctp_peeloff(3). SEE AL...
selinux_netlbl_sidlookup_cached(9)
NAME selinux_netlbl_sidlookup_cached - Cache a SID lookup SYNOPSIS int selinux_netlbl_sidlookup_cached (struct sk_buff *skb , u16 family , struct netlbl_lsm_secattr *secattr , u32 *sid ); ARGUMENTS skb the packet family the packet's address family secattr the NetLabel security attribu...
selinux_netlbl_sk_security_free(9)
NAME selinux_netlbl_sk_security_free - Free the NetLabel fields SYNOPSIS void selinux_netlbl_sk_security_free (struct sk_security_struct *sksec ); ARGUMENTS sksec the sk_security_struct DESCRIPTION Free all of the memory in the NetLabel fields of a sk_security_struct. SEE ALSO Kernel file ./security/sel...
selinux_netlbl_sk_security_reset(9)
NAME selinux_netlbl_sk_security_reset - Reset the NetLabel fields SYNOPSIS void selinux_netlbl_sk_security_reset (struct sk_security_struct *sksec ); ARGUMENTS sksec the sk_security_struct DESCRIPTION Called when the NetLabel state of a sk_security_struct needs to be reset. The caller is responsible for all t...
selinux_netlbl_skbuff_getsid(9)
NAME selinux_netlbl_skbuff_getsid - Get the sid of a packet using NetLabel SYNOPSIS int selinux_netlbl_skbuff_getsid (struct sk_buff *skb , u16 family , u32 *type , u32 *sid ); ARGUMENTS skb the packet family protocol family type NetLabel labeling protocol type sid ...
selinux_netlbl_skbuff_setsid(9)
NAME selinux_netlbl_skbuff_setsid - Set the NetLabel on a packet given a sid SYNOPSIS int selinux_netlbl_skbuff_setsid (struct sk_buff *skb , u16 family , u32 sid ); ARGUMENTS skb the packet family protocol family sid the SID DESCRIPTION Description Call the NetLabel mechanism to...
selinux_netlbl_sock_genattr(9)
NAME selinux_netlbl_sock_genattr - Generate the NetLabel socket secattr SYNOPSIS struct netlbl_lsm_secattr * selinux_netlbl_sock_genattr (struct sock *sk ); ARGUMENTS sk the socket DESCRIPTION Generate the NetLabel security attributes for a socket, making full use of the socket's attribute cache. Returns a...
selinux_netlbl_sock_getattr(9)
NAME selinux_netlbl_sock_getattr - Get the cached NetLabel secattr SYNOPSIS struct netlbl_lsm_secattr * selinux_netlbl_sock_getattr (const struct sock *sk , u32 sid ); ARGUMENTS sk the socket sid the SID DESCRIPTION Query the socket's cached secattr and if the SID matches the cached value re...
selinux_netlbl_sock_rcv_skb(9)
NAME selinux_netlbl_sock_rcv_skb - Do an inbound access check using NetLabel SYNOPSIS int selinux_netlbl_sock_rcv_skb (struct sk_security_struct *sksec , struct sk_buff *skb , u16 family , struct common_audit_data *ad ); ARGUMENTS sksec the sock's sk_security_struct skb the packet family...
selinux_netlbl_socket_connect(9)
NAME selinux_netlbl_socket_connect - Label a client-side socket on connect SYNOPSIS int selinux_netlbl_socket_connect (struct sock *sk , struct sockaddr *addr ); ARGUMENTS sk the socket to label addr the destination address DESCRIPTION Attempt to label a connected socket with NetLabel using t...
selinux_netlbl_socket_connect_helper(9)
NAME selinux_netlbl_socket_connect_helper - Help label a client-side socket on connect SYNOPSIS int selinux_netlbl_socket_connect_helper (struct sock *sk , struct sockaddr *addr ); ARGUMENTS sk the socket to label addr the destination address DESCRIPTION Attempt to label a connected socket wi...
selinux_netlbl_socket_connect_locked(9)
NAME selinux_netlbl_socket_connect_locked - Label a client-side socket on connect SYNOPSIS int selinux_netlbl_socket_connect_locked (struct sock *sk , struct sockaddr *addr ); ARGUMENTS sk the socket to label addr the destination address DESCRIPTION Attempt to label a connected socket that al...
selinux_netlbl_socket_post_create(9)
NAME selinux_netlbl_socket_post_create - Label a socket using NetLabel SYNOPSIS int selinux_netlbl_socket_post_create (struct sock *sk , u16 family ); ARGUMENTS sk the sock to label family protocol family DESCRIPTION Attempt to label a socket using the NetLabel mechanism using the given SID. R...
selinux_netlbl_socket_setsockopt(9)
NAME selinux_netlbl_socket_setsockopt - Do not allow users to remove a NetLabel SYNOPSIS int selinux_netlbl_socket_setsockopt (struct socket *sock , int level , int optname ); ARGUMENTS sock the socket level the socket level or protocol optname the socket option name DESCRIPTION Chec...
selinux_peerlbl_enabled(9)
NAME selinux_peerlbl_enabled - Check to see if peer labeling is currently enabled SYNOPSIS int selinux_peerlbl_enabled (void ); ARGUMENTS void no arguments DESCRIPTION This function checks if NetLabel or labeled IPSEC is enabled. Returns true (1) if any are enabled or false (0) if neither are enabled. If...
selinux_secmark_enabled(9)
NAME selinux_secmark_enabled - Check to see if SECMARK is currently enabled SYNOPSIS int selinux_secmark_enabled (void ); ARGUMENTS void no arguments DESCRIPTION This function checks the SECMARK reference counter to see if any SECMARK targets are currently configured, if the reference counter is greater than ...
selinux_skb_peerlbl_sid(9)
NAME selinux_skb_peerlbl_sid - Determine the peer label of a packet SYNOPSIS int selinux_skb_peerlbl_sid (struct sk_buff *skb , u16 family , u32 *sid ); ARGUMENTS skb the packet family protocol family sid the packet's peer label SID DESCRIPTION Check the various different forms o...
selinux_uring_allowed(9)
NAME selinux_uring_allowed - check if io_uring_setup() can be called SYNOPSIS int selinux_uring_allowed (void ); ARGUMENTS void no arguments DESCRIPTION Check to see if the current task is allowed to call io_uring_setup. SEE ALSO Kernel file ./security/selinux/hooks.c selinux_secmark_enabled(9), selin...
selinux_uring_cmd(9)
NAME selinux_uring_cmd - check if IORING_OP_URING_CMD is allowed SYNOPSIS int selinux_uring_cmd (struct io_uring_cmd *ioucmd ); ARGUMENTS ioucmd the io_uring command structure DESCRIPTION Check to see if the current domain is allowed to execute an IORING_OP_URING_CMD against the device/file specified in ioucmd....
selinux_uring_override_creds(9)
NAME selinux_uring_override_creds - check the requested cred override SYNOPSIS int selinux_uring_override_creds (const struct cred *new ); ARGUMENTS new the target creds DESCRIPTION Check to see if the current task is allowed to override it's credentials to service an io_uring operation. SEE ALSO Kernel fi...
selinux_uring_sqpoll(9)
NAME selinux_uring_sqpoll - check if a io_uring polling thread can be created SYNOPSIS int selinux_uring_sqpoll (void ); ARGUMENTS void no arguments DESCRIPTION Check to see if the current task is allowed to create a new io_uring kernel polling thread. SEE ALSO Kernel file ./security/selinux/hooks.c se...
sem_close(3)
NAME sem_close - close a named semaphore LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <semaphore.h> int sem_close(sem_t *sem); DESCRIPTION sem_close() closes the named semaphore referred to by sem, allowing any resources that the system has allocated to the calling process for this...