函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\ipc.c Create Date:2022-07-27 21:26:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:audit_ptrace_mask - convert mask to permission string*@buffer: buffer to write string to (NOT NULL)*@mask: permission mask to convert

函数原型:static void audit_ptrace_mask(struct audit_buffer *ab, unsigned int mask)

返回类型:void

参数:

类型参数名称
struct audit_buffer *ab
unsigned intmask
29  :mask恒等于MAY_READ
30  audit_log_string(ab, "read")
31  退出
32  :mask恒等于MAY_WRITE
33  audit_log_string(ab, "trace")
34  退出
35  :mask恒等于AA_MAY_BE_READ
36  audit_log_string(ab, "readby")
37  退出
38  :mask恒等于AA_MAY_BE_TRACED
39  audit_log_string(ab, "tracedby")
40  退出
调用者
名称描述
audit_ptrace_cball back to audit ptrace fields