Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\ipc.c Create Date:2022-07-28 19:50:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:audit_ptrace_mask - convert mask to permission string*@buffer: buffer to write string to (NOT NULL)*@mask: permission mask to convert

Proto:static void audit_ptrace_mask(struct audit_buffer *ab, unsigned int mask)

Type:void

Parameter:

TypeParameterName
struct audit_buffer *ab
unsigned intmask
29  Case mask == MAY_READ
30  audit_log_string(ab, "read")
31  Break
32  Case mask == MAY_WRITE
33  audit_log_string(ab, "trace")
34  Break
35  Case mask == AA_MAY_BE_READ
36  audit_log_string(ab, "readby")
37  Break
38  Case mask == AA_MAY_BE_TRACED
39  audit_log_string(ab, "tracedby")
40  Break
Caller
NameDescribe
audit_ptrace_cball back to audit ptrace fields