Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mntns_install
Proto:static int mntns_install(struct nsproxy *nsproxy, struct ns_common *ns)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct nsproxy * | nsproxy | |
struct ns_common * | ns |
3965 | If Not ns_capable(user_ns, Allow setting zone reclaim policy ) || Not ns_capable(current_user_ns(), Allow use of chroot() ) || Not ns_capable(current_user_ns(), Allow setting zone reclaim policy ) Then Return -EPERM |
3970 | If is_anon_ns(mnt_ns) Then Return -EINVAL |
3976 | get_mnt_ns(mnt_ns) |
3977 | old_mnt_ns = mnt_ns |
3983 | If err Then |
3990 | put_mnt_ns(old_mnt_ns) |
3997 | 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 |