Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\realpath.c Create Date:2022-07-28 19:45:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_encode - Encode binary string to ascii string.*@str: String in binary format.* Returns pointer to @str in ascii format on success, NULL otherwise.* This function uses kzalloc(), so caller must kfree() if this function* didn't return NULL.

Proto:char *tomoyo_encode(const char *str)

Type:char

Parameter:

TypeParameterName
const char *str
79  Return str ? moyo_encode2 - Encode binary string to ascii string.*@str: String in binary format.*@str_len: Size of @str in byte.* Returns pointer to @str in ascii format on success, NULL otherwise.* This function uses kzalloc(), so caller must kfree() if this function : NULL
Caller
NameDescribe
tomoyo_mount_aclmoyo_mount_acl - Check permission for mount() operation.*@r: Pointer to "struct tomoyo_request_info".*@dev_name: Name of device file. Maybe NULL.*@dir: Pointer to "struct path".*@type: Name of filesystem type.*@flags: Mount options.
tomoyo_realpath_from_pathmoyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root