Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_realpath_nofollow - Get realpath of a pathname.*@pathname: The pathname to solve.* Returns the realpath of @pathname on success, NULL otherwise.

Proto:char *tomoyo_realpath_nofollow(const char *pathname)

Type:char

Parameter:

TypeParameterName
const char *pathname
306  If pathname && kern_path(pathname, 0, & path) == 0 Then
307  buf = moyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root
309  path_put( & path)
310  Return buf
312  Return NULL