函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_acl

函数原型:static int check_acl(struct inode *inode, int mask)

返回类型:int

参数:

类型参数名称
struct inode *inode
intmask
267  如果mask按位与called from RCU mode, don't block
268  acl等于get_cached_acl_rcu(inode, a_type field in acl_user_posix_entry_t )
269  如果非acl则返回:负EAGAIN
272  如果is_uncached_acl(acl)则返回:负ECHILD
274  返回:posix_acl_permission(inode, acl, mask & ~called from RCU mode, don't block )
277  acl等于get_acl(inode, a_type field in acl_user_posix_entry_t )
278  如果是错误则返回:错误
280  如果acl
281  error等于posix_acl_permission(inode, acl, mask)
282  Free an ACL handle.
283  返回:error
287  返回:负EAGAIN
调用者
名称描述
acl_permission_checkThis does the basic permission checking