Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__posix_acl_create

Proto:int __posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p)

Type:int

Parameter:

TypeParameterName
struct posix_acl **acl
gfp_tgfp
umode_t *mode_p
521  clone = Clone an ACL.
522  err = -ENOMEM
523  If clone Then
524  err = Modify acl when creating a new inode. The caller must ensure the acl is* only referenced once.* mode_p initially must contain the mode parameter to the open() / creat()* system calls. All permissions that are not granted by the acl are removed.
525  If err < 0 Then
527  clone = NULL
530  Free an ACL handle.
531  acl = clone
532  Return err