Searched refs:needs_mode (Results 1 – 2 of 2) sorted by relevance
47 static inline bool needs_mode(int flags) { in needs_mode() function59 if (needs_mode(flags)) { in open()71 if (needs_mode(flags)) __fortify_fatal("open: called with O_CREAT/O_TMPFILE but no mode"); in __open_2()78 if (needs_mode(flags)) { in openat()90 if (needs_mode(flags)) __fortify_fatal("open: called with O_CREAT/O_TMPFILE but no mode"); in __openat_2()
31 static bool needs_mode(int flags) { in needs_mode() function42 if (!needs_mode(flags)) { in __wrap_open()