Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:seccomp_may_assign_mode

Proto:static inline bool seccomp_may_assign_mode(unsigned long seccomp_mode)

Type:bool

Parameter:

TypeParameterName
unsigned longseccomp_mode
287  assert_spin_locked( & siglock)
289  If mode && mode != seccomp_mode Then Return false
292  Return true
Caller
NameDescribe
seccomp_set_mode_strictseccomp_set_mode_strict: internal function for setting strict seccomp* Once current->seccomp.mode is non-zero, it may not be changed.* Returns 0 on success or -EINVAL on failure.