1 /* Generated by ./xlat/gen.sh from ./xlat/fcntlcmds.in; do not edit. */ 2 #if !(defined(F_DUPFD) || (defined(HAVE_DECL_F_DUPFD) && HAVE_DECL_F_DUPFD)) 3 # define F_DUPFD 0 4 #endif 5 #if !(defined(F_GETFD) || (defined(HAVE_DECL_F_GETFD) && HAVE_DECL_F_GETFD)) 6 # define F_GETFD 1 7 #endif 8 #if !(defined(F_SETFD) || (defined(HAVE_DECL_F_SETFD) && HAVE_DECL_F_SETFD)) 9 # define F_SETFD 2 10 #endif 11 #if !(defined(F_GETFL) || (defined(HAVE_DECL_F_GETFL) && HAVE_DECL_F_GETFL)) 12 # define F_GETFL 3 13 #endif 14 #if !(defined(F_SETFL) || (defined(HAVE_DECL_F_SETFL) && HAVE_DECL_F_SETFL)) 15 # define F_SETFL 4 16 #endif 17 #if !(defined(F_GETLK) || (defined(HAVE_DECL_F_GETLK) && HAVE_DECL_F_GETLK)) 18 # define F_GETLK 5 19 #endif 20 #if !(defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)) 21 # define F_SETLK 6 22 #endif 23 #if !(defined(F_SETLKW) || (defined(HAVE_DECL_F_SETLKW) && HAVE_DECL_F_SETLKW)) 24 # define F_SETLKW 7 25 #endif 26 #if !(defined(F_SETOWN) || (defined(HAVE_DECL_F_SETOWN) && HAVE_DECL_F_SETOWN)) 27 # define F_SETOWN 8 28 #endif 29 #if !(defined(F_GETOWN) || (defined(HAVE_DECL_F_GETOWN) && HAVE_DECL_F_GETOWN)) 30 # define F_GETOWN 9 31 #endif 32 #if !(defined(F_SETSIG) || (defined(HAVE_DECL_F_SETSIG) && HAVE_DECL_F_SETSIG)) 33 # define F_SETSIG 10 34 #endif 35 #if !(defined(F_GETSIG) || (defined(HAVE_DECL_F_GETSIG) && HAVE_DECL_F_GETSIG)) 36 # define F_GETSIG 11 37 #endif 38 #if !(defined(F_SETOWN_EX) || (defined(HAVE_DECL_F_SETOWN_EX) && HAVE_DECL_F_SETOWN_EX)) 39 # define F_SETOWN_EX 15 40 #endif 41 #if !(defined(F_GETOWN_EX) || (defined(HAVE_DECL_F_GETOWN_EX) && HAVE_DECL_F_GETOWN_EX)) 42 # define F_GETOWN_EX 16 43 #endif 44 #if !(defined(F_GETOWNER_UIDS) || (defined(HAVE_DECL_F_GETOWNER_UIDS) && HAVE_DECL_F_GETOWNER_UIDS)) 45 # define F_GETOWNER_UIDS 17 46 #endif 47 #if !(defined(F_OFD_GETLK) || (defined(HAVE_DECL_F_OFD_GETLK) && HAVE_DECL_F_OFD_GETLK)) 48 # define F_OFD_GETLK 36 49 #endif 50 #if !(defined(F_OFD_SETLK) || (defined(HAVE_DECL_F_OFD_SETLK) && HAVE_DECL_F_OFD_SETLK)) 51 # define F_OFD_SETLK 37 52 #endif 53 #if !(defined(F_OFD_SETLKW) || (defined(HAVE_DECL_F_OFD_SETLKW) && HAVE_DECL_F_OFD_SETLKW)) 54 # define F_OFD_SETLKW 38 55 #endif 56 #if !(defined(F_SETLEASE) || (defined(HAVE_DECL_F_SETLEASE) && HAVE_DECL_F_SETLEASE)) 57 # define F_SETLEASE (1024 + 0) 58 #endif 59 #if !(defined(F_GETLEASE) || (defined(HAVE_DECL_F_GETLEASE) && HAVE_DECL_F_GETLEASE)) 60 # define F_GETLEASE (1024 + 1) 61 #endif 62 #if !(defined(F_NOTIFY) || (defined(HAVE_DECL_F_NOTIFY) && HAVE_DECL_F_NOTIFY)) 63 # define F_NOTIFY (1024 + 2) 64 #endif 65 #if !(defined(F_CANCELLK) || (defined(HAVE_DECL_F_CANCELLK) && HAVE_DECL_F_CANCELLK)) 66 # define F_CANCELLK (1024 + 5) 67 #endif 68 #if !(defined(F_DUPFD_CLOEXEC) || (defined(HAVE_DECL_F_DUPFD_CLOEXEC) && HAVE_DECL_F_DUPFD_CLOEXEC)) 69 # define F_DUPFD_CLOEXEC (1024 + 6) 70 #endif 71 #if !(defined(F_SETPIPE_SZ) || (defined(HAVE_DECL_F_SETPIPE_SZ) && HAVE_DECL_F_SETPIPE_SZ)) 72 # define F_SETPIPE_SZ (1024 + 7) 73 #endif 74 #if !(defined(F_GETPIPE_SZ) || (defined(HAVE_DECL_F_GETPIPE_SZ) && HAVE_DECL_F_GETPIPE_SZ)) 75 # define F_GETPIPE_SZ (1024 + 8) 76 #endif 77 #if !(defined(F_ADD_SEALS) || (defined(HAVE_DECL_F_ADD_SEALS) && HAVE_DECL_F_ADD_SEALS)) 78 # define F_ADD_SEALS (1024 + 9) 79 #endif 80 #if !(defined(F_GET_SEALS) || (defined(HAVE_DECL_F_GET_SEALS) && HAVE_DECL_F_GET_SEALS)) 81 # define F_GET_SEALS (1024 + 10) 82 #endif 83 84 #ifdef IN_MPERS 85 86 # error static const struct xlat fcntlcmds in mpers mode 87 88 #else 89 90 static 91 const struct xlat fcntlcmds[] = { 92 /* asm-generic/fcntl.h */ 93 XLAT(F_DUPFD), 94 XLAT(F_GETFD), 95 XLAT(F_SETFD), 96 XLAT(F_GETFL), 97 XLAT(F_SETFL), 98 XLAT(F_GETLK), 99 XLAT(F_SETLK), 100 XLAT(F_SETLKW), 101 XLAT(F_SETOWN), 102 XLAT(F_GETOWN), 103 XLAT(F_SETSIG), 104 XLAT(F_GETSIG), 105 XLAT(F_SETOWN_EX), 106 XLAT(F_GETOWN_EX), 107 XLAT(F_GETOWNER_UIDS), 108 XLAT(F_OFD_GETLK), 109 XLAT(F_OFD_SETLK), 110 XLAT(F_OFD_SETLKW), 111 112 /* linux/fcntl.h */ 113 XLAT(F_SETLEASE), 114 XLAT(F_GETLEASE), 115 XLAT(F_NOTIFY), 116 XLAT(F_CANCELLK), 117 XLAT(F_DUPFD_CLOEXEC), 118 XLAT(F_SETPIPE_SZ), 119 XLAT(F_GETPIPE_SZ), 120 XLAT(F_ADD_SEALS), 121 XLAT(F_GET_SEALS), 122 XLAT_END 123 }; 124 125 #endif /* !IN_MPERS */ 126