[−][src]Module syscall::flag
Flags used as an argument to many system calls
Structs
| CloneFlags | |
| EventFlags | |
| MapFlags | |
| PhysallocFlags | Extra flags for |
| PhysmapFlags | |
| PtraceFlags | |
| SigActionFlags | |
| WaitFlags |
Enums
| PartialAllocStrategy |
Constants
| AT_ENTRY | |
| AT_NULL | |
| AT_PHDR | |
| CLOCK_MONOTONIC | |
| CLOCK_REALTIME | |
| CLONE_FILES | |
| CLONE_FS | |
| CLONE_SIGHAND | |
| CLONE_STACK | |
| CLONE_THREAD | |
| CLONE_VFORK | |
| CLONE_VM | |
| EVENT_NONE | |
| EVENT_READ | |
| EVENT_WRITE | |
| FUTEX_REQUEUE | |
| FUTEX_WAIT | |
| FUTEX_WAKE | |
| F_DUPFD | |
| F_GETFD | |
| F_GETFL | |
| F_SETFD | |
| F_SETFL | |
| MAP_FIXED | Only accepted for mmap2(2). |
| MAP_FIXED_NOREPLACE | |
| MAP_PRIVATE | |
| MAP_SHARED | |
| MODE_CHR | |
| MODE_DIR | |
| MODE_FIFO | |
| MODE_FILE | |
| MODE_PERM | |
| MODE_SETGID | |
| MODE_SETUID | |
| MODE_SYMLINK | |
| MODE_TYPE | |
| O_ACCMODE | |
| O_APPEND | |
| O_ASYNC | |
| O_CLOEXEC | |
| O_CREAT | |
| O_DIRECTORY | |
| O_EXCL | |
| O_EXLOCK | |
| O_FSYNC | |
| O_NOFOLLOW | |
| O_NONBLOCK | |
| O_RDONLY | |
| O_RDWR | |
| O_SHLOCK | |
| O_STAT | |
| O_SYMLINK | |
| O_TRUNC | |
| O_WRONLY | |
| PARTIAL_ALLOC | Do a "partial allocation", which means that not all of the frames specified in the
frame count |
| PARTIAL_ALLOC_STRATEGY_MASK | The bitmask of the partial allocation strategy. Currently four different strategies are
supported. If |
| PHYSMAP_NO_CACHE | |
| PHYSMAP_WRITE | |
| PHYSMAP_WRITE_COMBINE | |
| PROT_EXEC | |
| PROT_NONE | |
| PROT_READ | |
| PROT_WRITE | |
| PTRACE_EVENT_CLONE | Sent when a child is cloned, giving you the opportunity to trace it. If you don't catch this, the child is started as normal. |
| PTRACE_EVENT_MASK | |
| PTRACE_FLAG_IGNORE | Special meaning, depending on the event. Usually, when fired before an action, it will skip performing that action. |
| PTRACE_FLAG_MASK | |
| PTRACE_STOP_BREAKPOINT | Stop on a software breakpoint, such as the int3 instruction for x86_64. |
| PTRACE_STOP_EXIT | Stop just before exiting for good. |
| PTRACE_STOP_MASK | |
| PTRACE_STOP_POST_SYSCALL | Stop after a syscall is handled. |
| PTRACE_STOP_PRE_SYSCALL | Stop before a syscall is handled. Send PTRACE_FLAG_IGNORE to not handle the syscall. |
| PTRACE_STOP_SIGNAL | Stop before a signal is handled. Send PTRACE_FLAG_IGNORE to not handle signal. |
| PTRACE_STOP_SINGLESTEP | Stop after exactly one instruction. TODO: This may not handle fexec/signal boundaries. Should it? |
| SA_NOCLDSTOP | |
| SA_NOCLDWAIT | |
| SA_NODEFER | |
| SA_ONSTACK | |
| SA_RESETHAND | |
| SA_RESTART | |
| SA_RESTORER | |
| SA_SIGINFO | |
| SEEK_CUR | |
| SEEK_END | |
| SEEK_SET | |
| SIGABRT | |
| SIGALRM | |
| SIGBUS | |
| SIGCHLD | |
| SIGCONT | |
| SIGFPE | |
| SIGHUP | |
| SIGILL | |
| SIGINT | |
| SIGIO | |
| SIGKILL | |
| SIGPIPE | |
| SIGPROF | |
| SIGPWR | |
| SIGQUIT | |
| SIGSEGV | |
| SIGSTKFLT | |
| SIGSTOP | |
| SIGSYS | |
| SIGTERM | |
| SIGTRAP | |
| SIGTSTP | |
| SIGTTIN | |
| SIGTTOU | |
| SIGURG | |
| SIGUSR1 | |
| SIGUSR2 | |
| SIGVTALRM | |
| SIGWINCH | |
| SIGXCPU | |
| SIGXFSZ | |
| SIG_BLOCK | |
| SIG_DFL | |
| SIG_IGN | |
| SIG_SETMASK | |
| SIG_UNBLOCK | |
| SPACE_32 | Only allocate memory within the 32-bit physical memory space. This is necessary for some devices may not support 64-bit memory. |
| SPACE_64 | The frame that will be allocated, is going to reside anywhere in 64-bit space. This flag is redundant for the most part, except when overriding some other default. |
| WCONTINUED | |
| WNOHANG | |
| WUNTRACED |
Functions
| wcoredump | True if status indicates a core dump was created. |
| wexitstatus | If wifexited(status), the exit status. |
| wifcontinued | True if status indicates the child continued after a stop. |
| wifexited | True if status indicates normal termination. |
| wifsignaled | True if STATUS indicates termination by a signal. |
| wifstopped | True if status indicates the child is stopped. |
| wstopsig | If wifstopped(status), the signal that stopped the child. |
| wtermsig | If wifsignaled(status), the terminating signal. |