id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
smk_access_entry(9) | NAME smk_access_entry - look up matching access rule
SYNOPSIS int smk_access_entry (char *subject_label , char *object_label , struct list_head *rule_list );
ARGUMENTS subject_label a pointer to the subject's Smack label
object_label
a pointer to the object's Smack label
rule_list ... |
smk_cipso_doi(9) | NAME smk_cipso_doi - set netlabel maps
SYNOPSIS int smk_cipso_doi (u32 ndoi , gfp_t gfp_flags );
ARGUMENTS ndoi new value for our CIPSO DOI
gfp_flags kmalloc allocation context
SEE ALSO Kernel file ./security/smack/smackfs.c smk_netlabel_audit_set(9), smk_set_access(9), smk_perm_from_str(9), ... |
smk_copy_relabel(9) | NAME smk_copy_relabel - copy smk_relabel labels list
SYNOPSIS int smk_copy_relabel (struct list_head *nhead , struct list_head *ohead , gfp_t gfp );
ARGUMENTS nhead new rules header pointer
ohead old rules header pointer
gfp type of the memory for the allocation
DESCRIPTION Return... |
smk_copy_rules(9) | NAME smk_copy_rules - copy a rule set
SYNOPSIS int smk_copy_rules (struct list_head *nhead , struct list_head *ohead , gfp_t gfp );
ARGUMENTS nhead new rules header pointer
ohead old rules header pointer
gfp type of the memory for the allocation
DESCRIPTION Returns 0 on success, -... |
smk_curacc(9) | NAME smk_curacc - determine if current has a specific access to an object
SYNOPSIS int smk_curacc (struct smack_known *obj_known , u32 mode , struct smk_audit_info *a );
ARGUMENTS obj_known a pointer to the object's Smack label entry
mode the access requested, in "MAY" format
a comm... |
smk_curacc_msq(9) | NAME smk_curacc_msq - helper to check if current has access on msq
SYNOPSIS int smk_curacc_msq (struct kern_ipc_perm *isp , int access );
ARGUMENTS isp the msq
access access requested
DESCRIPTION return 0 if current has access, error otherwise
SEE ALSO Kernel file ./security/smack/smack_lsm.c... |
smk_curacc_on_task(9) | NAME smk_curacc_on_task - helper to log task related access
SYNOPSIS int smk_curacc_on_task (struct task_struct *p , int access , const char *caller );
ARGUMENTS p the task object
access the access requested
caller name of the calling function for audit
DESCRIPTION Return 0 if acc... |
smk_curacc_sem(9) | NAME smk_curacc_sem - check if current has access on sem
SYNOPSIS int smk_curacc_sem (struct kern_ipc_perm *isp , int access );
ARGUMENTS isp the object
access access requested
DESCRIPTION Returns 0 if current has the requested access, error code otherwise
SEE ALSO Kernel file ./security/smac... |
smk_curacc_shm(9) | NAME smk_curacc_shm - check if current has access on shm
SYNOPSIS int smk_curacc_shm (struct kern_ipc_perm *isp , int access );
ARGUMENTS isp the object
access access requested
DESCRIPTION Returns 0 if current has the requested access, error code otherwise
SEE ALSO Kernel file ./security/smac... |
smk_destroy_label_list(9) | NAME smk_destroy_label_list - destroy a list of smack_known_list_elem
SYNOPSIS void smk_destroy_label_list (struct list_head *list );
ARGUMENTS list header pointer of the list to destroy
SEE ALSO Kernel file ./security/smack/smackfs.c smk_netlabel_audit_set(9), smk_set_access(9), smk_perm_from_str(9), ... |
smk_fetch(9) | NAME smk_fetch - Fetch the smack label from a file.
SYNOPSIS struct smack_known * smk_fetch (const char *name , struct inode *ip , struct dentry *dp );
ARGUMENTS name type of the label (attribute)
ip a pointer to the inode
dp a pointer to the dentry
DESCRIPTION Returns a poin... |
smk_fill_rule(9) | NAME smk_fill_rule - Fill Smack rule from strings
SYNOPSIS int smk_fill_rule (const char *subject , const char *object , const char *access1 , const char *access2 , struct smack_parsed_rule *rule , int import , int len );
ARGUMENTS subject subject label string
object object label string
acces... |
smk_fill_super(9) | NAME smk_fill_super - fill the smackfs superblock
SYNOPSIS int smk_fill_super (struct super_block *sb , struct fs_context *fc );
ARGUMENTS sb the empty superblock
fc unused
DESCRIPTION Fill in the well known entries for the smack filesystem Returns 0 on success, an error code on failure
SE... |
smk_find_entry(9) | NAME smk_find_entry - find a label on the list, return the list entry
SYNOPSIS struct smack_known * smk_find_entry (const char *string );
ARGUMENTS string a text string that might be a Smack label
DESCRIPTION Returns a pointer to the entry in the label list that matches the passed string or NULL if not found.
... |
smk_get_tree(9) | NAME smk_get_tree - get the smackfs superblock
SYNOPSIS int smk_get_tree (struct fs_context *fc );
ARGUMENTS fc The mount context, including any options
DESCRIPTION Just passes everything along. Returns what the lower level code does.
SEE ALSO Kernel file ./security/smack/smackfs.c smk_netlabel_audit_... |
smk_import_entry(9) | NAME smk_import_entry - import a label, return the list entry
SYNOPSIS struct smack_known * smk_import_entry (const char *string , int len );
ARGUMENTS string a text string that might contain a Smack label at the beginning
len the maximum size to look into, may be zero if string is null-terminate... |
smk_import_valid_label(9) | NAME smk_import_valid_label - import a label, return the list entry
SYNOPSIS struct smack_known * smk_import_valid_label (const char *label , int label_len , gfp_t gfp );
ARGUMENTS label a text string that is a valid Smack label, not null-terminated
label_len the length of the text string in the label... |
smk_init_fs_context(9) | NAME smk_init_fs_context - Initialise a filesystem context for smackfs
SYNOPSIS int smk_init_fs_context (struct fs_context *fc );
ARGUMENTS fc The blank mount context
SEE ALSO Kernel file ./security/smack/smackfs.c smk_netlabel_audit_set(9), smk_set_access(9), smk_perm_from_str(9), smk_fill_rule(9), ... |
smk_init_sysfs(9) | NAME smk_init_sysfs - initialize /sys/fs/smackfs
SYNOPSIS int smk_init_sysfs (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./security/smack/smackfs.c smk_netlabel_audit_set(9), smk_set_access(9), smk_perm_from_str(9), smk_fill_rule(9), smk_parse_rule(9), smk_parse_long_rule(9), smk_write... |
smk_insert_entry(9) | NAME smk_insert_entry - insert a smack label into a hash map,
SYNOPSIS void smk_insert_entry (struct smack_known *skp );
ARGUMENTS skp smack label
DESCRIPTION this function must be called under smack_known_lock
SEE ALSO Kernel file ./security/smack/smack_access.c smk_access_entry(9), smk_access(9), smk... |
smk_ipv4_check(9) | NAME smk_ipv4_check - Perform IPv4 host access checks
SYNOPSIS int smk_ipv4_check (struct sock *sk , struct sockaddr_in *sap );
ARGUMENTS sk the socket
sap the destination address
DESCRIPTION Set the correct secattr for the given socket based on the destination address and perform any outbou... |
smk_ipv6_check(9) | NAME smk_ipv6_check - check Smack access
SYNOPSIS int smk_ipv6_check (struct smack_known *subject , struct smack_known *object , struct sockaddr_in6 *address , int act );
ARGUMENTS subject subject Smack label
object object Smack label
address address
act the action being t... |
smk_ipv6_port_check(9) | NAME smk_ipv6_port_check - check Smack port access
SYNOPSIS int smk_ipv6_port_check (struct sock *sk , struct sockaddr_in6 *address , int act );
ARGUMENTS sk socket
address address
act the action being taken
DESCRIPTION Create or update the port list entry
SEE ALSO Kernel file ... |
smk_ipv6_port_label(9) | NAME smk_ipv6_port_label - Smack port access table management
SYNOPSIS void smk_ipv6_port_label (struct socket *sock , struct sockaddr *address );
ARGUMENTS sock socket
address address
DESCRIPTION Create or update the port list entry
SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(... |
smk_list_swap_rcu(9) | NAME smk_list_swap_rcu - swap public list with a private one in RCU-safe way The caller must hold appropriate mutex to prevent concurrent modifications to the public list. Private list is assumed to be not accessible to other threads yet.
SYNOPSIS void smk_list_swap_rcu (struct list_head *public , struct list_head *p... |
smk_net4addr_insert(9) | NAME smk_net4addr_insert - insert a new entry into the net4addrs list
SYNOPSIS void smk_net4addr_insert (struct smk_net4addr *new );
ARGUMENTS new netlabel to insert
DESCRIPTION This helper inserts netlabel in the smack_net4addrs list sorted by netmask length (longest to smallest) locked by smk_net4addr_lock... |
smk_net6addr_insert(9) | NAME smk_net6addr_insert - insert a new entry into the net6addrs list
SYNOPSIS void smk_net6addr_insert (struct smk_net6addr *new );
ARGUMENTS new entry to insert
DESCRIPTION This inserts an entry in the smack_net6addrs list sorted by netmask length (longest to smallest) locked by smk_net6addr_lock in smk_wr... |
smk_netlabel_audit_set(9) | NAME smk_netlabel_audit_set - fill a netlbl_audit struct
SYNOPSIS void smk_netlabel_audit_set (struct netlbl_audit *nap );
ARGUMENTS nap structure to fill
SEE ALSO Kernel file ./security/smack/smackfs.c smk_set_access(9), smk_perm_from_str(9), smk_fill_rule(9), smk_parse_rule(9), smk_parse_long_rule(9), smk... |
smk_netlbl_mls(9) | NAME smk_netlbl_mls - convert a catset to netlabel mls categories
SYNOPSIS int smk_netlbl_mls (int level , char *catset , struct netlbl_lsm_secattr *sap , int len );
ARGUMENTS level MLS sensitivity level
catset the Smack categories
sap where to put the netlabel categories
le... |
smk_open_cipso(9) | NAME smk_open_cipso - open() for /smack/cipso
SYNOPSIS int smk_open_cipso (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "cipso" file pointer
DESCRIPTION Connect our cipso_seq_* operations with /smack/cipso file_operations
SEE ALSO Kernel fi... |
smk_open_cipso2(9) | NAME smk_open_cipso2 - open() for /smack/cipso2
SYNOPSIS int smk_open_cipso2 (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "cipso2" file pointer
DESCRIPTION Connect our cipso_seq_* operations with /smack/cipso2 file_operations
SEE ALSO Kernel... |
smk_open_load(9) | NAME smk_open_load - open() for /smack/load
SYNOPSIS int smk_open_load (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "load" file pointer
DESCRIPTION For reading, use load_seq_* seq_file reading operations.
SEE ALSO Kernel file ./security/sm... |
smk_open_load2(9) | NAME smk_open_load2 - open() for /smack/load2
SYNOPSIS int smk_open_load2 (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "load2" file pointer
DESCRIPTION For reading, use load2_seq_* seq_file reading operations.
SEE ALSO Kernel file ./secur... |
smk_open_load_self(9) | NAME smk_open_load_self - open() for /smack/load-self2
SYNOPSIS int smk_open_load_self (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "load" file pointer
DESCRIPTION For reading, use load_seq_* seq_file reading operations.
SEE ALSO Kernel fi... |
smk_open_load_self2(9) | NAME smk_open_load_self2 - open() for /smack/load-self2
SYNOPSIS int smk_open_load_self2 (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "load" file pointer
DESCRIPTION For reading, use load_seq_* seq_file reading operations.
SEE ALSO Kernel ... |
smk_open_net4addr(9) | NAME smk_open_net4addr - open() for /smack/netlabel
SYNOPSIS int smk_open_net4addr (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "netlabel" file pointer
DESCRIPTION Connect our net4addr_seq_* operations with /smack/netlabel file_operations
SE... |
smk_open_net6addr(9) | NAME smk_open_net6addr - open() for /smack/netlabel
SYNOPSIS int smk_open_net6addr (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "netlabel" file pointer
DESCRIPTION Connect our net6addr_seq_* operations with /smack/netlabel file_operations
SE... |
smk_open_relabel_self(9) | NAME smk_open_relabel_self - open() for /smack/relabel-self
SYNOPSIS int smk_open_relabel_self (struct inode *inode , struct file *file );
ARGUMENTS inode inode structure representing file
file "relabel-self" file pointer
DESCRIPTION Connect our relabel_self_seq_* operations with /smack/relabel-... |
smk_parse_label_len(9) | NAME smk_parse_label_len - calculate the length of the starting segment in the string that constitutes a valid smack label
SYNOPSIS int smk_parse_label_len (const char *string , int len );
ARGUMENTS string a text string that might contain a Smack label at the beginning
len the maximum size to loo... |
smk_parse_label_list(9) | NAME smk_parse_label_list - parse list of Smack labels, separated by spaces
SYNOPSIS int smk_parse_label_list (char *data , struct list_head *list );
ARGUMENTS data the string to parse
list destination list
DESCRIPTION Returns zero on success or error code, as appropriate
SEE ALSO Kernel fil... |
smk_parse_long_rule(9) | NAME smk_parse_long_rule - parse Smack rule from rule string
SYNOPSIS ssize_t smk_parse_long_rule (char *data , struct smack_parsed_rule *rule , int import , int tokens );
ARGUMENTS data string to be parsed, null terminated
rule Will be filled with Smack parsed rule
import if non-ze... |
smk_parse_rule(9) | NAME smk_parse_rule - parse Smack rule from load string
SYNOPSIS int smk_parse_rule (const char *data , struct smack_parsed_rule *rule , int import );
ARGUMENTS data string to be parsed whose size is SMK_LOADLEN
rule Smack rule
import if non-zero, import labels
DESCRIPTION Returns ... |
smk_parse_smack(9) | NAME smk_parse_smack - copy the starting segment in the string that constitutes a valid smack label
SYNOPSIS char * smk_parse_smack (const char *string , int len );
ARGUMENTS string a text string that might contain a Smack label at the beginning
len the maximum size to look into, may be zero if s... |
smk_perm_from_str(9) | NAME smk_perm_from_str - parse smack accesses from a text string
SYNOPSIS int smk_perm_from_str (const char *string );
ARGUMENTS string a text string that contains a Smack accesses code
DESCRIPTION Returns an integer with respective bits set for specified accesses.
SEE ALSO Kernel file ./security/smack/sma... |
smk_ptrace_mode(9) | NAME smk_ptrace_mode - helper function for converting PTRACE_MODE_* into MAY_*
SYNOPSIS unsigned int smk_ptrace_mode (unsigned int mode );
ARGUMENTS mode input mode in form of PTRACE_MODE_*
DESCRIPTION Returns a converted MAY_* mode usable by smack rules
SEE ALSO Kernel file ./security/smack/smack_lsm.c s... |
smk_ptrace_rule_check(9) | NAME smk_ptrace_rule_check - helper for ptrace access
SYNOPSIS int smk_ptrace_rule_check (struct task_struct *tracer , struct smack_known *tracee_known , unsigned int mode , const char *func );
ARGUMENTS tracer tracer process
tracee_known
label entry of the process that's about to be t... |
smk_read_ambient(9) | NAME smk_read_ambient - read() for /smack/ambient
SYNOPSIS ssize_t smk_read_ambient (struct file *filp , char __user *buf , size_t cn , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
cn maximum to send along
ppos where ... |
smk_read_direct(9) | NAME smk_read_direct - read() for /smack/direct
SYNOPSIS ssize_t smk_read_direct (struct file *filp , char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
count maximum to send along
ppos where ... |
smk_read_doi(9) | NAME smk_read_doi - read() for /smack/doi
SYNOPSIS ssize_t smk_read_doi (struct file *filp , char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
count maximum to send along
ppos where to start
... |
smk_read_logging(9) | NAME smk_read_logging - read() for /smack/logging
SYNOPSIS ssize_t smk_read_logging (struct file *filp , char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
count maximum to send along
ppos whe... |
smk_read_mapped(9) | NAME smk_read_mapped - read() for /smack/mapped
SYNOPSIS ssize_t smk_read_mapped (struct file *filp , char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
count maximum to send along
ppos where ... |
smk_read_ptrace(9) | NAME smk_read_ptrace - read() for /smack/ptrace
SYNOPSIS ssize_t smk_read_ptrace (struct file *filp , char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
count maximum to send along
ppos where ... |
smk_read_syslog(9) | NAME smk_read_syslog - read() for smackfs/syslog
SYNOPSIS ssize_t smk_read_syslog (struct file *filp , char __user *buf , size_t cn , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
cn maximum to send along
ppos where to... |
smk_read_unconfined(9) | NAME smk_read_unconfined - read() for smackfs/unconfined
SYNOPSIS ssize_t smk_read_unconfined (struct file *filp , char __user *buf , size_t cn , loff_t *ppos );
ARGUMENTS filp file pointer, not actually used
buf where to put the result
cn maximum to send along
ppos ... |
smk_rule_transmutes(9) | NAME smk_rule_transmutes - does access rule for (subject,object) contain 't'?
SYNOPSIS bool smk_rule_transmutes (struct smack_known *subject , const struct smack_known *object );
ARGUMENTS subject a pointer to the subject's Smack label entry
object a pointer to the object's Smack label entry
SEE ALS... |
smk_set_access(9) | NAME smk_set_access - add a rule to the rule list or replace an old rule
SYNOPSIS int smk_set_access (struct smack_parsed_rule *srp , struct list_head *rule_list , struct mutex *rule_lock );
ARGUMENTS srp the rule to add or replace
rule_list the list of rules
rule_lock the rule list lock
... |
smk_set_cipso(9) | NAME smk_set_cipso - do the work for write() for cipso and cipso2
SYNOPSIS ssize_t smk_set_cipso (struct file *file , const char __user *buf , size_t count , loff_t *ppos , int format );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent... |
smk_tskacc(9) | NAME smk_tskacc - determine if a task has a specific access to an object
SYNOPSIS int smk_tskacc (struct task_smack *tsp , struct smack_known *obj_known , u32 mode , struct smk_audit_info *a );
ARGUMENTS tsp a pointer to the subject's task
obj_known a pointer to the object's label entry
mode... |
smk_unlbl_ambient(9) | NAME smk_unlbl_ambient - initialize the unlabeled domain
SYNOPSIS void smk_unlbl_ambient (char *oldambient );
ARGUMENTS oldambient previous domain string
SEE ALSO Kernel file ./security/smack/smackfs.c smk_netlabel_audit_set(9), smk_set_access(9), smk_perm_from_str(9), smk_fill_rule(9), smk_parse_rule(9), ... |
smk_user_access(9) | NAME smk_user_access - handle access check transaction
SYNOPSIS ssize_t smk_user_access (struct file *file , const char __user *buf , size_t count , loff_t *ppos , int format );
ARGUMENTS file file pointer
buf data from user space
count bytes sent
ppos where to star... |
smk_write_access(9) | NAME smk_write_access - handle access check transaction
SYNOPSIS ssize_t smk_write_access (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer
buf data from user space
count bytes sent
ppos where to start - must be... |
smk_write_access2(9) | NAME smk_write_access2 - handle access check transaction
SYNOPSIS ssize_t smk_write_access2 (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer
buf data from user space
count bytes sent
ppos where to start - must ... |
smk_write_ambient(9) | NAME smk_write_ambient - write() for /smack/ambient
SYNOPSIS ssize_t smk_write_ambient (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos wh... |
smk_write_change_rule(9) | NAME smk_write_change_rule - write() for /smack/change-rule
SYNOPSIS ssize_t smk_write_change_rule (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer
buf data from user space
count bytes sent
ppos where to start ... |
smk_write_cipso(9) | NAME smk_write_cipso - write() for /smack/cipso
SYNOPSIS ssize_t smk_write_cipso (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where to... |
smk_write_cipso2(9) | NAME smk_write_cipso2 - write() for /smack/cipso2
SYNOPSIS ssize_t smk_write_cipso2 (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where... |
smk_write_direct(9) | NAME smk_write_direct - write() for /smack/direct
SYNOPSIS ssize_t smk_write_direct (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where... |
smk_write_doi(9) | NAME smk_write_doi - write() for /smack/doi
SYNOPSIS ssize_t smk_write_doi (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where to start... |
smk_write_load(9) | NAME smk_write_load - write() for /smack/load
SYNOPSIS ssize_t smk_write_load (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where to st... |
smk_write_load2(9) | NAME smk_write_load2 - write() for /smack/load2
SYNOPSIS ssize_t smk_write_load2 (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where to... |
smk_write_load_self(9) | NAME smk_write_load_self - write() for /smack/load-self
SYNOPSIS ssize_t smk_write_load_self (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos ... |
smk_write_load_self2(9) | NAME smk_write_load_self2 - write() for /smack/load-self2
SYNOPSIS ssize_t smk_write_load_self2 (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos ... |
smk_write_logging(9) | NAME smk_write_logging - write() for /smack/logging
SYNOPSIS ssize_t smk_write_logging (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos wh... |
smk_write_mapped(9) | NAME smk_write_mapped - write() for /smack/mapped
SYNOPSIS ssize_t smk_write_mapped (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos where... |
smk_write_net4addr(9) | NAME smk_write_net4addr - write() for /smack/netlabel
SYNOPSIS ssize_t smk_write_net4addr (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos ... |
smk_write_net6addr(9) | NAME smk_write_net6addr - write() for /smack/netlabel
SYNOPSIS ssize_t smk_write_net6addr (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos ... |
smk_write_onlycap(9) | NAME smk_write_onlycap - write() for smackfs/onlycap
SYNOPSIS ssize_t smk_write_onlycap (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos w... |
smk_write_ptrace(9) | NAME smk_write_ptrace - write() for /smack/ptrace
SYNOPSIS ssize_t smk_write_ptrace (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer
buf data from user space
count bytes sent
ppos where to start - must be 0
SE... |
smk_write_relabel_self(9) | NAME smk_write_relabel_self - write() for /smack/relabel-self
SYNOPSIS ssize_t smk_write_relabel_self (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
... |
smk_write_revoke_subj(9) | NAME smk_write_revoke_subj - write() for /smack/revoke-subject
SYNOPSIS ssize_t smk_write_revoke_subj (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer
buf data from user space
count bytes sent
ppos where to sta... |
smk_write_rules_list(9) | NAME smk_write_rules_list - write() for any /smack rule file
SYNOPSIS ssize_t smk_write_rules_list (struct file *file , const char __user *buf , size_t count , loff_t *ppos , struct list_head *rule_list , struct mutex *rule_lock , int format );
ARGUMENTS file file pointer, not actually used
buf ... |
smk_write_syslog(9) | NAME smk_write_syslog - write() for smackfs/syslog
SYNOPSIS ssize_t smk_write_syslog (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos wher... |
smk_write_unconfined(9) | NAME smk_write_unconfined - write() for smackfs/unconfined
SYNOPSIS ssize_t smk_write_unconfined (struct file *file , const char __user *buf , size_t count , loff_t *ppos );
ARGUMENTS file file pointer, not actually used
buf where to get the data from
count bytes sent
ppos... |
smooth_alg(9) | NAME smooth_alg - smoothing algrithm for adjusting coalesce parameter
SYNOPSIS u32 smooth_alg (u32 new_param , u32 old_param );
ARGUMENTS new_param new value
old_param old value
SEE ALSO Kernel file ./drivers/net/ethernet/hisilicon/hns/hns_enet.c hns_nic_adpt_coalesce(9), hns_nic_adjust_link(9), hns_nic_... |
smp_acquire__after_ctrl_dep(9) | NAME smp_acquire__after_ctrl_dep - Provide ACQUIRE ordering after a control dependency
SYNOPSIS smp_acquire__after_ctrl_dep
DESCRIPTION A control dependency provides a LOAD->STORE order, the additional RMB provides LOAD->LOAD order, together they provide LOAD->{LOAD,STORE} order, aka. (load)-ACQUIRE. Architectures t... |
smp_build_mpidr_hash(9) | NAME smp_build_mpidr_hash - Pre-compute shifts required at each affinity level in order to build a linear index from an MPIDR value. Resulting algorithm is a collision free hash carried out through shifting and ORing
SYNOPSIS void smp_build_mpidr_hash (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ... |
smp_call_function(9) | NAME smp_call_function - Run a function on all other CPUs.
SYNOPSIS void smp_call_function (smp_call_func_t func , void *info , int wait );
ARGUMENTS func The function to run. This must be fast and non-blocking.
info An arbitrary pointer to pass to the function.
wait If true, wait... |
smp_call_function_many(9) | NAME smp_call_function_many - Run a function on a set of CPUs.
SYNOPSIS void smp_call_function_many (const struct cpumask *mask , smp_call_func_t func , void *info , bool wait );
ARGUMENTS mask The set of cpus to run on (only runs on online subset).
func The function to run. This must be fast an... |
smp_call_function_single_async(9) | NAME smp_call_function_single_async - Run an asynchronous function on a specific CPU.
SYNOPSIS int smp_call_function_single_async (int cpu , call_single_data_t *csd );
ARGUMENTS cpu The CPU to run on.
csd Pre-allocated and setup data structure
DESCRIPTION Like smp_call_function_single, but t... |
smp_cond_load_acquire(9) | NAME smp_cond_load_acquire - (Spin) wait for cond with ACQUIRE ordering
SYNOPSIS smp_cond_load_acquire (ptr , cond_expr );
ARGUMENTS ptr pointer to the variable to wait on
cond_expr -- undescribed --
DESCRIPTION Equivalent to using smp_load_acquire on the condition variable but employs the control ... |
smp_cond_load_relaxed(9) | NAME smp_cond_load_relaxed - (Spin) wait for cond with no ordering guarantees
SYNOPSIS smp_cond_load_relaxed (ptr , cond_expr );
ARGUMENTS ptr pointer to the variable to wait on
cond_expr -- undescribed --
DESCRIPTION Equivalent to using READ_ONCE on the condition variable. Due to C lacking lambda... |
smp_cpuid_part(9) | NAME smp_cpuid_part - return part id for a given cpu
SYNOPSIS unsigned int smp_cpuid_part (int cpu );
ARGUMENTS cpu logical cpu id.
RETURN part id of logical cpu passed as argument.
SEE ALSO Kernel file ./arch/arm/include/asm/smp_plat.h
April 2026 ... |
smp_mb__after_srcu_read_lock(9) | NAME smp_mb__after_srcu_read_lock - ensure full ordering after srcu_read_lock
SYNOPSIS void smp_mb__after_srcu_read_lock (void );
ARGUMENTS void no arguments
DESCRIPTION Converts the preceding srcu_read_lock into a two-way memory barrier. Call this after srcu_read_lock, to guarantee that all memory operati... |
smp_mb__after_srcu_read_unlock(9) | NAME smp_mb__after_srcu_read_unlock - ensure full ordering after srcu_read_unlock
SYNOPSIS void smp_mb__after_srcu_read_unlock (void );
ARGUMENTS void no arguments
DESCRIPTION Converts the preceding srcu_read_unlock into a two-way memory barrier. Call this after srcu_read_unlock, to guarantee that all memory... |
smp_startup_cpu(9) | NAME smp_startup_cpu - start the given cpu
SYNOPSIS int smp_startup_cpu (unsigned int lcpu );
ARGUMENTS lcpu -- undescribed --
DESCRIPTION At boot time, there is nothing to do for primary threads which were started from Open Firmware. For anything else, call RTAS with the appropriate start location.
RETURN ... |
smp_text_poke_batch_add(9) | NAME smp_text_poke_batch_add - - update instruction on live kernel on SMP, batched
SYNOPSIS void __ref smp_text_poke_batch_add (void *addr , const void *opcode , size_t len , const void *emulate );
ARGUMENTS addr address to patch
opcode opcode of new instruction
len length to copy
... |
smp_text_poke_batch_finish(9) | NAME smp_text_poke_batch_finish - - update instructions on live kernel on SMP
SYNOPSIS void smp_text_poke_batch_finish (void );
ARGUMENTS void no arguments
DESCRIPTION Input state: text_poke_array.vec: vector of instructions to patch text_poke_array.nr_entries: number of entries in the vector Modify multi... |
smp_text_poke_single(9) | NAME smp_text_poke_single - - update instruction on live kernel on SMP immediately
SYNOPSIS void __ref smp_text_poke_single (void *addr , const void *opcode , size_t len , const void *emulate );
ARGUMENTS addr address to patch
opcode opcode of new instruction
len length to copy
... |
smpboot_register_percpu_thread(9) | NAME smpboot_register_percpu_thread - Register a per_cpu thread related to hotplug
SYNOPSIS int smpboot_register_percpu_thread (struct smp_hotplug_thread *plug_thread );
ARGUMENTS plug_thread Hotplug thread descriptor
DESCRIPTION Creates and starts the threads on all online cpus.
SEE ALSO Kernel file ./kernel/smpbo... |
smpboot_thread_fn(9) | NAME smpboot_thread_fn - percpu hotplug thread loop function
SYNOPSIS int smpboot_thread_fn (void *data );
ARGUMENTS data thread data pointer
DESCRIPTION Checks for thread stop and park conditions. Calls the necessary setup, cleanup, park and unpark functions for the registered thread. Returns 1 when the thr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.