函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:seccomp_may_assign_mode

函数原型:static inline bool seccomp_may_assign_mode(unsigned long seccomp_mode)

返回类型:bool

参数:

类型参数名称
unsigned longseccomp_mode
287  assert_spin_locked( & siglock)
289  如果modemode不等于seccomp_mode则返回:false
292  返回:true
调用者
名称描述
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.