Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:seccomp_get_action_avail

Proto:static long seccomp_get_action_avail(const char __user *uaction)

Type:long

Parameter:

TypeParameterName
const char __user *uaction
1368  If copy_from_user( & action, uaction, size of action ) Then Return -EFAULT
1372  Case action == kill the process
1373  Case action == kill the thread
1374  Case action == disallow and force a SIGSYS
1375  Case action == urns an errno
1376  Case action == ifies userspace
1377  Case action == pass to a tracer or disallow
1378  Case action == allow after logging
1379  Case action == allow
1380  Break
1381  Default
1382  Return -EOPNOTSUPP
1385  Return 0
Caller
NameDescribe
do_seccompCommon entry point for both prctl and syscall.