id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sdw_enable_disable_ports(9) | NAME sdw_enable_disable_ports - Enable/disable port(s) for Master and Slave(s)
SYNOPSIS int sdw_enable_disable_ports (struct sdw_master_runtime *m_rt , bool en );
ARGUMENTS m_rt Master stream runtime
en mode (enable/disable)
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_p... |
sdw_enable_disable_slave_ports(9) | NAME sdw_enable_disable_slave_ports - Enable/disable slave data port
SYNOPSIS int sdw_enable_disable_slave_ports (struct sdw_bus *bus , struct sdw_slave_runtime *s_rt , struct sdw_port_runtime *p_rt , bool en );
ARGUMENTS bus bus instance
s_rt slave runtime
p_rt port runtime
... |
sdw_enable_stream(9) | NAME sdw_enable_stream - Enable SoundWire stream
SYNOPSIS int sdw_enable_stream (struct sdw_stream_runtime *stream );
ARGUMENTS stream Soundwire stream
DESCRIPTION Documentation/driver-api/soundwire/stream.rst explains this API in detail
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_por... |
sdw_get_device_id(9) | NAME sdw_get_device_id - find the matching SoundWire device id
SYNOPSIS const struct sdw_device_id * sdw_get_device_id (struct sdw_slave *slave , const struct sdw_driver *drv );
ARGUMENTS slave SoundWire Slave Device
drv SoundWire Slave Driver
DESCRIPTION The match is done by comparing the mfg_... |
sdw_get_slave_dpn_prop(9) | NAME sdw_get_slave_dpn_prop - Get Slave port capabilities
SYNOPSIS struct sdw_dpn_prop * sdw_get_slave_dpn_prop (struct sdw_slave *slave , enum sdw_data_direction direction , unsigned int port_num );
ARGUMENTS slave Slave handle
direction Data direction.
port_num Port number
SEE ALSO Kerne... |
sdw_handle_slave_status(9) | NAME sdw_handle_slave_status - Handle Slave status
SYNOPSIS int sdw_handle_slave_status (struct sdw_bus *bus , enum sdw_slave_status status[] );
ARGUMENTS bus SDW bus instance
status Status for all Slave(s)
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), sdw_bus_master_... |
sdw_intel_acpi_scan(9) | NAME sdw_intel_acpi_scan - SoundWire Intel init routine
SYNOPSIS int sdw_intel_acpi_scan (acpi_handle parent_handle , struct sdw_intel_acpi_info *info );
ARGUMENTS parent_handle ACPI parent handle
info description of what firmware/DSDT tables expose
DESCRIPTION This scans the namespace and queries fir... |
sdw_intel_exit(9) | NAME sdw_intel_exit - SoundWire Intel exit
SYNOPSIS void sdw_intel_exit (struct sdw_intel_ctx *ctx );
ARGUMENTS ctx SoundWire context allocated in the probe
DESCRIPTION Delete the controller instances created and cleanup
SEE ALSO Kernel file ./drivers/soundwire/intel_init.c sdw_intel_probe(9), sdw_intel_sta... |
sdw_intel_probe(9) | NAME sdw_intel_probe - SoundWire Intel probe routine
SYNOPSIS struct sdw_intel_ctx * sdw_intel_probe (struct sdw_intel_res *res );
ARGUMENTS res resource data
DESCRIPTION This registers an auxiliary device for each Master handled by the controller, and SoundWire Master and Slave devices will be created by ... |
sdw_intel_startup(9) | NAME sdw_intel_startup - SoundWire Intel startup
SYNOPSIS int sdw_intel_startup (struct sdw_intel_ctx *ctx );
ARGUMENTS ctx SoundWire context allocated in the probe
DESCRIPTION Startup Intel SoundWire controller. This function will be called after Intel Audio DSP is powered up.
SEE ALSO Kernel file ./driver... |
sdw_master_device_add(9) | NAME sdw_master_device_add - create a Linux Master Device representation.
SYNOPSIS int sdw_master_device_add (struct sdw_bus *bus , struct device *parent , struct fwnode_handle *fwnode );
ARGUMENTS bus SDW bus instance
parent parent device
fwnode firmware node handle
SEE ALSO Kernel... |
sdw_master_device_del(9) | NAME sdw_master_device_del - delete a Linux Master Device representation.
SYNOPSIS int sdw_master_device_del (struct sdw_bus *bus );
ARGUMENTS bus bus handle
DESCRIPTION This function is the dual of sdw_master_device_add
SEE ALSO Kernel file ./drivers/soundwire/master.c sdw_master_device_add(9)
April 2026 ... |
sdw_master_read_prop(9) | NAME sdw_master_read_prop - Read Master properties
SYNOPSIS int sdw_master_read_prop (struct sdw_bus *bus );
ARGUMENTS bus SDW bus instance
SEE ALSO Kernel file ./drivers/soundwire/mipi_disco.c sdw_slave_read_prop(9)
April 2026 ... |
sdw_master_rt_alloc(9) | NAME sdw_master_rt_alloc - Allocates a Master runtime handle
SYNOPSIS struct sdw_master_runtime * sdw_master_rt_alloc (struct sdw_bus *bus , struct sdw_stream_runtime *stream );
ARGUMENTS bus SDW bus instance
stream Stream runtime handle.
DESCRIPTION This function is to be called with bus_lock h... |
sdw_master_rt_config(9) | NAME sdw_master_rt_config - Configure Master runtime handle
SYNOPSIS int sdw_master_rt_config (struct sdw_master_runtime *m_rt , struct sdw_stream_config *stream_config );
ARGUMENTS m_rt Master runtime handle
stream_config
Stream configuration
DESCRIPTION This function is to be call... |
sdw_master_rt_free(9) | NAME sdw_master_rt_free - Free Master runtime handle
SYNOPSIS void sdw_master_rt_free (struct sdw_master_runtime *m_rt , struct sdw_stream_runtime *stream );
ARGUMENTS m_rt Master runtime node
stream Stream runtime handle.
DESCRIPTION This function is to be called with bus_lock held It frees ... |
sdw_ml_sync_bank_switch(9) | NAME sdw_ml_sync_bank_switch - Multilink register bank switch
SYNOPSIS int sdw_ml_sync_bank_switch (struct sdw_bus *bus , bool multi_link );
ARGUMENTS bus SDW bus instance
multi_link whether this is a multi-link stream with hardware-based sync
DESCRIPTION Caller function should free the buffers on e... |
sdw_notify_config(9) | NAME sdw_notify_config - Notify bus configuration
SYNOPSIS int sdw_notify_config (struct sdw_master_runtime *m_rt );
ARGUMENTS m_rt Master runtime handle
DESCRIPTION This function notifies the Master(s) and Slave(s) of the new bus configuration.
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_pro... |
sdw_nread(9) | NAME sdw_nread - Read "n" contiguous SDW Slave registers
SYNOPSIS int sdw_nread (struct sdw_slave *slave , u32 addr , size_t count , u8 *val );
ARGUMENTS slave SDW Slave
addr Register address
count length
val Buffer for values to be read
DESCRIPTION This version of ... |
sdw_nread_no_pm(9) | NAME sdw_nread_no_pm - Read "n" contiguous SDW Slave registers with no PM
SYNOPSIS int sdw_nread_no_pm (struct sdw_slave *slave , u32 addr , size_t count , u8 *val );
ARGUMENTS slave SDW Slave
addr Register address
count length
val Buffer for values to be read
DESCR... |
sdw_nwrite(9) | NAME sdw_nwrite - Write "n" contiguous SDW Slave registers
SYNOPSIS int sdw_nwrite (struct sdw_slave *slave , u32 addr , size_t count , const u8 *val );
ARGUMENTS slave SDW Slave
addr Register address
count length
val Buffer for values to be written
DESCRIPTION This... |
sdw_nwrite_no_pm(9) | NAME sdw_nwrite_no_pm - Write "n" contiguous SDW Slave registers with no PM
SYNOPSIS int sdw_nwrite_no_pm (struct sdw_slave *slave , u32 addr , size_t count , const u8 *val );
ARGUMENTS slave SDW Slave
addr Register address
count length
val Buffer for values to be wr... |
sdw_prep_deprep_ports(9) | NAME sdw_prep_deprep_ports - Prepare/De-prepare port(s) for Master(s) and Slave(s)
SYNOPSIS int sdw_prep_deprep_ports (struct sdw_master_runtime *m_rt , bool prep );
ARGUMENTS m_rt Master runtime handle
prep Prepare or De-prepare
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_... |
sdw_prepare_stream(9) | NAME sdw_prepare_stream - Prepare SoundWire stream
SYNOPSIS int sdw_prepare_stream (struct sdw_stream_runtime *stream );
ARGUMENTS stream Soundwire stream
DESCRIPTION Documentation/driver-api/soundwire/stream.rst explains this API in detail
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_... |
sdw_program_params(9) | NAME sdw_program_params - Program transport and port parameters for Master(s) and Slave(s)
SYNOPSIS int sdw_program_params (struct sdw_bus *bus , bool prepare );
ARGUMENTS bus SDW bus instance
prepare true if sdw_program_params is called by _prepare.
SEE ALSO Kernel file ./drivers/soundwire/s... |
sdw_program_port_params(9) | NAME sdw_program_port_params - Programs transport parameters of Master(s) and Slave(s)
SYNOPSIS int sdw_program_port_params (struct sdw_master_runtime *m_rt );
ARGUMENTS m_rt Master stream runtime
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_enable_disable_slave_ports(9), sdw_enable_disable_ports(9)... |
sdw_read(9) | NAME sdw_read - Read a SDW Slave register
SYNOPSIS int sdw_read (struct sdw_slave *slave , u32 addr );
ARGUMENTS slave SDW Slave
addr Register address
DESCRIPTION This version of the function will take a PM reference to the slave device.
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus... |
sdw_read_no_pm(9) | NAME sdw_read_no_pm - Read a SDW Slave register with no PM
SYNOPSIS int sdw_read_no_pm (struct sdw_slave *slave , u32 addr );
ARGUMENTS slave SDW Slave
addr Register address
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), sdw_bus_master_delete(9), sdw_transfer(9), sdw... |
sdw_release_bus_lock(9) | NAME sdw_release_bus_lock - Release bus lock for all Master runtime(s)
SYNOPSIS void sdw_release_bus_lock (struct sdw_stream_runtime *stream );
ARGUMENTS stream SoundWire stream
DESCRIPTION Release the previously held bus_lock after reconfiguring the bus.
NOTE This function is called from SoundWire stream ops ... |
sdw_release_stream(9) | NAME sdw_release_stream - Free the assigned stream runtime
SYNOPSIS void sdw_release_stream (struct sdw_stream_runtime *stream );
ARGUMENTS stream SoundWire stream runtime
DESCRIPTION sdw_release_stream should be called only once per stream
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_... |
sdw_show_ping_status(9) | NAME sdw_show_ping_status - Direct report of PING status, to be used by Peripheral drivers
SYNOPSIS void sdw_show_ping_status (struct sdw_bus *bus , bool sync_delay );
ARGUMENTS bus SDW bus
sync_delay Delay before reading status
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), ... |
sdw_shutdown_stream(9) | NAME sdw_shutdown_stream - Shutdown SoundWire stream
SYNOPSIS void sdw_shutdown_stream (void *sdw_substream );
ARGUMENTS sdw_substream Soundwire stream
DESCRIPTION Documentation/driver-api/soundwire/stream.rst explains this API in detail
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_port_par... |
sdw_slave_read_prop(9) | NAME sdw_slave_read_prop - Read Slave properties
SYNOPSIS int sdw_slave_read_prop (struct sdw_slave *slave );
ARGUMENTS slave SDW Slave
SEE ALSO Kernel file ./drivers/soundwire/mipi_disco.c sdw_master_read_prop(9)
April 2026 ... |
sdw_slave_rt_alloc(9) | NAME sdw_slave_rt_alloc - Allocate a Slave runtime handle.
SYNOPSIS struct sdw_slave_runtime * sdw_slave_rt_alloc (struct sdw_slave *slave , struct sdw_master_runtime *m_rt );
ARGUMENTS slave Slave handle
m_rt Master runtime handle
DESCRIPTION This function is to be called with bus_lock held.
S... |
sdw_slave_rt_config(9) | NAME sdw_slave_rt_config - Configure a Slave runtime handle.
SYNOPSIS int sdw_slave_rt_config (struct sdw_slave_runtime *s_rt , struct sdw_stream_config *stream_config );
ARGUMENTS s_rt Slave runtime handle
stream_config
Stream configuration
DESCRIPTION This function is to be called... |
sdw_slave_rt_free(9) | NAME sdw_slave_rt_free - Free Slave(s) runtime handle
SYNOPSIS void sdw_slave_rt_free (struct sdw_slave *slave , struct sdw_stream_runtime *stream );
ARGUMENTS slave Slave handle.
stream Stream runtime handle.
DESCRIPTION This function is to be called with bus_lock held.
SEE ALSO Kernel file ... |
sdw_startup_stream(9) | NAME sdw_startup_stream - Startup SoundWire stream
SYNOPSIS int sdw_startup_stream (void *sdw_substream );
ARGUMENTS sdw_substream Soundwire stream
DESCRIPTION Documentation/driver-api/soundwire/stream.rst explains this API in detail
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_port_params(... |
sdw_stream_add_master(9) | NAME sdw_stream_add_master - Allocate and add master runtime to a stream
SYNOPSIS int sdw_stream_add_master (struct sdw_bus *bus , struct sdw_stream_config *stream_config , const struct sdw_port_config *port_config , unsigned int num_ports , struct sdw_stream_runtime *stream );
ARGUMENTS bus SDW Bus instance
... |
sdw_stream_add_slave(9) | NAME sdw_stream_add_slave - Allocate and add master/slave runtime to a stream
SYNOPSIS int sdw_stream_add_slave (struct sdw_slave *slave , struct sdw_stream_config *stream_config , const struct sdw_port_config *port_config , unsigned int num_ports , struct sdw_stream_runtime *stream );
ARGUMENTS slave SDW Slave... |
sdw_stream_remove_master(9) | NAME sdw_stream_remove_master - Remove master from sdw_stream
SYNOPSIS int sdw_stream_remove_master (struct sdw_bus *bus , struct sdw_stream_runtime *stream );
ARGUMENTS bus SDW Bus instance
stream SoundWire stream
DESCRIPTION This removes and frees port_rt and master_rt from a stream
SEE ALSO ... |
sdw_stream_remove_slave(9) | NAME sdw_stream_remove_slave - Remove slave from sdw_stream
SYNOPSIS int sdw_stream_remove_slave (struct sdw_slave *slave , struct sdw_stream_runtime *stream );
ARGUMENTS slave SDW Slave instance
stream SoundWire stream
DESCRIPTION This removes and frees port_rt and slave_rt from a stream
SEE ALS... |
sdw_transfer(9) | NAME sdw_transfer - Synchronous transfer message to a SDW Slave device
SYNOPSIS int sdw_transfer (struct sdw_bus *bus , struct sdw_msg *msg );
ARGUMENTS bus SDW bus
msg SDW message to be xfered
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), sdw_bus_master_delete(9),... |
sdw_transfer_defer(9) | NAME sdw_transfer_defer - Asynchronously transfer message to a SDW Slave device
SYNOPSIS int sdw_transfer_defer (struct sdw_bus *bus , struct sdw_msg *msg );
ARGUMENTS bus SDW bus
msg SDW message to be xfered
DESCRIPTION Caller needs to hold the msg_lock lock while calling this
SEE ALSO Kern... |
sdw_unregister_driver(9) | NAME sdw_unregister_driver - unregisters the SoundWire Slave driver
SYNOPSIS void sdw_unregister_driver (struct sdw_driver *drv );
ARGUMENTS drv driver to unregister
SEE ALSO Kernel file ./drivers/soundwire/bus_type.c sdw_get_device_id(9), __sdw_register_driver(9)
April 2026 ... |
sdw_write(9) | NAME sdw_write - Write a SDW Slave register
SYNOPSIS int sdw_write (struct sdw_slave *slave , u32 addr , u8 value );
ARGUMENTS slave SDW Slave
addr Register address
value Register value
DESCRIPTION This version of the function will take a PM reference to the slave device.
SEE ALSO... |
sdw_write_no_pm(9) | NAME sdw_write_no_pm - Write a SDW Slave register with no PM
SYNOPSIS int sdw_write_no_pm (struct sdw_slave *slave , u32 addr , u8 value );
ARGUMENTS slave SDW Slave
addr Register address
value Register value
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), ... |
se2_rd_all(9) | NAME se2_rd_all - read SCSI parameters from EEPROM
SYNOPSIS int se2_rd_all (struct orc_host * host );
ARGUMENTS host Host whose EEPROM is being loaded
DESCRIPTION Read SCSI H/A configuration parameters from serial EEPROM
SEE ALSO Kernel file ./drivers/scsi/a100u2w.c orc_exec_scb(9), se2_update_all(9), re... |
se2_update_all(9) | NAME se2_update_all - update the EEPROM
SYNOPSIS void se2_update_all (struct orc_host * host );
ARGUMENTS host Host whose EEPROM is being updated
DESCRIPTION Update changed bytes in the EEPROM image.
SEE ALSO Kernel file ./drivers/scsi/a100u2w.c orc_exec_scb(9), se2_rd_all(9), read_eeprom(9), orc_load_... |
search.h(0p) | 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 search.h — search tables
SYNOPSIS #include <search.h>
DESCRIP... |
search_bbt(9) | NAME search_bbt - [GENERIC] scan the device for a specific bad block table
SYNOPSIS int search_bbt (struct nand_chip *this , uint8_t *buf , struct nand_bbt_descr *td );
ARGUMENTS this NAND chip object
buf temporary buffer
td descriptor for the bad block table
DESCRIPTION Read ... |
search_binfmt_handler(9) | NAME search_binfmt_handler - search for a binary handler for @bprm
SYNOPSIS Node * search_binfmt_handler (struct binfmt_misc *misc , struct linux_binprm *bprm );
ARGUMENTS misc handle to binfmt_misc instance
bprm binary for which we are looking for a handler
DESCRIPTION Search for a binary type... |
search_current_reference_block(9) | NAME search_current_reference_block - Search the reference block currently saved in the search cursor for a reference count of zero, starting at the saved counter index.
SYNOPSIS bool search_current_reference_block (const struct vdo_slab *slab , slab_block_number *free_index_ptr );
ARGUMENTS slab The slab to s... |
search_hop_list(9) | NAME search_hop_list - Search the hop list associated with given hash bucket for a given search key.
SYNOPSIS struct bucket * search_hop_list (struct bucket *bucket , u64 key , struct bucket **previous_ptr );
ARGUMENTS bucket The map bucket to search for the key.
key The mapping key.
prev... |
search_inode(9) | NAME search_inode - search inode in the RB-tree of inodes.
SYNOPSIS struct fsck_inode * search_inode (struct fsck_data *fsckd , ino_t inum );
ARGUMENTS fsckd FS checking information
inum inode number to search
DESCRIPTION This is a helper function for 'check_leaf' which searches inode inum in th... |
search_read_bbts(9) | NAME search_read_bbts - [GENERIC] scan the device for bad block table(s)
SYNOPSIS void search_read_bbts (struct nand_chip *this , uint8_t *buf , struct nand_bbt_descr *td , struct nand_bbt_descr *md );
ARGUMENTS this NAND chip object
buf temporary buffer
td descriptor for the b... |
search_reference_blocks(9) | NAME search_reference_blocks - Search each reference block for a reference count of zero.
SYNOPSIS bool search_reference_blocks (struct vdo_slab *slab , slab_block_number *free_index_ptr );
ARGUMENTS slab The slab to search.
free_index_ptr
A pointer to receive the array index of the ... |
search_reserve_window(9) | NAME search_reserve_window -
SYNOPSIS struct ext2_reserve_window_node * search_reserve_window (struct rb_root *root , ext2_fsblk_t goal );
ARGUMENTS root root of reservation tree
goal target allocation block
DESCRIPTION Find the reserved window which includes the goal, or the previous one if th... |
sec_queue_alloc_start_safe(9) | NAME sec_queue_alloc_start_safe - get a hw queue from appropriate instance
SYNOPSIS struct sec_queue * sec_queue_alloc_start_safe (void );
ARGUMENTS void no arguments
DESCRIPTION This function does extremely simplistic load balancing. It does not take into account NUMA locality of the accelerator, or which ... |
sec_queue_empty(9) | NAME sec_queue_empty - Is this hardware queue currently empty.
SYNOPSIS bool sec_queue_empty (struct sec_queue *queue );
ARGUMENTS queue The queue to test
DESCRIPTION We need to know if we have an empty queue for some of the chaining modes as if it is not empty we may need to hold the message in a software que... |
sec_queue_send(9) | NAME sec_queue_send - queue up a single operation in the hw queue
SYNOPSIS int sec_queue_send (struct sec_queue *queue , struct sec_bd_info *msg , void *ctx );
ARGUMENTS queue The queue in which to put the message
msg The message
ctx Context to be put in the shadow array and pass... |
sec_queue_stop_release(9) | NAME sec_queue_stop_release - free up a hw queue for reuse
SYNOPSIS int sec_queue_stop_release (struct sec_queue *queue );
ARGUMENTS queue The queue we are done with.
DESCRIPTION This will stop the current queue, terminanting any transactions that are inflight an return it to the pool of available hw queuess
... |
seccomp(2) | NAME seccomp - operate on Secure Computing state of the process
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <linux/seccomp.h> /* Definition of SECCOMP_* constants */ #include <linux/filter.h> /* Definition of struct sock_fprog */ #include <linux/audit.h> /* Definition of AUDIT_* constants */ #inclu... |
seccomp_attach_filter(9) | NAME seccomp_attach_filter - validate and attach filter
SYNOPSIS long seccomp_attach_filter (unsigned int flags , struct seccomp_filter *filter );
ARGUMENTS flags flags to change filter behavior
filter seccomp filter to add to the current process
DESCRIPTION Caller must be holding current->sig... |
seccomp_cache_check_allow(9) | NAME seccomp_cache_check_allow - lookup seccomp cache
SYNOPSIS bool seccomp_cache_check_allow (const struct seccomp_filter *sfilter , const struct seccomp_data *sd );
ARGUMENTS sfilter The seccomp filter
sd The seccomp data to lookup the cache with
DESCRIPTION Returns true if the seccomp_data is... |
seccomp_cache_prepare(9) | NAME seccomp_cache_prepare - emulate the filter to find cacheable syscalls
SYNOPSIS void seccomp_cache_prepare (struct seccomp_filter *sfilter );
ARGUMENTS sfilter The seccomp filter
DESCRIPTION Returns 0 if successful or -errno if error occurred.
SEE ALSO Kernel file ./kernel/seccomp.c struct seccomp_kaddf... |
seccomp_can_sync_threads(9) | NAME seccomp_can_sync_threads - checks if all threads can be synchronized
SYNOPSIS pid_t seccomp_can_sync_threads (void );
ARGUMENTS void no arguments
DESCRIPTION Expects sighand and cred_guard_mutex locks to be held. Returns 0 on success, -ve on error, or the pid of a thread which was either not in the corr... |
seccomp_check_filter(9) | NAME seccomp_check_filter - verify seccomp filter code
SYNOPSIS int seccomp_check_filter (struct sock_filter *filter , unsigned int flen );
ARGUMENTS filter filter to verify
flen length of filter
DESCRIPTION Takes a previously checked filter (by bpf_check_classic) and redirects all filter cod... |
seccomp_filter_release(9) | NAME seccomp_filter_release - Detach the task from its filter tree, drop its reference count, and notify about unused filters
SYNOPSIS void seccomp_filter_release (struct task_struct *tsk );
ARGUMENTS tsk task the filter should be released from.
DESCRIPTION This function should only be called when the task i... |
seccomp_is_const_allow(9) | NAME seccomp_is_const_allow - check if filter is constant allow with given data
SYNOPSIS bool seccomp_is_const_allow (struct sock_fprog_kern *fprog , struct seccomp_data *sd );
ARGUMENTS fprog The BPF programs
sd The seccomp data to check against, only syscall number and arch number are conside... |
seccomp_prepare_filter(9) | NAME seccomp_prepare_filter - Prepares a seccomp filter for use.
SYNOPSIS struct seccomp_filter * seccomp_prepare_filter (struct sock_fprog *fprog );
ARGUMENTS fprog BPF program to install
DESCRIPTION Returns filter on success or an ERR_PTR on failure.
SEE ALSO Kernel file ./kernel/seccomp.c struct seccom... |
seccomp_prepare_user_filter(9) | NAME seccomp_prepare_user_filter - prepares a user-supplied sock_fprog
SYNOPSIS struct seccomp_filter * seccomp_prepare_user_filter (const char __user *user_filter );
ARGUMENTS user_filter pointer to the user data containing a sock_fprog.
DESCRIPTION Returns 0 on success and non-zero otherwise.
SEE ALSO Kernel fil... |
seccomp_run_filters(9) | NAME seccomp_run_filters - evaluates all seccomp filters against @sd
SYNOPSIS u32 seccomp_run_filters (const struct seccomp_data *sd , struct seccomp_filter **match );
ARGUMENTS sd optional seccomp data to be passed to filters
match stores struct seccomp_filter that resulted in the return value... |
seccomp_set_mode_filter(9) | NAME seccomp_set_mode_filter - internal function for setting seccomp filter
SYNOPSIS long seccomp_set_mode_filter (unsigned int flags , const char __user *filter );
ARGUMENTS flags flags to change filter behavior
filter struct sock_fprog containing filter
DESCRIPTION This function may be called re... |
seccomp_set_mode_strict(9) | NAME seccomp_set_mode_strict - internal function for setting strict seccomp
SYNOPSIS long seccomp_set_mode_strict (void );
ARGUMENTS void no arguments
DESCRIPTION Once current->seccomp.mode is non-zero, it may not be changed. Returns 0 on success or -EINVAL on failure.
SEE ALSO Kernel file ./kernel/seccom... |
seccomp_sync_threads(9) | NAME seccomp_sync_threads - sets all threads to use current's filter
SYNOPSIS void seccomp_sync_threads (unsigned long flags );
ARGUMENTS flags SECCOMP_FILTER_FLAG_* flags to set during sync.
DESCRIPTION Expects sighand and cred_guard_mutex locks to be held, and for seccomp_can_sync_threads to have returned su... |
seccomp_unotify(2) | NAME seccomp_unotify - Seccomp user-space notification mechanism
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <linux/seccomp.h> #include <linux/filter.h> #include <linux/audit.h>
int seccomp(unsigned int operation, unsigned int flags, void *args);
#include <sys/ioctl.h>
int ioctl(i... |
secret-tool(1) | NAME secret-tool - Store and retrieve passwords
SYNOPSIS
secret-tool store --label='Label' {attribute} {value} ...
secret-tool lookup {attribute} {value} ...
secret-tool clear {attribute} {value} ...
secret-tool search [--all]{attribute} {value} ...
DESCRIPTION secret-tool is a command... |
secs_to_jiffies(9) | NAME secs_to_jiffies - - convert seconds to jiffies
SYNOPSIS secs_to_jiffies (_secs );
ARGUMENTS _secs time in seconds
DESCRIPTION Conversion is done by simple multiplication with HZ secs_to_jiffies is defined as a macro rather than a static inline function so it can be used in static initializers.
RETURN jif... |
secure_getenv(3) | NAME getenv, secure_getenv - get an environment variable
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
char *getenv(const char *name);
char *secure_getenv(const char *name);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
secure_getenv():
... |
securetty(5) | NAME securetty - list of terminals on which root is allowed to login
DESCRIPTION The file /etc/securetty contains the names of terminals (one per line, without leading /dev/) which are considered secure for the transmission of certain authentication tokens.
It is used by (some versions of) login(1) to restrict... |
security(2) | NAME afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, lock, madvise1, mpx, prof, profil, putmsg, putpmsg, security, stty, tuxcall, ulimit, vserver - unimplemented system calls
SYNOPSIS Unimplemented system calls.
DESCRIPTION These system calls are not implemented in the Linux kernel.
RE... |
security_add_hooks(9) | NAME security_add_hooks - Add a LSM's hooks to the LSM framework's hook lists
SYNOPSIS void security_add_hooks (struct security_hook_list *hooks , int count , const struct lsm_id *lsmid );
ARGUMENTS hooks LSM hooks to add
count number of hooks to add
lsmid identification information ... |
security_audit_rule_free(9) | NAME security_audit_rule_free - Free an LSM audit rule struct
SYNOPSIS void security_audit_rule_free (void *lsmrule );
ARGUMENTS lsmrule audit rule struct
DESCRIPTION Deallocate the LSM audit rule structure previously allocated by audit_rule_init.
SEE ALSO Kernel file ./security/security.c lsm_file_alloc(... |
security_audit_rule_init(9) | NAME security_audit_rule_init - Allocate and init an LSM audit rule struct
SYNOPSIS int security_audit_rule_init (u32 field , u32 op , char *rulestr , void **lsmrule , gfp_t gfp );
ARGUMENTS field audit action
op rule operator
rulestr rule context
lsmrule receive buffer ... |
security_audit_rule_known(9) | NAME security_audit_rule_known - Check if an audit rule contains LSM fields
SYNOPSIS int security_audit_rule_known (struct audit_krule *krule );
ARGUMENTS krule audit rule
DESCRIPTION Specifies whether given krule contains any fields related to the current LSM.
RETURN Returns 1 in case of relation found, 0 ot... |
security_audit_rule_match(9) | NAME security_audit_rule_match - Check if a label matches an audit rule
SYNOPSIS int security_audit_rule_match (struct lsm_prop *prop , u32 field , u32 op , void *lsmrule );
ARGUMENTS prop security label
field LSM audit field
op matching operator
lsmrule audit rule
D... |
security_bdev_alloc(9) | NAME security_bdev_alloc - Allocate a block device LSM blob
SYNOPSIS int security_bdev_alloc (struct block_device *bdev );
ARGUMENTS bdev block device
DESCRIPTION Allocate and attach a security structure to bdev->bd_security. The security field is initialized to NULL when the bdev structure is allocated.
RE... |
security_bdev_free(9) | NAME security_bdev_free - Free a block device's LSM blob
SYNOPSIS void security_bdev_free (struct block_device *bdev );
ARGUMENTS bdev block device
DESCRIPTION Deallocate the bdev security structure and set bdev->bd_security to NULL.
SEE ALSO Kernel file ./security/security.c lsm_file_alloc(9), lsm_b... |
security_bdev_setintegrity(9) | NAME security_bdev_setintegrity - Set the device's integrity data
SYNOPSIS int security_bdev_setintegrity (struct block_device *bdev , enum lsm_integrity_type type , const void *value , size_t size );
ARGUMENTS bdev block device
type type of integrity, e.g. hash digest, signature, etc
va... |
security_binder_set_context_mgr(9) | NAME security_binder_set_context_mgr - Check if becoming binder ctx mgr is ok
SYNOPSIS int security_binder_set_context_mgr (const struct cred *mgr );
ARGUMENTS mgr task credentials of current binder process
DESCRIPTION Check whether mgr is allowed to be the binder context manager.
RETURN Return 0 if permiss... |
security_binder_transaction(9) | NAME security_binder_transaction - Check if a binder transaction is allowed
SYNOPSIS int security_binder_transaction (const struct cred *from , const struct cred *to );
ARGUMENTS from sending process
to receiving process
DESCRIPTION Check whether from is allowed to invoke a binder transaction... |
security_binder_transfer_binder(9) | NAME security_binder_transfer_binder - Check if a binder transfer is allowed
SYNOPSIS int security_binder_transfer_binder (const struct cred *from , const struct cred *to );
ARGUMENTS from sending process
to receiving process
DESCRIPTION Check whether from is allowed to transfer a binder refe... |
security_binder_transfer_file(9) | NAME security_binder_transfer_file - Check if a binder file xfer is allowed
SYNOPSIS int security_binder_transfer_file (const struct cred *from , const struct cred *to , const struct file *file );
ARGUMENTS from sending process
to receiving process
file file being transferred
D... |
security_bpf(9) | NAME security_bpf - Check if the bpf syscall operation is allowed
SYNOPSIS int security_bpf (int cmd , union bpf_attr *attr , unsigned int size , bool kernel );
ARGUMENTS cmd command
attr bpf attribute
size size
kernel whether or not call originated from kernel
DESC... |
security_bpf_map(9) | NAME security_bpf_map - Check if access to a bpf map is allowed
SYNOPSIS int security_bpf_map (struct bpf_map *map , fmode_t fmode );
ARGUMENTS map bpf map
fmode mode
DESCRIPTION Do a check when the kernel generates and returns a file descriptor for eBPF maps.
RETURN Returns 0 if permission is... |
security_bpf_map_create(9) | NAME security_bpf_map_create - Check if BPF map creation is allowed
SYNOPSIS int security_bpf_map_create (struct bpf_map *map , union bpf_attr *attr , struct bpf_token *token , bool kernel );
ARGUMENTS map BPF map object
attr BPF syscall attributes used to create BPF map
token BPF... |
security_bpf_map_free(9) | NAME security_bpf_map_free - Free a bpf map's LSM blob
SYNOPSIS void security_bpf_map_free (struct bpf_map *map );
ARGUMENTS map bpf map
DESCRIPTION Clean up the security information stored inside bpf map.
SEE ALSO Kernel file ./security/security.c lsm_file_alloc(9), lsm_blob_alloc(9), lsm_cred_all... |
security_bpf_prog(9) | NAME security_bpf_prog - Check if access to a bpf program is allowed
SYNOPSIS int security_bpf_prog (struct bpf_prog *prog );
ARGUMENTS prog bpf program
DESCRIPTION Do a check when the kernel generates and returns a file descriptor for eBPF programs.
RETURN Returns 0 if permission is granted.
SEE ALSO Kerne... |
security_bpf_prog_free(9) | NAME security_bpf_prog_free - Free a BPF program's LSM blob
SYNOPSIS void security_bpf_prog_free (struct bpf_prog *prog );
ARGUMENTS prog BPF program struct
DESCRIPTION Clean up the security information stored inside BPF program.
SEE ALSO Kernel file ./security/security.c lsm_file_alloc(9), lsm_blob_... |
security_bpf_prog_load(9) | NAME security_bpf_prog_load - Check if loading of BPF program is allowed
SYNOPSIS int security_bpf_prog_load (struct bpf_prog *prog , union bpf_attr *attr , struct bpf_token *token , bool kernel );
ARGUMENTS prog BPF program object
attr BPF syscall attributes used to create BPF program
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.