Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-28 20:05:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:may_mknod

Proto:static int may_mknod(umode_t mode)

Type:int

Parameter:

TypeParameterName
umode_tmode
3670  Case & == S_IFREG
3671  Case & == S_IFCHR
3672  Case & == S_IFBLK
3673  Case & == S_IFIFO
3674  Case & == S_IFSOCK
3675  Case & == 0
3676  Return 0
3677  Case & == S_IFDIR
3678  Return -EPERM
3679  Default
3680  Return -EINVAL
Caller
NameDescribe
do_mknodat