Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\seccomp.c Create Date:2022-07-28 11:46:25
Last Modify:2022-05-19 16:58:48 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:write_actions_logged

Proto:static int write_actions_logged(struct ctl_table *ro_table, void __user *buffer, size_t *lenp, loff_t *ppos, unsigned int *actions_logged)

Type:int

Parameter:

TypeParameterName
struct ctl_table *ro_table
void __user *buffer
size_t *lenp
loff_t *ppos
unsigned int *actions_logged
1719  If Not Check operation authority Then Return -EPERM
1722  memset(names, 0, size of names )
1724  table = ro_table
1725  data = names
1726  maxlen = size of names
1727  ret = read a string sysctl
1728  If ret Then Return ret
1731  If Not seccomp_actions_logged_from_names(actions_logged, data) Then Return -EINVAL
1734  If actions_logged & SECCOMP_LOG_ALLOW Then Return -EINVAL
1737  seccomp_actions_logged = actions_logged
1738  Return 0
Caller
NameDescribe
seccomp_actions_logged_handler