Function report |
Source Code:fs\fsopen.c |
Create Date:2022-07-28 20:13:27 |
Last Modify:2022-05-24 07:35:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Pick a superblock into a context for reconfiguration.
Proto:SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, path, unsigned int, flags)
Type:
Parameter:Nothing
165 | If Not ns_capable(user_ns, Allow setting zone reclaim policy ) Then Return -EPERM |
168 | If (flags & ~( spick() flags. | FSPICK_SYMLINK_NOFOLLOW | FSPICK_NO_AUTOMOUNT | FSPICK_EMPTY_PATH)) != 0 Then Return -EINVAL |
175 | If flags & FSPICK_SYMLINK_NOFOLLOW Then lookup_flags &= ~llow links at the end |
177 | If flags & FSPICK_NO_AUTOMOUNT Then lookup_flags &= ~rce terminal automount |
179 | If flags & FSPICK_EMPTY_PATH Then lookup_flags |= accept empty path [user_... only] |
181 | ret = user_path_at(dfd, path, lookup_flags, & target) |
189 | fc = fs_context_for_reconfigure(dentry, 0, 0) |
197 | ret = fscontext_alloc_log(fc) |
204 | err_fc : |
206 | err_path : |
208 | err : |
209 | Return ret |
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 |