Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:seccomp_names_from_actions_logged

Proto:static bool seccomp_names_from_actions_logged(char *names, size_t size, unsigned int actions_logged, const char *sep)

Type:bool

Parameter:

TypeParameterName
char *names
size_tsize
unsigned intactions_logged
const char *sep
1633  bool append_sep = false
1635  When name && size cycle
1638  If Not (actions_logged & log) Then Continue
1641  If append_sep Then
1643  If ret < 0 Then Return false
1646  names += ret
1647  size -= ret
1648  Else append_sep = true
1651  ret = strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
1652  If ret < 0 Then Return false
1655  names += ret
1656  size -= ret
1659  Return true
Caller
NameDescribe
read_actions_logged
audit_actions_logged