syzkaller/sys/tty_ppc64le.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

77 lines
1.4 KiB
Plaintext

# AUTOGENERATED FILE
AT_FDCWD = 18446744073709551516
FIONREAD = 1074030207
GIO_CMAP = 19312
GIO_FONT = 19296
GIO_FONTX = 19307
GIO_SCRNMAP = 19264
GIO_UNIMAP = 19302
GIO_UNISCRNMAP = 19305
KDADDIO = 19252
KDDELIO = 19253
KDDISABIO = 19255
KDENABIO = 19254
KDGETKEYCODE = 19276
KDGETLED = 19249
KDGETMODE = 19259
KDGKBDIACR = 19274
KDGKBENT = 19270
KDGKBLED = 19300
KDGKBMETA = 19298
KDGKBMODE = 19268
KDGKBSENT = 19272
KDGKBTYPE = 19251
KDSETKEYCODE = 19277
KDSETLED = 19250
KDSETMODE = 19258
KDSIGACCEPT = 19278
KDSKBLED = 19301
KDSKBMETA = 19299
KDSKBMODE = 19269
KDSKBSENT = 19273
KIOCSOUND = 19247
PIO_FONT = 19297
PIO_FONTRESET = 19309
PIO_FONTX = 19308
PIO_SCRNMAP = 19265
PIO_UNIMAP = 19303
PIO_UNIMAPCLR = 19304
PIO_UNISCRNMAP = 19306
TCFLSH = 536900639
TCSBRK = 536900637
TCSBRKP = 21541
TCXONC = 536900638
TIOCCBRK = 21544
TIOCCONS = 21533
TIOCEXCL = 21516
TIOCGETD = 21540
TIOCGLCKTRMIOS = 21590
TIOCGPGRP = 1074033783
TIOCGSOFTCAR = 21529
TIOCLINUX = 21532
TIOCMBIC = 21527
TIOCMGET = 21525
TIOCMSET = 21528
TIOCNOTTY = 21538
TIOCNXCL = 21517
TIOCOUTQ = 1074033779
TIOCPKT = 21536
TIOCSBRK = 21543
TIOCSCTTY = 21518
TIOCSETD = 21539
TIOCSLCKTRMIOS = 21591
TIOCSSOFTCAR = 21530
TIOCSTI = 21522
VT_ACTIVATE = 22022
VT_DISALLOCATE = 22024
VT_GETMODE = 22017
VT_GETSTATE = 22019
VT_OPENQRY = 22016
VT_RELDISP = 22021
VT_RESIZE = 22025
VT_RESIZEX = 22026
VT_SETMODE = 22018
VT_WAITACTIVE = 22023
__NR_ioctl = 54
__NR_openat = 286