.. | .. |
---|
89 | 89 | #define __O_TMPFILE 020000000 |
---|
90 | 90 | #endif |
---|
91 | 91 | |
---|
| 92 | +/* |
---|
| 93 | + * Tells the open call that out-of-band operations should be enabled |
---|
| 94 | + * for the file (if supported). Can also be passed along to socket(2) |
---|
| 95 | + * via the type argument as SOCK_OOB. |
---|
| 96 | + */ |
---|
| 97 | +#ifndef O_OOB |
---|
| 98 | +#define O_OOB 010000000000 |
---|
| 99 | +#endif |
---|
| 100 | + |
---|
92 | 101 | /* a horrid kludge trying to make sure that this will fail on old kernels */ |
---|
93 | 102 | #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) |
---|
94 | 103 | #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT) |
---|