Module types
Available on crate feature
dep_nc
only.Structs§
- __
kernel_ fsid_ t - aio_
sigset_ t - blk_
io_ trace_ remap_ t - The remap event
- blk_
io_ trace_ t - The trace itself
- blk_
user_ trace_ setup_ t - User setup structure passed with BLKTRACESETUP
- bpf_
attr_ btf_ load_ t - anonymous struct for
BPF_BTF_LOAD
- bpf_
attr_ element_ t - anonymous struct used by
BPF_MAP_*_ELEM
commands - bpf_
attr_ getid_ t - anonymous struct used by
BPF_*_GET_*_ID
- bpf_
attr_ info_ t - anonymous struct used by
BPF_OBJ_GET_INFO_BY_FD
- bpf_
attr_ map_ create_ t - anonymous struct used by
BPF_MAP_CREATE
command - bpf_
attr_ obj_ t - anonymous struct used by
BPF_OBJ_*
commands - bpf_
attr_ prog_ attach_ t - anonymous struct used by
BPF_PROG_ATTACH/DETACH
commands - bpf_
attr_ prog_ load_ t - anonymous struct used by
BPF_PROG_LOAD
command - bpf_
attr_ prog_ test_ t - anonymous struct used by
BPF_PROG_TEST_RUN
command - bpf_
attr_ query_ t - anonymous struct used by
BPF_PROG_QUERY
command - bpf_
attr_ raw_ tracepoint_ t - bpf_
attr_ task_ fd_ query_ t - bpf_
btf_ info_ t - bpf_
cgroup_ dev_ ctx_ t - bpf_
cgroup_ storage_ key_ t - bpf_
fib_ lookup_ t - bpf_
flow_ keys_ ipv4_ t - bpf_
flow_ keys_ ipv6_ t - bpf_
flow_ keys_ t - bpf_
func_ info_ t - bpf_
insn_ t - bpf_
line_ info_ t - bpf_
lpm_ trie_ key_ t - Key of a
BPF_MAP_TYPE_LPM_TRIE
entry - bpf_
map_ info_ t - bpf_
perf_ event_ value_ t - bpf_
prog_ info_ t - bpf_
raw_ tracepoint_ args_ t - bpf_
sock_ addr_ t - Use
bpf_sock_addr
struct to access socket fields and sockaddr struct passed by user and intended to be used by socket (e.g. to bind to, depends on attach attach type). - bpf_
sock_ ops_ t - User
bpf_sock_ops
struct to access socket values and specify request ops and their replies. - bpf_
sock_ t - bpf_
sock_ tuple_ ipv4_ t - bpf_
sock_ tuple_ ipv6_ t - bpf_
spin_ lock_ t - bpf_
stack_ build_ id_ t - bpf_
tcp_ sock_ t - cachestat_
range_ t - cachestat_
t - cap_
user_ data_ t - cap_
user_ header_ t - clone_
args_ t - Arguments for the clone3 syscall.
- cmsghdr_
t - POSIX 1003.1g - ancillary data object information
Ancillary data consits of a sequence of pairs of
(
cmsghdr, cmsg_data[]
) - compat_
statfs64_ t - IA64 and
x86_64
need to avoid the 32-bit padding at the end, to be compatible with the i386 ABI - cpu_
set_ t - epoll_
event_ t - f_
owner_ ex_ t - fd_
set_ t - fiemap_
extent_ t - fiemap_
t - file_
clone_ range_ t - file_
dedupe_ range_ info_ t - from struct
btrfs_ioctl_file_extent_same_info
- file_
dedupe_ range_ t - from struct
btrfs_ioctl_file_extent_same_args
- file_
handle_ t - files_
stat_ struct_ t - And dynamically-tunable limits and defaults:
- flock64_
t - flock_t
- fscrypt_
policy_ t - fsid_t
- fstrim_
range_ t - fsxattr_
t - Structure for
FS_IOC_FSGETXATTR[A]
andFS_IOC_FSSETXATTR
. - futex_
waitv_ t - A waiter for vectorized wait.
- getcpu_
cache_ t - Cache for
getcpu()
to speed it up. Results might be a short time out of date, but will be faster. - group_
filter_ t - group_
req_ t - group_
source_ req_ t - if_
dqblk_ t - if_
dqinfo_ t - if_
nextdqblk_ t - in6_
addr_ t - in6_
flowlabel_ req_ t - in_
addr_ t - Internet address.
- in_
pktinfo_ t - inodes_
stat_ t - inotify_
event_ t - struct
inotify_event
- structure read from the inotify device for each event - io_
cqring_ offsets_ t - io_
event_ t read()
from/dev/aio
returns these structures.- io_
file_ t - io_
sqring_ offsets_ t - Filled with the offset for
mmap(2)
- io_
uring_ cqe_ t - IO completion data structure (Completion Queue Entry)
- io_
uring_ files_ update_ t - io_
uring_ params_ t - Passed in for
io_uring_setup(2)
. Copied back with updated info on success - io_
uring_ probe_ op_ t - io_
uring_ probe_ t - io_
uring_ sqe_ buf_ t - io_
uring_ sqe_ t - IO submission data structure (Submission Queue Entry)
- iocb_t
- we always use a 64bit
off_t
when communicating with userland. its up to libraries to do the proper padding andaio_error
abstraction - iovec_t
- Berkeley style UIO structures
- ip_
mreq_ source_ t - ip_
mreq_ t - Request struct for multicast socket ops
- ip_
mreqn_ t - ip_
msfilter_ t - ipc64_
perm_ t - The generic
ipc64_perm
structure: Note extra padding because this structure is passed back and forth between kernel and user space. - ipc_
kludge_ t - These are used to wrap system calls. See architecture code for ugly details..
- ipc_
perm_ t - Obsolete, used only for backwards compatibility and libc5 compiles
- ipv6_
mreq_ t - itimerspec64_
t - itimerspec_
t - itimerval_
t - kcmp_
epoll_ slot_ t - Slot for
KCMP_EPOLL_TFD
- kernel_
clone_ args_ t - kernel_
itimerspec_ t - kernel_
sock_ timeval_ t - kernel_
sockaddr_ storage_ t - kernel_
timespec_ t - kernel_
timex_ t - kernel_
timex_ timeval_ t - kernle_
old_ timeval_ t - legacy timeval structure, only embedded in structures that traditionally used ‘timeval’ to pass time intervals (not absolute times).
- kexec_
segment_ t - This structure is used to hold the arguments that are used when loading kernel binaries.
- ktermios_
t - linger_
t - linux_
dirent64_ t - linux_
dirent_ t - mmsghdr_
t - For recvmmsg/sendmmsg
- mnt_
id_ req_ t - Structure for passing mount ID and miscellaneous parameters to
statmount(2)
andlistmount(2)
. - mount_
attr_ t mount_setattr()
- mq_
attr_ t - msgbuf_
t - message buffer for msgsnd and msgrcv calls
- msghdr_
t - As we do 4.4BSD message passing we use a 4.4BSD message passing
system, not 4.3. Thus
msg_accrights(len)
are now missing. They belong in an obscure libc emulation or the bin. - msginfo_
t - buffer for msgctl calls
IPC_INFO
,MSG_INFO
- msqid64_
ds_ t - Generic
msqid64_ds
structure. - msqid_
ds_ t - new_
utsname_ t - open_
how_ t - Arguments for how openat2(2) should open the target path. If only flags and mode are non-zero, then openat2(2) operates very similarly to openat(2).
- perf_
branch_ entry_ t - single taken branch record layout:
- perf_
event_ attr_ t - Hardware
event_id
to monitor via a performance monitoring event: - perf_
event_ header_ t - perf_
event_ mmap_ page_ cap_ detail_ t - perf_
event_ mmap_ page_ t - Structure of the page that can be mapped via mmap
- perf_
event_ query_ bpf_ t - Structure used by below
PERF_EVENT_IOC_QUERY_BPF
command to query bpf programs attached to the same perf tracepoint as the given perf event. - perf_
mem_ data_ mem_ t - perf_
ns_ link_ info_ t - pollfd_
t - prctl_
mm_ map_ t - This structure provides new memory descriptor
map which mostly modifies
/proc/pid/stat[m]
output for a task. This mostly done in a sake of checkpoint/restore functionality. - pthread_
barrierattr_ t - pthread_
condattr_ t - pthread_
mutexattr_ t - pthread_
rwlockattr_ t - ptrace_
peeksiginfo_ args_ t - ptrace_
syscall_ info_ seccomp_ entry_ t - ptrace_
syscall_ info_ seccomp_ exit_ t - ptrace_
syscall_ info_ seccomp_ seccomp_ t - ptrace_
syscall_ info_ t - rlimit64_
t - rlimit_
t - robust_
list_ head_ t - Per-thread list head:
- robust_
list_ t - Support for robust futexes: the kernel cleans up held futexes at thread exit time.
- rseq_
cs_ ptr_ t - rseq_
cs_ t - struct
rseq_cs
is aligned on 4 * 8 bytes to ensure it is always contained within a single cache-line. It is usually declared as link-time constant data. - rseq_t
- struct rseq is aligned on 4 * 8 bytes to ensure it is always contained within a single cache-line.
- rusage_
t - sched_
attr_ t - Extended scheduling parameters data structure.
- sched_
param_ t - scm_
timestamping_ internal_ t - seccomp_
data_ t - struct
seccomp_data
- the format the BPF program executes over. - seccomp_
metadata_ t - seccomp_
notif_ resp_ t - seccomp_
notif_ sizes_ t - seccomp_
notif_ t - sembuf_
t - semop system calls takes an array of these.
- semid_
ds_ t - Obsolete, used only for backwards compatibility and libc5 compiles
- seminfo_
t - serial_
icounter_ struct_ t - Serial input interrupt line counters – external structure Four lines can interrupt: CTS, DSR, RI, DCD
- serial_
iso7816_ t - Serial interface for controlling ISO7816 settings on chips with suitable support. Set with TIOCSISO7816 and get with TIOCGISO7816 if supported by your platform.
- serial_
multiport_ struct_ t - Multiport serial configuration structure — external structure
- serial_
rs485_ t - Serial interface for controlling RS485 settings on chips with suitable support.
- serial_
struct_ t - shm_
info_ t - shmid64_
ds_ t - The
shmid64_ds
structure for x86 architecture. Note extra padding because this structure is passed back and forth between kernel and user space. - shmid_
ds_ t - Obsolete, used only for backwards compatibility and libc5 compiles
- shminfo64_
t - shminfo_
t - Obsolete, used only for backwards compatibility
- si_
kill_ t kill()
- si_rt_t
- POSIX.1b signals
- si_
sigchld_ t - SIGCHLD
- si_
sigpoll_ t - SIGPOLL
- si_
sigsys_ t - SIGSYS
- si_
timer_ t - POSIX.1b timers
- sigaction_
t - sigaltstack_
t - sigev_
thread_ t - sigevent_
t - siginfo_
intern_ t - sigset_
t - sk_
msg_ md_ t - user accessible metadata for
SK_MSG
packet hook, new fields must be added to the end of this structure - sk_
reuseport_ md_ t - sockaddr_
in6_ t - sockaddr_
in_ t - sockaddr_
t - 1003.1g requires
sa_family_t
and thatsa_data
is char. - stat_t
- statfs64_
t - ARM needs to avoid the 32-bit padding at the end, for consistency between EABI and OABI
- statfs_
t - statmount_
t - Structure for getting mount/superblock/filesystem info with
statmount(2)
. - statx_t
- Structures for the extended file attribute retrieval system call (
statx()
). - statx_
timestamp_ t - Timestamp structure for the timestamps in struct statx.
- sysctl_
args_ t - sysinfo_
t - termio_
t - termios2_
t - termios_
t - timespec64_
t - timespec_
t - timeval_
t - timex_t
- syscall interface - used (mainly by NTP daemon) to discipline kernel clock oscillator
- timezone_
t - tms_t
- ucred_t
- user_
desc_ t - Note on 64bit base and limit is ignored and you cannot set DS/ES/CS not to the default values if you still want to do syscalls. This call is more for 32bit mode therefore.
- ustat_t
- utimbuf_
t - winsize_
t - xdp_
md_ t - user accessible metadata for XDP packet hook new fields must be added to the end of this structure
Enums§
- IOURING_
OP - perf_
bpf_ event_ type_ t - perf_
branch_ sample_ type_ shift_ t - values to program into
branch_sample_type
whenPERF_SAMPLE_BRANCH
is set - perf_
branch_ sample_ type_ t - perf_
callchain_ context_ t - perf_
event_ read_ format_ t - The format of the data returned by
read()
on a perf event fd as specified byattr.read_format
: - perf_
event_ sample_ format_ t - Bits that can be set in
attr.sample_type
to request information in the overflow packets. - perf_
event_ type_ t perf_event_type
- perf_
hw_ cache_ id_ t - Generalized hardware cache events:
- perf_
hw_ cache_ op_ id_ t - perf_
hw_ cache_ op_ result_ id_ t - perf_
hw_ id_ t - Generalized performance event
event_id
types, used by theattr.event_id
parameter of thesys_perf_event_open()
syscall: Common hardware events, generalized by the kernel: - perf_
record_ ksymbol_ type_ t - perf_
sample_ regs_ abi_ t - Values to determine ABI of the registers dump.
- perf_
sw_ ids_ t - Special “software” events provided by the kernel, even if the hardware does not support performance events.
- perf_
type_ id_ t - attr.type
Constants§
- ABI_
DEFHANDLER_ COFF /proc/sys/abi
- ABI_
DEFHANDLER_ ELF - default handler for ELF binaries
- ABI_
DEFHANDLER_ LCAL L7 - default handler for procs using lcall7
- ABI_
DEFHANDLER_ LIBCSO - default handler for an libc.so ELF interp
- ABI_
FAKE_ UTSNAME - fake target utsname information
- ABI_
TRACE - tracing flags
- ADDRB
- address bit
- ADDR_
COMPAT_ LAYOUT - ADDR_
LIMIT_ 3GB - ADDR_
LIMIT_ 32BIT - ADDR_
NO_ RANDOMIZE - disable randomization of VA space
- ADJ_
ESTERROR - estimated time error
- ADJ_
FREQUENCY - frequency offset
- ADJ_
MAXERROR - maximum time error
- ADJ_
MICRO - select microsecond resolution
- ADJ_
NANO - select nanosecond resolution
- ADJ_
OFFSET - Mode codes (timex.mode) time offset
- ADJ_
OFFSET_ SINGLESHOT - old-fashioned adjtime
- ADJ_
OFFSET_ SS_ READ - read-only adjtime
- ADJ_
SETOFFSET - add ‘time’ to current time
- ADJ_
STATUS - clock status
- ADJ_TAI
- set TAI offset
- ADJ_
TICK - tick value
- ADJ_
TIMECONST - pll time constant
- AF_ALG
- Algorithm sockets
- AF_
APPLETALK AppleTalk
DDP- AF_ASH
- Ash
- AF_
ATMPVC - ATM PVCs
- AF_
ATMSVC - ATM SVCs
- AF_AX25
- Amateur Radio AX.25
- AF_
BLUETOOTH - Bluetooth sockets
- AF_
BRIDGE - Multiprotocol bridge
- AF_CAIF
- CAIF sockets
- AF_CAN
- Controller Area Network
- AF_
DECNET - Reserved for
DECnet
project - AF_
ECONET - Acorn Econet
- AF_IB
Native InfiniBand
address- AF_
IEEE802154 - IEEE802154 sockets
- AF_INET
- Internet IP Protocol
- AF_
INET6 - IP version 6
- AF_IPX
- Novell IPX
- AF_IRDA
- IRDA sockets
- AF_ISDN
mISDN
sockets- AF_IUCV
- IUCV sockets
- AF_KCM
- Kernel Connection Multiplexor
- AF_KEY
PF_KEY
key management API- AF_LLC
- Linux LLC
- AF_
LOCAL - POSIX name for
AF_UNIX
- AF_MAX
- For now..
- AF_MPLS
- MPLS
- AF_
NETBEUI - Reserved for 802.2LLC project
- AF_
NETLINK - AF_
NETROM - Amateur Radio NET/ROM
- AF_NFC
- NFC sockets
- AF_
PACKET - Packet family
- AF_
PHONET - Phonet sockets
- AF_
PPPOX PPPoX
sockets- AF_
QIPCRTR - Qualcomm IPC Router
- AF_RDS
- RDS sockets
- AF_ROSE
- Amateur Radio X.25 PLP
- AF_
ROUTE - Alias to emulate 4.4BSD
- AF_
RXRPC RxRPC
sockets- AF_
SECURITY - Security callback pseudo AF
- AF_SMC
- smc sockets: reserve number for
PF_SMC
protocol family that reusesAF_INET
address family - AF_SNA
- Linux SNA Project (nutters!)
- AF_TIPC
- TIPC sockets
- AF_UNIX
- Unix domain sockets
- AF_
UNSPEC - Supported address families.
- AF_
VSOCK - vSockets
- AF_
WANPIPE - Wanpipe API Sockets
- AF_X25
- Reserved for X.25 project
- AF_XDP
- XDP sockets
- ALL_
FANOTIFY_ EVENT_ BITS - ARCH_
ENABLE_ TAGGED_ ADDR - ARCH_
FORCE_ TAGGED_ SVA - ARCH_
GET_ CPUID - ARCH_
GET_ FS - ARCH_
GET_ GS - ARCH_
GET_ MAX_ TAG_ BITS - ARCH_
GET_ UNTAG_ MASK - Don’t use 0x3001-0x3004 because of old glibcs
- ARCH_
GET_ XCOMP_ GUEST_ PERM - ARCH_
GET_ XCOMP_ PERM - ARCH_
GET_ XCOMP_ SUPP - ARCH_
MAP_ VDSO_ 32 - ARCH_
MAP_ VDSO_ 64 - ARCH_
MAP_ VDSO_ X32 - ARCH_
REQ_ XCOMP_ GUEST_ PERM - ARCH_
REQ_ XCOMP_ PERM - ARCH_
SET_ CPUID - ARCH_
SET_ FS - ARCH_
SET_ GS - ARCH_
SHSTK_ DISABLE - ARCH_
SHSTK_ ENABLE - ARCH_
SHSTK_ LOCK - ARCH_
SHSTK_ SHSTK ARCH_SHSTK
_ features bits- ARCH_
SHSTK_ STATUS - ARCH_
SHSTK_ UNLOCK - ARCH_
SHSTK_ WRSS - ARCH_
XCOMP_ TILECFG - ARCH_
XCOMP_ TILEDATA - ARG_MAX
- bytes of args + environ for
exec()
- ASYNC_
CLOSING_ WAIT_ INF - For the close wait times, 0 means wait forever for serial port to flush its output. 65535 means don’t wait at all.
- ASYNC_
CLOSING_ WAIT_ NONE - AT_
EMPTY_ PATH - Allow empty relative pathname
- AT_
FDCWD - Special value used to indicate openat should use the current working directory.
- AT_
NO_ AUTOMOUNT - Suppress terminal automount traversal
- AT_
RECURSIVE - Apply to the entire subtree
- AT_
REMOVEDIR - Remove directory instead of unlinking file.
- AT_
STATX_ DONT_ SYNC - Don’t sync attributes with the server
- AT_
STATX_ FORCE_ SYNC - Force the attributes to be sync’d with the server
- AT_
STATX_ SYNC_ AS_ STAT - Do whatever
stat()
does - AT_
STATX_ SYNC_ TYPE - Type of synchronisation required from
statx()
- AT_
SYMLINK_ FOLLOW - Follow symbolic links.
- AT_
SYMLINK_ NOFOLLOW - Do not follow symbolic links.
- B0
c_cflag
bit meaning- B50
- B75
- B110
- B134
- B150
- B200
- B300
- B600
- B1200
- B1800
- B2400
- B4800
- B9600
- B19200
- B38400
- B57600
- B115200
- B230400
- B460800
- B500000
- B576000
- B921600
- B1000000
- B1152000
- B1500000
- B2000000
- B2500000
- B3000000
- B3500000
- B4000000
- BITS_
PER_ LONG - BITS_
PER_ LONG_ LONG - BLKALIGNOFF
- BLKBSZGET
- BLKBSZSET
- BLKDISCARD
- BLKDISCARDZEROES
- BLKFLSBUF
- flush buffer cache
- BLKFRAGET
- get filesystem (mm/filemap.c) read-ahead
- BLKFRASET
- set filesystem (mm/filemap.c) read-ahead
- BLKGETSIZE
- return device size /512 (long *arg)
- BLKGETSIZ
E64 - return device size in bytes (u64 *arg)
- BLKIOMIN
- BLKIOOPT
- BLKPBSZGET
- BLKRAGET
- get current read ahead setting
- BLKRASET
- set read ahead for block device
- BLKROGET
- get read-only status (0 =
read_write
) - BLKROSET
- the read-only stuff doesn’t really belong here, but any other place is probably as bad and I don’t want to create yet another include file. set device read-only (0 = read-write)
- BLKROTATIONAL
- BLKRRPART
- re-read partition table
- BLKSECDISCARD
- BLKSECTGET
- get max sectors per request (
ll_rw_blk.c
) - BLKSECTSET
- set max sectors per request (
ll_rw_blk.c
) - BLKSSZGET
- get block device sector size
- BLKTRACESETUP
- BLKTRACESTART
- BLKTRACESTOP
- BLKTRACETEARDOWN
- BLKTRACE_
BDEV_ SIZE - BLKZEROOUT
- BLK_
IO_ TRACE_ MAGIC - BLK_
IO_ TRACE_ VERSION - BLK_
TA_ ABORT - BLK_
TA_ BACKMERGE - BLK_
TA_ BOUNCE - BLK_
TA_ COMPLETE - BLK_
TA_ DRV_ DATA - BLK_
TA_ FRONTMERGE - BLK_
TA_ GETRQ - BLK_
TA_ INSERT - BLK_
TA_ ISSUE - BLK_
TA_ PLUG - BLK_
TA_ QUEUE - Trace actions in full.
- BLK_
TA_ REMAP - BLK_
TA_ REQUEUE - BLK_
TA_ SLEEPRQ - BLK_
TA_ SPLIT - BLK_
TA_ UNPLUG_ IO - BLK_
TA_ UNPLUG_ TIMER - BLK_
TC_ AHEAD - readahead
- BLK_
TC_ COMPLETE - completions
- BLK_
TC_ DISCARD - discard requests
- BLK_
TC_ DRV_ DATA - binary per-driver data
- BLK_
TC_ END - BLK_
TC_ FLUSH - flush
- BLK_
TC_ FS - fs requests
- BLK_
TC_ FUA - fua requests
- BLK_
TC_ ISSUE - issue
- BLK_
TC_ META - metadata
- BLK_
TC_ NOTIFY - special message
- BLK_
TC_ PC - pc requests
- BLK_
TC_ QUEUE - queueing/merging
- BLK_
TC_ READ - reads
- BLK_
TC_ REQUEUE - requeueing
- BLK_
TC_ SHIFT - BLK_
TC_ SYNC - sync IO
- BLK_
TC_ SYNCIO - BLK_
TC_ WRITE - writes
- BLK_
TN_ MESSAGE - BLK_
TN_ PROCESS - BLK_
TN_ TIMESTAMP - BLOCK_
SIZE - BLOCK_
SIZE_ BITS - BMAP_
IOCTL - obsolete - kept for compatibility
- BOTHER
- BPF_
ADJ_ ROOM_ NET - Mode for
BPF_FUNC_skb_adjust_room
helper. - BPF_
ALU64 - alu mode in double word width
- BPF_ANY
- flags for
BPF_MAP_UPDATE_ELEM
command create new element or update existing - BPF_
ARSH - sign extending arithmetic shift right
- BPF_
BTF_ GET_ FD_ BY_ ID - BPF_
BTF_ LOAD - BPF_
BUILD_ ID_ SIZE - BPF_
CALL - function call
- BPF_
CGROUP_ DEVICE - BPF_
CGROUP_ INET4_ BIND - BPF_
CGROUP_ INET4_ CONNECT - BPF_
CGROUP_ INET4_ POST_ BIND - BPF_
CGROUP_ INET6_ BIND - BPF_
CGROUP_ INET6_ CONNECT - BPF_
CGROUP_ INET6_ POST_ BIND - BPF_
CGROUP_ INET_ EGRESS - BPF_
CGROUP_ INET_ INGRESS - BPF_
CGROUP_ INET_ SOCK_ CREATE - BPF_
CGROUP_ SOCK_ OPS - BPF_
CGROUP_ UDP4_ SENDMSG - BPF_
CGROUP_ UDP6_ SENDMSG - BPF_
DEVCG_ ACC_ MKNOD - BPF_
DEVCG_ ACC_ READ - BPF_
DEVCG_ ACC_ WRITE - BPF_
DEVCG_ DEV_ BLOCK - BPF_
DEVCG_ DEV_ CHAR - BPF_
DROP - BPF_DW
- ld/ldx fields double word (64-bit)
- BPF_END
- change endianness of a register flags for endianness conversion:
- BPF_
EXIST - update existing element
- BPF_
EXIT - function return
- BPF_
FD_ TYPE_ KPROBE (symbol + offset)
or addr- BPF_
FD_ TYPE_ KRETPROBE (symbol + offset)
or addr- BPF_
FD_ TYPE_ RAW_ TRACEPOINT - tp name
- BPF_
FD_ TYPE_ TRACEPOINT - tp name
- BPF_
FD_ TYPE_ UPROBE filename + offset
- BPF_
FD_ TYPE_ URETPROBE filename + offset
- BPF_
FIB_ LKUP_ RET_ BLACKHOLE - dest is blackholed; can be dropped
- BPF_
FIB_ LKUP_ RET_ FRAG_ NEEDED - fragmentation required to fwd
- BPF_
FIB_ LKUP_ RET_ FWD_ DISABLED - fwding is not enabled on ingress
- BPF_
FIB_ LKUP_ RET_ NOT_ FWDED - packet is not forwarded
- BPF_
FIB_ LKUP_ RET_ NO_ NEIGH - no neighbor entry for nh
- BPF_
FIB_ LKUP_ RET_ PROHIBIT - dest not allowed; can be dropped
- BPF_
FIB_ LKUP_ RET_ SUCCESS - lookup successful
- BPF_
FIB_ LKUP_ RET_ UNREACHABLE - dest is unreachable; can be dropped
- BPF_
FIB_ LKUP_ RET_ UNSUPP_ LWT - fwd requires encapsulation
- BPF_
FIB_ LOOKUP_ DIRECT - DIRECT: Skip the FIB rules and go to FIB table associated with device OUTPUT: Do lookup from egress perspective; default is ingress
- BPF_
FIB_ LOOKUP_ OUTPUT - BPF_
FLOW_ DISSECTOR - BPF_
FROM_ BE - BPF_
FROM_ LE - BPF_
F_ ALLOW_ MULTI - BPF_
F_ ALLOW_ OVERRIDE - cgroup-bpf attach flags used in
BPF_PROG_ATTACH
command - BPF_
F_ ANY_ ALIGNMENT - If
BPF_F_ANY_ALIGNMENT
is used inBPF_PROF_LOAD
command, the verifier will allow any alignment whatsoever. - BPF_
F_ CTXLEN_ MASK BPF_FUNC_perf_event_output
forsk_buff
input context.- BPF_
F_ CURRENT_ CPU - BPF_
F_ CURRENT_ NETNS - Current network namespace
- BPF_
F_ DONT_ FRAGMENT - BPF_
F_ FAST_ STACK_ CMP - flags used by
BPF_FUNC_get_stackid
only. - BPF_
F_ HDR_ FIELD_ MASK BPF_FUNC_l3_csum_replace
andBPF_FUNC_l4_csum_replace
flags.- BPF_
F_ INDEX_ MASK BPF_FUNC_perf_event_output
,BPF_FUNC_perf_event_read
andBPF_FUNC_perf_event_read_value
flags.- BPF_
F_ INGRESS BPF_FUNC_clone_redirect
andBPF_FUNC_redirect
flags.- BPF_
F_ INVALIDATE_ HASH - BPF_
F_ LOCK - spin_lock-ed
map_lookup/map_update
- BPF_
F_ MARK_ ENFORCE - BPF_
F_ MARK_ MANGLED_ 0 - BPF_
F_ NO_ COMMON_ LRU - Instead of having one common LRU list in the
BPF_MAP_TYPE_LRU_[PERCPU_]
HASH map, use a percpu LRU list which can scale and perform better. - BPF_
F_ NO_ PREALLOC - flags for
BPF_MAP_CREATE
command - BPF_
F_ NUMA_ NODE - Specify numa node during map creation
- BPF_
F_ PSEUDO_ HDR BPF_FUNC_l4_csum_replace
flags.- BPF_
F_ QUERY_ EFFECTIVE - flags for
BPF_PROG_QUERY
- BPF_
F_ RDONLY - Flags for accessing BPF object
- BPF_
F_ RECOMPUTE_ CSUM BPF_FUNC_skb_store_bytes
flags.- BPF_
F_ REUSE_ STACKID - BPF_
F_ SEQ_ NUMBER - BPF_
F_ SKIP_ FIELD_ MASK - flags for both
BPF_FUNC_get_stackid
andBPF_FUNC_get_stack
. - BPF_
F_ STACK_ BUILD_ ID - Flag for
stack_map
, storebuild_id+offset
instead of pointer - BPF_
F_ STRICT_ ALIGNMENT - The verifier will perform strict alignment checking.
- BPF_
F_ TUNINFO_ IPV6 BPF_FUNC_skb_set_tunnel_key
andBPF_FUNC_skb_get_tunnel_key
flags.- BPF_
F_ USER_ BUILD_ ID - flags used by
BPF_FUNC_get_stack
only. - BPF_
F_ USER_ STACK - BPF_
F_ WRONLY - BPF_
F_ ZERO_ CSUM_ TX BPF_FUNC_skb_set_tunnel_key
flags.- BPF_
F_ ZERO_ SEED - Zero-initialize hash function seed. This should only be used for testing.
- BPF_
HDR_ START_ MAC - Mode for
BPF_FUNC_skb_load_bytes_relative
helper. - BPF_
HDR_ START_ NET - BPF_JLE
- LE is unsigned, ‘<=’
- BPF_JLT
- LT is unsigned, ‘<’
- BPF_
JMP32 - Extended instruction set based on top of classic BPF instruction classes jmp mode in word width
- BPF_JNE
- jmp encodings jump !=
- BPF_
JSGE - SGE is signed ‘>=’, GE in x86
- BPF_
JSGT - SGT is signed ‘>’, GT in x86
- BPF_
JSLE - SLE is signed, ‘<=’
- BPF_
JSLT - SLT is signed, ‘<’
- BPF_
LIRC_ MODE2 - BPF_
LWT_ ENCAP_ IP - BPF_
LWT_ ENCAP_ SEG6 - Encapsulation type for
BPF_FUNC_lwt_push_encap
helper. - BPF_
LWT_ ENCAP_ SEG6_ INLINE - BPF_
LWT_ REROUTE - BPF_
MAP_ CREATE - BPF syscall commands, see
bpf(2)
man-page for details. - BPF_
MAP_ DELETE_ ELEM - BPF_
MAP_ GET_ FD_ BY_ ID - BPF_
MAP_ GET_ NEXT_ ID - BPF_
MAP_ GET_ NEXT_ KEY - BPF_
MAP_ LOOKUP_ AND_ DELETE_ ELEM - BPF_
MAP_ LOOKUP_ ELEM - BPF_
MAP_ TYPE_ ARRAY - BPF_
MAP_ TYPE_ ARRAY_ OF_ MAPS - BPF_
MAP_ TYPE_ CGROUP_ ARRAY - BPF_
MAP_ TYPE_ CGROUP_ STORAGE - BPF_
MAP_ TYPE_ CPUMAP - BPF_
MAP_ TYPE_ DEVMAP - BPF_
MAP_ TYPE_ HASH - BPF_
MAP_ TYPE_ HASH_ OF_ MAPS - BPF_
MAP_ TYPE_ LPM_ TRIE - BPF_
MAP_ TYPE_ LRU_ HASH - BPF_
MAP_ TYPE_ LRU_ PERCPU_ HASH - BPF_
MAP_ TYPE_ PERCPU_ ARRAY - BPF_
MAP_ TYPE_ PERCPU_ CGROUP_ STORAGE - BPF_
MAP_ TYPE_ PERCPU_ HASH - BPF_
MAP_ TYPE_ PERF_ EVENT_ ARRAY - BPF_
MAP_ TYPE_ PROG_ ARRAY - BPF_
MAP_ TYPE_ QUEUE - BPF_
MAP_ TYPE_ REUSEPORT_ SOCKARRAY - BPF_
MAP_ TYPE_ SOCKHASH - BPF_
MAP_ TYPE_ SOCKMAP - BPF_
MAP_ TYPE_ STACK - BPF_
MAP_ TYPE_ STACK_ TRACE - BPF_
MAP_ TYPE_ UNSPEC - BPF_
MAP_ TYPE_ XSKMAP - BPF_
MAP_ UPDATE_ ELEM - BPF_MOV
- alu/jmp fields mov reg to reg
- BPF_
NOEXIST - create new element if it didn’t exist
- BPF_
OBJ_ GET - BPF_
OBJ_ GET_ INFO_ BY_ FD - BPF_
OBJ_ NAME_ LEN - BPF_
OBJ_ PIN - BPF_OK
- Generic BPF return codes which all BPF program types may support.
- BPF_
PROG_ ATTACH - BPF_
PROG_ DETACH - BPF_
PROG_ GET_ FD_ BY_ ID - BPF_
PROG_ GET_ NEXT_ ID - BPF_
PROG_ LOAD - BPF_
PROG_ QUERY - BPF_
PROG_ TEST_ RUN - BPF_
PROG_ TYPE_ CGROUP_ DEVICE - BPF_
PROG_ TYPE_ CGROUP_ SKB - BPF_
PROG_ TYPE_ CGROUP_ SOCK - BPF_
PROG_ TYPE_ CGROUP_ SOCK_ ADDR - BPF_
PROG_ TYPE_ FLOW_ DISSECTOR - BPF_
PROG_ TYPE_ KPROBE - BPF_
PROG_ TYPE_ LIRC_ MODE2 - BPF_
PROG_ TYPE_ LWT_ IN - BPF_
PROG_ TYPE_ LWT_ OUT - BPF_
PROG_ TYPE_ LWT_ SEG6LOCAL - BPF_
PROG_ TYPE_ LWT_ XMIT - BPF_
PROG_ TYPE_ PERF_ EVENT - BPF_
PROG_ TYPE_ RAW_ TRACEPOINT - BPF_
PROG_ TYPE_ SCHED_ ACT - BPF_
PROG_ TYPE_ SCHED_ CLS - BPF_
PROG_ TYPE_ SK_ MSG - BPF_
PROG_ TYPE_ SK_ REUSEPORT - BPF_
PROG_ TYPE_ SK_ SKB - BPF_
PROG_ TYPE_ SOCKET_ FILTER - BPF_
PROG_ TYPE_ SOCK_ OPS - BPF_
PROG_ TYPE_ TRACEPOINT - BPF_
PROG_ TYPE_ UNSPEC - Program types of bpf.
- BPF_
PROG_ TYPE_ XDP - BPF_
PSEUDO_ CALL - when
bpf_call->src_reg == BPF_PSEUDO_CALL
,bpf_call->imm == pc-relative
offset to another bpf function - BPF_
PSEUDO_ MAP_ FD - when
bpf_ldimm64->src_reg == BPF_PSEUDO_MAP_FD
,bpf_ldimm64->imm == fd
- BPF_
RAW_ TRACEPOINT_ OPEN - BPF_
REDIRECT - BPF_
REG_ 0 - Register numbers
- BPF_
REG_ 1 - BPF_
REG_ 2 - BPF_
REG_ 3 - BPF_
REG_ 4 - BPF_
REG_ 5 - BPF_
REG_ 6 - BPF_
REG_ 7 - BPF_
REG_ 8 - BPF_
REG_ 9 - BPF_
REG_ 10 - BPF_
SK_ MSG_ VERDICT - BPF_
SK_ SKB_ STREAM_ PARSER - BPF_
SK_ SKB_ STREAM_ VERDICT - BPF_
SOCK_ OPS_ ACTIVE_ ESTABLISHED_ CB - Calls BPF program when an active connection is established
- BPF_
SOCK_ OPS_ ALL_ CB_ FLAGS - Mask of all currently supported cb flags
- BPF_
SOCK_ OPS_ BASE_ RTT - Get base RTT.
- BPF_
SOCK_ OPS_ NEEDS_ ECN - If connection’s congestion control needs ECN
- BPF_
SOCK_ OPS_ PASSIVE_ ESTABLISHED_ CB - Calls BPF program when a passive connection is established
- BPF_
SOCK_ OPS_ RETRANS_ CB - Called when skb is retransmitted.
- BPF_
SOCK_ OPS_ RETRANS_ CB_ FLAG - BPF_
SOCK_ OPS_ RTO_ CB - Called when an RTO has triggered.
- BPF_
SOCK_ OPS_ RTO_ CB_ FLAG - Definitions for
bpf_sock_ops_cb_flags
- BPF_
SOCK_ OPS_ RWND_ INIT - Should return initial advertized window (in packets) or -1 if default value should be used
- BPF_
SOCK_ OPS_ STATE_ CB - Called when TCP changes state.
- BPF_
SOCK_ OPS_ STATE_ CB_ FLAG - BPF_
SOCK_ OPS_ TCP_ CONNECT_ CB - Calls BPF program right before an active connection is initialized
- BPF_
SOCK_ OPS_ TCP_ LISTEN_ CB - Called on listen(2), right after socket transition to LISTEN state.
- BPF_
SOCK_ OPS_ TIMEOUT_ INIT - Should return SYN-RTO value to use or -1 if default value should be used
- BPF_
SOCK_ OPS_ VOID - List of known BPF
sock_ops
operators. New entries can only be added at the end - BPF_
STACK_ BUILD_ ID_ EMPTY - user space need an empty entry to identify end of a trace
- BPF_
STACK_ BUILD_ ID_ IP - couldn’t get
build_id
, fallback to ip - BPF_
STACK_ BUILD_ ID_ VALID - with valid
build_id
and offset - BPF_
TAG_ SIZE - BPF_
TASK_ FD_ QUERY - BPF_
TCP_ CLOSE - BPF_
TCP_ CLOSE_ WAIT - BPF_
TCP_ CLOSING - Now a valid state
- BPF_
TCP_ ESTABLISHED - List of TCP states.
- BPF_
TCP_ FIN_ WAIT1 - BPF_
TCP_ FIN_ WAIT2 - BPF_
TCP_ LAST_ ACK - BPF_
TCP_ LISTEN - BPF_
TCP_ MAX_ STATES - Leave at the end!
- BPF_
TCP_ NEW_ SYN_ RECV - BPF_
TCP_ SYN_ RECV - BPF_
TCP_ SYN_ SENT - BPF_
TCP_ TIME_ WAIT - BPF_
TO_ BE - convert to big-endian
- BPF_
TO_ LE - convert to little-endian
- BPF_
XADD - exclusive add
- BRKINT
- Signal interrupt on break
- BS0
- BS1
- BSDLY
- BUS_
ADRALN - SIGBUS
si_codes
invalid address alignment - BUS_
ADRERR - non-existent physical address
- BUS_
ISA_ MEM_ BASE /proc/sys/bus/isa
- BUS_
ISA_ PORT_ BASE - BUS_
ISA_ PORT_ SHIFT - BUS_
MCEERR_ AO - hardware memory error detected in process but not consumed: action optional
- BUS_
MCEERR_ AR - hardware memory error consumed on a machine check: action required
- BUS_
OBJERR - object specific hardware error
- Blktrace_
running - Blktrace_
setup - Blktrace_
stopped - CAP_
AUDIT_ CONTROL - Allow configuration of audit via unicast netlink socket.
- CAP_
AUDIT_ READ - Allow reading the audit log via multicast netlink socket.
- CAP_
AUDIT_ WRITE - Allow writing the audit log via unicast netlink socket.
- CAP_
BLOCK_ SUSPEND - Allow preventing system suspends.
- CAP_
CHOWN - POSIX-draft defined capabilities.
In a system with the
_POSIX_CHOWN_RESTRICTED
option defined, this overrides the restriction of changing file ownership and group ownership. - CAP_
DAC_ OVERRIDE - Override all DAC access, including ACL execute access if
_POSIX_ACL
is defined. Excluding DAC access covered byCAP_LINUX_IMMUTABLE
. - CAP_
DAC_ READ_ SEARCH - Overrides all DAC restrictions regarding read and search on files
and directories, including ACL restrictions if
_POSIX_ACL
is defined. Excluding DAC access covered byCAP_LINUX_IMMUTABLE
. - CAP_
FOWNER - Overrides all restrictions about allowed operations on files, where
file owner ID must be equal to the user ID, except where
CAP_FSETID
is applicable. It doesn’t override MAC and DAC restrictions. - CAP_
FSETID - Overrides the following restrictions that the effective user ID
shall match the file owner ID when setting the
S_ISUID
andS_ISGID
bits on that file. - CAP_
IPC_ LOCK - Allow locking of shared memory segments Allow mlock and mlockall (which doesn’t really have anything to do with IPC)
- CAP_
IPC_ OWNER - Override IPC ownership checks
- CAP_
KILL - Overrides the restriction that the real or effective user ID of a process sending a signal must match the real or effective user ID of the process receiving the signal.
- CAP_
LAST_ CAP - CAP_
LEASE - Allow taking of leases on files.
- CAP_
LINUX_ IMMUTABLE - Allow modification of
S_IMMUTABLE
andS_APPEND
file attributes - CAP_
MAC_ ADMIN - Allow MAC configuration or state changes.
- CAP_
MAC_ OVERRIDE - Override MAC access.
- CAP_
MKNOD - Allow the privileged aspects of
mknod()
. - CAP_
NET_ ADMIN - Network administration capacity.
- CAP_
NET_ BIND_ SERVICE - Allows binding to TCP/UDP sockets below 1024 Allows binding to ATM VCIs below 32
- CAP_
NET_ BROADCAST - Allow broadcasting, listen to multicast
- CAP_
NET_ RAW - Allow use of RAW sockets
Allow use of PACKET sockets
Allow binding to any address for transparent proxying (also via
NET_ADMIN
) - CAP_
SETFCAP - CAP_
SETGID - Allows setgid(2) manipulation Allows setgroups(2) Allows forged gids on socket credentials passing.
- CAP_
SETPCAP - Linux-specific capabilities
- CAP_
SETUID - Allows set*uid(2) manipulation (including fsuid). Allows forged pids on socket credentials passing.
- CAP_
SYSLOG - Allow configuring the kernel’s syslog (printk behaviour).
- CAP_
SYS_ ADMIN - Administration capacity.
- CAP_
SYS_ BOOT - Allow use of
reboot()
- CAP_
SYS_ CHROOT - Allow use of
chroot()
- CAP_
SYS_ MODULE - Insert and remove kernel modules - modify kernel without limit
- CAP_
SYS_ NICE - Allow raising priority and setting priority on other (different UID) processes.
- CAP_
SYS_ PACCT - Allow configuration of process accounting
- CAP_
SYS_ PTRACE - Allow
ptrace()
of any process - CAP_
SYS_ RAWIO - Allow ioperm/iopl access
Allow sending USB messages to any device via
/dev/bus/usb
- CAP_
SYS_ RESOURCE - Override resource limits. Set resource limits.
- CAP_
SYS_ TIME - Allow manipulation of system clock.
- CAP_
SYS_ TTY_ CONFIG - Allow configuration of tty devices.
- CAP_
WAKE_ ALARM - Allow triggering something that will wake the system.
- CBAUD
c_cflag
bit meaning- CBAUDEX
- CGROUP_
NS_ INDEX - CIBAUD
- input baud rate;
- CLD_
CONTINUED - stopped child has continued
- CLD_
DUMPED - child terminated abnormally
- CLD_
EXITED - There is an additional set of SIGTRAP
si_codes
used by ptrace that are of the form:((PTRACE_EVENT_XXX << 8) | SIGTRAP)
SIGCHLDsi_codes
child has exited - CLD_
KILLED - child was killed
- CLD_
STOPPED - child has stopped
- CLD_
TRAPPED - traced child has trapped
- CLOCAL
- CLOCKS_
MASK - CLOCKS_
MONO - CLOCK_
BOOTTIME - CLOCK_
BOOTTIME_ ALARM - CLOCK_
MONOTONIC - CLOCK_
MONOTONIC_ COARSE - CLOCK_
MONOTONIC_ RAW - CLOCK_
PROCESS_ CPUTIME_ ID - CLOCK_
REALTIME - The IDs of the various system clocks (for POSIX.1b interval timers):
- CLOCK_
REALTIME_ ALARM - CLOCK_
REALTIME_ COARSE - CLOCK_
SGI_ CYCLE - The driver implementing this got removed. The clock ID is kept as a place holder. Do not reuse!
- CLOCK_
TAI - CLOCK_
THREAD_ CPUTIME_ ID - CLONE_
ARGS_ SIZE_ VER0 - sizeof first published struct
- CLONE_
ARGS_ SIZE_ VER1 - sizeof second published struct
- CLONE_
ARGS_ SIZE_ VER2 - sizeof third published struct
- CLONE_
CHILD_ CLEARTID - clear the TID in the child
- CLONE_
CHILD_ SETTID - set the TID in the child
- CLONE_
CLEAR_ SIGHAND - Flags for the
clone3()
syscall. Clear any signal handler and reset toSIG_DFL
. - CLONE_
DETACHED - Unused, ignored
- CLONE_
FILES - set if open files shared between processes
- CLONE_
FS - set if fs info shared between processes
- CLONE_
INTO_ CGROUP - Clone into a specific cgroup given the right permissions.
- CLONE_
IO - Clone io context
- CLONE_
NEWCGROUP - New cgroup namespace
- CLONE_
NEWIPC - New ipc namespace
- CLONE_
NEWNET - New network namespace
- CLONE_
NEWNS - New mount namespace group
- CLONE_
NEWPID - New pid namespace
- CLONE_
NEWTIME - cloning flags intersect with CSIGNAL so can be used with unshare and
clone3()
syscalls only: New time namespace - CLONE_
NEWUSER - New user namespace
- CLONE_
NEWUTS - New utsname namespace
- CLONE_
PARENT - set if we want to have the same parent as the cloner
- CLONE_
PARENT_ SETTID - set the TID in the parent
- CLONE_
PIDFD - set if a pidfd should be placed in parent
- CLONE_
PTRACE - set if we want to let tracing continue on the child too
- CLONE_
SETTLS - create a new TLS for the child
- CLONE_
SIGHAND - set if signal handlers and blocked signals shared
- CLONE_
SYSVSEM - share system V
SEM_UNDO
semantics - CLONE_
THREAD - Same thread group?
- CLONE_
UNTRACED - set if the tracing process can’t force
CLONE_PTRACE
on this clone - CLONE_
VFORK - set if the parent wants the child to wake it up on
mm_release
- CLONE_
VM - set if VM shared between processes
- CLOSE_
RANGE_ CLOEXEC - Set the
FD_CLOEXEC
bit instead of closing the file descriptor. - CLOSE_
RANGE_ UNSHARE - Unshare the file descriptor table before closing file descriptors.
- CLUSTER_
FLAG_ FREE - This cluster is free
- CLUSTER_
FLAG_ HUGE - This cluster is backing a transparent huge page
- CLUSTER_
FLAG_ NEXT_ NULL - This cluster has no next cluster
- CMSPAR
- mark or space (stick) parity
- COMPACT_
CLUSTER_ MAX - COUNT_
CONTINUED - Flag
swap_map
continuation for full count - CPU_
SET_ BYTES - CR0
- CR1
- CR2
- CR3
- CRDLY
- CREAD
- CRTSCTS
- flow control
- CS
- CS5
- CS6
- CS7
- CS8
- CSIGNAL
- cloning flags: signal mask to be sent at exit
- CSIZE
- CSTOPB
- CTL_ABI
- Binary emulation
- CTL_
ARLAN - arlan wireless driver
- CTL_BUS
- Busses
- CTL_
BUS_ ISA CTL_BUS
names:- CTL_CPU
- CPU stuff (speed scaling, etc)
- CTL_
DEBUG - Debugging
- CTL_DEV
- Devices
- CTL_FRV
- frv specific sysctls
- CTL_FS
- Filesystems
- CTL_
KERN - Top-level names:
- CTL_
MAXNAME - how many path components do we allow in a call to sysctl
In other words, what is the largest acceptable value for the nlen member
of a struct
sysctl_args_t
to have? - CTL_NET
- Networking
- CTL_PM
- frv power management
- CTL_
PROC - removal breaks strace(1) compilation
- CTL_
S390DBF - s390 debug
- CTL_
SUNRPC - sunrpc debug
- CTL_VM
- VM management
- DEV_
CDROM CTL_DEV
names:- DEV_
CDROM_ AUTOCLOSE - DEV_
CDROM_ AUTOEJECT - DEV_
CDROM_ CHECK_ MEDIA - DEV_
CDROM_ DEBUG - DEV_
CDROM_ INFO /proc/sys/dev/cdrom
- DEV_
CDROM_ LOCK - DEV_
HWMON - DEV_
IPMI - DEV_
IPMI_ POWEROFF_ POWERCYCLE /proc/sys/dev/ipmi
- DEV_
MAC_ HID - DEV_
MAC_ HID_ ADB_ MOUSE_ SENDS_ KEYCODES - DEV_
MAC_ HID_ KEYBOARD_ LOCK_ KEYCODES - DEV_
MAC_ HID_ KEYBOARD_ SENDS_ LINUX_ KEYCODES /proc/sys/dev/mac_hid
- DEV_
MAC_ HID_ MOUSE_ BUTTO N2_ KEYCODE - DEV_
MAC_ HID_ MOUSE_ BUTTO N3_ KEYCODE - DEV_
MAC_ HID_ MOUSE_ BUTTON_ EMULATION - DEV_
PARPORT - DEV_
PARPORT_ AUTOPROBE - DEV_
PARPORT_ BASE_ ADDR - DEV_
PARPORT_ DEFAULT /proc/sys/dev/parport
- DEV_
PARPORT_ DEFAULT_ SPINTIME - DEV_
PARPORT_ DEFAULT_ TIMESLICE /proc/sys/dev/parport/default
- DEV_
PARPORT_ DEVICES - DEV_
PARPORT_ DEVICES_ ACTIVE /proc/sys/dev/parport/parport n/devices/
- DEV_
PARPORT_ DEVICE_ TIMESLICE /proc/sys/dev/parport/parport n /devices/device n
- DEV_
PARPORT_ DMA - DEV_
PARPORT_ IRQ - DEV_
PARPORT_ MODES - DEV_
PARPORT_ SPINTIME /proc/sys/dev/parport/parport n
- DEV_
RAID - DEV_
RAID_ SPEED_ LIMIT_ MAX - DEV_
RAID_ SPEED_ LIMIT_ MIN /proc/sys/dev/raid
- DEV_
SCSI - DEV_
SCSI_ LOGGING_ LEVEL /proc/sys/dev/scsi
- DIPC
- Used by the DIPC package, try and avoid reusing it
- DN_
ACCESS - Types of directory notifications that may be requested. File accessed
- DN_
ATTRIB - File changed attibutes
- DN_
CREATE - File created
- DN_
DELETE - File removed
- DN_
MODIFY - File modified
- DN_
MULTISHOT - Don’t remove notifier
- DN_
RENAME - File renamed
- DQF_
PRIVATE - Kernel internal flags invisible to userspace
- DQF_
ROOT_ SQUASH - Root squash enabled (for v1 quota format)
- DQF_
ROOT_ SQUASH_ B - DQF_
SYS_ FILE - Quota stored in a system file
- DQF_
SYS_ FILE_ B - DT_BLK
- DT_CHR
- DT_DIR
- DT_FIFO
- DT_LNK
- DT_MAX
- 16
- DT_REG
- DT_SOCK
- DT_
UNKNOWN - these are defined by POSIX and also present in glibc’s dirent.h
- DT_WHT
- ECHO
- ECHOCTL
- ECHOE
- ECHOK
- ECHOKE
- ECHONL
- ECHOPRT
- EFD_
CLOEXEC - EFD_
NONBLOCK - EFD_
SEMAPHORE - EFLAGS
- EMT_
TAGOVF - SIGEMT
si_codes
tag overflow - EPOLLERR
- EPOLLET
- Set the Edge Triggered behaviour for the target file descriptor
- EPOLLEXCLUSIVE
- Set exclusive wakeup mode for the target file descriptor
- EPOLLHUP
- EPOLLIN
- Epoll event masks
- EPOLLMSG
- EPOLLNVAL
- EPOLLONESHOT
- Set the One Shot behaviour for the target file descriptor
- EPOLLOUT
- EPOLLPRI
- EPOLLRDBAND
- EPOLLRDHUP
- EPOLLRDNORM
- EPOLLWAKEUP
- Request the handling of system wakeup events so as to prevent system suspends from happening while those events are being processed.
- EPOLLWRBAND
- EPOLLWRNORM
- EPOLL_
CLOEXEC - Flags for
epoll_create1()
. - EPOLL_
CTL_ ADD - Valid opcodes to issue to
sys_epoll_ctl()
- EPOLL_
CTL_ DEL - EPOLL_
CTL_ MOD - EXTA
- EXTB
- EXTPROC
- FANOTIFY_
ADMIN_ INIT_ FLAGS fanotify_init()
flags that requireCAP_SYS_ADMIN
.- FANOTIFY_
CLASS_ BITS - FANOTIFY_
DIRENT_ EVENTS - Directory entry modification events - reported only to directory where entry is modified and not to a watching parent.
- FANOTIFY_
DIRONLY_ EVENT_ BITS - Events and flags relevant only for directories
- FANOTIFY_
ERROR_ EVENTS - Events that can only be reported with data type
FSNOTIFY_EVENT_ERROR
- FANOTIFY_
EVENTS - Events that user can request to be notified on
- FANOTIFY_
EVENT_ FLAGS - Extra flags that may be reported with event or control handling of events
- FANOTIFY_
FD_ EVENTS - Events that can be reported with event->fd
- FANOTIFY_
FID_ BITS - FANOTIFY_
INFO_ MODES - FANOTIFY_
INIT_ FLAGS - FANOTIFY_
INODE_ EVENTS - Events that can only be reported with data type
FSNOTIFY_EVENT_INODE
- FANOTIFY_
INTERNAL_ GROUP_ FLAGS - FANOTIFY_
MARK_ CMD_ BITS - FANOTIFY_
MARK_ FLAGS - FANOTIFY_
MARK_ IGNORE_ BITS - FANOTIFY_
MARK_ TYPE_ BITS - FANOTIFY_
METADATA_ VERSION - FANOTIFY_
OUTGOING_ EVENTS - Events that may be reported to user
- FANOTIFY_
PATH_ EVENTS - Events that can be reported with data type
FSNOTIFY_EVENT_PATH
. Note thatFAN_MODIFY
can also be reported with data typeFSNOTIFY_EVENT_INODE
. - FANOTIFY_
PERM_ CLASSES - Flags allowed to be passed from/to userspace.
- FANOTIFY_
PERM_ EVENTS - Events that require a permission response from user
- FANOTIFY_
RESPONSE_ ACCESS - These masks check for invalid bits in permission responses.
- FANOTIFY_
RESPONSE_ FLAGS - FANOTIFY_
RESPONSE_ VALID_ MASK - FANOTIFY_
UNPRIV - Internal group flags
- FANOTIFY_
USER_ INIT_ FLAGS fanotify_init()
flags that are allowed for user withoutCAP_SYS_ADMIN
.- FAN_
ACCESS - the following events that user-space can register for File was accessed
- FAN_
ACCESS_ PERM - File accessed in perm check
- FAN_
ALLOW - Legit userspace responses to a _PERM event
- FAN_
ALL_ CLASS_ BITS - Deprecated - do not use this in programs and do not add new flags here!
- FAN_
ALL_ EVENTS - Deprecated - do not use this in programs and do not add new flags here!
- FAN_
ALL_ INIT_ FLAGS - Deprecated - do not use this in programs and do not add new flags here!
- FAN_
ALL_ MARK_ FLAGS - Deprecated - do not use this in programs and do not add new flags here!
- FAN_
ALL_ OUTGOING_ EVENTS - Deprecated - do not use this in programs and do not add new flags here!
- FAN_
ALL_ PERM_ EVENTS - All events which require a permission response from userspace Deprecated - do not use this in programs and do not add new flags here!
- FAN_
ATTRIB - Metadata changed
- FAN_
AUDIT - Bitmask to create audit record for result
- FAN_
CLASS_ CONTENT - FAN_
CLASS_ NOTIF - These are NOT bitwise flags. Both bits are used together.
- FAN_
CLASS_ PRE_ CONTENT - FAN_
CLOEXEC - flags used for
fanotify_init()
- FAN_
CLOSE - helper events close
- FAN_
CLOSE_ NOWRITE - Unwritable file closed
- FAN_
CLOSE_ WRITE - Writable file closed
- FAN_
CREATE - Subfile was created
- FAN_
DELETE - Subfile was deleted
- FAN_
DELETE_ SELF - Self was deleted
- FAN_
DENY - FAN_
ENABLE_ AUDIT - FAN_
EPIDFD - FAN_
EVENT_ INFO_ TYPE_ DFID - FAN_
EVENT_ INFO_ TYPE_ DFID_ NAME - FAN_
EVENT_ INFO_ TYPE_ ERROR - FAN_
EVENT_ INFO_ TYPE_ FID - FAN_
EVENT_ INFO_ TYPE_ NEW_ DFID_ NAME - Reserved for
FAN_EVENT_INFO_TYPE_OLD_DFID
11 - FAN_
EVENT_ INFO_ TYPE_ OLD_ DFID_ NAME - Special info types for
FAN_RENAME
- FAN_
EVENT_ INFO_ TYPE_ PIDFD - FAN_
EVENT_ ON_ CHILD - Interested in child events
- FAN_
FS_ ERROR - Filesystem error
- FAN_
INFO - Bitmask to indicate additional information
- FAN_
MARK_ ADD - flags used for
fanotify_modify_mark()
- FAN_
MARK_ DONT_ FOLLOW - FAN_
MARK_ EVICTABLE FAN_MARK_FILESYSTEM
is0x0000_0100
- FAN_
MARK_ FILESYSTEM - FAN_
MARK_ FLUSH - FAN_
MARK_ IGNORE - This bit is mutually exclusive with
FAN_MARK_IGNORED_MASK
bit - FAN_
MARK_ IGNORED_ MASK FAN_MARK_MOUNT
is0x0000_0010
- FAN_
MARK_ IGNORED_ SURV_ MODIFY - FAN_
MARK_ IGNORE_ SURV - Convenience macro -
FAN_MARK_IGNORE
requiresFAN_MARK_IGNORED_SURV_MODIFY
for non-inode mark types. - FAN_
MARK_ INODE - These are NOT bitwise flags. Both bits can be used togther.
- FAN_
MARK_ MOUNT - FAN_
MARK_ ONLYDIR - FAN_
MARK_ REMOVE - FAN_
MODIFY - File was modified
- FAN_
MOVE - moves
- FAN_
MOVED_ FROM - File was moved from X
- FAN_
MOVED_ TO - File was moved to Y
- FAN_
MOVE_ SELF - Self was moved
- FAN_
NOFD - No fd set in event
- FAN_
NONBLOCK - FAN_
NOPIDFD - FAN_
ONDIR - Event occurred against dir
- FAN_
OPEN - File was opened
- FAN_
OPEN_ EXEC - File was opened for exec
- FAN_
OPEN_ EXEC_ PERM - File open/exec in perm check
- FAN_
OPEN_ PERM - File open in perm check
- FAN_
Q_ OVERFLOW - Event queued overflowed
- FAN_
RENAME - File was renamed
- FAN_
REPORT_ DFID_ NAME - Convenience macro -
FAN_REPORT_NAME
requiresFAN_REPORT_DIR_FID
- FAN_
REPORT_ DFID_ NAME_ TARGET - Convenience macro -
FAN_REPORT_TARGET_FID
requires all other FID flags - FAN_
REPORT_ DIR_ FID - Report unique directory id
- FAN_
REPORT_ FID - Report unique file id
- FAN_
REPORT_ NAME - Report events with name
- FAN_
REPORT_ PIDFD - Flags to determine fanotify event format Report pidfd for event->pid
- FAN_
REPORT_ TARGET_ FID - Report dirent target id
- FAN_
REPORT_ TID - event->pid is thread id
- FAN_
RESPONSE_ INFO_ AUDIT_ RULE - FAN_
RESPONSE_ INFO_ NONE - Reserved for
FAN_EVENT_INFO_TYPE_NEW_DFID
13 - FAN_
UNLIMITED_ MARKS - FAN_
UNLIMITED_ QUEUE - FASYNC
- fcntl, for BSD compatibility
- FDPIC_
FUNCPTRS - userspace function ptrs point to descriptors (signal handling)
- FD_
CLOEXEC - For
F_[GET|SET]FL
- FD_
SETSIZE - This allows for 1024 file descriptors:
- FF0
- FF1
- FFDLY
- FIBMAP
- bmap access
- FICLONE
- FICLONERANGE
- FIDEDUPERANGE
- FIEMAP_
EXTENT_ DATA_ ENCRYPTED - Data is encrypted by fs.
- FIEMAP_
EXTENT_ DATA_ INLINE - Data mixed with metadata.
- FIEMAP_
EXTENT_ DATA_ TAIL - Multiple files in block.
- FIEMAP_
EXTENT_ DELALLOC - Location still pending.
- FIEMAP_
EXTENT_ ENCODED - Data can not be read while fs is unmounted
- FIEMAP_
EXTENT_ LAST - Last extent in file.
- FIEMAP_
EXTENT_ MERGED - File does not natively support extents.
- FIEMAP_
EXTENT_ NOT_ ALIGNED - Extent offsets may not be block aligned.
- FIEMAP_
EXTENT_ SHARED - Space shared with other files.
- FIEMAP_
EXTENT_ UNKNOWN - Data location unknown.
- FIEMAP_
EXTENT_ UNWRITTEN - Space allocated, but no data (i.e. zero).
- FIEMAP_
FLAGS_ COMPAT - FIEMAP_
FLAG_ CACHE - request caching of the extents
- FIEMAP_
FLAG_ SYNC - sync file data before map
- FIEMAP_
FLAG_ XATTR - map extended attribute tree
- FIEMAP_
MAX_ OFFSET - FIFREEZE
- Freeze
- FIGETBSZ
- get the block size used for bmap
- FILE_
DEDUPE_ RANGE_ DIFFERS - FILE_
DEDUPE_ RANGE_ SAME - extent-same (dedupe) ioctls; these MUST match the btrfs ioctl definitions
- FIOASYNC
- FIOCLEX
- FIOGETOWN
- FIONBIO
- FIONCLEX
- FIONREAD
- FIOQSIZE
- Some arches already define FIOQSIZE due to a historical conflict with a Hayes modem-specific ioctl value.
- FIOSETOWN
- Socket-level I/O control calls.
- FITHAW
- Thaw
- FITRIM
- Trim
- FLUSHO
- FPE_
CONDTRAP - trap on condition
- FPE_
FLTDIV - floating point divide by zero
- FPE_
FLTINV - floating point invalid operation
- FPE_
FLTOVF - floating point overflow
- FPE_
FLTRES - floating point inexact result
- FPE_
FLTSUB - subscript out of range
- FPE_
FLTUND - floating point underflow
- FPE_
FLTUNK - undiagnosed floating-point exception
- FPE_
INTDIV - SIGFPE
si_codes
integer divide by zero - FPE_
INTOVF - integer overflow
- FRAME_
SIZE - top of stack page
- FSCONFIG_
CMD_ CREATE - Create new or reuse existing superblock
- FSCONFIG_
CMD_ CREATE_ EXCL - Create new superblock, fail if reusing existing superblock
- FSCONFIG_
CMD_ RECONFIGURE - Invoke superblock reconfiguration
- FSCONFIG_
SET_ BINARY - Set parameter, supplying a binary blob value
- FSCONFIG_
SET_ FD - Set parameter, supplying an object by fd
- FSCONFIG_
SET_ FLAG - Set parameter, supplying no value
- FSCONFIG_
SET_ PATH - Set parameter, supplying an object by path
- FSCONFIG_
SET_ PATH_ EMPTY - Set parameter, supplying an object by (empty) path
- FSCONFIG_
SET_ STRING - Set parameter, supplying a string value
- FSEC_
PER_ SEC - FSLABEL_
MAX - Max chars for the interface; each fs may differ
- FSMOUNT_
CLOEXEC fsmount()
flags.- FSOPEN_
CLOEXEC fsopen()
flags.- FSPICK_
CLOEXEC fspick()
flags.- FSPICK_
EMPTY_ PATH - FSPICK_
NO_ AUTOMOUNT - FSPICK_
SYMLINK_ NOFOLLOW - FS_
AIO_ MAX_ NR - system-wide maximum number of aio requests
- FS_
AIO_ NR - current system-wide number of aio requests
- FS_
APPEND_ FL - writes to file may only append
- FS_
BTREE_ FL - btree format dir
- FS_
COMPRBLK_ FL - One or more compressed clusters
- FS_
COMPR_ FL - Compress file
- FS_
DENTRY - FS_
DIRSYNC_ FL - dirsync behaviour (directories only)
- FS_
DIRTY_ FL - Reserved for compression usage…
- FS_
DIR_ NOTIFY - int: directory notification enabled
- FS_
DQSTATS - disc quota usage statistics and control
- FS_
DQ_ ALLOCATED - FS_
DQ_ CACHE_ HITS - FS_
DQ_ DROPS - FS_
DQ_ FREE - FS_
DQ_ LOOKUPS /proc/sys/fs/quota/
- FS_
DQ_ READS - FS_
DQ_ SYNCS - FS_
DQ_ WARNINGS - FS_
DQ_ WRITES - FS_
EA_ INODE_ FL - Inode used for large EA
- FS_
ENCRYPTION_ MODE_ ADIANTUM - FS_
ENCRYPTION_ MODE_ AES_ 128_ CBC - FS_
ENCRYPTION_ MODE_ AES_ 128_ CTS - FS_
ENCRYPTION_ MODE_ AES_ 256_ CBC - FS_
ENCRYPTION_ MODE_ AES_ 256_ CTS - FS_
ENCRYPTION_ MODE_ AES_ 256_ GCM - FS_
ENCRYPTION_ MODE_ AES_ 256_ XTS - FS_
ENCRYPTION_ MODE_ INVALID - Encryption algorithms
- FS_
ENCRYPTION_ MODE_ SPEC K128_ 256_ CTS - Removed, do not use.
- FS_
ENCRYPTION_ MODE_ SPEC K128_ 256_ XTS - Removed, do not use.
- FS_
ENCRYPT_ FL - End compression flags — maybe not all used Encrypted file
- FS_
EOFBLOCKS_ FL - Reserved for ext4
- FS_
EXTENT_ FL - Extents
- FS_
FL_ USER_ MODIFIABLE - User modifiable flags
- FS_
FL_ USER_ VISIBLE - User visible flags
- FS_
HUGE_ FILE_ FL - Reserved for ext4
- FS_
IMAGIC_ FL - AFS directory
- FS_
IMMUTABLE_ FL - Immutable file
- FS_
INDEX_ FL - hash-indexed directory
- FS_
INLINE_ DATA_ FL - Reserved for ext4
- FS_
INOTIFY - inotify submenu
- FS_
IOC32_ GETFLAGS - FS_
IOC32_ GETVERSION - FS_
IOC32_ SETFLAGS - FS_
IOC32_ SETVERSION - FS_
IOC_ FIEMAP - FS_
IOC_ FSGETXATTR - FS_
IOC_ FSSETXATTR - FS_
IOC_ GETFLAGS - FS_
IOC_ GETFSLABEL - FS_
IOC_ GETVERSION - FS_
IOC_ SETFLAGS - FS_
IOC_ SETFSLABEL - FS_
IOC_ SETVERSION - FS_
JOURNAL_ DATA_ FL - Reserved for ext3
- FS_
KEY_ DESCRIPTOR_ SIZE - File system encryption support Policy provided via an ioctl on the topmost directory
- FS_
KEY_ DESC_ PREFIX - Parameters for passing an encryption key into the kernel keyring
- FS_
KEY_ DESC_ PREFIX_ SIZE - FS_
LEASES - int: leases enabled
- FS_
LEASE_ TIME - int: maximum time to wait for a lease break
- FS_
MAXDQUOT - int:maximum number of dquots that can be allocated
- FS_
MAXFILE - int:maximum number of filedescriptors that can be allocated
- FS_
MAXINODE - int:maximum number of inodes that can be allocated
- FS_
MAXSUPER - int:maximum number of
super_blocks
that can be allocated - FS_
MAX_ KEY_ SIZE - Structure that userspace passes to the kernel keyring
- FS_
NOATIME_ FL - do not update atime
- FS_
NOCOMP_ FL - Don’t compress
- FS_
NOCOW_ FL - Do not cow file
- FS_
NODUMP_ FL - do not dump file
- FS_
NOTAIL_ FL - file tail should not be merged
- FS_
NRDQUOT - int:current number of allocated dquots
- FS_
NRFILE - int:current number of allocated filedescriptors
- FS_
NRINODE CTL_FS
names:- FS_
NRSUPER - int:current number of allocated
super_blocks
- FS_
OCFS2 - ocfs2
- FS_
OVERFLOWGID - int: overflow GID
- FS_
OVERFLOWUID - int: overflow UID
- FS_
POLICY_ FLAGS_ PAD_ 4 - FS_
POLICY_ FLAGS_ PAD_ 8 - FS_
POLICY_ FLAGS_ PAD_ 16 - FS_
POLICY_ FLAGS_ PAD_ 32 - FS_
POLICY_ FLAGS_ PAD_ MASK - FS_
POLICY_ FLAGS_ VALID - use master key directly
- FS_
PROJINHERIT_ FL - Create with parents projid
- FS_
RESERVED_ FL - reserved for ext2 lib
- FS_
SECRM_ FL - Inode flags (
FS_IOC_GETFLAGS
/FS_IOC_SETFLAGS
) - FS_
STATINODE - FS_
SYNC_ FL - Synchronous updates
- FS_
TOPDIR_ FL - Top of directory hierarchies
- FS_
UNRM_ FL - Undelete
- FS_
XFLAG_ APPEND - all writes append
- FS_
XFLAG_ COWEXTSIZE CoW
extent size allocator hint- FS_
XFLAG_ DAX - use DAX for IO
- FS_
XFLAG_ EXTSIZE - extent size allocator hint
- FS_
XFLAG_ EXTSZINHERIT - inherit inode extent size
- FS_
XFLAG_ FILESTREAM - use filestream allocator
- FS_
XFLAG_ HASATTR - no DIFLAG for this
- FS_
XFLAG_ IMMUTABLE - file cannot be modified
- FS_
XFLAG_ NOATIME - do not update access time
- FS_
XFLAG_ NODEFRAG - do not defragment
- FS_
XFLAG_ NODUMP - do not include in backups
- FS_
XFLAG_ NOSYMLINKS - disallow symlink creation
- FS_
XFLAG_ PREALLOC - preallocated file extents
- FS_
XFLAG_ PROJINHERIT - create with parents projid
- FS_
XFLAG_ REALTIME - Flags for the
fsx_xflags
field data in realtime volume - FS_
XFLAG_ RTINHERIT - create with rt bit set
- FS_
XFLAG_ SYNC - all writes synchronous
- FS_XFS
- struct: control xfs parameters
- FT_
BLKDEV - FT_
CHRDEV - FT_DIR
- FT_FIFO
- FT_MAX
- FT_
REG_ FILE - FT_SOCK
- FT_
SYMLINK - FT_
UNKNOWN - fs on-disk file types.
- FUTEX_
32 - Flags to specify the bit length of the futex word for futex2 syscalls. Currently, only 32 is supported.
- FUTEX_
BITSET_ MATCH_ ANY - bitset with all bits set for the
FUTEX_xxx_BITSET
OPs to request a match of any bit. - FUTEX_
CLOCK_ REALTIME - FUTEX_
CMD_ MASK - FUTEX_
CMP_ REQUEUE - FUTEX_
CMP_ REQUEUE_ PI - FUTEX_
CMP_ REQUEUE_ PI_ PRIVATE - FUTEX_
CMP_ REQUEUE_ PRIVATE - FUTEX_
FD - FUTEX_
LOCK_ PI - FUTEX_
LOCK_ PI_ PRIVATE - FUTEX_
OP_ ADD - *(int *)UADDR2 += OPARG;
- FUTEX_
OP_ ANDN - *(int *)UADDR2 &= ~OPARG;
- FUTEX_
OP_ CMP_ EQ - if (oldval == CMPARG) wake
- FUTEX_
OP_ CMP_ GE - if (oldval >= CMPARG) wake
- FUTEX_
OP_ CMP_ GT - if (oldval > CMPARG) wake
- FUTEX_
OP_ CMP_ LE - if (oldval <= CMPARG) wake
- FUTEX_
OP_ CMP_ LT - if (oldval < CMPARG) wake
- FUTEX_
OP_ CMP_ NE - if (oldval != CMPARG) wake
- FUTEX_
OP_ OPARG_ SHIFT - Use (1 << OPARG) instead of OPARG.
- FUTEX_
OP_ OR - *(int *)UADDR2 |= OPARG;
- FUTEX_
OP_ SET - *(int *)UADDR2 = OPARG;
- FUTEX_
OP_ XOR - *(int *)UADDR2 ^= OPARG;
- FUTEX_
OWNER_ DIED - The kernel signals via this bit that a thread holding a futex has exited without unlocking the futex.
- FUTEX_
PRIVATE_ FLAG - FUTEX_
REQUEUE - FUTEX_
REQUEUE_ PRIVATE - FUTEX_
TID_ MASK - The rest of the robust-futex field is for the TID:
- FUTEX_
TRYLOCK_ PI - FUTEX_
TRYLOCK_ PI_ PRIVATE - FUTEX_
UNLOCK_ PI - FUTEX_
UNLOCK_ PI_ PRIVATE - FUTEX_
WAIT - Second argument to futex syscall
- FUTEX_
WAITERS - Are there any waiters for this robust futex:
- FUTEX_
WAITV_ MAX - Max numbers of elements in a
futex_waitv_t
array. - FUTEX_
WAIT_ BITSET - FUTEX_
WAIT_ BITSET_ PRIVATE - FUTEX_
WAIT_ PRIVATE - FUTEX_
WAIT_ REQUEUE_ PI - FUTEX_
WAIT_ REQUEUE_ PI_ PRIVATE - FUTEX_
WAKE - FUTEX_
WAKE_ BITSET - FUTEX_
WAKE_ BITSET_ PRIVATE - FUTEX_
WAKE_ OP - FUTEX_
WAKE_ OP_ PRIVATE - FUTEX_
WAKE_ PRIVATE - F_
ADD_ SEALS - Set/Get seals
- F_
CANCELLK - Cancel a blocking posix lock; internal use only until we expose an asynchronous lock api to userspace:
- F_DUPFD
- F_
DUPFD_ CLOEXEC - Create a file descriptor with
FD_CLOEXEC
set. - F_EXLCK
- for old implementation of bsd
flock()
- F_GETFD
- F_GETFL
- F_
GETLEASE - F_GETLK
- F_
GETL K64 - using ‘struct flock64’
- F_
GETOWN - F_
GETOWNER_ UIDS - F_
GETOWN_ EX - F_
GETPIPE_ SZ - F_
GETSIG - F_
GET_ FILE_ RW_ HINT - F_
GET_ RW_ HINT - Set/Get write life time hints.
{GET,SET}_RW_HINT
operate on the underlying inode, while{GET,SET}_FILE_RW_HINT
operate only on the specific file. - F_
GET_ SEALS - F_
LINUX_ SPECIFIC_ BASE - F_
NOTIFY - Request nofications on a directory. See below for events that may be notified.
- F_
OFD_ GETLK - Open File Description Locks
- F_
OFD_ SETLK - F_
OFD_ SETLKW - F_OK
- Check for file existence.
- F_
OWNER_ PGRP - F_
OWNER_ PID - F_
OWNER_ TID - F_RDLCK
- for posix
fcntl()
andlockf()
- F_
SEAL_ FUTURE_ WRITE - prevent future writes while mapped
- F_
SEAL_ GROW - prevent file from growing
- F_
SEAL_ SEAL - Types of seals prevent further seals from being set
- F_
SEAL_ SHRINK - prevent file from shrinking
- F_
SEAL_ WRITE - prevent writes
- F_SETFD
- F_SETFL
- F_
SETLEASE - F_SETLK
- F_
SETL K64 - F_
SETLKW - F_
SETLK W64 - F_
SETOWN - F_
SETOWN_ EX - F_
SETPIPE_ SZ - Set and get of pipe page size array
- F_
SETSIG - F_
SET_ FILE_ RW_ HINT - F_
SET_ RW_ HINT - F_SHLCK
- F_UNLCK
- F_WRLCK
- GETALL
- get all semval’s
- GETNCNT
- get semncnt
- GETPID
- semctl Command Definitions. get sempid
- GETVAL
- get semval
- GETZCNT
- get semzcnt
- GRPQUOTA
- element used for group quotas
- HUGETLB_
FLAG_ ENCODE_ 1GB - HUGETLB_
FLAG_ ENCODE_ 1MB - HUGETLB_
FLAG_ ENCODE_ 2GB - HUGETLB_
FLAG_ ENCODE_ 2MB - HUGETLB_
FLAG_ ENCODE_ 8MB - HUGETLB_
FLAG_ ENCODE_ 16GB - HUGETLB_
FLAG_ ENCODE_ 16MB - HUGETLB_
FLAG_ ENCODE_ 32MB - HUGETLB_
FLAG_ ENCODE_ 64KB - HUGETLB_
FLAG_ ENCODE_ 256MB - HUGETLB_
FLAG_ ENCODE_ 512KB - HUGETLB_
FLAG_ ENCODE_ 512MB - HUGETLB_
FLAG_ ENCODE_ MASK - HUGETLB_
FLAG_ ENCODE_ SHIFT - HUPCL
- IBSHIFT
- Shift from CBAUD to CIBAUD
- ICANON
- ICRNL
- Map CR to NL on input
- IEXTEN
- IGNBRK
c_iflag
bits Ignore break condition- IGNCR
- Ignore CR
- IGNPAR
- Ignore characters with parity errors
- IIF_ALL
- IIF_
BGRACE - Structure used for setting quota information about file via quotactl Following flags are used to specify which fields are valid
- IIF_
FLAGS - IIF_
IGRACE - ILL_
BADIADDR - unimplemented instruction address
- ILL_
BADSTK - internal stack error
- ILL_
COPROC - coprocessor error
- ILL_
ILLADR - illegal addressing mode
- ILL_
ILLOPC - SIGILL
si_codes
illegal opcode - ILL_
ILLOPN - illegal operand
- ILL_
ILLTRP - illegal trap
- ILL_
PRVOPC - privileged opcode
- ILL_
PRVREG - privileged register
- IMAXBEL
- INADDR_
ALLHOSTS_ GROUP - 224.0.0.1
- INADDR_
ALLRTRS_ GROUP - 224.0.0.2
- INADDR_
ALLSNOOPERS_ GROUP - 224.0.0.106
- INADDR_
ANY - Address to accept any incoming messages.
- INADDR_
BROADCAST - Address to send to all hosts.
- INADDR_
LOOPBACK - Address to loopback in software to local host. 127.0.0.1
- INADDR_
MAX_ LOCAL_ GROUP - 224.0.0.255
- INADDR_
NONE - Address indicating an error return.
- INADDR_
UNSPEC_ GROUP - Defines for Multicast INADDR 224.0.0.0
- INITQFNAMES
- INLCR
- Map NL to CR on input
- INOTIFY_
MAX_ QUEUED_ EVENTS - INOTIFY_
MAX_ USER_ INSTANCES - /proc/sys/fs/inotify/ max instances per user
- INOTIFY_
MAX_ USER_ WATCHES - max watches per user
- INPCK
- Enable input parity check
- INR_
OPEN_ CUR - Fixed constants first: Initial setting for nfile rlimits
- INR_
OPEN_ MAX - Hard limit for nfile rlimits
- IN_
ACCESS - the following are legal, implemented events that user-space can watch for File was accessed
- IN_
ALL_ EVENTS - All of the events - we build the list by hand so that we can add flags in the future and not break backward compatibility.
- IN_
ATTRIB - Metadata changed
- IN_
CLASSA_ HOST - IN_
CLASSA_ MAX - IN_
CLASSA_ NET - IN_
CLASSA_ NSHIFT - IN_
CLASSB_ HOST - IN_
CLASSB_ MAX - IN_
CLASSB_ NET - IN_
CLASSB_ NSHIFT - IN_
CLASSC_ HOST - IN_
CLASSC_ NET - IN_
CLASSC_ NSHIFT - IN_
CLASSE_ NET - IN_
CLASSE_ NSHIFT - IN_
CLOEXEC - Flags for
sys_inotify_init1
. - IN_
CLOSE - close
- IN_
CLOSE_ NOWRITE - Unwrittable file closed
- IN_
CLOSE_ WRITE - Writtable file was closed
- IN_
CREATE - Subfile was created
- IN_
DELETE - Subfile was deleted
- IN_
DELETE_ SELF - Self was deleted
- IN_
DONT_ FOLLOW - don’t follow a sym link
- IN_
EXCL_ UNLINK - exclude events on unlinked objects
- IN_
IGNORED - File was ignored
- IN_
ISDIR - event occurred against dir
- IN_
LOOPBACKNET - Network number for local host loopback.
- IN_
MASK_ ADD - add to the mask of an already existing watch
- IN_
MASK_ CREATE - only create watches
- IN_
MODIFY - File was modified
- IN_MOVE
- moves
- IN_
MOVED_ FROM - File was moved from X
- IN_
MOVED_ TO - File was moved to Y
- IN_
MOVE_ SELF - Self was moved
- IN_
MULTICAST_ NET - IN_
NONBLOCK - IN_
ONESHOT - only send event once
- IN_
ONLYDIR - special flags only watch the path if it is a directory
- IN_OPEN
- File was opened
- IN_
Q_ OVERFLOW - Event queued overflowed
- IN_
UNMOUNT - the following are legal events. they are sent as needed to any watch Backing fs was unmounted
- IOCB_
CMD_ FDSYNC - IOCB_
CMD_ FSYNC - IOCB_
CMD_ NOOP - IOCB_
CMD_ POLL - IOCB_
CMD_ PREAD - IOCB_
CMD_ PREADV - IOCB_
CMD_ PWRITE - IOCB_
CMD_ PWRITEV - IOCB_
FLAG_ IOPRIO - IOCB_
FLAG_ RESFD - Valid flags for the
aio_flags
member of thestruct iocb
. - IOCSIZE_
MASK - IOCSIZE_
SHIFT - IOC_
DIRBITS - IOC_
DIRMASK - IOC_
DIRSHIFT - IOC_IN
- …and for the drivers/sound files…
- IOC_
INOUT - IOC_
NONE - Direction bits, which any architecture can choose to override before including this file.
- IOC_
NRBITS - IOC_
NRMASK - IOC_
NRSHIFT - IOC_OUT
- IOC_
READ - IOC_
SIZEBITS - Let any architecture override either of the following before including this file.
- IOC_
SIZEMASK - IOC_
SIZESHIFT - IOC_
TYPEBITS - IOC_
TYPEMASK - IOC_
TYPESHIFT - IOC_
WRITE - IOPRIO_
BE_ NR - 8 best effort priority levels are supported
- IOPRIO_
CLASS_ BE - IOPRIO_
CLASS_ IDLE - IOPRIO_
CLASS_ NONE - These are the io priority groups as implemented by CFQ.
- IOPRIO_
CLASS_ RT - IOPRIO_
CLASS_ SHIFT - Gives us 8 prio classes with 13-bits of data for each class
- IOPRIO_
NORM - Fallback BE priority
- IOPRIO_
PRIO_ MASK - IOPRIO_
WHO_ PGRP - IOPRIO_
WHO_ PROCESS - IOPRIO_
WHO_ USER - IORING_
CQE_ BUFFER_ SHIFT - IORING_
CQE_ F_ BUFFER cqe->flags
- IORING_
ENTER_ GETEVENTS io_uring_enter(2)
flags- IORING_
ENTER_ SQ_ WAKEUP - IORING_
FEAT_ CUR_ PERSONALITY - IORING_
FEAT_ FAST_ POLL - IORING_
FEAT_ NODROP - IORING_
FEAT_ RW_ CUR_ POS - IORING_
FEAT_ SINGLE_ MMAP io_uring_params->features
flags- IORING_
FEAT_ SUBMIT_ STABLE - IORING_
FSYNC_ DATASYNC sqe->fsync_flags
- IORING_
OFF_ CQ_ RING - IORING_
OFF_ SQES - IORING_
OFF_ SQ_ RING - Magic offsets for the application to mmap the data it needs
- IORING_
REGISTER_ BUFFERS io_uring_register(2)
opcodes and arguments- IORING_
REGISTER_ EVENTFD - IORING_
REGISTER_ EVENTFD_ ASYNC - IORING_
REGISTER_ FILES - IORING_
REGISTER_ FILES_ UPDATE - IORING_
REGISTER_ PERSONALITY - IORING_
REGISTER_ PROBE - IORING_
SETUP_ ATTACH_ WQ - attach to existing wq
- IORING_
SETUP_ CLAMP - clamp SQ/CQ ring sizes
- IORING_
SETUP_ CQSIZE - app defines CQ size
- IORING_
SETUP_ IOPOLL io_uring_setup()
flagsio_context
is polled- IORING_
SETUP_ SQPOLL - SQ poll thread
- IORING_
SETUP_ SQ_ AFF sq_thread_cpu
is valid- IORING_
SQ_ NEED_ WAKEUP sq_ring->flags
needsio_uring_enter
wakeup- IORING_
TIMEOUT_ ABS sqe->timeout_flags
- IORING_
UNREGISTER_ BUFFERS - IORING_
UNREGISTER_ EVENTFD - IORING_
UNREGISTER_ FILES - IORING_
UNREGISTER_ PERSONALITY - IOSQE_
ASYNC - always go async
- IOSQE_
ASYNC_ BIT - IOSQE_
BUFFER_ SELECT - select buffer from
sqe->buf_group
- IOSQE_
BUFFER_ SELECT_ BIT - IOSQE_
FIXED_ FILE sqe->flags
use fixed fileset- IOSQE_
FIXED_ FILE_ BIT - IOSQE_
IO_ DRAIN - issue after inflight IO
- IOSQE_
IO_ DRAIN_ BIT - IOSQE_
IO_ HARDLINK - like LINK, but stronger
- IOSQE_
IO_ HARDLINK_ BIT - IOSQE_
IO_ LINK - links next sqe
- IOSQE_
IO_ LINK_ BIT - IO_
URING_ OP_ SUPPORTED - IPC_64
- IPC_
CREAT - resource get request flags create if key is nonexistent
- IPC_
DIPC - these fields are used by the DIPC package so the kernel as standard should avoid using them if possible make it distributed
- IPC_
EXCL - fail if key exists
- IPC_
INFO - See ipcs
- IPC_
NOWAIT - return error on wait
- IPC_
NS_ INDEX - IPC_OLD
- Version flags for semctl, msgctl, and shmctl commands These are passed as bitflags or-ed with the actual command
- IPC_OWN
- this machine is the DIPC owner
- IPC_
PRIVATE - IPC_
RMID - Control commands used with semctl, msgctl and shmctl see also specific commands in sem.h, msg.h and shm.h remove resource
- IPC_SET
- Set
ipc_perm
options - IPC_
STAT - Get
ipc_perm
options - IPPROTO_
AH - Authentication Header protocol
- IPPROTO_
BEETPH - IP option pseudo header for BEET
- IPPROTO_
COMP - Compression Header Protocol
- IPPROTO_
DCCP - Datagram Congestion Control Protocol
- IPPROTO_
DSTOPTS - IPv6 destination options
- IPPROTO_
EGP - Exterior Gateway Protocol
- IPPROTO_
ENCAP - Encapsulation Header
- IPPROTO_
ESP - Encapsulation Security Payload protocol
- IPPROTO_
FRAGMENT - IPv6 fragmentation header
- IPPROTO_
GRE - Cisco GRE tunnels (rfc 1701,1702)
- IPPROTO_
HOPOPTS - IPV6 extension headers IPv6 hop-by-hop options
- IPPROTO_
ICMP - Internet Control Message Protocol
- IPPROTO_
ICMP V6 ICMPv6
- IPPROTO_
IDP - XNS IDP protocol
- IPPROTO_
IGMP - Internet Group Management Protocol
- IPPROTO_
IP - INET: An implementation of the TCP/IP protocol suite for the LINUX operating system. INET is implemented using the BSD Socket interface as the means of communication with the user level.
- IPPROTO_
IPIP - IPIP tunnels (older KA9Q tunnels use 94)
- IPPROTO_
IPV6 - IPv6-in-IPv4 tunnelling
- IPPROTO_
MAX - IPPROTO_
MH - IPv6 mobility header
- IPPROTO_
MPLS - MPLS in IP (RFC 4023)
- IPPROTO_
MTP - Multicast Transport Protocol
- IPPROTO_
NONE - IPv6 no next header
- IPPROTO_
PIM - Protocol Independent Multicast
- IPPROTO_
PUP - PUP protocol
- IPPROTO_
RAW - Raw IP packets
- IPPROTO_
ROUTING - IPv6 routing header
- IPPROTO_
RSVP - RSVP Protocol
- IPPROTO_
SCTP - Stream Control Transport Protocol
- IPPROTO_
TCP - Transmission Control Protocol
- IPPROTO_
TP - SO Transport Protocol Class 4
- IPPROTO_
UDP - User Datagram Protocol
- IPPROTO_
UDPLITE - UDP-Lite (RFC 3828)
- IPV6_
2292DSTOPTS - IPV6_
2292HOPLIMIT - IPV6_
2292HOPOPTS - IPV6_
2292PKTINFO - IPV6_
2292PKTOPTIONS - IPV6_
2292RTHDR - IPV6_
ADDRFORM - IPV6 socket options
- IPV6_
ADDR_ PREFERENCES - RFC5014: Source address selection
- IPV6_
ADD_ MEMBERSHIP - IPV6_
AUTHHDR - obsolete
- IPV6_
AUTOFLOWLABEL - IPV6_
CHECKSUM - IPV6_
DONTFRAG - IPV6_
DROP_ MEMBERSHIP - IPV6_
DSTOPTS - IPV6_
FLOWINFO - IPV6_
FLOWINFO_ FLOWLABEL - Bitmask constant declarations to help applications select out the flow label and priority fields.
- IPV6_
FLOWINFO_ PRIORITY - IPV6_
FLOWINFO_ SEND - IPV6_
FLOWLABEL_ MGR - Flowlabel
- IPV6_
FL_ A_ GET - IPV6_
FL_ A_ PUT - IPV6_
FL_ A_ RENEW - IPV6_
FL_ F_ CREATE - IPV6_
FL_ F_ EXCL - IPV6_
FL_ F_ REFLECT - IPV6_
FL_ F_ REMOTE - IPV6_
FL_ S_ ANY - IPV6_
FL_ S_ EXCL - IPV6_
FL_ S_ NONE - IPV6_
FL_ S_ PROCESS - IPV6_
FL_ S_ USER - IPV6_
FREEBIND - IPV6_
HDRINCL - IPV6_
HOPLIMIT - IPV6_
HOPOPTS - IPV6_
IPSEC_ POLICY - IPV6_
JOIN_ ANYCAST - IPV6_
LEAVE_ ANYCAST - IPV6_
MINHOPCOUNT - RFC5082: Generalized Ttl Security Mechanism
- IPV6_
MTU - IPV6_
MTU_ DISCOVER - IPV6_
MULTICAST_ ALL - IPV6_
MULTICAST_ HOPS - IPV6_
MULTICAST_ IF - IPV6_
MULTICAST_ LOOP - IPV6_
NEXTHOP - IPV6_
ORIGDSTADDR - IPV6_
PATHMTU - IPV6_
PKTINFO - IPV6_
PMTUDISC_ DO - IPV6_
PMTUDISC_ DONT IPV6_MTU_DISCOVER
values- IPV6_
PMTUDISC_ INTERFACE - same as
IPV6_PMTUDISC_PROBE
, provided for symetry with IPv4 also see comments onIP_PMTUDISC_INTERFACE
- IPV6_
PMTUDISC_ OMIT - weaker version of
IPV6_PMTUDISC_INTERFACE
, which allows packets to get fragmented if they exceed the interface mtu - IPV6_
PMTUDISC_ PROBE - IPV6_
PMTUDISC_ WANT - IPV6_
PREFER_ SRC_ CGA - IPV6_
PREFER_ SRC_ COA - IPV6_
PREFER_ SRC_ HOME - IPV6_
PREFER_ SRC_ NONCGA - IPV6_
PREFER_ SRC_ PUBLIC - IPV6_
PREFER_ SRC_ PUBTMP_ DEFAULT - IPV6_
PREFER_ SRC_ TMP - IPV6_
PRIORITY_ 8 - IPV6_
PRIORITY_ 9 - IPV6_
PRIORITY_ 10 - IPV6_
PRIORITY_ 11 - IPV6_
PRIORITY_ 12 - IPV6_
PRIORITY_ 13 - IPV6_
PRIORITY_ 14 - IPV6_
PRIORITY_ 15 - IPV6_
PRIORITY_ BULK - IPV6_
PRIORITY_ CONTROL - IPV6_
PRIORITY_ FILLER - IPV6_
PRIORITY_ INTERACTIVE - IPV6_
PRIORITY_ RESERVE D1 - IPV6_
PRIORITY_ RESERVE D2 - IPV6_
PRIORITY_ UNATTENDED - IPV6_
PRIORITY_ UNCHARACTERIZED - These definitions are obsolete
- IPV6_
RECVDSTOPTS - IPV6_
RECVERR - IPV6_
RECVFRAGSIZE - IPV6_
RECVHOPLIMIT - IPV6_
RECVHOPOPTS - IPV6_
RECVORIGDSTADDR - IPV6_
RECVPATHMTU - IPV6_
RECVPKTINFO - Advanced API (RFC3542) (1)
Note:
IPV6_RECVRTHDRDSTOPTS
does not exist. - IPV6_
RECVRTHDR - IPV6_
RECVTCLASS - Advanced API (RFC3542) (2)
- IPV6_
ROUTER_ ALERT - IPV6_
ROUTER_ ALERT_ ISOLATE - IPV6_
RTHDR - IPV6_
RTHDRDSTOPTS - IPV6_
TCLASS - IPV6_
TLV_ CALIPSO - RFC 5570
- IPV6_
TLV_ HAO - home address option
- IPV6_
TLV_ JUMBO - IPV6_
TLV_ PAD1 - IPv6 TLV options.
- IPV6_
TLV_ PADN - IPV6_
TLV_ ROUTERALERT - IPV6_
TRANSPARENT - IPV6_
UNICAST_ HOPS - IPV6_
UNICAST_ IF - IPV6_
V6ONLY - IPV6_
XFRM_ POLICY - IPX_
TYPE - IPX options
- IP_
ADD_ MEMBERSHIP - IP_
ADD_ SOURCE_ MEMBERSHIP - IP_
BIND_ ADDRESS_ NO_ PORT - IP_
BLOCK_ SOURCE - IP_
CHECKSUM - IP_
DEFAULT_ MULTICAST_ LOOP - IP_
DEFAULT_ MULTICAST_ TTL - These need to appear somewhere around here
- IP_
DROP_ MEMBERSHIP - IP_
DROP_ SOURCE_ MEMBERSHIP - IP_
FREEBIND - IP_
HDRINCL - IP_
IPSEC_ POLICY - IP_
MINTTL - IP_
MSFILTER - IP_MTU
- IP_
MTU_ DISCOVER - IP_
MULTICAST_ ALL - IP_
MULTICAST_ IF - IP_
MULTICAST_ LOOP - IP_
MULTICAST_ TTL - IP_
NODEFRAG - IP_
OPTIONS - IP_
ORIGDSTADDR - Proxy original addresses
- IP_
PASSSEC - IP_
PKTINFO - IP_
PKTOPTIONS - IP_
PMTUDISC_ DO - Always DF
- IP_
PMTUDISC_ DONT IP_MTU_DISCOVER
values Never send DF frames- IP_
PMTUDISC_ INTERFACE - Always use interface mtu (ignores dst pmtu) but don’t set DF flag.
Also incoming ICMP
frag_needed
notifications will be ignored on this socket to prevent accepting spoofed ones. - IP_
PMTUDISC_ OMIT - IP_
PMTUDISC_ PROBE - Ignore dst pmtu
- IP_
PMTUDISC_ WANT - Use per route hints
- IP_
RECVERR - IP_
RECVFRAGSIZE - IP_
RECVOPTS - IP_
RECVORIGDSTADDR - IP_
RECVRETOPTS - BSD compatibility
- IP_
RECVTOS - IP_
RECVTTL - IP_
RETOPTS - IP_
ROUTER_ ALERT - IP_TOS
- IP_
TRANSPARENT - IP_TTL
- IP_
UNBLOCK_ SOURCE - IP_
UNICAST_ IF - IP_
XFRM_ POLICY - ISIG
c_lflag
bits- ISTRIP
- Strip 8th bit off characters
- ITIMER_
PROF - ITIMER_
REAL - Names of the interval timers, and structure defining a timer setting:
- ITIMER_
VIRTUAL - IUCLC
c_iflag
bits- IUTF8
- IXANY
- Any character will restart after stop
- IXOFF
- IXON
- KCMP_
EPOLL_ TFD - KCMP_
FILE - Comparison type - enum
kcmp_type
. - KCMP_
FILES - KCMP_FS
- KCMP_IO
- KCMP_
SIGHAND - KCMP_
SYSVSEM - KCMP_
TYPES - KCMP_VM
- KERN_
ACCT - BSD process accounting parameters
- KERN_
ACPI_ VIDEO_ FLAGS - int: flags for setting up video after ACPI sleep
- KERN_
BOOTLOADER_ TYPE - int: boot loader type
- KERN_
CADPID - int: PID of the process to notify on CAD
- KERN_
COMPAT_ LOG - int: print compat layer messages
- KERN_
CORE_ PATTERN - string: pattern for core-file names
- KERN_
CORE_ USES_ PID - int: use core or core.%pid
- KERN_
CTLALTDEL - int: allow ctl-alt-del to reboot
- KERN_
DOMAINNAME - string: domainname
- KERN_
HOTPLUG - string: path to uevent helper (deprecated)
- KERN_
HPPA_ PWRSW - int: hppa soft-power enable
- KERN_
HPPA_ UNALIGNED - int: hppa unaligned-trap enable
- KERN_
HZ_ TIMER - int: hz timer on or off
- KERN_
IA64_ UNALIGNED - int: ia64 unaligned userland trap enable
- KERN_
IEEE_ EMULATION_ WARNINGS - int: unimplemented ieee instructions
- KERN_
MAX_ LOCK_ DEPTH - int: rtmutex’s maximum lock depth
- KERN_
MAX_ THREADS - int: Maximum nr of threads in the system
- KERN_
MODPROBE - string: modprobe path
- KERN_
MSGMAX - int: Maximum size of a messege
- KERN_
MSGMNB - int: Maximum message queue size
- KERN_
MSGMNI - int: msg queue identifiers
- KERN_
MSGPOOL - int: Maximum system message pool size
- KERN_
NAMETRANS - Name translation
- KERN_
NGROUPS_ MAX - int:
NGROUPS_MAX
- KERN_
NMI_ WATCHDOG - int: enable/disable nmi watchdog
- KERN_
NODENAME - string: hostname
- KERN_
OSRELEASE - string: system release
- KERN_
OSREV - int: system revision
- KERN_
OSTYPE CTL_KERN
names:- KERN_
OVERFLOWGID - int: overflow GID
- KERN_
OVERFLOWUID - int: overflow UID
- KERN_
PANIC - int: panic timeout
- KERN_
PANIC_ ON_ NMI - int: whether we will panic on an unrecovered
- KERN_
PANIC_ ON_ OOPS - int: whether we will panic on an oops
- KERN_
PANIC_ ON_ WARN - int: call
panic()
inWARN()
functions - KERN_
PANIC_ PRINT - ulong: bitmask to print system info on panic
- KERN_
PIDMAX - int: PID # limit
- KERN_
PPC_ HTABRECLAIM - turn htab reclaimation on/off on PPC
- KERN_
PPC_ L2CR - l2cr register on PPC
- KERN_
PPC_ POWERSAVE_ NAP - use nap mode for power saving
- KERN_
PPC_ ZEROPAGED - turn idle page zeroing on/off on PPC
- KERN_
PRINTK - struct: control printk logging parameters
- KERN_
PRINTK_ RATELIMIT - int: tune printk ratelimiting
- KERN_
PRINTK_ RATELIMIT_ BURST - int: tune printk ratelimiting
- KERN_
PROF - table: profiling information
- KERN_
PTY - dir: pty driver
- KERN_
RANDOM - Random driver
- KERN_
RANDOMIZE - int: randomize virtual address space
- KERN_
REALROOTDEV - real root device to mount after initrd
- KERN_
RTSIGMAX - Max queuable
- KERN_
RTSIGNR - Number of rt sigs queued
- KERN_
S390_ USER_ DEBUG_ LOGGING - int: dumps of user faults
- KERN_
SECUREMASK - struct: maximum rights mask
- KERN_
SEM - struct: sysv semaphore limits
- KERN_
SETUID_ DUMPABLE - int: behaviour of dumps for setuid core
- KERN_
SG_ BIG_ BUFF - int: sg driver reserved buffer size
- KERN_
SHMALL - int: Maximum size of shared memory
- KERN_
SHMMAX - long: Maximum shared memory segment
- KERN_
SHMMNI - int: shm array identifiers
- KERN_
SHMPATH - string: path to shm fs
- KERN_
SPARC_ REBOOT - reboot command on Sparc
- KERN_
SPARC_ SCONS_ PWROFF - int: serial console power-off halt
- KERN_
SPARC_ STOP_ A - int: Sparc Stop-A enable
- KERN_
SPIN_ RETRY - int: number of spinlock retries
- KERN_
SYSRQ - int: Sysreq enable
- KERN_
TAINTED - int: various kernel tainted flags
- KERN_
UNKNOWN_ NMI_ PANIC - int: unknown nmi panic flag
- KERN_
VERSION - string: compile time info
- KEXEC_
ARCH_ 68K - KEXEC_
ARCH_ 386 - KEXEC_
ARCH_ AARC H64 - KEXEC_
ARCH_ ARM - KEXEC_
ARCH_ DEFAULT - These values match the ELF architecture values. Unless there is a good reason that should continue to be the case.
- KEXEC_
ARCH_ IA_ 64 - KEXEC_
ARCH_ MASK - KEXEC_
ARCH_ MIPS - KEXEC_
ARCH_ MIPS_ LE - KEXEC_
ARCH_ PPC - KEXEC_
ARCH_ PPC64 - KEXEC_
ARCH_ S390 - KEXEC_
ARCH_ SH - KEXEC_
ARCH_ X86_ 64 - KEXEC_
FILE_ NO_ INITRAMFS - KEXEC_
FILE_ ON_ CRASH - KEXEC_
FILE_ UNLOAD - Kexec file load interface flags.
- KEXEC_
ON_ CRASH - kexec system call - It loads the new kernel to boot into.
- KEXEC_
PRESERVE_ CONTEXT - KEXEC_
SEGMENT_ MAX - The artificial cap on the number of segments passed to
kexec_load
. - KEY_
ALLOC_ BUILT_ IN - Key is built into kernel
- KEY_
ALLOC_ BYPASS_ RESTRICTION - Override the check on restricted keyrings
- KEY_
ALLOC_ IN_ QUOTA - add to quota, reject if would overrun
- KEY_
ALLOC_ NOT_ IN_ QUOTA - not in quota
- KEY_
ALLOC_ QUOTA_ OVERRUN - add to quota, permit even if overrun
- KEY_
ALLOC_ UID_ KEYRING - allocating a user or user session keyring
- KEY_
DEBUG_ MAGIC - authentication token / access credential / keyring
- KEY_
FLAG_ BUILTIN - set if key is built in to the kernel
- KEY_
FLAG_ DEAD - set if key type has been deleted
- KEY_
FLAG_ INVALIDATED - set if key has been invalidated
- KEY_
FLAG_ IN_ QUOTA - set if key consumes quota
- KEY_
FLAG_ KEEP - set if key should not be removed
- KEY_
FLAG_ REVOKED - set if key had been revoked
- KEY_
FLAG_ ROOT_ CAN_ CLEAR - set if key can be cleared by root without permission
- KEY_
FLAG_ ROOT_ CAN_ INVAL - set if key can be invalidated by root without permission
- KEY_
FLAG_ UID_ KEYRING - set if key is a user or user session keyring
- KEY_
FLAG_ USER_ CONSTRUCT - set if key is being constructed in userspace
- KEY_
GRP_ ALL - KEY_
GRP_ LINK - KEY_
GRP_ READ - KEY_
GRP_ SEARCH - KEY_
GRP_ SETATTR - KEY_
GRP_ VIEW - group permissions…
- KEY_
GRP_ WRITE - KEY_
IS_ POSITIVE - Positively instantiated
- KEY_
IS_ UNINSTANTIATED - KEY_
NEED_ ALL - All the above permissions
- KEY_
NEED_ LINK - Require permission to link
- KEY_
NEED_ READ - Require permission to read content
- KEY_
NEED_ SEARCH - Require permission to search (keyring) or find (key)
- KEY_
NEED_ SETATTR - Require permission to change attributes
- KEY_
NEED_ VIEW - The permissions required on a key that we’re looking up. Require permission to view attributes
- KEY_
NEED_ WRITE - Require permission to update / modify
- KEY_
OTH_ ALL - KEY_
OTH_ LINK - KEY_
OTH_ READ - KEY_
OTH_ SEARCH - KEY_
OTH_ SETATTR - KEY_
OTH_ VIEW - third party permissions…
- KEY_
OTH_ WRITE - KEY_
PERM_ UNDEF - KEY_
POS_ ALL - KEY_
POS_ LINK - possessor can create a link to a key/keyring
- KEY_
POS_ READ - possessor can read key payload / view keyring
- KEY_
POS_ SEARCH - possessor can find a key in search / search a keyring
- KEY_
POS_ SETATTR - possessor can set key attributes
- KEY_
POS_ VIEW - possessor can view a key’s attributes
- KEY_
POS_ WRITE - possessor can update key payload / add link to keyring
- KEY_
USR_ ALL - KEY_
USR_ LINK - KEY_
USR_ READ - KEY_
USR_ SEARCH - KEY_
USR_ SETATTR - KEY_
USR_ VIEW - user permissions…
- KEY_
USR_ WRITE - KTIME_
MAX - KTIME_
SEC_ MAX - LDT_
ENTRIES - Definitions of structures used with the
modify_ldt
system call. Maximum number of LDT entries supported. - LDT_
ENTRY_ SIZE - The size of each LDT entry.
- LINK_
MAX - links a file may have
- LINUX_
CAPABILITY_ U32S - LINUX_
CAPABILITY_ U32S_ 1 - LINUX_
CAPABILITY_ U32S_ 2 - LINUX_
CAPABILITY_ U32S_ 3 - LINUX_
CAPABILITY_ VERSION - Backwardly compatible definition for source code - trapped in a 32-bit world. If you find you need this, please consider using libcap to untrap yourself…
- LINUX_
CAPABILITY_ VERSION_ 1 - User-level do most of the mapping between kernel and user capabilities based on the version tag given by the kernel.
- LINUX_
CAPABILITY_ VERSION_ 2 - deprecated - use v3
- LINUX_
CAPABILITY_ VERSION_ 3 - LINUX_
GETCPU_ H - LINUX_
REBOOT_ CMD_ CAD_ OFF - LINUX_
REBOOT_ CMD_ CAD_ ON - LINUX_
REBOOT_ CMD_ HALT - LINUX_
REBOOT_ CMD_ KEXEC - LINUX_
REBOOT_ CMD_ POWER_ OFF - LINUX_
REBOOT_ CMD_ RESTART - Commands accepted by the
_reboot()
system call. - LINUX_
REBOOT_ CMD_ RESTAR T2 - LINUX_
REBOOT_ CMD_ SW_ SUSPEND - LINUX_
REBOOT_ MAGI C1 - Magic values required to use
_reboot()
system call. - LINUX_
REBOOT_ MAGI C2 - LINUX_
REBOOT_ MAGI C2A - LINUX_
REBOOT_ MAGI C2B - LINUX_
REBOOT_ MAGI C2C - LOCK_EX
- exclusive lock
- LOCK_
MAND - This is a mandatory flock …
- LOCK_NB
- or’d with one of the above to prevent blocking
- LOCK_
READ - which allows concurrent read operations
- LOCK_RW
- which allows concurrent read & write ops
- LOCK_SH
- operations for bsd
flock()
, also used by the kernel implementation shared lock - LOCK_UN
- remove lock
- LOCK_
WRITE - which allows concurrent write operations
- LSMT_
ROOT - Special
mnt_id
values that can be passed to listmount root mount - MADV_
COLD - deactivate these pages
- MADV_
DODUMP - Clear the
MADV_DONTDUMP
flag - MADV_
DOFORK - do inherit across fork
- MADV_
DONTDUMP - Explicity exclude from the core dump, overrides the coredump filter bits
- MADV_
DONTFORK - don’t inherit across fork
- MADV_
DONTNEED - don’t need these pages
- MADV_
FREE - common parameters: try to keep these consistent across architectures free pages only if memory pressure
- MADV_
HUGEPAGE - Worth backing with hugepages
- MADV_
HWPOISON - poison a page for testing
- MADV_
KEEPONFORK - Undo
MADV_WIPEONFORK
- MADV_
MERGEABLE - KSM may merge identical pages
- MADV_
NOHUGEPAGE - Not worth backing with hugepages
- MADV_
NORMAL - no further special treatment
- MADV_
PAGEOUT - reclaim these pages
- MADV_
RANDOM - expect random page references
- MADV_
REMOVE - remove these pages & resources
- MADV_
SEQUENTIAL - expect sequential page references
- MADV_
SOFT_ OFFLINE - soft offline page for testing
- MADV_
UNMERGEABLE - KSM may not merge identical pages
- MADV_
WILLNEED - will need these pages
- MADV_
WIPEONFORK - Zero memory on fork, child only
- MAP_
ANONYMOUS - don’t use a file
- MAP_
DENYWRITE - ETXTBSY
- MAP_
EXECUTABLE - mark it as an executable
- MAP_
FILE - compatibility flags
- MAP_
FIXED - Interpret addr exactly
- MAP_
FIXED_ NOREPLACE MAP_FIXED
which doesn’t unmap underlying mapping- MAP_
GROWSDOWN - stack-like segment
- MAP_
HUGETLB - create a huge page mapping
- MAP_
HUGE_ 1GB - MAP_
HUGE_ 1MB - MAP_
HUGE_ 2GB - MAP_
HUGE_ 2MB - MAP_
HUGE_ 8MB - MAP_
HUGE_ 16GB - MAP_
HUGE_ 16MB - MAP_
HUGE_ 32MB - MAP_
HUGE_ 64KB - MAP_
HUGE_ 256MB - MAP_
HUGE_ 512KB - MAP_
HUGE_ 512MB - MAP_
HUGE_ MASK - MAP_
HUGE_ SHIFT - Huge page size encoding when
MAP_HUGETLB
is specified, and a huge page size other than the default is desired. - MAP_
LOCKED - pages are locked
- MAP_
NONBLOCK - do not block on IO
- MAP_
NORESERVE - don’t check for reservations
- MAP_
POPULATE - 0x0100 - 0x4000 flags are defined in asm-generic/mman.h populate (prefault) pagetables
- MAP_
PRIVATE - Changes are private
- MAP_
SHARED - Share changes
- MAP_
SHARED_ VALIDATE - share + validate extension flags
- MAP_
STACK - give out an address that is best suited for process/thread stacks
- MAP_
SYNC - perform synchronous page faults for the mapping
- MAP_
TYPE - 0x01 - 0x03 are defined in linux/mman.h Mask for type of mapping
- MAP_
UNINITIALIZED - For anonymous mmap, memory could be uninitialized
- MAXFREQ
- max frequency error (ns/s)
- MAXPHASE
- max phase error (ns)
- MAXQUOTAS
- MAXSEC
- max interval between updates (s)
- MAX_
BPF_ ATTACH_ TYPE - MAX_
BPF_ REG - BPF has 10 general purpose 64-bit registers and stack frame.
- MAX_
CANON - size of the canonical input queue
- MAX_
CLOCKS - MAX_
INPUT - size of the type-ahead buffer
- MAX_
SWAPFILES_ SHIFT MAX_SWAPFILES
defines the maximum number of swaptypes: things which can be swapped to.- MCAST_
BLOCK_ SOURCE - MCAST_
EXCLUDE - MCAST_
INCLUDE - MCAST_
JOIN_ GROUP - MCAST_
JOIN_ SOURCE_ GROUP - MCAST_
LEAVE_ GROUP - MCAST_
LEAVE_ SOURCE_ GROUP - MCAST_
MSFILTER - MCAST_
UNBLOCK_ SOURCE - MCL_
CURRENT - lock all current mappings
- MCL_
FUTURE - lock all future mappings
- MCL_
ONFAULT - lock all pages that are faulted in
- MEMBARRIER_
CMD_ GLOBAL - MEMBARRIER_
CMD_ GLOBAL_ EXPEDITED - MEMBARRIER_
CMD_ PRIVATE_ EXPEDITED - MEMBARRIER_
CMD_ PRIVATE_ EXPEDITED_ SYNC_ CORE - MEMBARRIER_
CMD_ QUERY - enum
membarrier_cmd
- membarrier system call command - MEMBARRIER_
CMD_ REGISTER_ GLOBAL_ EXPEDITED - MEMBARRIER_
CMD_ REGISTER_ PRIVATE_ EXPEDITED - MEMBARRIER_
CMD_ REGISTER_ PRIVATE_ EXPEDITED_ SYNC_ CORE - MEMBARRIER_
CMD_ SHARED - Alias for header backward compatibility.
- MFD_
ALLOW_ SEALING - MFD_
CLOEXEC - flags for
memfd_create(2)
(unsigned int) - MFD_
HUGETLB - MFD_
HUGE_ 1GB - MFD_
HUGE_ 1MB - MFD_
HUGE_ 2GB - MFD_
HUGE_ 2MB - MFD_
HUGE_ 8MB - MFD_
HUGE_ 16GB - MFD_
HUGE_ 16MB - MFD_
HUGE_ 32MB - MFD_
HUGE_ 64KB - MFD_
HUGE_ 256MB - MFD_
HUGE_ 512KB - MFD_
HUGE_ 512MB - MFD_
HUGE_ MASK - MFD_
HUGE_ SHIFT - Huge page size encoding when
MFD_HUGETLB
is specified, and a huge page size other than the default is desired. - MINSEC
- min interval between updates (s)
- MINSIGSTKSZ
- MLOCK_
ONFAULT - Flags for mlock Lock pages in range after they are faulted in, do not prefault
- MMAP_
PAGE_ ZERO - MNT_
DETACH - Just detach from the tree
- MNT_
EXPIRE - Mark for expiry
- MNT_
FORCE - Umount options Attempt to forcibily umount
- MNT_
ID_ REQ_ SIZE_ VER0 - List of all
mnt_id_req
versions. sizeof first published struct - MNT_
NS_ INDEX - MODIFY_
LDT_ CONTENTS_ CODE - MODIFY_
LDT_ CONTENTS_ DATA - MODIFY_
LDT_ CONTENTS_ STACK - MOD_
ESTERROR - MOD_
FREQUENCY - MOD_
MAXERROR - MOD_
MICRO - MOD_
NANO - MOD_
OFFSET - NTP userland likes the MOD_ prefix better
- MOD_
STATUS - MOD_TAI
- MOD_
TIMECONST - MOUNT_
ATTR_ IDMAP - Idmap mount to @
userns_fd
in structmount_attr
. - MOUNT_
ATTR_ NOATIME - Do not update access times.
- MOUNT_
ATTR_ NODEV - Disallow access to device special files
- MOUNT_
ATTR_ NODIRATIME - Do not update directory access times
- MOUNT_
ATTR_ NOEXEC - Disallow program execution
- MOUNT_
ATTR_ NOSUID - Ignore suid and sgid bits
- MOUNT_
ATTR_ NOSYMFOLLOW - Do not follow symlinks
- MOUNT_
ATTR_ RDONLY - Mount attributes used in
fsmount()
. Mount read-only - MOUNT_
ATTR_ RELATIME - Update atime relative to mtime/ctime.
- MOUNT_
ATTR_ SIZE_ VER0 - List of all
mount_attr
versions. sizeof first published struct - MOUNT_
ATTR_ STRICTATIME - Always perform atime updates
- MOUNT_
ATTR__ ATIME - Setting on how atime should be updated
- MOVE_
MOUNT_ BENEATH - Mount beneath top mount
- MOVE_
MOUNT_ F_ AUTOMOUNTS - Follow automounts on from path
- MOVE_
MOUNT_ F_ EMPTY_ PATH - Empty from path permitted
- MOVE_
MOUNT_ F_ SYMLINKS move_mount()
flags. Follow symlinks on from path- MOVE_
MOUNT_ SET_ GROUP - Set sharing group instead
- MOVE_
MOUNT_ T_ AUTOMOUNTS - Follow automounts on to path
- MOVE_
MOUNT_ T_ EMPTY_ PATH - Empty to path permitted
- MOVE_
MOUNT_ T_ SYMLINKS - Follow symlinks on to path
- MOVE_
MOUNT__ MASK - MPOL_
BIND - MPOL_
DEFAULT - Policies
- MPOL_
F_ ADDR - look up vma using address
- MPOL_
F_ LOCAL - preferred local allocation
- MPOL_
F_ MEMS_ ALLOWED - return allowed memories
- MPOL_
F_ MOF - this policy wants migrate on fault
- MPOL_
F_ MORON - Migrate On protnone Reference On Node
- MPOL_
F_ NODE - Flags for
get_mempolicy
return next IL mode instead of node mask - MPOL_
F_ RELATIVE_ NODES - MPOL_
F_ SHARED - Internal flags that share the struct mempolicy flags word with “mode flags”.
- MPOL_
F_ STATIC_ NODES - Flags for
set_mempolicy
- MPOL_
INTERLEAVE - MPOL_
LOCAL - MPOL_
MAX - always last member of enum
- MPOL_
MF_ INTERNAL - Internal flags start here
- MPOL_
MF_ LAZY - Modifies ’_MOVE: lazy migrate on fault
- MPOL_
MF_ MOVE - Move pages owned by this process to conform to policy
- MPOL_
MF_ MOVE_ ALL - Move every page to conform to policy
- MPOL_
MF_ STRICT - Flags for mbind Verify existing pages in the mapping
- MPOL_
MF_ VALID - MPOL_
MODE_ FLAGS MPOL_MODE_FLAGS
is the union of all possible optional mode flags passed to eitherset_mempolicy()
ormbind()
.- MPOL_
PREFERRED - MQ_
BYTES_ MAX - per-uid limit of kernel memory used by mqueue, in bytes
- MQ_
PRIO_ MAX - MREMAP_
DONTUNMAP - MREMAP_
FIXED - MREMAP_
MAYMOVE - MSEC_
PER_ SEC - Parameters used to convert the timespec values:
- MSGCTL
- MSGGET
- MSGMAP
- number of entries in message map
- MSGMAX
- <=
INT_MAX
, max size of message (bytes) - MSGMNB
- <=
INT_MAX
, default max size of a message queue - MSGMNI
- MSGMNI, MSGMAX and MSGMNB are default values which can be modified by sysctl.
- MSGPOOL
- unused
- MSGRCV
- MSGSEG
- max no. of segments
- MSGSND
- MSGSSZ
- message segment size
- MSGTQL
- number of system message headers
- MSG_
BATCH sendmmsg()
: more messages coming- MSG_
CMSG_ CLOEXEC - Set
close_on_exec
for file descriptor received throughSCM_RIGHTS
- MSG_
CMSG_ COMPAT - We never have 32 bit fixups
- MSG_
CONFIRM - Confirm path validity
- MSG_
COPY - copy (not remove) all queue messages
- MSG_
CTRUNC - MSG_
DONTROUTE - MSG_
DONTWAIT - Nonblocking io
- MSG_EOF
- MSG_EOR
- End of record
- MSG_
ERRQUEUE - Fetch message from error queue
- MSG_
EXCEPT - recv any msg except of specified type.
- MSG_
FASTOPEN - Send data in TCP SYN
- MSG_FIN
- MSG_
INFO - MSG_
MORE - Sender will send more
- MSG_
NOERROR - msgrcv options no error if message is too big
- MSG_
NOSIGNAL - Do not generate SIGPIPE
- MSG_
NO_ SHARED_ FRAGS sendpage()
internal : page frags are not shared- MSG_OOB
- Flags we can use with send/ and recv. Added those for 1003.1g not all are supported yet
- MSG_
PEEK - MSG_
PROBE - Do not send. Only probe path f.e. for MTU
- MSG_RST
- MSG_
SENDPAGE_ DECRYPTED sendpage()
internal : page may carry plain text and require encryption- MSG_
SENDPAGE_ NOPOLICY sendpage()
internal : do no apply policy- MSG_
SENDPAGE_ NOTLAST sendpage()
internal : not the last page- MSG_
STAT - ipcs ctl commands
- MSG_
STAT_ ANY - MSG_SYN
- MSG_
TRUNC - MSG_
TRYHARD - Synonym for
MSG_DONTROUTE
forDECnet
- MSG_
WAITALL - Wait for a full request
- MSG_
WAITFORONE recvmmsg()
: block until 1+ packets avail- MSG_
ZEROCOPY - Use user data in kernel path
- MS_
ACTIVE - MS_
ASYNC - sync memory asynchronously
- MS_BIND
- MS_BORN
- MS_
DIRSYNC - Directory modifications are synchronous
- MS_
INVALIDATE - invalidate the caches
- MS_
I_ VERSION - Update inode
I_version
field - MS_
KERNMOUNT - this is a
kern_mount
call - MS_
LAZYTIME - Update the on-disk
acm
times lazily - MS_
MANDLOCK - Allow mandatory locks on an FS
- MS_
MGC_ MSK - MS_
MGC_ VAL - Old magic mount flag and mask
- MS_MOVE
- MS_
NOATIME - Do not update access times.
- MS_
NODEV - Disallow access to device special files
- MS_
NODIRATIME - Do not update directory access times
- MS_
NOEXEC - Disallow program execution
- MS_
NOREMOTELOCK - MS_
NOSEC - MS_
NOSUID - Ignore suid and sgid bits
- MS_
NOUSER - MS_
POSIXACL - VFS does not apply the umask
- MS_
PRIVATE - change to private
- MS_
RDONLY - These are the fs-independent mount-flags: up to 32 flags are supported
- MS_REC
- MS_
RELATIME - Update atime relative to mtime/ctime.
- MS_
REMOUNT - Alter flags of a mounted FS
- MS_
RMT_ MASK - Superblock flags that can be altered by
MS_REMOUNT
- MS_
SHARED - change to shared
- MS_
SILENT - MS_
SLAVE - change to slave
- MS_
STRICTATIME - Always perform atime updates
- MS_
SUBMOUNT - These sb flags are internal to the kernel
- MS_SYNC
- synchronous memory sync
- MS_
SYNCHRONOUS - Writes are synced at once
- MS_
UNBINDABLE - change to unbindable
- MS_
VERBOSE MS_VERBOSE
is deprecated.- NAME_
MAX - chars in a file name
- NCC
- NCCS
- NET_802
- NET_
ATALK - NET_
ATALK_ AARP_ EXPIRY_ TIME /proc/sys/net/appletalk
- NET_
ATALK_ AARP_ RESOLVE_ TIME - NET_
ATALK_ AARP_ RETRANSMIT_ LIMIT - NET_
ATALK_ AARP_ TICK_ TIME - NET_
AX25 - NET_
AX25_ BACKOFF_ TYPE - NET_
AX25_ CONNECT_ MODE - NET_
AX25_ DAMA_ SLAVE_ TIMEOUT - NET_
AX25_ DEFAULT_ MODE - NET_
AX25_ EXTENDED_ WINDOW - NET_
AX25_ IDLE_ TIMEOUT - NET_
AX25_ IP_ DEFAULT_ MODE /proc/sys/net/ax25
- NET_
AX25_ N2 - NET_
AX25_ PACLEN - NET_
AX25_ PROTOCOL - NET_
AX25_ STANDARD_ WINDOW - NET_
AX25_ T1_ TIMEOUT - NET_
AX25_ T2_ TIMEOUT - NET_
AX25_ T3_ TIMEOUT - NET_
BRIDGE - NET_
BRIDGE_ NF_ CALL_ ARPTABLES /proc/sys/net/bridge
- NET_
BRIDGE_ NF_ CALL_ IP6TABLES - NET_
BRIDGE_ NF_ CALL_ IPTABLES - NET_
BRIDGE_ NF_ FILTER_ PPPOE_ TAGGED - NET_
BRIDGE_ NF_ FILTER_ VLAN_ TAGGED - NET_
CIPSO V4_ CACHE_ BUCKET_ SIZE - NET_
CIPSO V4_ CACHE_ ENABLE - NET_
CIPSO V4_ RBM_ OPTFMT - NET_
CIPSO V4_ RBM_ STRICTVALID - NET_
CORE CTL_NET
names:- NET_
CORE_ AEVENT_ ETIME - NET_
CORE_ AEVENT_ RSEQTH - NET_
CORE_ BUDGET - NET_
CORE_ DEV_ WEIGHT - NET_
CORE_ DIVERT_ VERSION - NET_
CORE_ FASTROUTE - NET_
CORE_ HOT_ LIST_ LENGTH - NET_
CORE_ LO_ CONG - NET_
CORE_ MAX_ BACKLOG - was
NET_CORE_DESTROY_DELAY
- NET_
CORE_ MOD_ CONG - NET_
CORE_ MSG_ BURST - NET_
CORE_ MSG_ COST - NET_
CORE_ NO_ CONG - NET_
CORE_ NO_ CONG_ THRESH - NET_
CORE_ OPTMEM_ MAX - NET_
CORE_ RMEM_ DEFAULT - NET_
CORE_ RMEM_ MAX - NET_
CORE_ SOMAXCONN - NET_
CORE_ WARNINGS - NET_
CORE_ WMEM_ DEFAULT - NET_
CORE_ WMEM_ MAX /proc/sys/net/core
- NET_
DCCP - NET_
DCCP_ DEFAULT /proc/sys/net/dccp
- NET_
DECNET - NET_
DECNET_ CONF - NET_
DECNET_ CONF_ DDCMP - NET_
DECNET_ CONF_ DEV_ BLKSIZE - NET_
DECNET_ CONF_ DEV_ FORWARDING - NET_
DECNET_ CONF_ DEV_ PRIORITY /proc/sys/net/decnet/conf/<dev>/
- NET_
DECNET_ CONF_ DEV_ STATE - NET_
DECNET_ CONF_ DEV_ T1 - NET_
DECNET_ CONF_ DEV_ T2 - NET_
DECNET_ CONF_ DEV_ T3 - NET_
DECNET_ CONF_ ETHER - NET_
DECNET_ CONF_ GRE - NET_
DECNET_ CONF_ LOOPBACK /proc/sys/net/decnet/conf/<dev>
- NET_
DECNET_ CONF_ PPP - NET_
DECNET_ CONF_ X25 - NET_
DECNET_ DEBUG_ LEVEL - NET_
DECNET_ DEFAULT_ DEVICE - NET_
DECNET_ DI_ COUNT - NET_
DECNET_ DN_ COUNT - NET_
DECNET_ DR_ COUNT - NET_
DECNET_ DST_ GC_ INTERVAL - NET_
DECNET_ MEM - NET_
DECNET_ NODE_ ADDRESS - NET_
DECNET_ NODE_ NAME - NET_
DECNET_ NODE_ TYPE /proc/sys/net/decnet/
- NET_
DECNET_ NO_ FC_ MAX_ CWND - NET_
DECNET_ RMEM - NET_
DECNET_ TIME_ WAIT - NET_
DECNET_ WMEM - NET_
ECONET - NET_
ETHER - NET_
IPV4 - NET_
IPV6 - NET_
IPV4_ ALWAYS_ DEFRAG - NET_
IPV4_ AUTOCONFIG - NET_
IPV4_ CONF - NET_
IPV4_ CONF_ ACCEPT_ REDIRECTS - NET_
IPV4_ CONF_ ACCEPT_ SOURCE_ ROUTE - NET_
IPV4_ CONF_ ARPFILTER - NET_
IPV4_ CONF_ ARP_ ACCEPT - NET_
IPV4_ CONF_ ARP_ ANNOUNCE - NET_
IPV4_ CONF_ ARP_ IGNORE - NET_
IPV4_ CONF_ ARP_ NOTIFY - NET_
IPV4_ CONF_ BOOTP_ RELAY - NET_
IPV4_ CONF_ FORCE_ IGMP_ VERSION - NET_
IPV4_ CONF_ FORWARDING - NET_
IPV4_ CONF_ LOG_ MARTIANS - NET_
IPV4_ CONF_ MC_ FORWARDING - NET_
IPV4_ CONF_ MEDIUM_ ID - NET_
IPV4_ CONF_ NOPOLICY - NET_
IPV4_ CONF_ NOXFRM - NET_
IPV4_ CONF_ PROMOTE_ SECONDARIES - NET_
IPV4_ CONF_ PROXY_ ARP - NET_
IPV4_ CONF_ RP_ FILTER - NET_
IPV4_ CONF_ SECURE_ REDIRECTS - NET_
IPV4_ CONF_ SEND_ REDIRECTS - NET_
IPV4_ CONF_ SHARED_ MEDIA - NET_
IPV4_ CONF_ TAG - NET_
IPV4_ DEFAULT_ TTL - NET_
IPV4_ DYNADDR - NET_
IPV4_ FIB_ HASH - NET_
IPV4_ FORWARD /proc/sys/net/ipv4
- NET_
IPV4_ ICMP_ DESTUNREACH_ RATE - NET_
IPV4_ ICMP_ ECHOREPLY_ RATE - NET_
IPV4_ ICMP_ ECHO_ IGNORE_ ALL - NET_
IPV4_ ICMP_ ECHO_ IGNORE_ BROADCASTS - NET_
IPV4_ ICMP_ ERRORS_ USE_ INBOUND_ IFADDR - NET_
IPV4_ ICMP_ IGNORE_ BOGUS_ ERROR_ RESPONSES - NET_
IPV4_ ICMP_ PARAMPROB_ RATE - NET_
IPV4_ ICMP_ RATELIMIT - NET_
IPV4_ ICMP_ RATEMASK - NET_
IPV4_ ICMP_ SOURCEQUENCH_ RATE - NET_
IPV4_ ICMP_ TIMEEXCEED_ RATE - NET_
IPV4_ IGMP_ MAX_ MEMBERSHIPS - NET_
IPV4_ IGMP_ MAX_ MSF - NET_
IPV4_ INET_ PEER_ GC_ MAXTIME - NET_
IPV4_ INET_ PEER_ GC_ MINTIME - NET_
IPV4_ INET_ PEER_ MAXTTL - NET_
IPV4_ INET_ PEER_ MINTTL - NET_
IPV4_ INET_ PEER_ THRESHOLD - NET_
IPV4_ IPFRAG_ HIGH_ THRESH - NET_
IPV4_ IPFRAG_ LOW_ THRESH - NET_
IPV4_ IPFRAG_ MAX_ DIST - NET_
IPV4_ IPFRAG_ SECRET_ INTERVAL - NET_
IPV4_ IPFRAG_ TIME - NET_
IPV4_ IP_ MASQ_ DEBUG - NET_
IPV4_ LOCAL_ PORT_ RANGE - NET_
IPV4_ NEIGH - NET_
IPV4_ NETFILTER - NET_
IPV4_ NF_ CONNTRACK_ BUCKETS - NET_
IPV4_ NF_ CONNTRACK_ CHECKSUM - NET_
IPV4_ NF_ CONNTRACK_ COUNT - NET_
IPV4_ NF_ CONNTRACK_ GENERIC_ TIMEOUT - NET_
IPV4_ NF_ CONNTRACK_ ICMP_ TIMEOUT - NET_
IPV4_ NF_ CONNTRACK_ LOG_ INVALID - NET_
IPV4_ NF_ CONNTRACK_ MAX /proc/sys/net/ipv4/netfilter
- NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ CLOSED - NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ COOKIE_ ECHOED - NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ COOKIE_ WAIT - NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ ESTABLISHED - NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ SHUTDOWN_ ACK_ SENT - NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ SHUTDOWN_ RECD - NET_
IPV4_ NF_ CONNTRACK_ SCTP_ TIMEOUT_ SHUTDOWN_ SENT - NET_
IPV4_ NF_ CONNTRACK_ TCP_ BE_ LIBERAL - NET_
IPV4_ NF_ CONNTRACK_ TCP_ LOOSE - NET_
IPV4_ NF_ CONNTRACK_ TCP_ MAX_ RETRANS - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ CLOSE - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ CLOSE_ WAIT - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ ESTABLISHED - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ FIN_ WAIT - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ LAST_ ACK - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ MAX_ RETRANS - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ SYN_ RECV - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ SYN_ SENT - NET_
IPV4_ NF_ CONNTRACK_ TCP_ TIMEOUT_ TIME_ WAIT - NET_
IPV4_ NF_ CONNTRACK_ UDP_ TIMEOUT - NET_
IPV4_ NF_ CONNTRACK_ UDP_ TIMEOUT_ STREAM - NET_
IPV4_ NONLOCAL_ BIND - NET_
IPV4_ NO_ PMTU_ DISC - NET_
IPV4_ ROUTE - NET_
IPV4_ ROUTE_ ERROR_ BURST - NET_
IPV4_ ROUTE_ ERROR_ COST - NET_
IPV4_ ROUTE_ FLUSH - NET_
IPV4_ ROUTE_ GC_ ELASTICITY - NET_
IPV4_ ROUTE_ GC_ INTERVAL - obsolete since 2.6.38
- NET_
IPV4_ ROUTE_ GC_ MIN_ INTERVAL - NET_
IPV4_ ROUTE_ GC_ MIN_ INTERVAL_ MS - NET_
IPV4_ ROUTE_ GC_ THRESH - NET_
IPV4_ ROUTE_ GC_ TIMEOUT - NET_
IPV4_ ROUTE_ MAX_ DELAY - obsolete since 2.6.25
- NET_
IPV4_ ROUTE_ MAX_ SIZE - NET_
IPV4_ ROUTE_ MIN_ ADVMSS - NET_
IPV4_ ROUTE_ MIN_ DELAY - obsolete since 2.6.25
- NET_
IPV4_ ROUTE_ MIN_ PMTU - NET_
IPV4_ ROUTE_ MTU_ EXPIRES - NET_
IPV4_ ROUTE_ REDIRECT_ LOAD - NET_
IPV4_ ROUTE_ REDIRECT_ NUMBER - NET_
IPV4_ ROUTE_ REDIRECT_ SILENCE - NET_
IPV4_ ROUTE_ SECRET_ INTERVAL - NET_
IPV4_ TCP_ FIN_ TIMEOUT - NET_
IPV4_ TCP_ KEEPALIVE_ INTVL - NET_
IPV4_ TCP_ KEEPALIVE_ PROBES - NET_
IPV4_ TCP_ KEEPALIVE_ TIME - NET_
IPV4_ TCP_ MAX_ KA_ PROBES - NET_
IPV4_ TCP_ RETRANS_ COLLAPSE - NET_
IPV4_ TCP_ RETRIE S1 - NET_
IPV4_ TCP_ RETRIE S2 - NET_
IPV4_ TCP_ SACK - NET_
IPV4_ TCP_ SYN_ RETRIES - NET_
IPV4_ TCP_ TIMESTAMPS - NET_
IPV4_ TCP_ WINDOW_ SCALING - NET_
IPV4_ TCP_ WORKAROUND_ SIGNED_ WINDOWS - NET_
IPV6_ ACCEPT_ RA - NET_
IPV6_ ACCEPT_ RA_ DEFRTR - NET_
IPV6_ ACCEPT_ RA_ FROM_ LOCAL - NET_
IPV6_ ACCEPT_ RA_ PINFO - NET_
IPV6_ ACCEPT_ RA_ RTR_ PREF - NET_
IPV6_ ACCEPT_ RA_ RT_ INFO_ MAX_ PLEN - NET_
IPV6_ ACCEPT_ RA_ RT_ INFO_ MIN_ PLEN - NET_
IPV6_ ACCEPT_ REDIRECTS - NET_
IPV6_ ACCEPT_ SOURCE_ ROUTE - NET_
IPV6_ AUTOCONF - NET_
IPV6_ BIND V6ONLY - NET_
IPV6_ CONF /proc/sys/net/ipv6
- NET_
IPV6_ DAD_ TRANSMITS - NET_
IPV6_ FORCE_ MLD_ VERSION - NET_
IPV6_ FORWARDING - NET_
IPV6_ HOP_ LIMIT - NET_
IPV6_ ICMP - NET_
IPV6_ ICMP_ ECHO_ IGNORE_ ALL - NET_
IPV6_ ICMP_ RATELIMIT /proc/sys/net/ipv6/icmp
- NET_
IPV6_ IP6FRAG_ HIGH_ THRESH - NET_
IPV6_ IP6FRAG_ LOW_ THRESH - NET_
IPV6_ IP6FRAG_ SECRET_ INTERVAL - NET_
IPV6_ IP6FRAG_ TIME - NET_
IPV6_ MAX - NET_
IPV6_ MAX_ ADDRESSES - NET_
IPV6_ MAX_ DESYNC_ FACTOR - NET_
IPV6_ MLD_ MAX_ MSF - NET_
IPV6_ MTU - NET_
IPV6_ NEIGH - NET_
IPV6_ PROXY_ NDP - NET_
IPV6_ REGEN_ MAX_ RETRY - NET_
IPV6_ ROUTE - NET_
IPV6_ ROUTE_ FLUSH - NET_
IPV6_ ROUTE_ GC_ ELASTICITY - NET_
IPV6_ ROUTE_ GC_ INTERVAL - NET_
IPV6_ ROUTE_ GC_ MIN_ INTERVAL - NET_
IPV6_ ROUTE_ GC_ MIN_ INTERVAL_ MS - NET_
IPV6_ ROUTE_ GC_ THRESH - NET_
IPV6_ ROUTE_ GC_ TIMEOUT - NET_
IPV6_ ROUTE_ MAX_ SIZE - NET_
IPV6_ ROUTE_ MIN_ ADVMSS - NET_
IPV6_ ROUTE_ MTU_ EXPIRES - NET_
IPV6_ RTR_ PROBE_ INTERVAL - NET_
IPV6_ RTR_ SOLICITS - NET_
IPV6_ RTR_ SOLICIT_ DELAY - NET_
IPV6_ RTR_ SOLICIT_ INTERVAL - NET_
IPV6_ TEMP_ PREFERED_ LFT - NET_
IPV6_ TEMP_ VALID_ LFT - NET_
IPV6_ USE_ TEMPADDR - NET_IPX
- NET_
IPX_ FORWARDING - NET_
IPX_ PPROP_ BROADCASTING /proc/sys/net/ipx
- NET_
IRDA - NET_LLC
- NET_
LLC2 /proc/sys/net/llc
- NET_
LLC2_ ACK_ TIMEOUT /proc/sys/net/llc/llc2/timeout
- NET_
LLC2_ BUSY_ TIMEOUT - NET_
LLC2_ P_ TIMEOUT - NET_
LLC2_ REJ_ TIMEOUT - NET_
LLC2_ TIMEOUT /proc/sys/net/llc/llc2
- NET_
LLC_ STATION - NET_
LLC_ STATION_ ACK_ TIMEOUT /proc/sys/net/llc/station
- NET_
NEIGH_ ANYCAST_ DELAY - NET_
NEIGH_ APP_ SOLICIT - NET_
NEIGH_ DELAY_ PROBE_ TIME - NET_
NEIGH_ GC_ INTERVAL - NET_
NEIGH_ GC_ STALE_ TIME - NET_
NEIGH_ GC_ THRES H1 - NET_
NEIGH_ GC_ THRES H2 - NET_
NEIGH_ GC_ THRES H3 - NET_
NEIGH_ LOCKTIME - NET_
NEIGH_ MCAST_ SOLICIT /proc/sys/net/<protocol>/neigh/<dev>
- NET_
NEIGH_ PROXY_ DELAY - NET_
NEIGH_ PROXY_ QLEN - NET_
NEIGH_ REACHABLE_ TIME - NET_
NEIGH_ REACHABLE_ TIME_ MS - NET_
NEIGH_ RETRANS_ TIME - NET_
NEIGH_ RETRANS_ TIME_ MS - NET_
NEIGH_ UCAST_ SOLICIT - NET_
NEIGH_ UNRES_ QLEN - NET_
NETFILTER - NET_
NETROM - NET_
NETROM_ DEFAULT_ PATH_ QUALITY /proc/sys/net/netrom
- NET_
NETROM_ LINK_ FAILS_ COUNT - NET_
NETROM_ NETWORK_ TTL_ INITIALISER - NET_
NETROM_ OBSOLESCENCE_ COUNT_ INITIALISER - NET_
NETROM_ RESET - NET_
NETROM_ ROUTING_ CONTROL - NET_
NETROM_ TRANSPORT_ ACKNOWLEDGE_ DELAY - NET_
NETROM_ TRANSPORT_ BUSY_ DELAY - NET_
NETROM_ TRANSPORT_ MAXIMUM_ TRIES - NET_
NETROM_ TRANSPORT_ NO_ ACTIVITY_ TIMEOUT - NET_
NETROM_ TRANSPORT_ REQUESTED_ WINDOW_ SIZE - NET_
NETROM_ TRANSPORT_ TIMEOUT - NET_
NF_ CONNTRACK_ BUCKETS - NET_
NF_ CONNTRACK_ CHECKSUM - NET_
NF_ CONNTRACK_ COUNT - NET_
NF_ CONNTRACK_ FRAG6_ HIGH_ THRESH - NET_
NF_ CONNTRACK_ FRAG6_ LOW_ THRESH - NET_
NF_ CONNTRACK_ FRAG6_ TIMEOUT - NET_
NF_ CONNTRACK_ GENERIC_ TIMEOUT - NET_
NF_ CONNTRACK_ ICMP V6_ TIMEOUT - NET_
NF_ CONNTRACK_ ICMP_ TIMEOUT - NET_
NF_ CONNTRACK_ LOG_ INVALID - NET_
NF_ CONNTRACK_ MAX /proc/sys/net/netfilter
- NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ CLOSED - NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ COOKIE_ ECHOED - NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ COOKIE_ WAIT - NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ ESTABLISHED - NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ SHUTDOWN_ ACK_ SENT - NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ SHUTDOWN_ RECD - NET_
NF_ CONNTRACK_ SCTP_ TIMEOUT_ SHUTDOWN_ SENT - NET_
NF_ CONNTRACK_ TCP_ BE_ LIBERAL - NET_
NF_ CONNTRACK_ TCP_ LOOSE - NET_
NF_ CONNTRACK_ TCP_ MAX_ RETRANS - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ CLOSE - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ CLOSE_ WAIT - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ ESTABLISHED - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ FIN_ WAIT - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ LAST_ ACK - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ MAX_ RETRANS - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ SYN_ RECV - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ SYN_ SENT - NET_
NF_ CONNTRACK_ TCP_ TIMEOUT_ TIME_ WAIT - NET_
NF_ CONNTRACK_ UDP_ TIMEOUT - NET_
NF_ CONNTRACK_ UDP_ TIMEOUT_ STREAM - NET_
NS_ INDEX - NET_
PROTO_ CONF_ ALL - NET_
PROTO_ CONF_ DEFAULT - NET_
ROSE - NET_
ROSE_ ACK_ HOLD_ BACK_ TIMEOUT - NET_
ROSE_ CALL_ REQUEST_ TIMEOUT - NET_
ROSE_ CLEAR_ REQUEST_ TIMEOUT - NET_
ROSE_ LINK_ FAIL_ TIMEOUT - NET_
ROSE_ MAX_ VCS - NET_
ROSE_ NO_ ACTIVITY_ TIMEOUT - NET_
ROSE_ RESET_ REQUEST_ TIMEOUT - NET_
ROSE_ RESTART_ REQUEST_ TIMEOUT /proc/sys/net/rose
- NET_
ROSE_ ROUTING_ CONTROL - NET_
ROSE_ WINDOW_ SIZE - NET_
SCTP - NET_
SCTP_ ADDIP_ ENABLE - NET_
SCTP_ ASSOCIATION_ MAX_ RETRANS - NET_
SCTP_ HB_ INTERVAL - NET_
SCTP_ MAX_ BURST - NET_
SCTP_ MAX_ INIT_ RETRANSMITS - NET_
SCTP_ PATH_ MAX_ RETRANS - NET_
SCTP_ PRESERVE_ ENABLE - NET_
SCTP_ PRSCTP_ ENABLE - NET_
SCTP_ RCVBUF_ POLICY - NET_
SCTP_ RTO_ ALPHA - NET_
SCTP_ RTO_ BETA - NET_
SCTP_ RTO_ INITIAL /proc/sys/net/sctp
- NET_
SCTP_ RTO_ MAX - NET_
SCTP_ RTO_ MIN - NET_
SCTP_ SACK_ TIMEOUT - NET_
SCTP_ SNDBUF_ POLICY - NET_
SCTP_ VALID_ COOKIE_ LIFE - NET_
TCP_ ABC - NET_
TCP_ ABORT_ ON_ OVERFLOW - NET_
TCP_ ADV_ WIN_ SCALE - NET_
TCP_ ALLOWED_ CONG_ CONTROL - NET_
TCP_ APP_ WIN - NET_
TCP_ AVAIL_ CONG_ CONTROL - NET_
TCP_ BASE_ MSS - NET_
TCP_ BIC_ BETA - NET_
TCP_ CONG_ CONTROL - NET_
TCP_ DEFAULT_ WIN_ SCALE - NET_
TCP_ DMA_ COPYBREAK - NET_
TCP_ DSACK - NET_
TCP_ ECN - NET_
TCP_ FACK - NET_
TCP_ FRTO - NET_
TCP_ FRTO_ RESPONSE - NET_
TCP_ LOW_ LATENCY - NET_
TCP_ MAX_ ORPHANS - NET_
TCP_ MAX_ SSTHRESH - NET_
TCP_ MAX_ SYN_ BACKLOG - NET_
TCP_ MAX_ TW_ BUCKETS - NET_
TCP_ MEM - NET_
TCP_ MODERATE_ RCVBUF - NET_
TCP_ MTU_ PROBING - NET_
TCP_ NO_ METRICS_ SAVE - NET_
TCP_ ORPHAN_ RETRIES - NET_
TCP_ REORDERING - NET_
TCP_ RFC1337 - NET_
TCP_ RMEM - NET_
TCP_ SLOW_ START_ AFTER_ IDLE - NET_
TCP_ STDURG - NET_
TCP_ SYNACK_ RETRIES - NET_
TCP_ SYNCOOKIES - NET_
TCP_ SYN_ TAILDROP - NET_
TCP_ TSO_ WIN_ DIVISOR - NET_
TCP_ TW_ RECYCLE - NET_
TCP_ TW_ REUSE - NET_
TCP_ WMEM - NET_TR
- NET_
TR_ RIF_ TIMEOUT /proc/sys/net/token-ring
- NET_
UNIX - NET_
UNIX_ DELETE_ DELAY - NET_
UNIX_ DESTROY_ DELAY /proc/sys/net/unix
- NET_
UNIX_ MAX_ DGRAM_ QLEN - NET_X25
- NET_
X25_ ACK_ HOLD_ BACK_ TIMEOUT - NET_
X25_ CALL_ REQUEST_ TIMEOUT - NET_
X25_ CLEAR_ REQUEST_ TIMEOUT - NET_
X25_ FORWARD - NET_
X25_ RESET_ REQUEST_ TIMEOUT - NET_
X25_ RESTART_ REQUEST_ TIMEOUT /proc/sys/net/x25
- NGROUPS_
MAX - supplemental group IDs are available
- NL0
- NL1
- NLDLY
- NOFLSH
- NOTIFY_
COOKIE_ LEN - NOTIFY_
NONE SIGEV_THREAD
implementation:- NOTIFY_
REMOVED - NOTIFY_
WOKENUP - NPROTO
- NET: An implementation of the SOCKET network access protocol. This is the master header file for the Linux NET layer, or, in plain English: the networking handling part of the kernel.
- NR_FILE
- NR_
NAMESPACES - number of available namespaces
- NR_OPEN
- NSEC_
PER_ MSEC - NSEC_
PER_ SEC - NSEC_
PER_ USEC - NSIGBUS
- NSIGCHLD
- NSIGEMT
- NSIGFPE
- NSIGILL
- NSIGPOLL
- NSIGSEGV
- NSIGSYS
- NSIGTRAP
- NTP_API
- NTP API version
- NTP_
SCALE_ SHIFT - OCRNL
- OFDEL
- OFILL
- OLCUC
c_oflag
bits- ONLCR
- ONLRET
- ONOCR
- OPEN_
TREE_ CLOEXEC - Close the file on
execve()
- OPEN_
TREE_ CLONE open_tree()
flags. Clone the target tree and attach the clone- OPOST
c_oflag
bits- ORIG_
RAX - On syscall entry, this is syscall#. On CPU exception, this is error code. On hw interrupt, it’s IRQ number:
- OVERCOMMIT_
ALWAYS - OVERCOMMIT_
GUESS - OVERCOMMIT_
NEVER - O_
ACCMODE - O_
APPEND - O_
CLOEXEC - set
close_on_exec
- O_CREAT
- not fcntl
- O_
DIRECT - direct disk access hint
- O_
DIRECTORY - must be a directory
- O_DSYNC
- used to be
O_SYNC
, see below - O_EXCL
- not fcntl
- O_
LARGEFILE - O_
NDELAY - O_
NOATIME - O_
NOCTTY - not fcntl
- O_
NOFOLLOW - don’t follow links
- O_
NONBLOCK - O_PATH
- O_
RDONLY - O_RDWR
- O_SYNC
- O_
TMPFILE - a horrid kludge trying to make sure that this will fail on old kernels
- O_
TMPFILE_ MASK - O_TRUNC
- not fcntl
- O_
WRONLY - PAGE_
MASK - PAGE_
OFFSET - PAGE_
SIZE - PARENB
- PARMRK
- Mark parity and framing errors
- PARODD
- PATH_
MAX - chars in a path name including nul
- PENDIN
- PERF_
ATTR_ SIZE_ VER0 - sizeof first published struct
- PERF_
ATTR_ SIZE_ VER1 - add: config2
- PERF_
ATTR_ SIZE_ VER2 - add:
branch_sample_type
- PERF_
ATTR_ SIZE_ VER3 - add:
sample_regs_user
add:sample_stack_user
- PERF_
ATTR_ SIZE_ VER4 - add:
sample_regs_intr
- PERF_
ATTR_ SIZE_ VER5 - add:
aux_watermark
- PERF_
AUX_ FLAG_ COLLISION - sample collided with another
- PERF_
AUX_ FLAG_ OVERWRITE - snapshot from overwrite mode
- PERF_
AUX_ FLAG_ PARTIAL - record contains gaps
- PERF_
AUX_ FLAG_ TRUNCATED PERF_RECORD_AUX::flags
bits record was truncated to fit- PERF_
BR_ CALL - function call
- PERF_
BR_ COND - conditional
- PERF_
BR_ COND_ CALL - conditional function call
- PERF_
BR_ COND_ RET - conditional function return
- PERF_
BR_ IND - indirect
- PERF_
BR_ IND_ CALL - indirect function call
- PERF_
BR_ MAX - PERF_
BR_ RET - function return
- PERF_
BR_ SYSCALL - syscall
- PERF_
BR_ SYSRET - syscall return
- PERF_
BR_ UNCOND - unconditional
- PERF_
BR_ UNKNOWN - Common flow change classification unknown
- PERF_
FLAG_ FD_ CLOEXEC O_CLOEXEC
- PERF_
FLAG_ FD_ NO_ GROUP - PERF_
FLAG_ FD_ OUTPUT - PERF_
FLAG_ PID_ CGROUP - pid=cgroup id, per-cpu mode only
- PERF_
IOC_ FLAG_ GROUP - Ioctls that can be done on a perf event fd:
- PERF_
MAX_ CONTEXTS_ PER_ STACK - PERF_
MAX_ STACK_ DEPTH - PERF_
MEM_ LOCK_ LOCKED - locked transaction
- PERF_
MEM_ LOCK_ NA - locked instruction not available
- PERF_
MEM_ LOCK_ SHIFT - PERF_
MEM_ LVLNUM_ ANY_ CACHE - 5-0xa available Any cache
- PERF_
MEM_ LVLNUM_ L1 - L1
- PERF_
MEM_ LVLNUM_ L2 - L2
- PERF_
MEM_ LVLNUM_ L3 - L3
- PERF_
MEM_ LVLNUM_ L4 - L4
- PERF_
MEM_ LVLNUM_ LFB - LFB
- PERF_
MEM_ LVLNUM_ NA - N/A
- PERF_
MEM_ LVLNUM_ PMEM - PMEM
- PERF_
MEM_ LVLNUM_ RAM - RAM
- PERF_
MEM_ LVLNUM_ SHIFT - PERF_
MEM_ LVL_ HIT - hit level
- PERF_
MEM_ LVL_ IO - I/O memory
- PERF_
MEM_ LVL_ L1 - L1
- PERF_
MEM_ LVL_ L2 - L2
- PERF_
MEM_ LVL_ L3 - L3
- PERF_
MEM_ LVL_ LFB - Line Fill Buffer
- PERF_
MEM_ LVL_ LOC_ RAM - Local DRAM
- PERF_
MEM_ LVL_ MISS - miss level
- PERF_
MEM_ LVL_ NA - memory hierarchy (memory level, hit or miss) not available
- PERF_
MEM_ LVL_ REM_ CCE1 - Remote Cache (1 hop)
- PERF_
MEM_ LVL_ REM_ CCE2 - Remote Cache (2 hops)
- PERF_
MEM_ LVL_ REM_ RAM1 - Remote DRAM (1 hop)
- PERF_
MEM_ LVL_ REM_ RAM2 - Remote DRAM (2 hops)
- PERF_
MEM_ LVL_ SHIFT - PERF_
MEM_ LVL_ UNC - Uncached memory
- PERF_
MEM_ OP_ EXEC - code (execution)
- PERF_
MEM_ OP_ LOAD - load instruction
- PERF_
MEM_ OP_ NA - type of opcode (load/store/prefetch,code) not available
- PERF_
MEM_ OP_ PFETCH - prefetch
- PERF_
MEM_ OP_ SHIFT - PERF_
MEM_ OP_ STORE - store instruction
- PERF_
MEM_ REMOTE_ REMOTE - Remote
- PERF_
MEM_ REMOTE_ SHIFT - PERF_
MEM_ SNOOPX_ FWD - forward
- PERF_
MEM_ SNOOPX_ SHIFT - 1 free
- PERF_
MEM_ SNOOP_ HIT - snoop hit
- PERF_
MEM_ SNOOP_ HITM - snoop hit modified
- PERF_
MEM_ SNOOP_ MISS - snoop miss
- PERF_
MEM_ SNOOP_ NA - snoop mode not available
- PERF_
MEM_ SNOOP_ NONE - no snoop
- PERF_
MEM_ SNOOP_ SHIFT - PERF_
MEM_ TLB_ HIT - hit level
- PERF_
MEM_ TLB_ L1 - L1
- PERF_
MEM_ TLB_ L2 - L2
- PERF_
MEM_ TLB_ MISS - miss level
- PERF_
MEM_ TLB_ NA - TLB access not available
- PERF_
MEM_ TLB_ OS - OS fault handler
- PERF_
MEM_ TLB_ SHIFT - PERF_
MEM_ TLB_ WK - Hardware Walker
- PERF_
RECORD_ KSYMBOL_ FLAGS_ UNREGISTER - PERF_
RECORD_ MISC_ COMM_ EXEC - PERF_
RECORD_ MISC_ CPUMODE_ MASK - PERF_
RECORD_ MISC_ CPUMODE_ UNKNOWN - PERF_
RECORD_ MISC_ EXACT_ IP - These
PERF_RECORD_MISC_*
flags below are safely reused for the following events: - PERF_
RECORD_ MISC_ EXT_ RESERVED - Reserve the last bit to indicate some extended misc field
- PERF_
RECORD_ MISC_ GUEST_ KERNEL - PERF_
RECORD_ MISC_ GUEST_ USER - PERF_
RECORD_ MISC_ HYPERVISOR - PERF_
RECORD_ MISC_ KERNEL - PERF_
RECORD_ MISC_ MMAP_ DATA - Following
PERF_RECORD_MISC_*
are used on different events, so can reuse the same bit position: - PERF_
RECORD_ MISC_ PROC_ MAP_ PARSE_ TIMEOUT - Indicates that
/proc/PID/maps
parsing are truncated by time out. - PERF_
RECORD_ MISC_ SWITCH_ OUT - PERF_
RECORD_ MISC_ SWITCH_ OUT_ PREEMPT - PERF_
RECORD_ MISC_ USER - PERF_
SAMPLE_ BRANCH_ PLM_ ALL - PERF_
SAMPLE_ WEIGHT_ TYPE - PERF_
TXN_ ABORT_ MASK - bits 32..63 are reserved for the abort code
- PERF_
TXN_ ABORT_ SHIFT - PERF_
TXN_ ASYNC - Instruction not related
- PERF_
TXN_ CAPACITY_ READ - Capacity read abort
- PERF_
TXN_ CAPACITY_ WRITE - Capacity write abort
- PERF_
TXN_ CONFLICT - Conflict abort
- PERF_
TXN_ ELISION - Values for the memory transaction event qualifier, mostly for abort events. Multiple bits can be set. From elision
- PERF_
TXN_ MAX - non-ABI
- PERF_
TXN_ RETRY - Retry possible
- PERF_
TXN_ SYNC - Instruction is related
- PERF_
TXN_ TRANSACTION - From transaction
- PER_BSD
- PER_
CLEAR_ ON_ SETID - Security-relevant compatibility flags that must be cleared upon setuid or setgid exec:
- PER_
HPUX - PER_
IRIX32 - IRIX5 32-bit
- PER_
IRIX64 - IRIX6 64-bit
- PER_
IRIX N32 - IRIX6 new 32-bit
- PER_
ISCR4 - PER_
LINUX - Personality types.
- PER_
LINU X32 - PER_
LINU X32_ 3GB - PER_
LINUX_ 32BIT - PER_
LINUX_ FDPIC - PER_
MASK - PER_
OSF4 - OSF/1 v4
- PER_
OSR5 - PER_
RISCOS - PER_
SCOSV R3 - PER_
SOLARIS - PER_
SUNOS - PER_
SVR3 - PER_
SVR4 - PER_UW7
- PER_
WYSE V386 - PER_
XENIX - PF_ALG
- PF_
APPLETALK - PF_ASH
- PF_
ATMPVC - PF_
ATMSVC - PF_AX25
- PF_
BLUETOOTH - PF_
BRIDGE - PF_CAIF
- PF_CAN
- PF_
DECNET - PF_
ECONET - PF_IB
- PF_
IEEE802154 - PF_INET
- PF_
INET6 - PF_IPX
- PF_IRDA
- PF_ISDN
- PF_IUCV
- PF_KCM
- PF_KEY
- PF_LLC
- PF_
LOCAL - PF_MAX
- PF_MPLS
- PF_
NETBEUI - PF_
NETLINK - PF_
NETROM - PF_NFC
- PF_
PACKET - PF_
PHONET - PF_
PPPOX - PF_
QIPCRTR - PF_RDS
- PF_ROSE
- PF_
ROUTE - PF_
RXRPC - PF_
SECURITY - PF_SMC
- PF_SNA
- PF_TIPC
- PF_UNIX
- PF_
UNSPEC - Protocol families, same as address families.
- PF_
VSOCK - PF_
WANPIPE - PF_X25
- PF_XDP
- PIDFD_
NONBLOCK - Flags for
pidfd_open()
. - PIDFD_
SIGNAL_ PROCESS_ GROUP - PIDFD_
SIGNAL_ THREAD - Flags for
pidfd_send_signal()
. - PIDFD_
SIGNAL_ THREAD_ GROUP - PIDFD_
THREAD - PID_
NS_ INDEX - PIPE_
BUF - bytes in atomic write to a pipe
- PIT_
TICK_ RATE - The clock frequency of the i8253/i8254 PIT
- PKEY_
ACCESS_ MASK - PKEY_
DISABLE_ ACCESS - PKEY_
DISABLE_ WRITE - POLLERR
- POLLFREE
- currently only for epoll
- POLLHUP
- POLLIN
- These are specified by
iBCS2
- POLLMSG
- POLLNVAL
- POLLOUT
- POLLPRI
- POLLRDBAND
- POLLRDHUP
- POLLRDNORM
- The rest seem to be more-or-less nonstandard. Check them!
- POLLREMOVE
- POLLWRBAND
- POLLWRNORM
- POLL_
BUSY_ LOOP - POLL_
ERR - i/o error
- POLL_
HUP - device disconnected
- POLL_IN
- SIGPOLL (or any other signal without signal specific
si_codes
)si_codes
data input available - POLL_
MSG - input message available
- POLL_
OUT - output buffers available
- POLL_
PRI - high priority input available
- PORT_
16C950 - Oxford Semiconductor
- PORT_
8250 - PORT_
16450 - PORT_
16550 - PORT_
16650 - PORT_
16654 - PORT_
16750 - PORT_
16850 - PORT_
16550A - PORT_
16650 V2 - PORT_
CIRRUS - usurped by cyclades.c
- PORT_
MAX - PORT_
RSA - RSA-DV II/S card
- PORT_
STARTECH - usurped by cyclades.c
- PORT_
UNKNOWN - These are the supported serial types.
- POSIX_
FADV_ DONTNEED - Don’t need these pages.
- POSIX_
FADV_ NOREUSE - Data will be accessed once.
- POSIX_
FADV_ NORMAL - No further special treatment.
- POSIX_
FADV_ RANDOM - Expect random page references.
- POSIX_
FADV_ SEQUENTIAL - Expect sequential page references.
- POSIX_
FADV_ WILLNEED - Will need these pages.
- PPM_
SCALE_ INV_ SHIFT - PRIO_
MAX - PRIO_
MIN - PRIO_
PGRP - PRIO_
PROCESS - PRIO_
USER - PRJQUOTA
- element used for project quotas
- PROT_
EXEC - page can be executed
- PROT_
GROWSDOWN - mprotect flag: extend change to start of growsdown vma
- PROT_
GROWSUP - mprotect flag: extend change to end of growsup vma
- PROT_
NONE - 0x10 reserved for arch-specific use 0x20 reserved for arch-specific use page can not be accessed
- PROT_
READ - page can be read
- PROT_
SEM - page may be used for atomic ops
- PROT_
WRITE - page can be written
- PR_
CAPBSET_ DROP - PR_
CAPBSET_ READ - Get/set the capability bounding set (as per
security/commoncap.c
) - PR_
CAP_ AMBIENT - Control the ambient capability set
- PR_
CAP_ AMBIENT_ CLEAR_ ALL - PR_
CAP_ AMBIENT_ IS_ SET - PR_
CAP_ AMBIENT_ LOWER - PR_
CAP_ AMBIENT_ RAISE - PR_
ENDIAN_ BIG - PR_
ENDIAN_ LITTLE - True little endian mode
- PR_
ENDIAN_ PPC_ LITTLE PowerPC
pseudo little endian- PR_
FPEMU_ NOPRINT - silently emulate fp operations accesses
- PR_
FPEMU_ SIGFPE - don’t emulate fp operations, send
SIGFPE
instead - PR_
FP_ EXC_ ASYNC - async recoverable exception mode
- PR_
FP_ EXC_ DISABLED - FP exceptions disabled
- PR_
FP_ EXC_ DIV - floating point divide by zero
- PR_
FP_ EXC_ INV - floating point invalid operation
- PR_
FP_ EXC_ NONRECOV - async non-recoverable exc. mode
- PR_
FP_ EXC_ OVF - floating point overflow
- PR_
FP_ EXC_ PRECISE - precise exception mode
- PR_
FP_ EXC_ RES - floating point inexact result
- PR_
FP_ EXC_ SW_ ENABLE - Use FPEXC for FP exception enables
- PR_
FP_ EXC_ UND - floating point underflow
- PR_
FP_ MODE_ FR - 64b FP registers
- PR_
FP_ MODE_ FRE - 32b compatibility
- PR_
GET_ CHILD_ SUBREAPER - PR_
GET_ DUMPABLE - Get/set
current->mm->dumpable
- PR_
GET_ ENDIAN - Get/set process endian
- PR_
GET_ FPEMU - Get/set floating-point emulation control bits (if meaningful)
- PR_
GET_ FPEXC - Get/set floating-point exception mode (if meaningful)
- PR_
GET_ FP_ MODE - PR_
GET_ IO_ FLUSHER - PR_
GET_ KEEPCAPS - Get/set whether or not to drop capabilities on
setuid()
away from uid 0 (as persecurity/commoncap.c
) - PR_
GET_ NAME - Get process name
- PR_
GET_ NO_ NEW_ PRIVS - PR_
GET_ PDEATHSIG - Second arg is a ptr to return the signal
- PR_
GET_ SECCOMP - Get/set process seccomp mode
- PR_
GET_ SECUREBITS - Get/set securebits (as per
security/commoncap.c
) - PR_
GET_ SPECULATION_ CTRL - Per task speculation control
- PR_
GET_ TAGGED_ ADDR_ CTRL - PR_
GET_ THP_ DISABLE - PR_
GET_ TID_ ADDRESS - PR_
GET_ TIMERSLACK - PR_
GET_ TIMING - Get/set whether we use statistical process timing or accurate timestamp based process timing
- PR_
GET_ TSC - Get/set the process’ ability to use the timestamp counter instruction
- PR_
GET_ UNALIGN - Get/set unaligned access control bits (if meaningful)
- PR_
MCE_ KILL - Set early/late kill mode for hwpoison memory corruption. This influences when the process gets killed on a memory corruption.
- PR_
MCE_ KILL_ CLEAR - PR_
MCE_ KILL_ DEFAULT - PR_
MCE_ KILL_ EARLY - PR_
MCE_ KILL_ GET - PR_
MCE_ KILL_ LATE - PR_
MCE_ KILL_ SET - PR_
MPX_ DISABLE_ MANAGEMENT - PR_
MPX_ ENABLE_ MANAGEMENT - No longer implemented, but left here to ensure the numbers stay reserved:
- PR_
PAC_ APDAKEY - PR_
PAC_ APDBKEY - PR_
PAC_ APGAKEY - PR_
PAC_ APIAKEY - PR_
PAC_ APIBKEY - PR_
PAC_ RESET_ KEYS - Reset arm64 pointer authentication keys
- PR_
SET_ CHILD_ SUBREAPER - PR_
SET_ DUMPABLE - PR_
SET_ ENDIAN - PR_
SET_ FPEMU - PR_
SET_ FPEXC - PR_
SET_ FP_ MODE - PR_
SET_ IO_ FLUSHER - Control reclaim behavior when allocating memory
- PR_
SET_ KEEPCAPS - PR_
SET_ MM - Tune up process memory map specifics.
- PR_
SET_ MM_ ARG_ END - PR_
SET_ MM_ ARG_ START - PR_
SET_ MM_ AUXV - PR_
SET_ MM_ BRK - PR_
SET_ MM_ END_ CODE - PR_
SET_ MM_ END_ DATA - PR_
SET_ MM_ ENV_ END - PR_
SET_ MM_ ENV_ START - PR_
SET_ MM_ EXE_ FILE - PR_
SET_ MM_ MAP - PR_
SET_ MM_ MAP_ SIZE - PR_
SET_ MM_ START_ BRK - PR_
SET_ MM_ START_ CODE - PR_
SET_ MM_ START_ DATA - PR_
SET_ MM_ START_ STACK - PR_
SET_ NAME - Set process name
- PR_
SET_ NO_ NEW_ PRIVS - If
no_new_privs
is set, then operations that grant new privileges (i.e. execve) will either fail or not grant them. This affects suid/sgid, file capabilities, and LSMs. - PR_
SET_ PDEATHSIG - Values to pass as first argument to
prctl()
Second arg is a signal - PR_
SET_ PTRACER - Set specific pid that is allowed to ptrace the current task. A value of 0 mean “no process”.
- PR_
SET_ PTRACER_ ANY - PR_
SET_ SECCOMP - PR_
SET_ SECUREBITS - PR_
SET_ SPECULATION_ CTRL - PR_
SET_ TAGGED_ ADDR_ CTRL - Tagged user address controls for arm64
- PR_
SET_ THP_ DISABLE - PR_
SET_ TIMERSLACK - Get/set the timerslack as used by
poll/select/nanosleep
A value of 0 means “use default” - PR_
SET_ TIMING - PR_
SET_ TSC - PR_
SET_ UNALIGN - PR_
SPEC_ DISABLE - PR_
SPEC_ DISABLE_ NOEXEC - PR_
SPEC_ ENABLE - PR_
SPEC_ FORCE_ DISABLE - PR_
SPEC_ INDIRECT_ BRANCH - PR_
SPEC_ NOT_ AFFECTED - Return and control values for
PR_SET/GET_SPECULATION_CTRL
- PR_
SPEC_ PRCTL - PR_
SPEC_ STORE_ BYPASS - Speculation control variants
- PR_
SVE_ GET_ VL - get task vector length
- PR_
SVE_ SET_ VL - arm64 Scalable Vector Extension controls
Flag values must be kept in sync with ptrace
NT_ARM_SVE
interface set task vector length - PR_
SVE_ SET_ VL_ ONEXEC - defer effect until exec
- PR_
SVE_ VL_ INHERIT - inherit across exec
- PR_
SVE_ VL_ LEN_ MASK - Bits common to
PR_SVE_SET_VL
andPR_SVE_GET_VL
- PR_
TAGGED_ ADDR_ ENABLE - PR_
TASK_ PERF_ EVENTS_ DISABLE - PR_
TASK_ PERF_ EVENTS_ ENABLE - PR_
TIMING_ STATISTICAL - Normal, traditional, statistical process timing
- PR_
TIMING_ TIMESTAMP - Accurate timestamp based process timing
- PR_
TSC_ ENABLE - allow the use of the timestamp counter
- PR_
TSC_ SIGSEGV - throw a SIGSEGV instead of reading the TSC
- PR_
UNALIGN_ NOPRINT - silently fix up unaligned user accesses
- PR_
UNALIGN_ SIGBUS - generate SIGBUS on unaligned user access
- PTRACE_
ARCH_ PRCTL - PTRACE_
ATTACH - PTRACE_
CONT - PTRACE_
DETACH - PTRACE_
EVENTMSG_ SYSCALL_ ENTRY - These values are stored in
task->ptrace_message
bytracehook_report_syscall_*
to describe the current syscall-stop. - PTRACE_
EVENTMSG_ SYSCALL_ EXIT - PTRACE_
EVENT_ CLONE - PTRACE_
EVENT_ EXEC - PTRACE_
EVENT_ EXIT - PTRACE_
EVENT_ FORK - Wait extended result codes for the above trace options.
- PTRACE_
EVENT_ SECCOMP - PTRACE_
EVENT_ STOP - Extended result codes which enabled by means other than options.
- PTRACE_
EVENT_ VFORK - PTRACE_
EVENT_ VFORK_ DONE - PTRACE_
GETEVENTMSG - PTRACE_
GETFPREGS - PTRACE_
GETFPXREGS - PTRACE_
GETREGS - Arbitrarily choose the same ptrace numbers as used by the Sparc code.
- PTRACE_
GETREGSET - Generic ptrace interface that exports the architecture specific regsets
using the corresponding
NT_*
types (which are also used in the core dump). - PTRACE_
GETSIGINFO - PTRACE_
GETSIGMASK - PTRACE_
GET_ SYSCALL_ INFO - PTRACE_
GET_ THREAD_ AREA - only useful for access 32bit programs / kernels
- PTRACE_
INTERRUPT - PTRACE_
KILL - PTRACE_
LISTEN - PTRACE_
OLDSETOPTIONS - PTRACE_
O_ EXITKILL - eventless options
- PTRACE_
O_ MASK - PTRACE_
O_ SUSPEND_ SECCOMP - PTRACE_
O_ TRACECLONE - PTRACE_
O_ TRACEEXEC - PTRACE_
O_ TRACEEXIT - PTRACE_
O_ TRACEFORK - PTRACE_
O_ TRACESECCOMP - PTRACE_
O_ TRACESYSGOOD - Options set using
PTRACE_SETOPTIONS
or usingPTRACE_SEIZE
@data param - PTRACE_
O_ TRACEVFORK - PTRACE_
O_ TRACEVFORKDONE - PTRACE_
PEEKDATA - PTRACE_
PEEKSIGINFO - PTRACE_
PEEKSIGINFO_ SHARED - Read signals from a shared (process wide) queue
- PTRACE_
PEEKTEXT - PTRACE_
PEEKUSR - PTRACE_
POKEDATA - PTRACE_
POKETEXT - PTRACE_
POKEUSR - PTRACE_
SECCOMP_ GET_ FILTER - PTRACE_
SECCOMP_ GET_ METADATA - PTRACE_
SEIZE - PTRACE_
SETFPREGS - PTRACE_
SETFPXREGS - PTRACE_
SETOPTIONS - 0x4200-0x4300 are reserved for architecture-independent additions.
- PTRACE_
SETREGS - PTRACE_
SETREGSET - PTRACE_
SETSIGINFO - PTRACE_
SETSIGMASK - PTRACE_
SET_ THREAD_ AREA - PTRACE_
SINGLEBLOCK - resume execution until next branch
- PTRACE_
SINGLESTEP - PTRACE_
SYSCALL - PTRACE_
SYSCALL_ INFO_ ENTRY - PTRACE_
SYSCALL_ INFO_ EXIT - PTRACE_
SYSCALL_ INFO_ NONE - PTRACE_
SYSCALL_ INFO_ SECCOMP - PTRACE_
SYSEMU - PTRACE_
SYSEMU_ SINGLESTEP - PTRACE_
TRACEME - PTY_MAX
/proc/sys/kernel/pty
- PTY_NR
- P_ALL
- First argument to waitid:
- P_PGID
- P_PID
- P_PIDFD
- QFMT_
OCFS2 - QFMT_
VFS_ OLD - Quota format type IDs
- QFMT_
VFS_ V0 - QFMT_
VFS_ V1 - QIF_ALL
- QIF_
BLIMITS - QIF_
BLIMITS_ B - Quota structure used for communication with userspace via quotactl Following flags are used to specify which fields are valid
- QIF_
BTIME - QIF_
BTIME_ B - QIF_
DQBLKSIZE - QIF_
DQBLKSIZE_ BITS - Size of block in which space limits are passed through the quota interface
- QIF_
ILIMITS - QIF_
ILIMITS_ B - QIF_
INODES - QIF_
INODES_ B - QIF_
ITIME - QIF_
ITIME_ B - QIF_
LIMITS - QIF_
SPACE - QIF_
SPACE_ B - QIF_
TIMES - QIF_
USAGE - QTYPE_
MASK_ GRP - QTYPE_
MASK_ PRJ - QTYPE_
MASK_ USR - Masks for quota types when used as a bitmask
- QUOTA_
NL_ A_ CAUSED_ ID - QUOTA_
NL_ A_ DEV_ MAJOR - QUOTA_
NL_ A_ DEV_ MINOR - QUOTA_
NL_ A_ EXCESS_ ID - QUOTA_
NL_ A_ MAX - QUOTA_
NL_ A_ PAD - QUOTA_
NL_ A_ QTYPE - QUOTA_
NL_ A_ UNSPEC - QUOTA_
NL_ A_ WARNING - QUOTA_
NL_ BHARDBELOW - Usage got below block hardlimit
- QUOTA_
NL_ BHARDWARN - Block hardlimit reached
- QUOTA_
NL_ BSOFTBELOW - Usage got below block softlimit
- QUOTA_
NL_ BSOFTLONGWARN - Block grace time expired
- QUOTA_
NL_ BSOFTWARN - Block softlimit reached
- QUOTA_
NL_ C_ MAX - QUOTA_
NL_ C_ UNSPEC - QUOTA_
NL_ C_ WARNING - QUOTA_
NL_ IHARDBELOW - Usage got below inode hardlimit
- QUOTA_
NL_ IHARDWARN - Inode hardlimit reached
- QUOTA_
NL_ ISOFTBELOW - Usage got below inode softlimit
- QUOTA_
NL_ ISOFTLONGWARN - Inode grace time expired
- QUOTA_
NL_ ISOFTWARN - Inode softlimit reached
- QUOTA_
NL_ NOWARN - Definitions for quota netlink interface
- Q_
GETFMT - get quota format used on given filesystem
- Q_
GETINFO - get information about quota files
- Q_
GETNEXTQUOTA - get disk limits and usage >= ID
- Q_
GETQUOTA - get user quota structure
- Q_
QUOTAOFF - turn quotas off
- Q_
QUOTAON - turn quotas on
- Q_
SETINFO - set information about quota files
- Q_
SETQUOTA - set user quota structure
- Q_SYNC
- sync disk copy of a filesystems quotas
- R8
- R9
- R10
- R11
- These regs are callee-clobbered. Always saved on kernel entry.
- R12
- R13
- R14
- R15
- C ABI says these regs are callee-preserved. They aren’t saved on kernel entry
unless syscall needs a complete, fully filled
struct pt_regs
. - RANDOM_
BOOT_ ID - RANDOM_
ENTROPY_ COUNT - RANDOM_
POOLSIZE /proc/sys/kernel/random
- RANDOM_
READ_ THRESH - RANDOM_
UUID - RANDOM_
WRITE_ THRESH - RAX
- RBP
- RBX
- RCX
- RDI
- RDX
- READ_
IMPLIES_ EXEC - RENAME_
EXCHANGE - Exchange source and dest
- RENAME_
NOREPLACE - Don’t overwrite target
- RENAME_
WHITEOUT - Whiteout source
- RESOLVE_
BENEATH - Block “lexical” trickery like “..”, symlinks, and absolute paths which escape the dirfd.
- RESOLVE_
CACHED - Only complete if resolution can be completed through cached lookup.
- RESOLVE_
IN_ ROOT - Make all jumps to “/” and “..” be scoped inside the dirfd (similar to chroot(2)).
- RESOLVE_
NO_ MAGICLINKS - Block traversal through procfs-style “magic-links”.
- RESOLVE_
NO_ SYMLINKS - Block traversal through all symlinks (implies
OEXT_NO_MAGICLINKS
) - RESOLVE_
NO_ XDEV - how->resolve flags for openat2(2).
- RIP
- Return frame for iretq
- RLIM64_
INFINITY - RLIMIT_
AS - address space limit
- RLIMIT_
CORE - max core file size
- RLIMIT_
CPU - Resource limit IDs
- RLIMIT_
DATA - max data size
- RLIMIT_
FSIZE - Maximum filesize
- RLIMIT_
LOCKS - maximum file locks held
- RLIMIT_
MEMLOCK - max locked-in-memory address space
- RLIMIT_
MSGQUEUE - maximum bytes in POSIX mqueues
- RLIMIT_
NICE - max nice prio allowed to raise to 0-39 for nice level 19 .. -20
- RLIMIT_
NOFILE - max number of open files
- RLIMIT_
NPROC - max number of processes
- RLIMIT_
RSS - max resident set size
- RLIMIT_
RTPRIO - maximum realtime priority
- RLIMIT_
RTTIME - timeout for RT tasks in us
- RLIMIT_
SIGPENDING - max number of pending signals
- RLIMIT_
STACK - max stack size
- RLIM_
INFINITY SuS
says limits have to be unsigned. Which makes a ton more sense anyway.- RLIM_
NLIMITS - ROBUST_
LIST_ LIMIT - This limit protects against a deliberately circular list. (Not worth introducing an rlimit for it)
- RSEQ_
CPU_ ID_ REGISTRATION_ FAILED - RSEQ_
CPU_ ID_ UNINITIALIZED - RSEQ_
CS_ FLAG_ NO_ RESTART_ ON_ MIGRATE - RSEQ_
CS_ FLAG_ NO_ RESTART_ ON_ MIGRATE_ BIT - RSEQ_
CS_ FLAG_ NO_ RESTART_ ON_ PREEMPT - RSEQ_
CS_ FLAG_ NO_ RESTART_ ON_ PREEMPT_ BIT - RSEQ_
CS_ FLAG_ NO_ RESTART_ ON_ SIGNAL - RSEQ_
CS_ FLAG_ NO_ RESTART_ ON_ SIGNAL_ BIT - RSEQ_
FLAG_ UNREGISTER - RSI
- RSP
- RTSIG_
MAX - RUSAGE_
BOTH sys_wait4()
uses this- RUSAGE_
CHILDREN - RUSAGE_
SELF - Resource control/accounting header file for linux Definition of struct rusage taken from BSD 4.3 Reno
- RUSAGE_
THREAD - only the calling thread
- RWF_
APPEND - per-IO
O_APPEND
- RWF_
DSYNC - per-IO
O_DSYNC
- RWF_
HIPRI - high priority request, poll if possible
- RWF_
NOWAIT - per-IO, return
-EAGAIN
if operation would block - RWF_
SUPPORTED - mask of flags supported by the kernel
- RWF_
SYNC - per-IO
O_SYNC
- RWF_
WRITE_ LIFE_ NOT_ SET - (1U << 31) is reserved for signed error codes
- RWH_
WRITE_ LIFE_ EXTREME - RWH_
WRITE_ LIFE_ LONG - RWH_
WRITE_ LIFE_ MEDIUM - RWH_
WRITE_ LIFE_ NONE - RWH_
WRITE_ LIFE_ SHORT - R_OK
- Check file is readable.
- SA_
EXPOSE_ TAGBITS - SA_
IA32_ ABI - non-uapi in-kernel
SA_FLAGS
for those indicates ABI for a signal frame. - SA_
NOCLDSTOP SA_FLAGS
values:- SA_
NOCLDWAIT - SA_
NODEFER - SA_
NOMASK - SA_
ONESHOT - SA_
ONSTACK - SA_
RESETHAND - SA_
RESTART - SA_
RESTORER - SA_
SIGINFO - SA_
UNSUPPORTED - SA_
X32_ ABI - SCHED_
ATTR_ SIZE_ VER0 - sizeof first published struct
- SCHED_
ATTR_ SIZE_ VER1 - add:
util_{min,max}
- SCHED_
BATCH - SCHED_
DEADLINE - SCHED_
FIFO - SCHED_
FLAG_ ALL - SCHED_
FLAG_ DL_ OVERRUN - SCHED_
FLAG_ RECLAIM - SCHED_
FLAG_ RESET_ ON_ FORK - For the
sched_{set,get}attr()
calls - SCHED_
IDLE SCHED_ISO
: reserved but not implemented yet- SCHED_
NORMAL - Scheduling policies
- SCHED_
RESET_ ON_ FORK - Can be
ORed
in to make sure the process is reverted back toSCHED_NORMAL
on fork - SCHED_
RR - SCM_
CREDENTIALS - rw: struct ucred
- SCM_
RIGHTS - Ancillary data object information MACROS Table 5-14 of POSIX 1003.1g “Socket”-level control message types: rw: access rights (array of int)
- SCM_
SECURITY - rw: security label
- SCM_
TIMESTAMP - SCM_
TIMESTAMPING - SCM_
TIMESTAMPING_ OPT_ STATS - SCM_
TIMESTAMPING_ PKTINFO - SCM_
TIMESTAMPNS - SCM_
TXTIME - SCM_
WIFI_ STATUS - SECCOMP_
FILTER_ FLAG_ LOG - SECCOMP_
FILTER_ FLAG_ NEW_ LISTENER - SECCOMP_
FILTER_ FLAG_ SPEC_ ALLOW - SECCOMP_
FILTER_ FLAG_ TSYNC - Valid flags for
SECCOMP_SET_MODE_FILTER
- SECCOMP_
GET_ ACTION_ AVAIL - SECCOMP_
GET_ NOTIF_ SIZES - SECCOMP_
IOCTL_ NOTIF_ ID_ VALID - SECCOMP_
IOCTL_ NOTIF_ RECV - Flags for seccomp notification fd ioctl.
- SECCOMP_
IOCTL_ NOTIF_ SEND - SECCOMP_
IOC_ MAGIC - SECCOMP_
MODE_ DISABLED - Valid values for seccomp.mode and prctl(
PR_SET_SECCOMP
,<mode>
) seccomp is not in use. - SECCOMP_
MODE_ FILTER - uses user-supplied filter.
- SECCOMP_
MODE_ STRICT - uses hard-coded filter.
- SECCOMP_
RET_ ACTION - SECCOMP_
RET_ ACTION_ FULL - Masks for the return value sections.
- SECCOMP_
RET_ ALLOW - allow
- SECCOMP_
RET_ DATA - SECCOMP_
RET_ ERRNO - returns an errno
- SECCOMP_
RET_ KILL - SECCOMP_
RET_ KILL_ PROCESS - All BPF programs must return a 32-bit value.
- SECCOMP_
RET_ KILL_ THREAD - kill the thread
- SECCOMP_
RET_ LOG - allow after logging
- SECCOMP_
RET_ TRACE - pass to a tracer or disallow
- SECCOMP_
RET_ TRAP - disallow and force a SIGSYS
- SECCOMP_
RET_ USER_ NOTIF - notifies userspace
- SECCOMP_
SET_ MODE_ FILTER - SECCOMP_
SET_ MODE_ STRICT - Valid operations for seccomp syscall.
- SEEK_
CUR - seek relative to current file position
- SEEK_
DATA - seek to the next data
- SEEK_
END - seek relative to end of file
- SEEK_
HOLE - seek to the next hole
- SEEK_
MAX - SEEK_
SET - seek relative to beginning of file
- SEGV_
ACCADI - ADI not enabled for mapped object
- SEGV_
ACCERR - invalid permissions for mapped object
- SEGV_
ADIDERR - Disrupting MCD error
- SEGV_
ADIPERR - Precise MCD exception
- SEGV_
BNDERR - failed address bound checks
- SEGV_
MAPERR - SIGSEGV
si_codes
address not mapped to object - SEGV_
PKUERR - failed protection key checks
- SEMAEM
- adjust on exit max value
- SEMCTL
- SEMGET
- SEMMAP
- of entries in semaphore map
- SEMMNI
- SEMMNI, SEMMSL and SEMMNS are default values which can be modified by sysctl. The values has been chosen to be larger than necessary for any known configuration.
- SEMMNS
- <=
INT_MAX
max # of semaphores in system - SEMMNU
- num of undo structures system wide
- SEMMSL
- <=
INT_MAX
max num of semaphores per id - SEMOP
- SEMOPM
- <= 1 000 max num of ops per semop call
- SEMTIMEDOP
- SEMUME
- unused max num of undo entries per process
- SEMUSZ
- sizeof struct
sem_undo
- SEMVMX
- <= 32767 semaphore maximum value
- SEM_
INFO - SEM_
STAT - ipcs ctl cmds
- SEM_
STAT_ ANY - SEM_
UNDO - semop flags undo the operation on exit
- SERIAL_
IO_ AU - SERIAL_
IO_ HUB6 - SERIAL_
IO_ MEM - SERIAL_
IO_ MEM16 - SERIAL_
IO_ MEM32 - SERIAL_
IO_ MEM32BE - SERIAL_
IO_ PORT - SERIAL_
IO_ TSI - SER_
ISO7816_ ENABLED - SER_
ISO7816_ T_ PARAM - SER_
RS485_ ENABLED - If enabled
- SER_
RS485_ RTS_ AFTER_ SEND - Logical level for RTS pin after sent
- SER_
RS485_ RTS_ ON_ SEND - Logical level for RTS pin when sending
- SER_
RS485_ RX_ DURING_ TX - SER_
RS485_ TERMINATE_ BUS - Enable bus termination (if supported)
- SETALL
- set all semval’s
- SETVAL
- set semval
- SHIFT_
USEC SHIFT_USEC
defines the scaling (shift) of thetime_freq
andtime_tolerance
variables, which represent the current frequency offset and maximum frequency tolerance. frequency offset scale (shift)- SHMALL
- max shm system wide (pages)
- SHMAT
- SHMCTL
- SHMDT
- SHMGET
- SHMMAX
- max shared seg size (bytes)
- SHMMIN
- SHMMNI, SHMMAX and SHMALL are default upper limits which can be modified by sysctl.
- SHMMNI
- max num of segs system wide
- SHMSEG
- max shared segs per process
- SHM_
EXEC - execution access
- SHM_
HUGETLB - Bits 9 & 10 are
IPC_CREAT
andIPC_EXCL
segment will use huge TLB pages - SHM_
HUGE_ 1GB - SHM_
HUGE_ 1MB - SHM_
HUGE_ 2GB - SHM_
HUGE_ 2MB - SHM_
HUGE_ 8MB - SHM_
HUGE_ 16GB - SHM_
HUGE_ 16MB - SHM_
HUGE_ 32MB - SHM_
HUGE_ 64KB - SHM_
HUGE_ 256MB - SHM_
HUGE_ 512KB - SHM_
HUGE_ 512MB - SHM_
HUGE_ MASK - SHM_
HUGE_ SHIFT - Huge page size encoding when
SHM_HUGETLB
is specified, and a huge page size other than the default is desired. Seehugetlb_encode.h
- SHM_
INFO - SHM_
LOCK - super user shmctl commands
- SHM_
NORESERVE - don’t check for reservations
- SHM_R
shmget()
shmflg values. The bottom nine bits are the same asopen(2)
mode flags orS_IRUGO
from<linux/stat.h>
- SHM_
RDONLY shmat()
shmflg values read-only access- SHM_
REMAP - take-over region on attach
- SHM_RND
- round attach address to SHMLBA boundary
- SHM_
STAT - ipcs ctl commands
- SHM_
STAT_ ANY - SHM_
UNLOCK - SHM_W
- or
S_IWUGO
from<linux/stat.h>
- SHORT_
INODE - SHUT_RD
- enum
sock_shutdown_cmd
- Shutdown types: - SHUT_
RDWR - Shutdown receptions/transmissions
- SHUT_WR
- Shutdown transmissions
- SIGABRT
- SIGALRM
- SIGBUS
- SIGCHLD
- SIGCONT
- SIGEV_
MAX_ SIZE - SIGEV_
NONE - other notification: meaningless
- SIGEV_
PAD_ SIZE - SIGEV_
SIGNAL - sigevent definitions
- SIGEV_
THREAD - deliver via thread creation
- SIGEV_
THREAD_ ID - deliver to thread
- SIGFPE
- SIGHUP
- SIGILL
- SIGINT
- SIGIO
- SIGIOT
- SIGKILL
- SIGPIPE
- SIGPOLL
- SIGPROF
- SIGPWR
- SIGQUIT
- SIGRTMAX
- SIGRTMIN
- These should not be considered constants from userland.
- SIGSEGV
- SIGSTKFLT
- SIGSTKSZ
- SIGSTOP
- SIGSYS
- SIGTERM
- SIGTRAP
- SIGTSTP
- SIGTTIN
- SIGTTOU
- SIGUNUSED
- SIGURG
- SIGUSR1
- SIGUSR2
- SIGVTALRM
- SIGWINCH
- SIGXCPU
- SIGXFSZ
- SIG_
BLOCK - for blocking signals
- SIG_DFL
- default signal handling
- SIG_ERR
- error return from signal
- SIG_IGN
- ignore signal
- SIG_
SETMASK - for setting the signal mask
- SIG_
UNBLOCK - for unblocking signals
- SIOCATMARK
- SIOCGPGRP
- SIOCGSTAMP
- Get stamp (timeval)
- SIOCGSTAMPNS
- Get stamp (timespec)
- SIOCSPGRP
- SI_
ASYNCIO - sent by AIO completion
- SI_
ASYNCNL - sent by glibc async name lookup completion
- SI_
DETHREAD - sent by
execve()
killing subsidiary threads - SI_
KERNEL - sent by the kernel from somewhere
- SI_
LOAD_ SHIFT - SI_
MAX_ SIZE - SI_
MESGQ - sent by real time mesq state change
- SI_
QUEUE - sent by sigqueue
- SI_
SIGIO - sent by queued SIGIO
- SI_
TIMER - sent by timer expiration
- SI_
TKILL - sent by tkill system call
- SI_USER
- How these fields are to be accessed.
si_code
values Digital reserves positive values for kernel-generated signals. sent by kill, sigsend, raise - SK_DROP
- SK_PASS
- SOCKWQ_
ASYNC_ NOSPACE - Historically,
SOCKWQ_ASYNC_NOSPACE
&SOCKWQ_ASYNC_WAITDATA
were located insock->flags
, but moved intosk->sk_wq->flags
to be RCU protected. Eventually all flags will be insk->sk_wq->flags
. - SOCKWQ_
ASYNC_ WAITDATA - SOCK_
CLOEXEC - Flags for socket, socketpair, accept4
- SOCK_
DCCP - Datagram Congestion Control Protocol socket
- SOCK_
DGRAM - Datagram (conn.less) socket
- SOCK_
MAX - SOCK_
NONBLOCK - SOCK_
NOSPACE - SOCK_
PACKET - Linux specific way of getting packets at the dev level.
- SOCK_
PASSCRED - SOCK_
PASSSEC - SOCK_
RAW - Raw socket
- SOCK_
RDM - Reliably-delivered message
- SOCK_
SEQPACKET - sequential packet socket
- SOCK_
SIZE - Structure describing an Internet (IP) socket address. sizeof(struct sockaddr)
- SOCK_
STREAM - enum
sock_type
- Socket types For writing rarp and other similar things on the user level. - SOCK_
TYPE_ MASK - Mask which covers at least up to
SOCK_MASK - 1
. The remaining bits are used as flags. - SOCK_
WAKE_ IO - SOCK_
WAKE_ SPACE - SOCK_
WAKE_ URG - SOCK_
WAKE_ WAITD - SOL_AAL
- ATM Adaption Layer (packet level)
- SOL_ALG
- SOL_
ATALK - SOL_ATM
- ATM layer (cell level)
- SOL_
AX25 - SOL_
BLUETOOTH - SOL_
CAIF - SOL_
DCCP - SOL_
DECNET - SOL_
ICMP V6 - SOL_IP
setsockoptions(2)
level. Thanks to BSD these must matchIPPROTO_xxx
- SOL_
IPV6 - SOL_IPX
- SOL_
IRDA - SOL_
IUCV - SOL_KCM
- SOL_LLC
- SOL_
NETBEUI - SOL_
NETLINK - SOL_
NETROM - SOL_NFC
- SOL_
PACKET - SOL_
PNPIPE - SOL_
PPPO L2TP - SOL_RAW
- SOL_RDS
- SOL_
ROSE - SOL_
RXRPC - SOL_
SCTP - SOL_
SOCKET - For setsockopt(3)
- SOL_TCP
- #define
SOL_ICMP
1 No-no-no! Due to Linux :-) we cannot useSOL_ICMP=1
- SOL_
TIPC - SOL_TLS
- SOL_UDP
- SOL_
UDPLITE - UDP-Lite (RFC 3828)
- SOL_X25
- SOL_XDP
- SOMAXCONN
- Maximum queue length specifiable by listen.
- SO_
ACCEPTCONN - SO_
ATTACH_ BPF - SO_
ATTACH_ FILTER - Socket filtering
- SO_
ATTACH_ REUSEPORT_ CBPF - SO_
ATTACH_ REUSEPORT_ EBPF - SO_
BINDTODEVICE - SO_
BINDTOIFINDEX - SO_
BPF_ EXTENSIONS - SO_
BROADCAST - SO_
BSDCOMPAT - SO_
BUSY_ POLL - SO_
CNX_ ADVICE - SO_
COOKIE - SO_
DEBUG - SO_
DETACH_ BPF - SO_
DETACH_ FILTER - SO_
DOMAIN - SO_
DONTROUTE - SO_
ERROR - SO_
GET_ FILTER - SO_
INCOMING_ CPU - SO_
INCOMING_ NAPI_ ID - SO_
KEEPALIVE - SO_
LINGER - SO_
LOCK_ FILTER - SO_MARK
- SO_
MAX_ PACING_ RATE - SO_
MEMINFO - SO_
NOFCS - Instruct lower device to use last 4-bytes of skb data as FCS
- SO_
NO_ CHECK - SO_
OOBINLINE - SO_
PASSCRED - powerpc only differs in these
- SO_
PASSSEC - SO_
PEEK_ OFF - SO_
PEERCRED - SO_
PEERGROUPS - SO_
PEERNAME - SO_
PEERSEC - SO_
PRIORITY - SO_
PROTOCOL - SO_
RCVBUF - SO_
RCVBUFFORCE - SO_
RCVLOWAT - SO_
RCVTIMEO - SO_
RCVTIMEO_ NEW - SO_
RCVTIMEO_ OLD - SO_
REUSEADDR - SO_
REUSEPORT - SO_
RXQ_ OVFL - SO_
SECURITY_ AUTHENTICATION - Security levels - as per NRL IPv6 - don’t actually do anything
- SO_
SECURITY_ ENCRYPTION_ NETWORK - SO_
SECURITY_ ENCRYPTION_ TRANSPORT - SO_
SELECT_ ERR_ QUEUE - SO_
SNDBUF - SO_
SNDBUFFORCE - SO_
SNDLOWAT - SO_
SNDTIMEO - SO_
SNDTIMEO_ NEW - SO_
SNDTIMEO_ OLD - SO_
TIMESTAMP - on 64-bit and x32, avoid the ?: operator
- SO_
TIMESTAMPING - SO_
TIMESTAMPING_ NEW - SO_
TIMESTAMPING_ OLD - SO_
TIMESTAMPNS - SO_
TIMESTAMPNS_ NEW - SO_
TIMESTAMPNS_ OLD - SO_
TIMESTAMP_ NEW - SO_
TIMESTAMP_ OLD - SO_
TXTIME - SO_TYPE
- SO_
WIFI_ STATUS - SO_
ZEROCOPY - SPLICE_
F_ ALL - SPLICE_
F_ FD_ IN_ FIXED sqe->splice_flags
- SPLICE_
F_ GIFT - pages passed in are a gift
- SPLICE_
F_ MORE - expect more data
- SPLICE_
F_ MOVE - Flags passed in from splice/tee/vmsplice move pages instead of copying
- SPLICE_
F_ NONBLOCK - don’t block on the pipe splicing (but we may still block on the fd we splice from/to, of course
- SS
- SS_
AUTODISARM - bit-flags disable sas during sighandling
- SS_
CONNECTED - connected to socket
- SS_
CONNECTING - in process of connecting
- SS_
DISABLE - SS_
DISCONNECTING - in process of disconnecting
- SS_
FLAG_ BITS - mask for all
SS_xxx
flags - SS_FREE
- not allocated
- SS_
ONSTACK - SS_
UNCONNECTED - unconnected to any socket
- STATMOUNT_
FS_ TYPE - Want/got
fs_type
- STATMOUNT_
MNT_ BASIC - Want/got mnt_…
- STATMOUNT_
MNT_ POINT - Want/got
mnt_point
- STATMOUNT_
MNT_ ROOT - Want/got
mnt_root
- STATMOUNT_
PROPAGATE_ FROM - Want/got
propagate_from
- STATMOUNT_
SB_ BASIC mask
bits forstatmount(2)
Want/got sb_…- STATX_
ALL - All currently supported flags
- STATX_
ATIME - Want/got
stx_atime
- STATX_
ATTR_ APPEND I
File is append-only- STATX_
ATTR_ AUTOMOUNT - Dir: Automount trigger
- STATX_
ATTR_ COMPRESSED - Attributes to be found in
stx_attributes
and masked instx_attributes_mask
. - STATX_
ATTR_ ENCRYPTED I
File requires key to decrypt in fs- STATX_
ATTR_ IMMUTABLE I
File is marked immutable- STATX_
ATTR_ NODUMP I
File is not to be dumped- STATX_
BASIC_ STATS - The stuff in the normal stat struct
- STATX_
BLOCKS - Want/got
stx_blocks
- STATX_
BTIME - Want/got
stx_btime
- STATX_
CTIME - Want/got
stx_ctime
- STATX_
GID - Want/got
stx_gid
- STATX_
INO - Want/got
stx_ino
- STATX_
MODE - Want/got
stx_mode & ~S_IFMT
- STATX_
MTIME - Want/got
stx_mtime
- STATX_
NLINK - Want/got
stx_nlink
- STATX_
SIZE - Want/got
stx_size
- STATX_
TYPE - Flags to be
stx_mask
- STATX_
UID - Want/got
stx_uid
- STATX__
RESERVED - Reserved for future struct statx expansion
- STA_CLK
- clock source (0 = A, 1 = B) (ro)
- STA_
CLOCKERR - clock hardware fault (ro)
- STA_DEL
- delete leap (rw)
- STA_FLL
- select frequency-lock mode (rw)
- STA_
FREQHOLD - hold frequency (rw)
- STA_INS
- insert leap (rw)
- STA_
MODE - mode (0 = PLL, 1 = FLL) (ro)
- STA_
NANO - resolution (0 = us, 1 = ns) (ro)
- STA_PLL
- Status codes (timex.status) enable PLL updates (rw)
- STA_
PPSERROR - PPS signal calibration error (ro)
- STA_
PPSFREQ - enable PPS freq discipline (rw)
- STA_
PPSJITTER - PPS signal jitter exceeded (ro)
- STA_
PPSSIGNAL - PPS signal present (ro)
- STA_
PPSTIME - enable PPS time discipline (rw)
- STA_
PPSWANDER - PPS signal wander exceeded (ro)
- STA_
RONLY - read-only bits
- STA_
UNSYNC - clock unsynchronized (rw)
- STICKY_
TIMEOUTS - SUBCMDMASK
- Command definitions for the ‘quotactl’ system call.
- SUBCMDSHIFT
- SWAP_
ADDRESS_ SPACE_ PAGES - SWAP_
ADDRESS_ SPACE_ SHIFT - One swap address space for each 64M swap space
- SWAP_
BATCH - SWAP_
CLUSTER_ MAX - SWAP_
CONT_ MAX - Special value in each
swap_map
continuation. - SWAP_
FLAGS_ VALID - SWAP_
FLAG_ DISCARD - enable discard for swap
- SWAP_
FLAG_ DISCARD_ ONCE - discard swap area at swapon-time
- SWAP_
FLAG_ DISCARD_ PAGES - discard page-clusters after use
- SWAP_
FLAG_ PREFER - set if swap priority specified
- SWAP_
FLAG_ PRIO_ MASK - SWAP_
FLAG_ PRIO_ SHIFT - SWAP_
HAS_ CACHE - Bit flag in
swap_map
. - SWAP_
MAP_ BAD - Note page is bad
- SWAP_
MAP_ MAX - Special value in first
swap_map
. - SWAP_
MAP_ SHMEM - Owned by shmem/tmpfs
- SYNC_
FILE_ RANGE_ WAIT_ AFTER - SYNC_
FILE_ RANGE_ WAIT_ BEFORE - SYNC_
FILE_ RANGE_ WRITE - SYSLOG_
ACTION_ CLEAR - Clear ring buffer.
- SYSLOG_
ACTION_ CLOSE - Close the log. Currently a NOP.
- SYSLOG_
ACTION_ CONSOLE_ LEVEL - Set level of messages printed to console
- SYSLOG_
ACTION_ CONSOLE_ OFF - Disable printk’s to console
- SYSLOG_
ACTION_ CONSOLE_ ON - Enable printk’s to console
- SYSLOG_
ACTION_ OPEN - Open the log. Currently a NOP.
- SYSLOG_
ACTION_ READ - Read from the log.
- SYSLOG_
ACTION_ READ_ ALL - Read all messages remaining in the ring buffer.
- SYSLOG_
ACTION_ READ_ CLEAR - Read and clear all messages remaining in the ring buffer
- SYSLOG_
ACTION_ SIZE_ BUFFER - Return size of the log buffer
- SYSLOG_
ACTION_ SIZE_ UNREAD - Return number of unread characters in the log buffer
- SYSLOG_
FROM_ PROC - SYSLOG_
FROM_ READER - SYS_
ACCEP T4_ sys_accept4(2)
- SYS_
ACCEPT_ sys_accept(2)
- SYS_
BIND_ sys_bind(2)
- SYS_
CONNECT_ sys_connect(2)
- SYS_
GETPEERNAME_ sys_getpeername(2)
- SYS_
GETSOCKNAME_ sys_getsockname(2)
- SYS_
GETSOCKOPT_ sys_getsockopt(2)
- SYS_
LISTEN_ sys_listen(2)
- SYS_
RECVFROM_ sys_recvfrom(2)
- SYS_
RECVMMSG_ sys_recvmmsg(2)
- SYS_
RECVMSG_ sys_recvmsg(2)
- SYS_
RECV_ sys_recv(2)
- SYS_
SECCOMP_ - SIGSYS
si_codes
seccomp triggered Return fromSYS_SECCOMP
as it is already used by an syscall num. - SYS_
SENDMMSG_ sys_sendmmsg(2)
- SYS_
SENDMSG_ sys_sendmsg(2)
- SYS_
SENDTO_ sys_sendto(2)
- SYS_
SEND_ sys_send(2)
- SYS_
SETSOCKOPT_ sys_setsockopt(2)
- SYS_
SHUTDOWN_ sys_shutdown(2)
- SYS_
SOCKETPAIR_ sys_socketpair(2)
- SYS_
SOCKET_ sys_socket(2)
- S_
DT_ MASK - S_
DT_ SHIFT - struct dirent file types
exposed to user via
getdents(2)
,readdir(3)
- S_IFBLK
- S_IFCHR
- S_IFDIR
- S_IFIFO
- S_IFLNK
- S_IFMT
- S_IFREG
- S_
IFSOCK - S_IRGRP
- S_IROTH
- S_IRUSR
- S_IRWXG
- S_IRWXO
- S_IRWXU
- S_ISGID
- S_ISUID
- S_ISVTX
- S_IWGRP
- S_IWOTH
- S_IWUSR
- S_IXGRP
- S_IXOTH
- S_IXUSR
- TAB0
- TAB1
- TAB2
- TAB3
- TABDLY
- TCFLSH
- TCGETA
- TCGETS
- 0x54 is just a magic number to make these relatively unique (‘T’)
- TCGETS2
- TCGETX
- SYS5 TCGETX compatibility
- TCIFLUSH
tcflush()
QUEUE_SELECTOR
argument and TCFLSH use these Discard data received but not yet read- TCIOFF
- Send a STOP character
- TCIOFLUSH
- Discard all pending data
- TCION
- Send a START character
- TCOFLUSH
- Discard data written but not yet sent
- TCOOFF
tcflow()
ACTION argument and TCXONC use these Suspend output- TCOON
- Restart suspended output
- TCPI_
OPT_ ECN - ECN was negociated at TCP session init
- TCPI_
OPT_ ECN_ SEEN - we received at least one packet with ECT
- TCPI_
OPT_ SACK - TCPI_
OPT_ SYN_ DATA - SYN-ACK acked data in SYN sent or rcvd
- TCPI_
OPT_ TIMESTAMPS - for
TCP_INFO
socket option - TCPI_
OPT_ WSCALE - TCP_
BPF_ IW - Set TCP initial congestion window
- TCP_
BPF_ SNDCWND_ CLAMP - Set
sndcwnd_clamp
- TCP_
CC_ INFO - Get Congestion Control (optional) info
- TCP_
CM_ INQ - TCP_
CONGESTION - Congestion control algorithm
- TCP_
CORK - Never send partially complete segments
- TCP_
DEFER_ ACCEPT - Wake up listener only when data arrive
- TCP_
FASTOPEN - Enable
FastOpen
on listeners - TCP_
FASTOPEN_ CONNECT - Attempt
FastOpen
with connect - TCP_
FASTOPEN_ KEY - Set the key for Fast Open (cookie)
- TCP_
FASTOPEN_ NO_ COOKIE - Enable TFO without a TFO cookie
- TCP_
INFO - Information about this connection.
- TCP_INQ
- Notify bytes available to read as a cmsg on read
- TCP_
KEEPCNT - Number of keepalives before death
- TCP_
KEEPIDLE - Start keeplives after this period
- TCP_
KEEPINTVL - Interval between keepalives
- TCP_
LINGE R2 - Life time of orphaned FIN-WAIT-2 state
- TCP_
MAXSEG - Limit MSS
- TCP_
MD5SIG - TCP MD5 Signature (RFC2385)
- TCP_
MD5SIG_ EXT - TCP MD5 Signature with extensions
- TCP_
MD5SIG_ FLAG_ IFINDEX - ifindex set
- TCP_
MD5SIG_ FLAG_ PREFIX tcp_md5sig
extension flags forTCP_MD5SIG_EXT
address prefix length- TCP_
MD5SIG_ MAXKEYLEN - for
TCP_MD5SIG
socket option - TCP_
MSS_ DEFAULT - TCP general constants IPv4 (RFC1122, RFC2581)
- TCP_
MSS_ DESIRED - IPv6 (tunneled), EDNS0 (RFC3226)
- TCP_
NODELAY - TCP socket options Turn off Nagle’s algorithm.
- TCP_
NOTSENT_ LOWAT - limit number of unsent bytes in write queue
- TCP_
QUEUE_ SEQ - TCP_
QUICKACK - Block/reenable quick acks
- TCP_
REPAIR - TCP sock is under repair right now
- TCP_
REPAIR_ OFF - TCP_
REPAIR_ OFF_ NO_ WP - Turn off without window probes
- TCP_
REPAIR_ ON - TCP_
REPAIR_ OPTIONS - TCP_
REPAIR_ QUEUE - TCP_
REPAIR_ WINDOW - Get/set window parameters
- TCP_
SAVED_ SYN - Get SYN headers recorded for connection
- TCP_
SAVE_ SYN - Record SYN headers for new connections
- TCP_
SYNCNT - Number of SYN retransmits
- TCP_
THIN_ DUPACK - Fast retrans. after 1 dupack
- TCP_
THIN_ LINEAR_ TIMEOUTS - Use linear timeouts for thin streams
- TCP_
TIMESTAMP - TCP_
TX_ DELAY - delay outgoing packets by XX usec
- TCP_ULP
- Attach a ULP to a TCP connection
- TCP_
USER_ TIMEOUT - How long for loss retry before timeout
- TCP_
WINDOW_ CLAMP - Bound advertised window
- TCP_
ZEROCOPY_ RECEIVE - TCSADRAIN
- TCSAFLUSH
- TCSANOW
- tcsetattr uses these
- TCSBRK
- TCSBRKP
- Needed for POSIX
tcsendbreak()
- TCSETA
- TCSETAF
- TCSETAW
- TCSETS
- TCSETS2
- TCSETSF
- TCSETS
F2 - TCSETSW
- TCSETS
W2 - TCSETX
- TCSETXF
- TCSETXW
- TCXONC
- TFD_
CLOEXEC - TFD_
NONBLOCK - TFD_
TIMER_ ABSTIME - CAREFUL: Check include/asm-generic/fcntl.h when defining
new flags, since they might collide with
O_*
ones. - TFD_
TIMER_ CANCEL_ ON_ SET - TIME64_
MAX - Located here for
timespec[64]_valid_strict
- TIME64_
MIN - TIMER_
ABSTIME - The various flags for setting POSIX.1b interval timers:
- TIME_
BAD - bw compat
- TIME_
DEL - delete leap second
- TIME_
ERROR - clock not synchronized
- TIME_
INS - insert leap second
- TIME_OK
- Clock states (
time_state
) clock synchronized, no leap second - TIME_
OOP - leap second in progress
- TIME_
SETTOD_ SEC_ MAX - TIME_
UPTIME_ SEC_ MAX - Limits for
settimeofday()
: - TIME_
WAIT - leap second has occurred
- TIOCCBRK
- BSD compatibility
- TIOCCONS
- TIOCEXCL
- TIOCGDEV
- Get primary device node of /dev/console
- TIOCGETD
- TIOCGEXCL
- Get exclusive mode state
- TIOCGICOUNT
- read serial port inline interrupt counts
- TIOCGIS
O7816 - TIOCGLCKTRMIOS
- TIOCGPGRP
- TIOCGPKT
- Get packet mode state
- TIOCGPTLCK
- Get Pty lock state
- TIOCGPTN
- Get Pty Number (of pty-mux device)
- TIOCGPTPEER
- Safely open the slave
- TIOCGR
S485 - TIOCGSERIAL
- TIOCGSID
- Return the session ID of FD
- TIOCGSOFTCAR
- TIOCGWINSZ
- TIOCINQ
- TIOCLINUX
- TIOCMBIC
- TIOCMBIS
- TIOCMGET
- TIOCMIWAIT
- wait for a change on serial input line(s)
- TIOCMSET
- TIOCM_
CAR - TIOCM_
CD - TIOCM_
CTS - TIOCM_
DSR - TIOCM_
DTR - TIOCM_
LE - modem lines
- TIOCM_
LOOP - TIOCM_
OUT1 - TIOCM_
OUT2 - TIOCM_
RI - TIOCM_
RNG - TIOCM_
RTS - TIOCM_
SR - TIOCM_
ST - TIOCNOTTY
- TIOCNXCL
- TIOCOUTQ
- TIOCPKT
- TIOCPKT_
DATA - Used for packet mode
- TIOCPKT_
DOSTOP - TIOCPKT_
FLUSHREAD - TIOCPKT_
FLUSHWRITE - TIOCPKT_
IOCTL - TIOCPKT_
NOSTOP - TIOCPKT_
START - TIOCPKT_
STOP - TIOCSBRK
- BSD compatibility
- TIOCSCTTY
- TIOCSERCONFIG
- TIOCSERGETLSR
- Get line status register
- TIOCSERGETMULTI
- Get multiport config
- TIOCSERGSTRUCT
- For debugging only
- TIOCSERGWILD
- TIOCSERSETMULTI
- Set multiport config
- TIOCSERSWILD
- TIOCSER_
TEMT - Transmitter physically empty
- TIOCSETD
- TIOCSIG
- pty: generate signal
- TIOCSIS
O7816 - TIOCSLCKTRMIOS
- TIOCSPGRP
- TIOCSPTLCK
- Lock/unlock Pty
- TIOCSR
S485 - TIOCSSERIAL
- TIOCSSOFTCAR
- TIOCSTI
- TIOCSWINSZ
- TIOCVHANGUP
- TOSTOP
- TRAP_
BRANCH - process taken branch trap
- TRAP_
BRKPT - SIGTRAP
si_codes
process breakpoint - TRAP_
HWBKPT - hardware breakpoint/watchpoint
- TRAP_
TRACE - process trace trap
- TRAP_
UNK - undiagnosed trap
- UART_
CLEAR_ FIFO - UART_
NATSEMI - UART_
STARTECH - UART_
USE_ FIFO - UIO_
FASTIOV UIO_MAXIOV
shall be at least 16 1003.1g (5.4.1.1)- UIO_
MAXIOV - UMOUNT_
NOFOLLOW - Don’t follow symlink on umount
- UMOUNT_
UNUSED - Flag guaranteed to be unused
- UNAME26
- Flags for bug emulation.
- USEC_
PER_ MSEC - USEC_
PER_ SEC - USER_
NS_ INDEX - USRQUOTA
- element used for user quotas
- UTS_
NS_ INDEX - VDISCARD
- VEOF
- VEOL
- VEOL2
- VERASE
- VFS_
CAP_ FLAGS_ EFFECTIVE - VFS_
CAP_ REVISION - VFS_
CAP_ REVISION_ 1 - VFS_
CAP_ REVISION_ 2 - VFS_
CAP_ REVISION_ 3 - VFS_
CAP_ REVISION_ MASK - VFS_
CAP_ REVISION_ SHIFT - VFS_
CAP_ U32 - VFS_
CAP_ U32_ 1 - VFS_
CAP_ U32_ 2 - VFS_
CAP_ U32_ 3 - VINTR
c_cc
characters- VKILL
- VLNEXT
- VMIN
- VM_
BLOCK_ DUMP - block dump mode
- VM_
DIRTY_ BACKGROUND dirty_background_ratio
- VM_
DIRTY_ EXPIRE_ CS dirty_expire_centisecs
- VM_
DIRTY_ RATIO dirty_ratio
- VM_
DIRTY_ WB_ CS dirty_writeback_centisecs
- VM_
DROP_ PAGECACHE - int: nuke lots of pagecache
- VM_
HUGETLB_ GROUP - permitted hugetlb group
- VM_
HUGETLB_ PAGES - int: Number of available Huge Pages
- VM_
LAPTOP_ MODE - vm laptop mode
- VM_
LEGACY_ VA_ LAYOUT - legacy/compatibility virtual address space layout
- VM_
LOWMEM_ RESERVE_ RATIO - reservation ratio for lower memory zones
- VM_
MAX_ MAP_ COUNT - int: Maximum number of mmaps/address-space
- VM_
MIN_ FREE_ KBYTES - Minimum free kilobytes to maintain
- VM_
MIN_ SLAB - Percent pages ignored by zone reclaim
- VM_
MIN_ UNMAPPED - Set min percent of unmapped pages
- VM_
NR_ PDFLUSH_ THREADS nr_pdflush_threads
- VM_
OVERCOMMIT_ MEMORY - Turn off the virtual memory safety limit
- VM_
OVERCOMMIT_ RATIO - percent of RAM to allow overcommit in
- VM_
PAGEBUF - struct: Control pagebuf parameters
- VM_
PAGE_ CLUSTER - int: set number of pages to swap together
- VM_
PANIC_ ON_ OOM - panic at out-of-memory
- VM_
PERCPU_ PAGELIST_ FRACTION - int: fraction of pages in each
percpu_pagelist
- VM_
SWAPPINESS - Tendency to steal mapped memory
- VM_
SWAP_ TOKEN_ TIMEOUT - default time for token time out
- VM_
UNUSE D1 CTL_VM
names:- VM_
UNUSE D2 - was; int: Linear or
sqrt()
swapout for hogs - VM_
UNUSE D3 - was: struct: Set free page thresholds
- VM_
UNUSE D4 - Spare
- VM_
UNUSE D5 - was: struct: Set buffer memory thresholds
- VM_
UNUSE D7 - was: struct: Set cache memory thresholds
- VM_
UNUSE D8 - was: struct: Control kswapd behaviour
- VM_
UNUSE D9 - was: struct: Set page table cache parameters
- VM_
VDSO_ ENABLED - map VDSO into new processes?
- VM_
VFS_ CACHE_ PRESSURE - dcache/icache reclaim pressure
- VM_
ZONE_ RECLAIM_ MODE - reclaim local zone memory before going off node
- VQUIT
- VREPRINT
- VSTART
- VSTOP
- VSUSP
- VSWTC
- VT0
- VT1
- VTDLY
- VTIME
- VWERASE
- WCONTINUED
- WEXITED
- WHOLE_
SECONDS - WNOHANG
- WNOWAIT
- Don’t reap, just poll status.
- WSTOPPED
- WUNTRACED
- W_OK
- Check file is writable.
- XATTR_
APPARMOR_ SUFFIX - XATTR_
BTRFS_ PREFIX - XATTR_
CAPS_ SUFFIX - XATTR_
CAPS_ SZ - XATTR_
CAPS_ SZ_ 1 - XATTR_
CAPS_ SZ_ 2 - XATTR_
CAPS_ SZ_ 3 - XATTR_
CREATE - set value, fail if attr already exists
- XATTR_
EVM_ SUFFIX - Security namespace
- XATTR_
HURD_ PREFIX - XATTR_
IMA_ SUFFIX - XATTR_
LIST_ MAX - size of extended attribute namelist (64k)
- XATTR_
MAC_ OSX_ PREFIX - XATTR_
NAME_ MAX - chars in an extended attribute name
- XATTR_
OS2_ PREFIX - Namespaces
- XATTR_
POSIX_ ACL_ ACCESS - XATTR_
POSIX_ ACL_ DEFAULT - XATTR_
REPLACE - set value, fail if attr does not exist
- XATTR_
SECURITY_ PREFIX - XATTR_
SELINUX_ SUFFIX - XATTR_
SIZE_ MAX - size of an extended attribute value (64k)
- XATTR_
SMACK_ EXEC - XATTR_
SMACK_ IPIN - XATTR_
SMACK_ IPOUT - XATTR_
SMACK_ MMAP - XATTR_
SMACK_ SUFFIX - XATTR_
SMACK_ TRANSMUTE - XATTR_
SYSTEM_ PREFIX - XATTR_
TRUSTED_ PREFIX - XATTR_
USER_ PREFIX - XCASE
- XDP_
ABORTED - User return codes for XDP prog type.
- XDP_
DROP - XDP_
PACKET_ HEADROOM - XDP_
PASS - XDP_
REDIRECT - XDP_TX
- XTABS
- X_OK
- Check file is executable.
- _NSIG
- Most things should be clean enough to redefine this at will, if care is taken to make libc match.
- _NSIG_
BPW - _NSIG_
WORDS - _STK_
LIM - Limit the stack by to some sane default: root can always increase this limit if needed.. 8MB seems reasonable.
- __
BLK_ TA_ ABORT - request aborted
- __
BLK_ TA_ BACKMERGE - back merged to existing rq
- __
BLK_ TA_ BOUNCE - bio was bounced
- __
BLK_ TA_ CGROUP - from a cgroup
- __
BLK_ TA_ COMPLETE - completed by driver
- __
BLK_ TA_ DRV_ DATA - driver-specific binary data
- __
BLK_ TA_ FRONTMERGE - front merge to existing rq
- __
BLK_ TA_ GETRQ - allocated new request
- __
BLK_ TA_ INSERT - insert request
- __
BLK_ TA_ ISSUE - sent to driver
- __
BLK_ TA_ PLUG - queue was plugged
- __
BLK_ TA_ QUEUE - queued
- __
BLK_ TA_ REMAP - bio was remapped
- __
BLK_ TA_ REQUEUE - request requeued
- __
BLK_ TA_ SLEEPRQ - sleeping on rq allocation
- __
BLK_ TA_ SPLIT - bio was split
- __
BLK_ TA_ UNPLUG_ IO - queue was unplugged by io
- __
BLK_ TA_ UNPLUG_ TIMER - queue was unplugged by timer
- __
BLK_ TN_ CGROUP - from a cgroup
- __
BLK_ TN_ MESSAGE - Character string message
- __
BLK_ TN_ PROCESS - establish pid/name mapping
- __
BLK_ TN_ TIMESTAMP - include system clock
- __
FPE_ DECDIV - decimal division by zero
- __
FPE_ DECERR - packed decimal error
- __
FPE_ DECOVF - decimal overflow
- __
FPE_ INVASC - invalid ASCII digit
- __
FPE_ INVDEC - invalid decimal digit
- __
ILL_ BNDMOD - bundle-update (modification) in progress
- __
ILL_ BREAK - illegal break
- __
O_ SYNC - Before Linux 2.6.33 only
O_DSYNC
semantics were implemented, but using theO_SYNC
flag. - __
O_ TMPFILE - __
QUOTA_ NL_ A_ MAX - __
QUOTA_ NL_ C_ MAX - __
SO_ ACCEPTCON - performed a listen
- __WALL
- Wait on all children, regardless of type
- __
WCLONE - Wait only on non-SIGCHLD children
- __
WNOTHREAD - Don’t wait on children of other threads in this group
Functions§
- BLK_
TC_ ACT - FUTEX_
OP FUTEX_WAKE_OP
will perform atomically.- IO
- Used to create numbers.
- IOC
- IOC_DIR
- used to decode ioctl numbers..
- IOC_NR
- IOC_
SIZE - IOC_
TYPE - IOC_
TYPECHECK - IOR
- IOR_BAD
- IOW
- IOWR
- IOWR_
BAD - IOW_BAD
- QCMD
- SECCOMP_
IO - SECCOMP_
IOR - SECCOMP_
IOW - SECCOMP_
IOWR - SER_
ISO7816_ T - S_ISBLK
- S_ISCHR
- S_ISDIR
- S_
ISFIFO - S_ISLNK
- S_ISREG
- S_
ISSOCK - in_
badclass - in_
class_ a - Definitions of the bits in an Internet address integer. On subnets, host and network parts are found according to the subnet mask, not these masks.
- in_
class_ b - in_
class_ c - in_
class_ d - in_
class_ e - in_
experimental - in_
loopback - in_
multicast - ioprio_
prio_ class - ioprio_
prio_ data - ioprio_
prio_ value - ioprio_
valid - perf_
flags - s_dt
Type Aliases§
- __
kernel_ clock_ t - __
kernel_ clockid_ t - __
kernel_ daddr_ t - __
kernel_ gid16_ t - __
kernel_ gid32_ t - __
kernel_ gid_ t - __
kernel_ ino_ t - __
kernel_ ipc_ pid_ t - __
kernel_ loff_ t - __
kernel_ long_ t - __
kernel_ mode_ t - __
kernel_ off_ t - anything below here should be completely generic
- __
kernel_ old_ time_ t - __
kernel_ pid_ t - __
kernel_ ptrdiff_ t - __
kernel_ size_ t - Most 32 bit architectures use
unsigned int
size_t
, and all 64 bit architectures useunsigned long
size_t
. - __
kernel_ ssize_ t - __
kernel_ suseconds_ t - __
kernel_ time64_ t - __
kernel_ time_ t - __
kernel_ timer_ t - __
kernel_ uid16_ t - __
kernel_ uid32_ t - __
kernel_ uid_ t - __
kernel_ ulong_ t - _statfs_
word - Most 64-bit platforms use ‘long’, while most 32-bit platforms use ‘__u32’.
- aio_
context_ t - arch_
si_ band_ t - The default
si_band
type is “long”, as specified by POSIX. However, some architectures want to override this to “int” for historical compatibility reasons, so we allow that. - arch_
si_ clock_ t - be16_t
- be32_t
- be64_t
- blkcnt_
t - blksize_
t - blktrace_
act_ t - Basic trace actions
- blktrace_
cat_ t - Trace categories
- blktrace_
notify_ t - Notify events.
- c_char
- cc_t
- clock_t
- clockid_
t - daddr_t
- dev_t
- file_t
- fmode_t
- fsblkcnt_
t - fsconfig_
command_ t - The type of
fsconfig()
call made. - fsfilcnt_
t - gfp_t
- gid16_t
- gid32_t
- gid_t
- ino64_t
- ino_t
- intptr_
t - ipc_
pid_ t - kernel_
sa_ family_ t - key_
perm_ t - key handle permissions mask
- key_
serial_ t - key handle serial number
- key_t
- Type of a SYSV IPC key.
- le16_t
- le32_t
- le64_t
- loff_t
- mode_t
- mqd_t
- nlink_t
- off_t
- Anything below here should be completely generic.
- old_
sigset_ t - at least 32 bits
- pgoff_t
- The type of an index into the pagecache.
- pid_t
- poll_t
- pthread_
key_ t - pthread_
once_ t - pthread_
spinlock_ t - ptrdiff_
t - qid_t
- Type in which we store ids in memory
- qsize_t
- Type in which we store sizes
- register_
t - regoff_
t - restorefn_
t - The restore function should be written with assembly, or naked rust function, which does not modify stack frame.
- rwf_t
- Flags for
preadv2/pwritev2
: - sa_
family_ t - sector_
t - The type used for indexing onto a disc or disc partition.
- sighandler_
t - Type of a signal handler.
signalfn_t
as usize - signalfn_
t - sigrestore_
t restorefn_t
as usize- size_t
- Most 32 bit architectures use
unsigned int
size_t
, and all 64 bit architectures useunsigned long
size_t
. - slab_
flags_ t - sockaddr_
storage_ t - socket_
state_ t - socket-state enum.
- socklen_
t - speed_t
- ssize_t
- stack_t
- suseconds_
t - tcflag_
t - time64_
t - time_t
- timer_t
- timeu64_
t - uid16_t
- uid32_t
- uid_t
- uintptr_
t - umode_t
- useconds_
t - user_
msghdr_ t - utsname_
t - wctype_
t - wint_t
Unions§
- bpf_
attr_ getid_ id_ t - bpf_
attr_ t - bpf_
fib_ lookup_ addr_ t - bpf_
fib_ lookup_ inputs_ t - inputs to lookup
- bpf_
flow_ keys_ addr_ t - bpf_
md_ end_ ptr_ t - bpf_
md_ ptr_ t - bpf_
sock_ ops_ reply_ t - bpf_
sock_ tuple_ t - epoll_
data_ t - in6_
un_ t - IPv6 address structure
- io_
uring_ sqe_ buf_ addr_ t - io_
uring_ sqe_ buf_ group_ t - io_
uring_ sqe_ file_ off_ t - io_
uring_ sqe_ opt_ buf_ t - io_
uring_ sqe_ other_ flags_ t - perf_
event_ attr_ config1_ t - perf_
event_ attr_ config2_ t - perf_
event_ attr_ sample_ t - perf_
event_ attr_ wakeup_ t - perf_
event_ mmap_ page_ cap_ t - perf_
mem_ data_ src_ t - ptrace_
syscall_ info_ seccomp_ t - rseq_
cs_ union_ t - semun_t
- arg for semctl system calls.
- sifields_
t - sigev_
un_ t - siginfo_
t - sigval_
t