函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\seccomp.c Create Date:2022-07-27 12:51:12
Last Modify:2022-05-19 16:58:48 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:seccomp_actions_logged_handler

函数原型:static int seccomp_actions_logged_handler(struct ctl_table *ro_table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

返回类型:int

参数:

类型参数名称
struct ctl_table *ro_table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
1779  如果write
1780  actions_logged等于0
1781  old_actions_logged等于seccomp_actions_logged
1783  ret等于write_actions_logged(ro_table, buffer, lenp, ppos, & actions_logged)
1785  audit_actions_logged(actions_logged, old_actions_logged, ret)
1786  否则ret等于read_actions_logged(ro_table, buffer, lenp, ppos)
1789  返回:ret