From 4ba360c5fb559397d73ae924bd655fb49c2c776c Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Fri, 29 Mar 2019 16:41:40 +0100 Subject: sys/openbsd: add common ioctl() commands --- sys/openbsd/sys_amd64.const | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/openbsd/sys_amd64.const') diff --git a/sys/openbsd/sys_amd64.const b/sys/openbsd/sys_amd64.const index 4f1dabf7a..c1b7d725a 100644 --- a/sys/openbsd/sys_amd64.const +++ b/sys/openbsd/sys_amd64.const @@ -9,6 +9,11 @@ CLOCK_PROCESS_CPUTIME_ID = 2 CLOCK_REALTIME = 0 CLOCK_THREAD_CPUTIME_ID = 4 FD_CLOEXEC = 1 +FIOASYNC = 2147772029 +FIOGETOWN = 1074030203 +FIONBIO = 2147772030 +FIONREAD = 1074030207 +FIOSETOWN = 2147772028 F_DUPFD = 0 F_DUPFD_CLOEXEC = 10 F_GETFD = 1 @@ -93,6 +98,7 @@ SYS_getppid = 39 SYS_getrlimit = 194 SYS_getrusage = 19 SYS_getuid = 24 +SYS_ioctl = 54 SYS_lchown = 254 SYS_link = 9 SYS_linkat = 317 -- cgit mrf-deployment