Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:simple_acl_create

Proto:int simple_acl_create(struct inode *dir, struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *dir
struct inode *inode
946  error = posix_acl_create(dir, & i_mode, & default_acl, & acl)
947  If error Then Return error
950  set_cached_acl(inode, ACL_TYPE_DEFAULT, default_acl)
951  set_cached_acl(inode, a_type field in acl_user_posix_entry_t , acl)
953  If default_acl Then Free an ACL handle.
955  If acl Then Free an ACL handle.
957  Return 0