Function report |
Source Code:kernel\utsname.c |
Create Date:2022-07-28 11:18:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:utsns_install
Proto:static int utsns_install(struct nsproxy *nsproxy, struct ns_common *new)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct nsproxy * | nsproxy | |
| struct ns_common * | new |
| 147 | If Not ns_capable(user_ns, Allow setting zone reclaim policy ) || Not ns_capable(current_user_ns(), Allow setting zone reclaim policy ) Then Return -EPERM |
| 151 | get_uts_ns(ns) |
| 152 | put_uts_ns(uts_ns) |
| 154 | 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 |