函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\namei.h Create Date:2022-07-27 10:11:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:user_path_at

函数原型:static inline int user_path_at(int dfd, const char __user *name, unsigned flags, struct path *path)

返回类型:int

参数:

类型参数名称
intdfd
const char __user *name
unsignedflags
struct path *path
48  返回:user_path_at_empty(dfd, name, flags, path, NULL)
调用者
名称描述
do_sys_truncate
do_faccessataccess() needs to use the real uid/gid, not the effective uid/gid.* We do this by temporarily clearing all FS-related capabilities and* switching the fsuid/fsgid around to the real ones.
ksys_chdir
ksys_chroot
do_fchmodat
do_fchownat
vfs_statxvfs_statx - Get basic and extra attributes by filename*@dfd: A file descriptor representing the base dir for a relative filename*@filename: The name of the file of interest*@flags: Flags to control the query*@stat: The result structure to fill in
do_linkatHardlinks are often used in delicate situations. We avoid* security-related surprises by not following symlinks on the* newname. --KAB* We don't follow them on the oldname either to be compatible* with linux 2.0, and to avoid hard-linking to directories
SYSCALL_DEFINE3
do_mountFlags is a 32-bit value that allows up to 31 non-fs dependent flags to* be given to the mount() call (ie: read-only, no-dev, no-suid etc)
SYSCALL_DEFINE5Move a mount from one place to another. In combination with* fsopen()/fsmount() this is used to install a new mount and in combination* with open_tree(OPEN_TREE_CLONE [| AT_RECURSIVE]) it can be used to copy* a mount subtree.
SYSCALL_DEFINE2pivot_root Semantics:* Moves the root file system of the current process to the directory put_old,* makes new_root as the new root file system of the current process, and sets* root/cwd of all processes which had them on the current root to new_root
path_setxattr
path_getxattr
path_listxattr
path_removexattr
do_utimesdo_utimes - change times on filename or file descriptor*@dfd: open file descriptor, -1 or AT_FDCWD*@filename: path name or NULL*@times: new times or NULL*@flags: zero or more flags (only AT_SYMLINK_NOFOLLOW for the moment)* If filename is NULL and dfd
user_statfs
SYSCALL_DEFINE3Pick a superblock into a context for reconfiguration.
inotify_find_inoded_inode - resolve a user-given path to a specific inode
fanotify_find_path
SYSCALL_DEFINE5sys_name_to_handle_at: convert name to handle*@dfd: directory relative to which name is interpreted if not absolute*@name: name that should be converted to handle
kernel_quotactlThis is the system call interface. This communicates with* the user-level programs. Currently this only supports diskquota* calls. Maybe we need to add the process quotas etc. in the future,* but we probably should use rlimits for that.