syzkaller/sys/netrom_arm64.const
Dmitry Vyukov 0d0fbbe73f overhaul syscall description generation process
This splits generation process into two phases:
1. Extract values of constants from linux kernel sources.
2. Generate Go code.

Constant values are checked in.
The advantage is that the second phase is now completely independent
from linux source files, kernel version, presence of headers for
particular drivers, etc. This allows to change what Go code we generate
any time without access to all kernel headers (which in future won't be
limited to only upstream headers).

Constant extraction process does require proper kernel sources,
but this can be done only once by the person who added the driver
and has access to the required sources. Then the constant values
are checked in for others to use.
Consant extraction process is per-file/per-arch. That is,
if I am adding a driver that is not present upstream and that
works only on a single arch, I will check in constants only for
that driver and for that arch.
2016-08-26 07:09:25 +02:00

28 lines
486 B
Plaintext

# AUTOGENERATED FILE
AF_NETROM = 6
AX25_MAX_DIGIS = 8
NETROM_IDLE = 7
NETROM_N2 = 3
NETROM_T1 = 1
NETROM_T2 = 2
NETROM_T4 = 6
SIOCADDRT = 35083
SIOCGSTAMP = 35078
SIOCGSTAMPNS = 35079
SOCK_SEQPACKET = 5
SOL_NETROM = 259
TIOCINQ = 21531
TIOCOUTQ = 21521
__NR_accept = 202
__NR_bind = 200
__NR_connect = 203
__NR_getpeername = 205
__NR_getsockname = 204
__NR_getsockopt = 209
__NR_ioctl = 29
__NR_listen = 201
__NR_recvmsg = 212
__NR_sendmsg = 211
__NR_setsockopt = 208
__NR_socket = 198