From 3ea5a3451b2bfa90a3b73397273560f17d587efc Mon Sep 17 00:00:00 2001 From: Denis Efremov Date: Sat, 18 Sep 2021 16:47:16 +0300 Subject: sys/linux: add O_ACCMODE to floppy's open flags O_ACCMODE is used for ioctl-only opens in the floppy driver. Drop O_CREAT, O_DIRECTORY, O_EXCL, O_LARGEFILE, O_NOCTTY, O_NOFOLLOW, O_PATH and __O_TMPFILE flags. They aren't affecting /dev/fd0. Signed-off-by: Denis Efremov --- sys/linux/dev_floppy.txt.const | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sys/linux/dev_floppy.txt.const') diff --git a/sys/linux/dev_floppy.txt.const b/sys/linux/dev_floppy.txt.const index 1809a6e38..0d3e1f12f 100644 --- a/sys/linux/dev_floppy.txt.const +++ b/sys/linux/dev_floppy.txt.const @@ -1,5 +1,6 @@ # Code generated by syz-sysgen. DO NOT EDIT. arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x +FASYNC = 8192, mips64le:4096 FDCLRPRM = 577, mips64le:ppc64le:536871489 FDDEFPRM = 1075839555, 386:arm:1075577411, mips64le:ppc64le:2149581379 FDEJECT = 602, mips64le:ppc64le:536871514 @@ -55,4 +56,14 @@ FD_SILENT_DCL_CLEAR = 4 FD_UNUSED_BIT = 3 FD_VERIFY_BIT = 1 FTD_MSG = 16 +O_ACCMODE = 3 +O_APPEND = 1024, mips64le:8 +O_CLOEXEC = 524288 +O_DIRECT = 16384, arm:arm64:65536, mips64le:32768, ppc64le:131072 +O_NOATIME = 262144 +O_NONBLOCK = 2048, mips64le:128 +O_RDWR = 2 +O_SYNC = 1052672, mips64le:16400 +O_TRUNC = 512 +O_WRONLY = 1 __NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015 -- cgit mrf-deployment