Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

security/selinux/hooks.c selinux_inode_create() -> may_create()

Type Parameter Key Value
PARAM_VALUE 2 tclass 7
DATA_SOURCE 0 dir $0
DATA_SOURCE 1 dentry $1

security/selinux/hooks.c selinux_inode_mkdir() -> may_create()

Type Parameter Key Value
PARAM_VALUE 2 tclass 8
DATA_SOURCE 0 dir $0
DATA_SOURCE 1 dentry $1

security/selinux/hooks.c selinux_inode_mknod() -> may_create()

Type Parameter Key Value
PARAM_VALUE 2 tclass 7-8,10-14
DATA_SOURCE 0 dir $0
DATA_SOURCE 1 dentry $1

security/selinux/hooks.c selinux_inode_symlink() -> may_create()

Type Parameter Key Value
PARAM_VALUE 2 tclass 10
DATA_SOURCE 0 dir $0
DATA_SOURCE 1 dentry $1