Function report |
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 activity | Download SCCT | Chinese |
Name:seccomp_get_action_avail
Proto:static long seccomp_get_action_avail(const char __user *uaction)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| 1380 | Break |
| 1381 | Default |
| 1382 | Return -EOPNOTSUPP |
| 1385 | Return 0 |
| Name | Describe |
|---|---|
| do_seccomp | Common entry point for both prctl and syscall. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |