函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\posix_acl.c Create Date:2022-07-29 11:04:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__posix_acl_create

函数原型:int __posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p)

返回类型:int

参数:

类型参数名称
struct posix_acl **acl
gfp_tgfp
umode_t *mode_p
521  clone等于Clone an ACL.
522  err等于负ENOMEM
523  如果clone
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  如果err小于0则
527  clone = NULL
530  Free an ACL handle.
531  acl等于clone
532  返回:err