Function report |
Source Code:fs\nsfs.c |
Create Date:2022-07-28 20:12:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ns_ioctl
Proto:static long ns_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| unsigned int | ioctl | |
| unsigned long | arg |
| 193 | ns = get_proc_ns(file_inode(filp)) |
| 199 | Return open_related_ns(ns, ns_get_owner) |
| 201 | If Not get_parent Then Return -EINVAL |
| 203 | Return open_related_ns(ns, get_parent) |
| 205 | Return type |
| 207 | If type != New user namespace Then Return -EINVAL |
| 212 | Return Write a simple value into user space(uid, argp) |
| 213 | Default |
| 214 | Return -ENOTTY |
| 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 |