id
stringlengths
4
63
text
stringlengths
153
8.81M
tomoyo_same_path_group(9)
NAME tomoyo_same_path_group - Check for duplicated "struct tomoyo_path_group" entry. SYNOPSIS bool tomoyo_same_path_group (const struct tomoyo_acl_head *a , const struct tomoyo_acl_head *b ); ARGUMENTS a Pointer to "struct tomoyo_acl_head". b Pointer to "struct tomoyo_acl_head". DESCRIPTI...
tomoyo_same_path_number_acl(9)
NAME tomoyo_same_path_number_acl - Check for duplicated "struct tomoyo_path_number_acl" entry. SYNOPSIS bool tomoyo_same_path_number_acl (const struct tomoyo_acl_info *a , const struct tomoyo_acl_info *b ); ARGUMENTS a Pointer to "struct tomoyo_acl_info". b Pointer to "struct tomoyo_acl_in...
tomoyo_same_task_acl(9)
NAME tomoyo_same_task_acl - Check for duplicated "struct tomoyo_task_acl" entry. SYNOPSIS bool tomoyo_same_task_acl (const struct tomoyo_acl_info *a , const struct tomoyo_acl_info *b ); ARGUMENTS a Pointer to "struct tomoyo_acl_info". b Pointer to "struct tomoyo_acl_info". DESCRIPTION Ret...
tomoyo_same_transition_control(9)
NAME tomoyo_same_transition_control - Check for duplicated "struct tomoyo_transition_control" entry. SYNOPSIS bool tomoyo_same_transition_control (const struct tomoyo_acl_head *a , const struct tomoyo_acl_head *b ); ARGUMENTS a Pointer to "struct tomoyo_acl_head". b Pointer to "struct tomo...
tomoyo_same_unix_acl(9)
NAME tomoyo_same_unix_acl - Check for duplicated "struct tomoyo_unix_acl" entry. SYNOPSIS bool tomoyo_same_unix_acl (const struct tomoyo_acl_info *a , const struct tomoyo_acl_info *b ); ARGUMENTS a Pointer to "struct tomoyo_acl_info". b Pointer to "struct tomoyo_acl_info". DESCRIPTION Ret...
tomoyo_sb_mount(9)
NAME tomoyo_sb_mount - Target for security_sb_mount(). SYNOPSIS int tomoyo_sb_mount (const char *dev_name , const struct path *path , const char *type , unsigned long flags , void *data ); ARGUMENTS dev_name Name of device file. Maybe NULL. path Pointer to "struct path". type Name of ...
tomoyo_sb_pivotroot(9)
NAME tomoyo_sb_pivotroot - Target for security_sb_pivotroot(). SYNOPSIS int tomoyo_sb_pivotroot (const struct path *old_path , const struct path *new_path ); ARGUMENTS old_path Pointer to "struct path". new_path Pointer to "struct path". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ...
tomoyo_sb_umount(9)
NAME tomoyo_sb_umount - Target for security_sb_umount(). SYNOPSIS int tomoyo_sb_umount (struct vfsmount *mnt , int flags ); ARGUMENTS mnt Pointer to "struct vfsmount". flags Unmount options. DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/to...
tomoyo_scan_bprm(9)
NAME tomoyo_scan_bprm - Scan "struct linux_binprm". SYNOPSIS bool tomoyo_scan_bprm (struct tomoyo_execve *ee , const u16 argc , const struct tomoyo_argv *argv , const u16 envc , const struct tomoyo_envp *envp ); ARGUMENTS ee Pointer to "struct tomoyo_execve". argc Length of argc. argv ...
tomoyo_scan_exec_realpath(9)
NAME tomoyo_scan_exec_realpath - Check "exec.realpath" parameter of "struct tomoyo_condition". SYNOPSIS bool tomoyo_scan_exec_realpath (struct file *file , const struct tomoyo_name_union *ptr , const bool match ); ARGUMENTS file Pointer to "struct file". ptr Pointer to "struct tomoyo_name_union...
tomoyo_scan_transition(9)
NAME tomoyo_scan_transition - Try to find specific domain transition type. SYNOPSIS bool tomoyo_scan_transition (const struct list_head *list , const struct tomoyo_path_info *domainname , const struct tomoyo_path_info *program , const char *last_name , const enum tomoyo_transition_type type ); ARGUMENTS list P...
tomoyo_select_domain(9)
NAME tomoyo_select_domain - Parse select command. SYNOPSIS bool tomoyo_select_domain (struct tomoyo_io_buffer *head , const char *data ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". data String to parse. DESCRIPTION Returns true on success, false otherwise. Caller holds tomoyo_read_lo...
tomoyo_set_group(9)
NAME tomoyo_set_group - Print "acl_group " header keyword and category name. SYNOPSIS void tomoyo_set_group (struct tomoyo_io_buffer *head , const char *category ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". category Category name. DESCRIPTION Returns nothing. SEE ALSO Kernel file ./se...
tomoyo_set_lf(9)
NAME tomoyo_set_lf - Put a line feed to "struct tomoyo_io_buffer" structure. SYNOPSIS bool tomoyo_set_lf (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns nothing. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), to...
tomoyo_set_mode(9)
NAME tomoyo_set_mode - Set mode for specified profile. SYNOPSIS int tomoyo_set_mode (char *name , const char *value , struct tomoyo_profile *profile ); ARGUMENTS name Name of functionality. value Mode for name. profile Pointer to "struct tomoyo_profile". DESCRIPTION Returns 0 on succ...
tomoyo_set_namespace_cursor(9)
NAME tomoyo_set_namespace_cursor - Set namespace to read. SYNOPSIS void tomoyo_set_namespace_cursor (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns nothing. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), to...
tomoyo_set_slash(9)
NAME tomoyo_set_slash - Put a shash to "struct tomoyo_io_buffer" structure. SYNOPSIS void tomoyo_set_slash (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns nothing. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9...
tomoyo_set_space(9)
NAME tomoyo_set_space - Put a space to "struct tomoyo_io_buffer" structure. SYNOPSIS void tomoyo_set_space (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns nothing. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9...
tomoyo_set_string(9)
NAME tomoyo_set_string - Queue string to "struct tomoyo_io_buffer" structure. SYNOPSIS void tomoyo_set_string (struct tomoyo_io_buffer *head , const char *string ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". string String to print. DESCRIPTION Note that string has to be kept valid until...
tomoyo_set_uint(9)
NAME tomoyo_set_uint - Set value for specified preference. SYNOPSIS void tomoyo_set_uint (unsigned int *i , const char *string , const char *find ); ARGUMENTS i Pointer to "unsigned int". string String to check. find Name of keyword. DESCRIPTION Returns nothing. SEE ALSO Kernel...
tomoyo_sock_family(9)
NAME tomoyo_sock_family - Get socket's family. SYNOPSIS u8 tomoyo_sock_family (struct sock *sk ); ARGUMENTS sk Pointer to "struct sock". DESCRIPTION Returns one of PF_INET, PF_INET6, PF_UNIX or 0. SEE ALSO Kernel file ./security/tomoyo/network.c tomoyo_parse_ipaddr_union(9), tomoyo_print_ipv4(9), tomo...
tomoyo_socket_bind(9)
NAME tomoyo_socket_bind - Check permission for bind(). SYNOPSIS int tomoyo_socket_bind (struct socket *sock , struct sockaddr *addr , int addr_len ); ARGUMENTS sock Pointer to "struct socket". addr Pointer to "struct sockaddr". addr_len Size of addr. DESCRIPTION Returns 0 on success,...
tomoyo_socket_bind_permission(9)
NAME tomoyo_socket_bind_permission - Check permission for setting the local address of a socket. SYNOPSIS int tomoyo_socket_bind_permission (struct socket *sock , struct sockaddr *addr , int addr_len ); ARGUMENTS sock Pointer to "struct socket". addr Pointer to "struct sockaddr". addr_le...
tomoyo_socket_connect(9)
NAME tomoyo_socket_connect - Check permission for connect(). SYNOPSIS int tomoyo_socket_connect (struct socket *sock , struct sockaddr *addr , int addr_len ); ARGUMENTS sock Pointer to "struct socket". addr Pointer to "struct sockaddr". addr_len Size of addr. DESCRIPTION Returns 0 on...
tomoyo_socket_connect_permission(9)
NAME tomoyo_socket_connect_permission - Check permission for setting the remote address of a socket. SYNOPSIS int tomoyo_socket_connect_permission (struct socket *sock , struct sockaddr *addr , int addr_len ); ARGUMENTS sock Pointer to "struct socket". addr Pointer to "struct sockaddr". ...
tomoyo_socket_listen(9)
NAME tomoyo_socket_listen - Check permission for listen(). SYNOPSIS int tomoyo_socket_listen (struct socket *sock , int backlog ); ARGUMENTS sock Pointer to "struct socket". backlog Backlog parameter. DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/to...
tomoyo_socket_listen_permission(9)
NAME tomoyo_socket_listen_permission - Check permission for listening a socket. SYNOPSIS int tomoyo_socket_listen_permission (struct socket *sock ); ARGUMENTS sock Pointer to "struct socket". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/network.c tomoy...
tomoyo_socket_sendmsg(9)
NAME tomoyo_socket_sendmsg - Check permission for sendmsg(). SYNOPSIS int tomoyo_socket_sendmsg (struct socket *sock , struct msghdr *msg , int size ); ARGUMENTS sock Pointer to "struct socket". msg Pointer to "struct msghdr". size Size of message. DESCRIPTION Returns 0 on succe...
tomoyo_socket_sendmsg_permission(9)
NAME tomoyo_socket_sendmsg_permission - Check permission for sending a datagram. SYNOPSIS int tomoyo_socket_sendmsg_permission (struct socket *sock , struct msghdr *msg , int size ); ARGUMENTS sock Pointer to "struct socket". msg Pointer to "struct msghdr". size Unused. DESCRIPT...
tomoyo_str_starts(9)
NAME tomoyo_str_starts - Check whether the given string starts with the given keyword. SYNOPSIS bool tomoyo_str_starts (char **src , const char *find ); ARGUMENTS src Pointer to pointer to the string. find Pointer to the keyword. DESCRIPTION Returns true if src starts with find, false otherwis...
tomoyo_struct_used_by_io_buffer(9)
NAME tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not. SYNOPSIS bool tomoyo_struct_used_by_io_buffer (const struct list_head *element ); ARGUMENTS element Pointer to "struct list_head". DESCRIPTION Returns true if element is used by /sys/kernel...
tomoyo_supervisor(9)
NAME tomoyo_supervisor - Ask for the supervisor's decision. SYNOPSIS int tomoyo_supervisor (struct tomoyo_request_info *r , const char *fmt , ... ); ARGUMENTS r Pointer to "struct tomoyo_request_info". fmt The printf's format string, followed by parameters. ... variable argum...
tomoyo_sys_getpid(9)
NAME tomoyo_sys_getpid - Copy of getpid(). SYNOPSIS pid_t tomoyo_sys_getpid (void ); ARGUMENTS void no arguments DESCRIPTION Returns current thread's PID. Alpha does not have getpid defined. To be able to build this module on Alpha, I have to copy getpid from kernel/timer.c. SEE ALSO Kernel file ./securit...
tomoyo_sys_getppid(9)
NAME tomoyo_sys_getppid - Copy of getppid(). SYNOPSIS pid_t tomoyo_sys_getppid (void ); ARGUMENTS void no arguments DESCRIPTION Returns parent process's PID. Alpha does not have getppid defined. To be able to build this module on Alpha, I have to copy getppid from kernel/timer.c. SEE ALSO Kernel file ./s...
tomoyo_task(9)
NAME tomoyo_task - Get "struct tomoyo_task" for specified thread. SYNOPSIS struct tomoyo_task * tomoyo_task (struct task_struct *task ); ARGUMENTS task -- undescribed -- DESCRIPTION task - Pointer to "struct task_struct". Returns pointer to "struct tomoyo_task" for specified thread. SEE ALSO Kernel file ....
tomoyo_task_alloc(9)
NAME tomoyo_task_alloc - Target for security_task_alloc(). SYNOPSIS int tomoyo_task_alloc (struct task_struct *task , u64 clone_flags ); ARGUMENTS task Pointer to "struct task_struct". clone_flags clone flags. DESCRIPTION Returns 0. SEE ALSO Kernel file ./security/tomoyo/tomoyo.c tomoyo_domain(9),...
tomoyo_task_free(9)
NAME tomoyo_task_free - Target for security_task_free(). SYNOPSIS void tomoyo_task_free (struct task_struct *task ); ARGUMENTS task Pointer to "struct task_struct". SEE ALSO Kernel file ./security/tomoyo/tomoyo.c tomoyo_domain(9), tomoyo_cred_prepare(9), tomoyo_bprm_committed_creds(9), tomoyo_bprm_creds_f...
tomoyo_transition_type(9)
NAME tomoyo_transition_type - Get domain transition type. SYNOPSIS enum tomoyo_transition_type tomoyo_transition_type (const struct tomoyo_policy_namespace *ns , const struct tomoyo_path_info *domainname , const struct tomoyo_path_info *program ); ARGUMENTS ns Pointer to "struct tomoyo_policy_namespace". ...
tomoyo_trigger_setup(9)
NAME tomoyo_trigger_setup - Set trigger for activation. SYNOPSIS int tomoyo_trigger_setup (char *str ); ARGUMENTS str Program to use as an activation trigger (e.g. /sbin/init ). DESCRIPTION Returns 0. SEE ALSO Kernel file ./security/tomoyo/load_policy.c tomoyo_loader_setup(9), tomoyo_policy_loader_exists(9)...
tomoyo_truncate(9)
NAME tomoyo_truncate - Truncate a line. SYNOPSIS int tomoyo_truncate (char *str ); ARGUMENTS str String to truncate. DESCRIPTION Returns length of truncated str. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), tomoyo_set_string(9), tomoyo_io_printf(9), tomoyo_set_s...
tomoyo_try_to_gc(9)
NAME tomoyo_try_to_gc - Try to kfree() an entry. SYNOPSIS void tomoyo_try_to_gc (const enum tomoyo_policy_id type , struct list_head *element ); ARGUMENTS type One of values in "enum tomoyo_policy_id". element Pointer to "struct list_head". DESCRIPTION Returns nothing. Caller holds tomoyo_policy_...
tomoyo_unix_entry(9)
NAME tomoyo_unix_entry - Check permission for UNIX network operation. SYNOPSIS int tomoyo_unix_entry (const struct tomoyo_addr_info *address ); ARGUMENTS address Pointer to "struct tomoyo_addr_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/network.c to...
tomoyo_update_domain(9)
NAME tomoyo_update_domain - Update an entry for domain policy. SYNOPSIS int tomoyo_update_domain (struct tomoyo_acl_info *new_entry , const int size , struct tomoyo_acl_param *param , bool (*check_duplicate)(const struct tomoyo_acl_info *, const struct tomoyo_acl_info *) , bool (*merge_dupli‐ cate)(struct tomoyo_acl_i...
tomoyo_update_manager_entry(9)
NAME tomoyo_update_manager_entry - Add a manager entry. SYNOPSIS int tomoyo_update_manager_entry (const char *manager , const bool is_delete ); ARGUMENTS manager The path to manager or the domainnamme. is_delete True if it is a delete request. DESCRIPTION Returns 0 on success, negative value otherwise....
tomoyo_update_mkdev_acl(9)
NAME tomoyo_update_mkdev_acl - Update "struct tomoyo_mkdev_acl" list. SYNOPSIS int tomoyo_update_mkdev_acl (const u8 perm , struct tomoyo_acl_param *param ); ARGUMENTS perm Permission. param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller...
tomoyo_update_mount_acl(9)
NAME tomoyo_update_mount_acl - Write "struct tomoyo_mount_acl" list. SYNOPSIS int tomoyo_update_mount_acl (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ...
tomoyo_update_path2_acl(9)
NAME tomoyo_update_path2_acl - Update "struct tomoyo_path2_acl" list. SYNOPSIS int tomoyo_update_path2_acl (const u8 perm , struct tomoyo_acl_param *param ); ARGUMENTS perm Permission. param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller...
tomoyo_update_path_acl(9)
NAME tomoyo_update_path_acl - Update "struct tomoyo_path_acl" list. SYNOPSIS int tomoyo_update_path_acl (const u16 perm , struct tomoyo_acl_param *param ); ARGUMENTS perm Permission. param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller h...
tomoyo_update_path_number_acl(9)
NAME tomoyo_update_path_number_acl - Update ioctl/chmod/chown/chgrp ACL. SYNOPSIS int tomoyo_update_path_number_acl (const u8 perm , struct tomoyo_acl_param *param ); ARGUMENTS perm Permission. param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise...
tomoyo_update_policy(9)
NAME tomoyo_update_policy - Update an entry for exception policy. SYNOPSIS int tomoyo_update_policy (struct tomoyo_acl_head *new_entry , const int size , struct tomoyo_acl_param *param , bool (*check_duplicate)(const struct tomoyo_acl_head *, const struct tomoyo_acl_head *) ); ARGUMENTS new_entry Pointer to "struct...
tomoyo_update_stat(9)
NAME tomoyo_update_stat - Update statistic counters. SYNOPSIS void tomoyo_update_stat (const u8 index ); ARGUMENTS index Index for policy type. DESCRIPTION Returns nothing. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), tomoyo_set_string(9), tomoyo_io_printf(9), tom...
tomoyo_valid(9)
NAME tomoyo_valid - Check whether the character is a valid char. SYNOPSIS bool tomoyo_valid (const unsigned char c ); ARGUMENTS c The character to check. DESCRIPTION Returns true if c is a valid character, false otherwise. SEE ALSO Kernel file ./security/tomoyo/util.c tomoyo_convert_time(9), tomoyo_perm...
tomoyo_warn_oom(9)
NAME tomoyo_warn_oom - Print out of memory warning message. SYNOPSIS void tomoyo_warn_oom (const char *function ); ARGUMENTS function Function's name. SEE ALSO Kernel file ./security/tomoyo/memory.c tomoyo_memory_ok(9), tomoyo_commit_ok(9), tomoyo_get_group(9), tomoyo_get_name(9), tomoyo_mm_init(9) April 2026 ...
tomoyo_write(9)
NAME tomoyo_write - write() for /sys/kernel/security/tomoyo/ interface. SYNOPSIS ssize_t tomoyo_write (struct file *file , const char __user *buf , size_t count , loff_t *ppos ); ARGUMENTS file Pointer to "struct file". buf Pointer to buffer. count Size of buf. ppos ...
tomoyo_write_aggregator(9)
NAME tomoyo_write_aggregator - Write "struct tomoyo_aggregator" list. SYNOPSIS int tomoyo_write_aggregator (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ...
tomoyo_write_answer(9)
NAME tomoyo_write_answer - Write the supervisor's decision. SYNOPSIS int tomoyo_write_answer (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0 on success, -EINVAL otherwise. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tom...
tomoyo_write_control(9)
NAME tomoyo_write_control - write() for /sys/kernel/security/tomoyo/ interface. SYNOPSIS ssize_t tomoyo_write_control (struct tomoyo_io_buffer *head , const char __user *buffer , const int buffer_len ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". buffer Pointer to buffer to read from. ...
tomoyo_write_domain(9)
NAME tomoyo_write_domain - Write domain policy. SYNOPSIS int tomoyo_write_domain (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ./security/tomoyo/common.c...
tomoyo_write_domain2(9)
NAME tomoyo_write_domain2 - Write domain policy. SYNOPSIS int tomoyo_write_domain2 (struct tomoyo_policy_namespace *ns , struct list_head *list , char *data , const bool is_delete ); ARGUMENTS ns Pointer to "struct tomoyo_policy_namespace". list Pointer to "struct list_head". data ...
tomoyo_write_env(9)
NAME tomoyo_write_env - Write "struct tomoyo_env_acl" list. SYNOPSIS int tomoyo_write_env (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ./security/tomoyo/...
tomoyo_write_exception(9)
NAME tomoyo_write_exception - Write exception policy. SYNOPSIS int tomoyo_write_exception (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ./security/tomoyo...
tomoyo_write_file(9)
NAME tomoyo_write_file - Update file related list. SYNOPSIS int tomoyo_write_file (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ./security/tomoyo/file...
tomoyo_write_group(9)
NAME tomoyo_write_group - Write "struct tomoyo_path_group"/"struct tomoyo_number_group"/"struct tomoyo_address_group" list. SYNOPSIS int tomoyo_write_group (struct tomoyo_acl_param *param , const u8 type ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". type Type of this group. DESCRIPTIO...
tomoyo_write_inet_network(9)
NAME tomoyo_write_inet_network - Write "struct tomoyo_inet_acl" list. SYNOPSIS int tomoyo_write_inet_network (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel fil...
tomoyo_write_log(9)
NAME tomoyo_write_log - Write an audit log. SYNOPSIS void tomoyo_write_log (struct tomoyo_request_info *r , const char *fmt , ... ); ARGUMENTS r Pointer to "struct tomoyo_request_info". fmt The printf's format string, followed by parameters. ... variable arguments DESCRIPTIO...
tomoyo_write_log2(9)
NAME tomoyo_write_log2 - Write an audit log. SYNOPSIS void tomoyo_write_log2 (struct tomoyo_request_info *r , int len , const char *fmt , va_list args ); ARGUMENTS r Pointer to "struct tomoyo_request_info". len Buffer size needed for fmt and args. fmt The printf's format stri...
tomoyo_write_manager(9)
NAME tomoyo_write_manager - Write manager policy. SYNOPSIS int tomoyo_write_manager (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ./security/tomoyo/commo...
tomoyo_write_misc(9)
NAME tomoyo_write_misc - Update environment variable list. SYNOPSIS int tomoyo_write_misc (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/environ.c tomoyo_check_env_acl(9...
tomoyo_write_pid(9)
NAME tomoyo_write_pid - Specify PID to obtain domainname. SYNOPSIS int tomoyo_write_pid (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), tomoyo_set_string(9)...
tomoyo_write_profile(9)
NAME tomoyo_write_profile - Write profile table. SYNOPSIS int tomoyo_write_profile (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo...
tomoyo_write_self(9)
NAME tomoyo_write_self - write() for /sys/kernel/security/tomoyo/self_domain interface. SYNOPSIS ssize_t tomoyo_write_self (struct file *file , const char __user *buf , size_t count , loff_t *ppos ); ARGUMENTS file Pointer to "struct file". buf Domainname to transit to. count Size...
tomoyo_write_stat(9)
NAME tomoyo_write_stat - Set memory quota. SYNOPSIS int tomoyo_write_stat (struct tomoyo_io_buffer *head ); ARGUMENTS head Pointer to "struct tomoyo_io_buffer". DESCRIPTION Returns 0. SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), tomoyo_set_string(9), tomoyo_io_pr...
tomoyo_write_task(9)
NAME tomoyo_write_task - Update task related list. SYNOPSIS int tomoyo_write_task (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. Caller holds tomoyo_read_lock. SEE ALSO Kernel file ./security/tomoyo/common...
tomoyo_write_transition_control(9)
NAME tomoyo_write_transition_control - Write "struct tomoyo_transition_control" list. SYNOPSIS int tomoyo_write_transition_control (struct tomoyo_acl_param *param , const u8 type ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". type Type of this entry. DESCRIPTION Returns 0 on success, n...
tomoyo_write_unix_network(9)
NAME tomoyo_write_unix_network - Write "struct tomoyo_unix_acl" list. SYNOPSIS int tomoyo_write_unix_network (struct tomoyo_acl_param *param ); ARGUMENTS param Pointer to "struct tomoyo_acl_param". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/network.c to...
tonga_ih_decode_iv(9)
NAME tonga_ih_decode_iv - decode an interrupt vector SYNOPSIS void tonga_ih_decode_iv (struct amdgpu_device *adev , struct amdgpu_ih_ring *ih , struct amdgpu_iv_entry *entry ); ARGUMENTS adev amdgpu_device pointer ih IH ring buffer to decode entry IV entry to place decoded inform...
tonga_ih_disable_interrupts(9)
NAME tonga_ih_disable_interrupts - Disable the interrupt ring buffer SYNOPSIS void tonga_ih_disable_interrupts (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Disable the interrupt ring buffer (VI). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/tonga_ih.c tonga_ih_enable_i...
tonga_ih_enable_interrupts(9)
NAME tonga_ih_enable_interrupts - Enable the interrupt ring buffer SYNOPSIS void tonga_ih_enable_interrupts (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Enable the interrupt ring buffer (VI). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/tonga_ih.c tonga_ih_disable_inte...
tonga_ih_get_wptr(9)
NAME tonga_ih_get_wptr - get the IH ring buffer wptr SYNOPSIS u32 tonga_ih_get_wptr (struct amdgpu_device *adev , struct amdgpu_ih_ring *ih ); ARGUMENTS adev amdgpu_device pointer ih IH ring buffer to fetch wptr DESCRIPTION Get the IH ring buffer wptr from either the register or the writeback...
tonga_ih_irq_disable(9)
NAME tonga_ih_irq_disable - disable interrupts SYNOPSIS void tonga_ih_irq_disable (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Disable interrupts on the hw (VI). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/tonga_ih.c tonga_ih_enable_interrupts(9), tonga_ih_disable_int...
tonga_ih_irq_init(9)
NAME tonga_ih_irq_init - init and enable the interrupt ring SYNOPSIS int tonga_ih_irq_init (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Allocate a ring buffer for the interrupt controller, enable the RLC, disable interrupts, enable the IH ring buffer and enable it (VI). Cal...
tonga_ih_set_rptr(9)
NAME tonga_ih_set_rptr - set the IH ring buffer rptr SYNOPSIS void tonga_ih_set_rptr (struct amdgpu_device *adev , struct amdgpu_ih_ring *ih ); ARGUMENTS adev amdgpu_device pointer ih IH ring buffer to set rptr DESCRIPTION Set the IH ring buffer rptr. SEE ALSO Kernel file ./drivers/gpu/drm/a...
top(1)
NAME top - display Linux processes SYNOPSIS top [options] DESCRIPTION The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown ...
top_panel.3x(3)
NAME panel - panel stack extension for curses SYNOPSIS #include <panel.h> PANEL *new_panel(WINDOW *win); int bottom_panel(PANEL *pan); int top_panel(PANEL *pan); int show_panel(PANEL *pan); void update_panels(void); int hide_panel(PANEL *pan); WINDOW *panel_window(co...
top_row.3x(3)
NAME mitem_current - set and get current_menu_item SYNOPSIS #include <menu.h> int set_current_item(MENU *menu, ITEM *item); ITEM *current_item(const MENU *menu); int set_top_row(MENU *menu, int row); int top_row(const MENU *menu); int item_index(const ITEM *item); DESCRIPTION The...
topa_alloc(9)
NAME topa_alloc - allocate page-sized ToPA table SYNOPSIS struct topa * topa_alloc (int cpu , gfp_t gfp ); ARGUMENTS cpu CPU on which to allocate. gfp Allocation flags. RETURN On success, return the pointer to ToPA table page. SEE ALSO Kernel file ./arch/x86/events/intel/pt.c struct topa...
topa_free(9)
NAME topa_free - free a page-sized ToPA table SYNOPSIS void topa_free (struct topa *topa ); ARGUMENTS topa Table to deallocate. SEE ALSO Kernel file ./arch/x86/events/intel/pt.c struct topa(9), struct topa_page(9), topa_alloc(9), topa_insert_table(9), topa_table_full(9), topa_insert_pages(9), pt_topa_d...
topa_insert_pages(9)
NAME topa_insert_pages - create a list of ToPA tables SYNOPSIS int topa_insert_pages (struct pt_buffer *buf , int cpu , gfp_t gfp ); ARGUMENTS buf PT buffer being initialized. cpu CPU on which to allocate. gfp Allocation flags. DESCRIPTION This initializes a list of ToPA table...
topa_insert_table(9)
NAME topa_insert_table - insert a ToPA table into a buffer SYNOPSIS void topa_insert_table (struct pt_buffer *buf , struct topa *topa ); ARGUMENTS buf PT buffer that's being extended. topa New topa table to be inserted. DESCRIPTION If it's the first table in this buffer, set up buffer's pointe...
topa_table_full(9)
NAME topa_table_full - check if a ToPA table is filled up SYNOPSIS bool topa_table_full (struct topa *topa ); ARGUMENTS topa ToPA table. SEE ALSO Kernel file ./arch/x86/events/intel/pt.c struct topa(9), struct topa_page(9), topa_alloc(9), topa_free(9), topa_insert_table(9), topa_insert_pages(9), pt...
topology_apply_cmdline_limits_early(9)
NAME topology_apply_cmdline_limits_early - Apply topology command line limits early SYNOPSIS void topology_apply_cmdline_limits_early (void ); ARGUMENTS void no arguments DESCRIPTION Ensure that command line limits are in effect before firmware parsing takes place. SEE ALSO Kernel file ./arch/x86/kernel/cpu/...
topology_get_acpi_cpu_tag(9)
NAME topology_get_acpi_cpu_tag - Find a unique topology value for a feature SYNOPSIS int topology_get_acpi_cpu_tag (struct acpi_table_header *table , unsigned int cpu , int level , int flag ); ARGUMENTS table Pointer to the head of the PPTT table cpu Kernel logical CPU number level ...
topology_get_logical_id(9)
NAME topology_get_logical_id - Retrieve the logical ID at a given topology domain level SYNOPSIS int topology_get_logical_id (u32 apicid , enum x86_topology_domains at_level ); ARGUMENTS apicid The APIC ID for which to lookup the logical ID at_level The topology domain level to use DESCRIPTION apicid...
topology_hotplug_apic(9)
NAME topology_hotplug_apic - Handle a physical hotplugged APIC after boot SYNOPSIS int topology_hotplug_apic (u32 apic_id , u32 acpi_id ); ARGUMENTS apic_id The APIC ID to set up acpi_id The ACPI ID associated to the APIC SEE ALSO Kernel file ./arch/x86/kernel/cpu/topology.c topology_register_ap...
topology_hotunplug_apic(9)
NAME topology_hotunplug_apic - Remove a physical hotplugged APIC after boot SYNOPSIS void topology_hotunplug_apic (unsigned int cpu ); ARGUMENTS cpu The CPU number for which the APIC ID is removed SEE ALSO Kernel file ./arch/x86/kernel/cpu/topology.c topology_register_apic(9), topology_register_boot_apic(9),...
topology_is_primary_thread(9)
NAME topology_is_primary_thread - Check whether CPU is the primary SMT thread SYNOPSIS bool topology_is_primary_thread (unsigned int cpu ); ARGUMENTS cpu CPU to check SEE ALSO Kernel file ./arch/x86/include/asm/topology.h April 2026 ...
topology_register_apic(9)
NAME topology_register_apic - Register an APIC in early topology maps SYNOPSIS void topology_register_apic (u32 apic_id , u32 acpi_id , bool present ); ARGUMENTS apic_id The APIC ID to set up acpi_id The ACPI ID associated to the APIC present True if the corresponding CPU is present SEE A...
topology_register_boot_apic(9)
NAME topology_register_boot_apic - Register the boot CPU APIC SYNOPSIS void topology_register_boot_apic (u32 apic_id ); ARGUMENTS apic_id The APIC ID to set up DESCRIPTION Separate so CPU #0 can be assigned SEE ALSO Kernel file ./arch/x86/kernel/cpu/topology.c topology_register_apic(9), topology_get_logical_id(...
topology_unit_count(9)
NAME topology_unit_count - Retrieve the count of specified units at a given topology domain level SYNOPSIS unsigned int topology_unit_count (u32 apicid , enum x86_topology_domains which_units , enum x86_topology_domains at_level ); ARGUMENTS apicid The APIC ID which specifies the search range which_units...
topology_update_hw_pressure(9)
NAME topology_update_hw_pressure - Update HW pressure for CPUs SYNOPSIS void topology_update_hw_pressure (const struct cpumask *cpus , unsigned long capped_freq ); ARGUMENTS cpus The related CPUs for which capacity has been reduced capped_freq The maximum allowed frequency that CPUs can run at DESCRIP...