Function report |
Source Code:kernel\cgroup\namespace.c |
Create Date:2022-07-28 11:12:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroupns_install
Proto:static int cgroupns_install(struct nsproxy *nsproxy, struct ns_common *ns)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct nsproxy * | nsproxy | |
struct ns_common * | ns |
102 | If Not ns_capable(current_user_ns(), Allow setting zone reclaim policy ) || Not ns_capable(user_ns, Allow setting zone reclaim policy ) Then Return -EPERM |
110 | get_cgroup_ns(cgroup_ns) |
111 | put_cgroup_ns(cgroup_ns) |
114 | Return 0 |
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 |