Function report |
Source Code:kernel\seccomp.c |
Create Date:2022-07-28 11:46:16 |
Last Modify:2022-05-19 16:58:48 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Common entry point for both prctl and syscall.
Proto:static long do_seccomp(unsigned int op, unsigned int flags, void __user *uargs)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | op | |
unsigned int | flags | |
void __user * | uargs |
1407 | Case op == Valid operations for seccomp syscall. |
1411 | Case op == SECCOMP_SET_MODE_FILTER |
1412 | Return seccomp_set_mode_filter(flags, uargs) |
1413 | Case op == SECCOMP_GET_ACTION_AVAIL |
1417 | Return seccomp_get_action_avail(uargs) |
1418 | Case op == SECCOMP_GET_NOTIF_SIZES |
1422 | Return seccomp_get_notif_sizes(uargs) |
1423 | Default |
1424 | Return -EINVAL |
Name | Describe |
---|---|
prctl_set_seccomp | prctl_set_seccomp: configures current->seccomp.mode*@seccomp_mode: requested mode to use*@filter: optional struct sock_fprog for use with SECCOMP_MODE_FILTER* Returns 0 on success or -EINVAL on failure. |
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 |