Home
last modified time | relevance | path

Searched refs:safe_open (Results 1 – 7 of 7) sorted by relevance

/third_party/glib/glib/
Dgspawn.c1534 safe_open (const char *path, gint mode) in safe_open() function
1600 gint read_null = safe_open ("/dev/null", O_RDONLY); in do_exec()
1621 gint write_null = safe_open ("/dev/null", O_WRONLY); in do_exec()
1642 gint write_null = safe_open ("/dev/null", O_WRONLY); in do_exec()
1860 gint read_null = safe_open ("/dev/null", O_RDONLY | O_CLOEXEC); in do_posix_spawn()
1884 gint write_null = safe_open ("/dev/null", O_WRONLY | O_CLOEXEC); in do_posix_spawn()
1908 gint write_null = safe_open ("/dev/null", O_WRONLY | O_CLOEXEC); in do_posix_spawn()
/third_party/ltp/include/
Dsafe_macros_fn.h64 int safe_open(const char *file, const int lineno,
Dtst_safe_macros.h85 safe_open(__FILE__, __LINE__, NULL, (pathname), (oflags), \
/third_party/ltp/include/old/
Dsafe_macros.h63 safe_open(__FILE__, __LINE__, (cleanup_fn), (pathname), (oflags), \
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c272 r = safe_open(filename, lineno, NULL, buf, flags, mode); in check_mfd_open()
/third_party/ltp/lib/
Dsafe_macros.c236 int safe_open(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_open() function
/third_party/alsa-utils/aplay/
Daplay.c3185 static int safe_open(const char *name) in safe_open() function
3255 fd = safe_open(name); in capture()