# 规则选项:RULE OPTIONS -a [list,action|action,list] : 使用操作将规则附加到列表末尾,多个列表以逗号进行分割。 # 以下描述了规则的有效列表: task # Add a rule to the per task list. This rule list is used only at the time a task is created -- when fork() or clone() are called by the parent task. When using this list, you should only use fields that are known at task creation time, such as the uid, gid, etc. exit# Add a rule to the syscall exit list. This list is used upon exit from a system call to determine if an audit event should be cre‐ ated. user # Add a rule to the user message filter list. This list is used by the kernel to filter event originating in user space before re‐ laying them to the audit daemon. It should be noted that the only fields that are valid are: uid, auid, gid, pid, subj_user, subj_role, subj_type, subj_sen, subj_clr, and msgtype. All other fields will be treated as non-matching. It should be understood that any event originating from user space from a process that has CAP_AUDIT_WRITE will be recorded into the audit trail. This means that the most likely use for this filter is with rules that have an action of never since nothing has to be done to allow events to be recorded.
exclude # Add a rule to the event type exclusion filter list. This list is used to filter events that you do not want tosee. For example, if you do not want to see any avc messages, you would using this list to record that. Events can be excluded by process ID, user ID, group ID, login user ID, message type or subject context. The action is ignored and uses its default of "never". filesystem # Add a rule that will be applied to a whole filesystem. The filesystem must be identified with a fstype field. Normally this filter is used to exclude any events for a whole filesystem such as tracefs or debugfs.
# EXIT STATUS 0 if OK, 1 if nothing found, or argument errors or minor file acces/read errors, 10 invalid checkpoint data found in checkpoint file, 11 checkpoint processing error 12 checkpoint event not found in matching log file
方式1.请访问本博主的B站【WeiyiGeek】首页关注UP主, 将自动随机获取解锁验证码。
Method 2.Please visit 【My Twitter】. There is an article verification code in the homepage.
方式3.扫一扫下方二维码,关注本站官方公众号
回复:验证码
将获取解锁(有效期7天)本站所有技术文章哟!