Function report |
Source Code:kernel\kexec.c |
Create Date:2022-07-28 11:03:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Exec Kernel system call: for obvious reasons only root may call it
Proto:static inline int kexec_load_check(unsigned long nr_segments, unsigned long flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | nr_segments | |
unsigned long | flags |
200 | If Not Check operation authority || kexec_load_disabled Then Return -EPERM |
220 | If (flags & List of defined/legal kexec flags ) != (flags & ~KEXEC_ARCH_MASK) Then Return -EINVAL |
226 | If nr_segments > The artificial cap on the number of segments passed to kexec_load. Then Return -EINVAL |
229 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE4 | |
COMPAT_SYSCALL_DEFINE4 |
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 |