id
stringlengths
4
63
text
stringlengths
153
8.81M
tmpfile(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME tmpfile — create a temporary file SYNOPSIS #include <stdio.h> ...
tmpfiles.d(5)
NAME tmpfiles.d - Configuration for creation, deletion, and cleaning of files and directories SYNOPSIS /etc/tmpfiles.d/*.conf /run/tmpfiles.d/*.conf /usr/local/lib/tmpfiles.d/*.conf /usr/lib/tmpfiles.d/*.conf ~/.config/user-tmpfiles.d/*.conf $XDG_RUNTIME_DIR/user-tmpfiles.d/*.conf ~/....
tmpfs(5)
NAME tmpfs - a virtual memory filesystem DESCRIPTION The tmpfs facility allows the creation of filesystems whose contents reside in virtual memory. Since the files on such filesystems typically reside in RAM, file access is extremely fast. The filesystem is automatically created when mounting a filesystem wit...
tmpnam(3)
NAME tmpnam, tmpnam_r - create a name for a temporary file LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> [[deprecated]] char *tmpnam(char *s); [[deprecated]] char *tmpnam_r(char *s); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): tmpnam_r() ...
tmpnam(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME tmpnam — create a name for a temporary file SYNOPSIS #include ...
tmpnam_r(3)
NAME tmpnam, tmpnam_r - create a name for a temporary file LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> [[deprecated]] char *tmpnam(char *s); [[deprecated]] char *tmpnam_r(char *s); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): tmpnam_r() ...
tmux(1)
NAME tmux — terminal multiplexer SYNOPSIS tmux [-2CDhlNuVv] [-c shell-command] [-f file] [-L socket-name] [-S socket-path] [-T features] [command [flags]] DESCRIPTION tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached ...
tn40_create_rx_ring(9)
NAME tn40_create_rx_ring - Initialize RX all related HW and SW resources SYNOPSIS int tn40_create_rx_ring (struct tn40_priv *priv ); ARGUMENTS priv NIC private structure DESCRIPTION create_rx_ring creates rxf and rxd fifos, updates the relevant HW registers, preallocates skbs for rx. It assumes that Rx is dis...
tn40_rx_alloc_buffers(9)
NAME tn40_rx_alloc_buffers - Fill rxf fifo with buffers. SYNOPSIS void tn40_rx_alloc_buffers (struct tn40_priv *priv ); ARGUMENTS priv NIC's private structure DESCRIPTION rx_alloc_buffers allocates buffers via the page pool API, builds rxf descs and pushes them (rxf descr) into the rxf fifo. The pages are s...
tn40_tx_map_skb(9)
NAME tn40_tx_map_skb - create and store DMA mappings for skb's data blocks SYNOPSIS int tn40_tx_map_skb (struct tn40_priv *priv , struct sk_buff *skb , struct tn40_txd_desc *txdd , unsigned int *pkt_len ); ARGUMENTS priv NIC private structure skb socket buffer to map txdd pointer...
tn40_tx_push_desc(9)
NAME tn40_tx_push_desc - Push a descriptor to TxD fifo. SYNOPSIS void tn40_tx_push_desc (struct tn40_priv *priv , void *data , int size ); ARGUMENTS priv NIC private structure data desc's data size desc's size DESCRIPTION This function pushes desc to TxD fifo and overlaps it if...
tn40_tx_push_desc_safe(9)
NAME tn40_tx_push_desc_safe - push descriptor to TxD fifo in a safe way. SYNOPSIS void tn40_tx_push_desc_safe (struct tn40_priv *priv , void *data , int size ); ARGUMENTS priv NIC private structure data descriptor data size descriptor size DESCRIPTION This function does check for...
tn40_tx_space(9)
NAME tn40_tx_space - Calculate the available space in the TX fifo. SYNOPSIS int tn40_tx_space (struct tn40_priv *priv ); ARGUMENTS priv NIC private structure RETURN available space in TX fifo in bytes SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tn40.c tn40_create_rx_ring(9), tn40_rx_alloc_buffers(9), ...
tnc_delete(9)
NAME tnc_delete - delete a znode form TNC. SYNOPSIS int tnc_delete (struct ubifs_info *c , struct ubifs_znode *znode , int n ); ARGUMENTS c UBIFS file-system description object znode znode to delete from n zbranch slot number to delete DESCRIPTION This function deletes a lea...
tnc_destroy_cnext(9)
NAME tnc_destroy_cnext - destroy left-over obsolete znodes from a failed commit. SYNOPSIS void tnc_destroy_cnext (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION Destroy left-over obsolete znodes from a failed commit. SEE ALSO Kernel file ./fs/ubifs/tnc.c insert_old...
tnc_insert(9)
NAME tnc_insert - insert a node into TNC. SYNOPSIS int tnc_insert (struct ubifs_info *c , struct ubifs_znode *znode , struct ubifs_zbranch *zbr , int n ); ARGUMENTS c UBIFS file-system description object znode znode to insert into zbr branch to insert n slot n...
tnc_next(9)
NAME tnc_next - find next TNC entry. SYNOPSIS int tnc_next (struct ubifs_info *c , struct ubifs_znode **zn , int *n ); ARGUMENTS c UBIFS file-system description object zn znode is passed and returned here n znode branch slot number is passed and returned here DESCRIPTION ...
tnc_prev(9)
NAME tnc_prev - find previous TNC entry. SYNOPSIS int tnc_prev (struct ubifs_info *c , struct ubifs_znode **zn , int *n ); ARGUMENTS c UBIFS file-system description object zn znode is returned here n znode branch slot number is passed and returned here DESCRIPTION This fu...
tnc_read_hashed_node(9)
NAME tnc_read_hashed_node - read a "hashed" leaf node. SYNOPSIS int tnc_read_hashed_node (struct ubifs_info *c , struct ubifs_zbranch *zbr , void *node ); ARGUMENTS c UBIFS file-system description object zbr key and position of the node node node is returned here DESCRIPTION ...
to_cpumask(9)
NAME to_cpumask - convert a NR_CPUS bitmap to a struct cpumask * SYNOPSIS to_cpumask (bitmap ); ARGUMENTS bitmap the bitmap DESCRIPTION There are a few places where cpumask_var_t isn't appropriate and static cpumasks must be used (eg. very early boot), yet we don't expose the definition of 'struct cpumask'. T...
to_dma_fence_array(9)
NAME to_dma_fence_array - cast a fence to a dma_fence_array SYNOPSIS struct dma_fence_array * to_dma_fence_array (struct dma_fence *fence ); ARGUMENTS fence fence to cast to a dma_fence_array DESCRIPTION Returns NULL if the fence is not a dma_fence_array, or the dma_fence_array otherwise. SEE ALSO Kernel file...
to_dma_fence_chain(9)
NAME to_dma_fence_chain - cast a fence to a dma_fence_chain SYNOPSIS struct dma_fence_chain * to_dma_fence_chain (struct dma_fence *fence ); ARGUMENTS fence fence to cast to a dma_fence_array DESCRIPTION Returns NULL if the fence is not a dma_fence_chain, or the dma_fence_chain otherwise. SEE ALSO Kernel file...
to_dpa(9)
NAME to_dpa - translate an HPA offset to DPA offset SYNOPSIS u64 to_dpa (u64 hpa_offset , u8 r_eiw , u16 r_eig , u8 hb_ways , u8 math ); ARGUMENTS hpa_offset -- undescribed -- r_eiw -- undescribed -- r_eig -- undescribed -- hb_ways -- undescribed -- math -- unde...
to_dpu_hw_ctl(9)
NAME to_dpu_hw_ctl - convert base object dpu_hw_base to container SYNOPSIS struct dpu_hw_ctl * to_dpu_hw_ctl (struct dpu_hw_blk *hw ); ARGUMENTS hw Pointer to base hardware block RETURN Pointer to hardware block container SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h enum dpu_ctl_mode_s...
to_dpu_hw_cwb(9)
NAME to_dpu_hw_cwb - convert base object dpu_hw_base to container SYNOPSIS struct dpu_hw_cwb * to_dpu_hw_cwb (struct dpu_hw_blk *hw ); ARGUMENTS hw Pointer to base hardware block RETURN Pointer to hardware block container SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cwb.h struct dpu_hw_cwb_s...
to_dpu_hw_dspp(9)
NAME to_dpu_hw_dspp - convert base object dpu_hw_base to container SYNOPSIS struct dpu_hw_dspp * to_dpu_hw_dspp (struct dpu_hw_blk *hw ); ARGUMENTS hw Pointer to base hardware block RETURN Pointer to hardware block container SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h struct dpu_hw_p...
to_dpu_hw_merge_3d(9)
NAME to_dpu_hw_merge_3d - convert base object dpu_hw_base to container SYNOPSIS struct dpu_hw_merge_3d * to_dpu_hw_merge_3d (struct dpu_hw_blk *hw ); ARGUMENTS hw Pointer to base hardware block RETURN Pointer to hardware block container SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_merge3d.h ...
to_dpu_hw_mixer(9)
NAME to_dpu_hw_mixer - convert base object dpu_hw_base to container SYNOPSIS struct dpu_hw_mixer * to_dpu_hw_mixer (struct dpu_hw_blk *hw ); ARGUMENTS hw Pointer to base hardware block RETURN Pointer to hardware block container SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h struct dpu_hw_...
to_dpu_hw_pingpong(9)
NAME to_dpu_hw_pingpong - convert base object dpu_hw_base to container SYNOPSIS struct dpu_hw_pingpong * to_dpu_hw_pingpong (struct dpu_hw_blk *hw ); ARGUMENTS hw Pointer to base hardware block RETURN Pointer to hardware block container SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h...
to_drm_gpusvm_notifier(9)
NAME to_drm_gpusvm_notifier - retrieve the container struct for a given rbtree node SYNOPSIS struct drm_gpusvm_notifier * to_drm_gpusvm_notifier (struct rb_node *node ); ARGUMENTS node a pointer to the rbtree node embedded within a drm_gpusvm_notifier struct RETURN A pointer to the containing drm_gpusvm_notif...
to_drm_gpusvm_range(9)
NAME to_drm_gpusvm_range - retrieve the container struct for a given rbtree node SYNOPSIS struct drm_gpusvm_range * to_drm_gpusvm_range (struct rb_node *node ); ARGUMENTS node a pointer to the rbtree node embedded within a drm_gpusvm_range struct RETURN A pointer to the containing drm_gpusvm_range structure. ...
to_drm_shadow_plane_state(9)
NAME to_drm_shadow_plane_state - upcasts from struct drm_plane_state SYNOPSIS struct drm_shadow_plane_state * to_drm_shadow_plane_state (struct drm_plane_state *state ); ARGUMENTS state the plane state SEE ALSO Kernel file ./include/drm/drm_gem_atomic_helper.h DRM_SHADOW_PLANE_MAX_WIDTH(9), DRM_SHADOW_PLAN...
to_drm_vblank_work(9)
NAME to_drm_vblank_work - Retrieve the respective &drm_vblank_work item from a &kthread_work SYNOPSIS to_drm_vblank_work (_work ); ARGUMENTS _work The kthread_work embedded inside a drm_vblank_work SEE ALSO Kernel file ./include/drm/drm_vblank_work.h struct drm_vblank_work(9) April 2026 ...
to_hpa(9)
NAME to_hpa - calculate an HPA offset from a DPA offset and position SYNOPSIS u64 to_hpa (u64 dpa_offset , int pos , u8 r_eiw , u16 r_eig , u8 hb_ways , u8 math ); ARGUMENTS dpa_offset -- undescribed -- pos -- undescribed -- r_eiw -- undescribed -- r_eig -- undescribed -- ...
to_imx334(9)
NAME to_imx334 - imv334 V4L2 sub-device to imx334 device. SYNOPSIS struct imx334 * to_imx334 (struct v4l2_subdev *subdev ); ARGUMENTS subdev pointer to imx334 V4L2 sub-device RETURN pointer to imx334 device SEE ALSO Kernel file ./drivers/media/i2c/imx334.c struct imx334_reg_list(9), struct imx334_mode(9...
to_imx335(9)
NAME to_imx335 - imx335 V4L2 sub-device to imx335 device. SYNOPSIS struct imx335 * to_imx335 (struct v4l2_subdev *subdev ); ARGUMENTS subdev pointer to imx335 V4L2 sub-device RETURN pointer to imx335 device SEE ALSO Kernel file ./drivers/media/i2c/imx335.c struct imx335_reg_list(9), struct imx335_mode(9...
to_imx412(9)
NAME to_imx412 - imx412 V4L2 sub-device to imx412 device. SYNOPSIS struct imx412 * to_imx412 (struct v4l2_subdev *subdev ); ARGUMENTS subdev pointer to imx412 V4L2 sub-device RETURN pointer to imx412 device SEE ALSO Kernel file ./drivers/media/i2c/imx412.c struct imx412_reg(9), struct imx412_reg_list(9), stru...
to_omap_domain(9)
NAME to_omap_domain - Get struct omap_iommu_domain from generic iommu_domain SYNOPSIS struct omap_iommu_domain * to_omap_domain (struct iommu_domain *dom ); ARGUMENTS dom generic iommu domain handle SEE ALSO Kernel file ./drivers/iommu/omap-iommu.c omap_iommu_save_ctx(9), omap_iommu_restore_ctx(9), loa...
to_ov9282(9)
NAME to_ov9282 - ov9282 V4L2 sub-device to ov9282 device. SYNOPSIS struct ov9282 * to_ov9282 (struct v4l2_subdev *subdev ); ARGUMENTS subdev pointer to ov9282 V4L2 sub-device RETURN pointer to ov9282 device SEE ALSO Kernel file ./drivers/media/i2c/ov9282.c struct ov9282_reg(9), struct ov9282_reg_list(9), stru...
to_pos(9)
NAME to_pos - extract an interleave position from an HPA offset SYNOPSIS u64 to_pos (u64 hpa_offset , u8 r_eiw , u16 r_eig , u8 hb_ways , u8 math ); ARGUMENTS hpa_offset -- undescribed -- r_eiw -- undescribed -- r_eig -- undescribed -- hb_ways -- undescribed -- math ...
to_preempt_fence_from_link(9)
NAME to_preempt_fence_from_link - Convert back to a preempt fence pointer from a link obtained with xe_preempt_fence_link(). SYNOPSIS struct xe_preempt_fence * to_preempt_fence_from_link (struct list_head *link ); ARGUMENTS link The struct list_head obtained from xe_preempt_fence_link. RETURN A pointer to the...
to_pvr_queue_job_fence(9)
NAME to_pvr_queue_job_fence - Return a pvr_queue_fence object if the fence is backed by a UFO. SYNOPSIS struct pvr_queue_fence * to_pvr_queue_job_fence (struct dma_fence *f ); ARGUMENTS f The dma_fence to turn into a pvr_queue_fence. RETURN * A non-NULL pvr_queue_fence object if the dma_fence is backed by ...
to_sas_gpio_gp_bit(9)
NAME to_sas_gpio_gp_bit - given the gpio frame data find the byte/bit position of 'od' SYNOPSIS u8 * to_sas_gpio_gp_bit (unsigned int od , u8 *data , u8 index , u8 count , u8 *bit ); ARGUMENTS od od bit to find data incoming bitstream (from frame) index requested data register in...
to_ssam_device(9)
NAME to_ssam_device - Casts the given device to a SSAM client device. SYNOPSIS to_ssam_device (d ); ARGUMENTS d The device to cast. DESCRIPTION Casts the given struct device to a struct ssam_device. The caller has to ensure that the given device is actually enclosed in a struct ssam_device, e.g. by calling...
to_ssam_device_driver(9)
NAME to_ssam_device_driver - Casts the given device driver to a SSAM client device driver. SYNOPSIS to_ssam_device_driver (d ); ARGUMENTS d The driver to cast. DESCRIPTION Casts the given struct device_driver to a struct ssam_device_driver. The caller has to ensure that the given driver is actually enclose...
to_ssh_request(9)
NAME to_ssh_request - Cast a SSH packet to its enclosing SSH request. SYNOPSIS struct ssh_request * to_ssh_request (struct ssh_packet *p ); ARGUMENTS p The packet to cast. DESCRIPTION Casts the given struct ssh_packet to its enclosing struct ssh_request. The caller is responsible for making sure that the ...
to_ttm_buddy_resource(9)
NAME to_ttm_buddy_resource - SYNOPSIS struct i915_ttm_buddy_resource * to_ttm_buddy_resource (struct ttm_resource *res ); ARGUMENTS res the resource to upcast DESCRIPTION Upcast the struct ttm_resource object into a struct i915_ttm_buddy_resource. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_ttm_buddy_m...
to_ttm_range_mgr_node(9)
NAME to_ttm_range_mgr_node - SYNOPSIS struct ttm_range_mgr_node * to_ttm_range_mgr_node (struct ttm_resource *res ); ARGUMENTS res the resource to upcast DESCRIPTION Upcast the ttm_resource object into a ttm_range_mgr_node object. SEE ALSO Kernel file ./include/drm/ttm/ttm_range_manager.h struct ttm_range_m...
to_userptr_vma(9)
NAME to_userptr_vma - Return a pointer to an embedding userptr vma SYNOPSIS struct xe_userptr_vma * to_userptr_vma (struct xe_vma *vma ); ARGUMENTS vma Pointer to the embedded struct xe_vma RETURN Pointer to the embedding userptr vma SEE ALSO Kernel file ./drivers/gpu/drm/xe/xe_vm.h xe_vm_has_scratch(9),...
to_v4l2_subdev_fh(9)
NAME to_v4l2_subdev_fh - Returns a &struct v4l2_subdev_fh from the &struct v4l2_fh embedded on it. SYNOPSIS to_v4l2_subdev_fh (fh ); ARGUMENTS fh pointer to struct v4l2_fh SEE ALSO Kernel file ./include/media/v4l2-subdev.h struct v4l2_decode_vbi_line(9), enum v4l2_subdev_io_pin_bits(9), struct v4l2_su...
to_video_device(9)
NAME to_video_device - Returns a &struct video_device from the &struct device embedded on it. SYNOPSIS to_video_device (cd ); ARGUMENTS cd pointer to struct device SEE ALSO Kernel file ./include/media/v4l2-dev.h enum vfl_devnode_type(9), enum vfl_devnode_direction(9), enum v4l2_video_device_flags(9),...
to_wmi_device(9)
NAME to_wmi_device - Helper macro to cast a device to a wmi_device SYNOPSIS to_wmi_device (device ); ARGUMENTS device device struct DESCRIPTION Cast a struct device to a struct wmi_device. SEE ALSO Kernel file ./include/linux/wmi.h struct wmi_device(9), struct wmi_buffer(9), struct wmi_string(9), struct wmi_dr...
to_wmi_driver(9)
NAME to_wmi_driver - Helper macro to cast a driver to a wmi_driver SYNOPSIS to_wmi_driver (drv ); ARGUMENTS drv driver struct DESCRIPTION Cast a struct device_driver to a struct wmi_driver. SEE ALSO Kernel file ./include/linux/wmi.h struct wmi_device(9), to_wmi_device(9), struct wmi_buffer(9), struct wmi_st...
to_xe_range(9)
NAME to_xe_range - Convert a drm_gpusvm_range pointer to a xe_svm_range SYNOPSIS struct xe_svm_range * to_xe_range (struct drm_gpusvm_range *r ); ARGUMENTS r Pointer to the drm_gpusvm_range structure DESCRIPTION This function takes a pointer to a drm_gpusvm_range structure and converts it to a pointer to t...
toascii(3)
NAME toascii - convert character to ASCII LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <ctype.h> [[deprecated]] int toascii(int c); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): toascii(): _XOPEN_SOURCE || /* glibc >= 2.19: */ _DEFAUL...
toascii(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME toascii — translate an integer to a 7-bit ASCII character SYNO...
tod_after(9)
NAME tod_after - compare two 64 bit TOD values SYNOPSIS int tod_after (unsigned long a , unsigned long b ); ARGUMENTS a first 64 bit TOD timestamp b second 64 bit TOD timestamp RETURN true if a is later than b SEE ALSO Kernel file ./arch/s390/include/asm/timex.h tod_to_ns(9), tod_after_e...
tod_after_eq(9)
NAME tod_after_eq - compare two 64 bit TOD values SYNOPSIS int tod_after_eq (unsigned long a , unsigned long b ); ARGUMENTS a first 64 bit TOD timestamp b second 64 bit TOD timestamp RETURN true if a is later than b SEE ALSO Kernel file ./arch/s390/include/asm/timex.h tod_to_ns(9), tod_a...
tod_to_ns(9)
NAME tod_to_ns - convert a TOD format value to nanoseconds SYNOPSIS unsigned long tod_to_ns (unsigned long todval ); ARGUMENTS todval to be converted TOD format value RETURN number of nanoseconds that correspond to the TOD format value DESCRIPTION Converting a 64 Bit TOD format value to nanoseconds means tha...
toe.1m(1)
NAME toe - list table of entries of terminfo terminal types SYNOPSIS toe [-ahs] [-v [n]] [directory ...] toe [-u|-U] file toe -V DESCRIPTION toe reports to the standard output stream the (primary) names and descriptions of the terminal types available to the terminfo library. Each directory is scann...
token_context_lock(9)
NAME token_context_lock - declare an abstract global context lock instance SYNOPSIS token_context_lock (name , ... ); ARGUMENTS name token context lock name ... variable arguments DESCRIPTION Helper that declares an abstract global context lock instance name, but not backed by a real data stru...
token_context_lock_instance(9)
NAME token_context_lock_instance - declare another instance of a global context lock SYNOPSIS token_context_lock_instance (ctx , name ); ARGUMENTS ctx token context lock previously declared with token_context_lock name name of additional global context lock instance DESCRIPTION Helper that de...
token_default(9)
NAME token_default - Determine if the given token is "DEFAULT". SYNOPSIS bool token_default (char *token ); ARGUMENTS token Supplies the token string to be compared. RETURN * false - The token is not "DEFAULT" * true - The token is "DEFAULT" SEE ALSO Kernel file ./security/ipe/policy_parser.c new_...
tolower(3)
NAME toupper, tolower, toupper_l, tolower_l - convert uppercase or lowercase LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <ctype.h> int toupper(int c); int tolower(int c); int toupper_l(int c, locale_t locale); int tolower_l(int c, locale_t locale); Feature Test Macro Req...
tolower(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME tolower, tolower_l — transliterate uppercase characters to lowe...
tolower_l(3)
NAME toupper, tolower, toupper_l, tolower_l - convert uppercase or lowercase LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <ctype.h> int toupper(int c); int tolower(int c); int toupper_l(int c, locale_t locale); int tolower_l(int c, locale_t locale); Feature Test Macro Req...
tomoyo_add_entry(9)
NAME tomoyo_add_entry - Add an ACL to current thread's domain. Used by learning mode. SYNOPSIS void tomoyo_add_entry (struct tomoyo_domain_info *domain , char *header ); ARGUMENTS domain Pointer to "struct tomoyo_domain_info". header Lines containing ACL. DESCRIPTION Returns nothing. SEE ALSO Kern...
tomoyo_add_slash(9)
NAME tomoyo_add_slash - Add trailing '/' if needed. SYNOPSIS void tomoyo_add_slash (struct tomoyo_path_info *buf ); ARGUMENTS buf Pointer to "struct tomoyo_path_info". DESCRIPTION Returns nothing. buf must be generated by tomoyo_encode because this function does not allocate memory for adding '/'. SEE ALSO...
tomoyo_addprintf(9)
NAME tomoyo_addprintf - strncat()-like-snprintf(). SYNOPSIS static void tomoyo_addprintf (char *buffer , int len , const char *fmt , ... ); ARGUMENTS buffer Buffer to write to. Must be ' '-terminated. len Size of buffer. fmt The printf's format string, followed by parameters. ...
tomoyo_address_matches_group(9)
NAME tomoyo_address_matches_group - Check whether the given address matches members of the given address group. SYNOPSIS bool tomoyo_address_matches_group (const bool is_ipv6 , const __be32 *address , const struct tomoyo_group *group ); ARGUMENTS is_ipv6 True if address is an IPv6 address. address An ...
tomoyo_alphabet_char(9)
NAME tomoyo_alphabet_char - Check whether the character is an alphabet. SYNOPSIS bool tomoyo_alphabet_char (const char c ); ARGUMENTS c The character to check. DESCRIPTION Returns true if c is an alphabet character, false otherwise. SEE ALSO Kernel file ./security/tomoyo/util.c tomoyo_convert_time(9), t...
tomoyo_argv(9)
NAME tomoyo_argv - Check argv[] in "struct linux_binbrm". SYNOPSIS bool tomoyo_argv (const unsigned int index , const char *arg_ptr , const int argc , const struct tomoyo_argv *argv , u8 *checked ); ARGUMENTS index Index number of arg_ptr. arg_ptr Contents of argv[index]. argc Length ...
tomoyo_assign_domain(9)
NAME tomoyo_assign_domain - Create a domain or a namespace. SYNOPSIS struct tomoyo_domain_info * tomoyo_assign_domain (const char *domainname , const bool transit ); ARGUMENTS domainname The name of domain. transit True if transit to domain found or created. DESCRIPTION Returns pointer to "struct tomoyo...
tomoyo_assign_namespace(9)
NAME tomoyo_assign_namespace - Create a new namespace. SYNOPSIS struct tomoyo_policy_namespace * tomoyo_assign_namespace (const char *domainname ); ARGUMENTS domainname Name of namespace to create. DESCRIPTION Returns pointer to "struct tomoyo_policy_namespace" on success, NULL otherwise. Caller holds tomoyo_read_...
tomoyo_assign_profile(9)
NAME tomoyo_assign_profile - Create a new profile. SYNOPSIS struct tomoyo_profile * tomoyo_assign_profile (struct tomoyo_policy_namespace *ns , const unsigned int profile ); ARGUMENTS ns Pointer to "struct tomoyo_policy_namespace". profile Profile number to create. DESCRIPTION Returns pointer to...
tomoyo_audit_env_log(9)
NAME tomoyo_audit_env_log - Audit environment variable name log. SYNOPSIS int tomoyo_audit_env_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/environ.c tomoyo_chec...
tomoyo_audit_inet_log(9)
NAME tomoyo_audit_inet_log - Audit INET network log. SYNOPSIS int tomoyo_audit_inet_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/network.c tomoyo_parse_ipaddr...
tomoyo_audit_mkdev_log(9)
NAME tomoyo_audit_mkdev_log - Audit path/number/number/number request log. SYNOPSIS int tomoyo_audit_mkdev_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/file....
tomoyo_audit_mount_log(9)
NAME tomoyo_audit_mount_log - Audit mount log. SYNOPSIS int tomoyo_audit_mount_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/mount.c tomoyo_check_mount_acl(9), to...
tomoyo_audit_net_log(9)
NAME tomoyo_audit_net_log - Audit network log. SYNOPSIS int tomoyo_audit_net_log (struct tomoyo_request_info *r , const char *family , const u8 protocol , const u8 operation , const char *address ); ARGUMENTS r Pointer to "struct tomoyo_request_info". family Name of socket family ("inet" or "un...
tomoyo_audit_path2_log(9)
NAME tomoyo_audit_path2_log - Audit path/path request log. SYNOPSIS int tomoyo_audit_path2_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/file.c tomoyo_put_n...
tomoyo_audit_path_log(9)
NAME tomoyo_audit_path_log - Audit path request log. SYNOPSIS int tomoyo_audit_path_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/file.c tomoyo_put_name_uni...
tomoyo_audit_path_number_log(9)
NAME tomoyo_audit_path_number_log - Audit path/number request log. SYNOPSIS int tomoyo_audit_path_number_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/file.c ...
tomoyo_audit_unix_log(9)
NAME tomoyo_audit_unix_log - Audit UNIX network log. SYNOPSIS int tomoyo_audit_unix_log (struct tomoyo_request_info *r ); ARGUMENTS r Pointer to "struct tomoyo_request_info". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/network.c tomoyo_parse_ipaddr...
tomoyo_bprm_check_security(9)
NAME tomoyo_bprm_check_security - Target for security_bprm_check(). SYNOPSIS int tomoyo_bprm_check_security (struct linux_binprm *bprm ); ARGUMENTS bprm Pointer to "struct linux_binprm". DESCRIPTION Returns 0 on success, negative value otherwise. SEE ALSO Kernel file ./security/tomoyo/tomoyo.c tomoyo_doma...
tomoyo_bprm_committed_creds(9)
NAME tomoyo_bprm_committed_creds - Target for security_bprm_committed_creds(). SYNOPSIS void tomoyo_bprm_committed_creds (const struct linux_binprm *bprm ); ARGUMENTS bprm Pointer to "struct linux_binprm". SEE ALSO Kernel file ./security/tomoyo/tomoyo.c tomoyo_domain(9), tomoyo_cred_prepare(9), tomoyo_bprm_cr...
tomoyo_bprm_creds_for_exec(9)
NAME tomoyo_bprm_creds_for_exec - Target for security_bprm_creds_for_exec(). SYNOPSIS int tomoyo_bprm_creds_for_exec (struct linux_binprm *bprm ); ARGUMENTS bprm Pointer to "struct linux_binprm". DESCRIPTION Returns 0. SEE ALSO Kernel file ./security/tomoyo/tomoyo.c tomoyo_domain(9), tomoyo_cred_prepare(9...
tomoyo_byte_range(9)
NAME tomoyo_byte_range - Check whether the string is a style octal value. SYNOPSIS bool tomoyo_byte_range (const char *str ); ARGUMENTS str Pointer to the string. DESCRIPTION Returns true if str is a style octal value, false otherwise. TOMOYO uses style representation for 0x01 - 0x20 and 0x7F - 0xFF. Th...
tomoyo_check_acl(9)
NAME tomoyo_check_acl - Do permission check. SYNOPSIS void tomoyo_check_acl (struct tomoyo_request_info *r , bool (*check_entry)(struct tomoyo_request_info *, const struct tomoyo_acl_info *) ); ARGUMENTS r Pointer to "struct tomoyo_request_info". check_entry Callback function to check type specific ...
tomoyo_check_env_acl(9)
NAME tomoyo_check_env_acl - Check permission for environment variable's name. SYNOPSIS bool tomoyo_check_env_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESCRIPTION Re...
tomoyo_check_inet_acl(9)
NAME tomoyo_check_inet_acl - Check permission for inet domain socket operation. SYNOPSIS bool tomoyo_check_inet_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESCRIPTION...
tomoyo_check_inet_address(9)
NAME tomoyo_check_inet_address - Check permission for inet domain socket's operation. SYNOPSIS int tomoyo_check_inet_address (const struct sockaddr *addr , const unsigned int addr_len , const u16 port , struct tomoyo_addr_info *address ); ARGUMENTS addr Pointer to "struct sockaddr". addr_len Size of...
tomoyo_check_mkdev_acl(9)
NAME tomoyo_check_mkdev_acl - Check permission for path number number number operation. SYNOPSIS bool tomoyo_check_mkdev_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DE...
tomoyo_check_mount_acl(9)
NAME tomoyo_check_mount_acl - Check permission for path path path number operation. SYNOPSIS bool tomoyo_check_mount_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESCRI...
tomoyo_check_open_permission(9)
NAME tomoyo_check_open_permission - Check permission for "read" and "write". SYNOPSIS int tomoyo_check_open_permission (struct tomoyo_domain_info *domain , const struct path *path , const int flag ); ARGUMENTS domain Pointer to "struct tomoyo_domain_info". path Pointer to "struct path". fl...
tomoyo_check_path2_acl(9)
NAME tomoyo_check_path2_acl - Check permission for path path operation. SYNOPSIS bool tomoyo_check_path2_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESCRIPTION Return...
tomoyo_check_path_acl(9)
NAME tomoyo_check_path_acl - Check permission for path operation. SYNOPSIS bool tomoyo_check_path_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESCRIPTION Returns true ...
tomoyo_check_path_number_acl(9)
NAME tomoyo_check_path_number_acl - Check permission for path number operation. SYNOPSIS bool tomoyo_check_path_number_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESC...
tomoyo_check_profile(9)
NAME tomoyo_check_profile - Check all profiles currently assigned to domains are defined. SYNOPSIS void tomoyo_check_profile (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./security/tomoyo/common.c tomoyo_addprintf(9), tomoyo_flush(9), tomoyo_set_string(9), tomoyo_io_printf(9), tomoyo_set_spa...
tomoyo_check_task_acl(9)
NAME tomoyo_check_task_acl - Check permission for task operation. SYNOPSIS bool tomoyo_check_task_acl (struct tomoyo_request_info *r , const struct tomoyo_acl_info *ptr ); ARGUMENTS r Pointer to "struct tomoyo_request_info". ptr Pointer to "struct tomoyo_acl_info". DESCRIPTION Returns true ...