Home
last modified time | relevance | path

Searched refs:F_OK (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch14 (currently) all systemd callers of laccess() pass mode as F_OK, so
50 + of laccess() pass mode as F_OK, so only check for existence of a file, not
74 - if (faccessat(fd, table[i].dir, F_OK, AT_SYMLINK_NOFOLLOW) >= 0)
75 + if (faccessat(fd, table[i].dir, F_OK, 0) >= 0)
83 - if (faccessat(fd, s, F_OK, AT_SYMLINK_NOFOLLOW) < 0)
84 + if (faccessat(fd, s, F_OK, 0) < 0)
92 - if (faccessat(fd, p, F_OK, AT_SYMLINK_NOFOLLOW) < 0)
93 + if (faccessat(fd, p, F_OK, 0) < 0)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch14 (currently) all systemd callers of laccess() pass mode as F_OK, so
50 + of laccess() pass mode as F_OK, so only check for existence of a file, not
74 - if (faccessat(fd, table[i].dir, F_OK, AT_SYMLINK_NOFOLLOW) >= 0)
75 + if (faccessat(fd, table[i].dir, F_OK, 0) >= 0)
83 - if (faccessat(fd, s, F_OK, AT_SYMLINK_NOFOLLOW) < 0)
84 + if (faccessat(fd, s, F_OK, 0) < 0)
92 - if (faccessat(fd, p, F_OK, AT_SYMLINK_NOFOLLOW) < 0)
93 + if (faccessat(fd, p, F_OK, 0) < 0)
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c105 err = access(TDIR "/fs1/b/1", F_OK); in fn()
121 err = access(TDIR "/fs1/c/1", F_OK); in fn()
131 err = access(TDIR "/fs1/b", F_OK); in fn()
H A Dtrace_vprintk.c31 if (access(TRACEFS_PIPE, F_OK) == 0) in serial_test_trace_vprintk()
H A Dtrace_printk.c38 if (access(TRACEFS_PIPE, F_OK) == 0) in serial_test_trace_printk()
H A Dtask_fd_query_tp.c20 if (access("/sys/kernel/tracing/trace", F_OK) == 0) { in test_task_fd_query_tp_core()
/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtach.c74 retval = access(DevNodeFileName,F_OK); in SET_PWM_DUTYCYCLE_VALUE()
126 retval = access(DevNodeFileName,F_OK); in GET_PWM_DUTYCYCLE()
154 retval = access(DevNodeFileName,F_OK); in GET_TACH_SPEED()
188 retval = access(DevNodeFileName,F_OK); in GET_PWM_NUMBER()
/openbmc/linux/tools/perf/arch/
H A Dcommon.c121 if (access(buf, F_OK) == 0) { in lookup_path()
164 if (access(buf, F_OK) == 0) in perf_env__lookup_binutils_path()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wifi-test-suite/files/
H A D0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch24 - ret = access("/usr/local/sbin/getipconfig.sh", F_OK);
25 + ret = access("/usr/sbin/getipconfig.sh", F_OK);
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dprot_sao.c28 access("/proc/device-tree/rtas/ibm,hypertas-functions", F_OK) == 0); in test_prot_sao()
/openbmc/linux/tools/hv/
H A Dhv_fcopy_daemon.c49 if (access((char *)smsg->path_name, F_OK)) { in hv_start_fcopy()
66 if (!access(target_fname, F_OK)) { in hv_start_fcopy()
/openbmc/linux/tools/testing/selftests/powerpc/mce/
H A Dinject-ra-err.c42 SKIP_IF(access(devname, F_OK)); in test_ra_error()
/openbmc/qemu/util/
H A Dpath.c56 if (access(full, F_OK) == 0) { in path()
/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c55 if (access(file, F_OK)) in check_all_cpu_dscr_defaults()
/openbmc/openbmc-tools/adcapp/src/
H A Dadcifc.c63 retval = access(stringArray, F_OK); in sys_get_adc_vol()
/openbmc/linux/tools/perf/util/
H A Dcputopo.c47 if (access(filename, F_OK) == -1) { in build_cpu_topology()
110 if (access(filename, F_OK) == -1) { in build_cpu_topology()
236 if (access(filename, F_OK) == -1) in has_die_topology()
H A Dbuild-id.c176 if (!access(bf, F_OK)) in build_id_cache__kallsyms_path()
711 if (access(filename, F_OK)) { in build_id_cache__add()
742 if (access(filename, F_OK)) { in build_id_cache__add()
843 if (filename && !access(filename, F_OK)) in build_id_cache__cached()
863 if (access(linkname, F_OK)) in build_id_cache__remove_s()
/openbmc/linux/tools/thermal/thermometer/
H A Dthermometer.c108 if (path && access(path, F_OK)) { in configuration_init()
365 if (access(options->output, F_OK) && mkdir(options->output, 0700)) { in thermometer_start()
375 if (!options->overwrite && !access(path, F_OK)) { in thermometer_start()
/openbmc/linux/tools/testing/selftests/timens/
H A Dtimens.h107 if (access("/proc/self/ns/time", F_OK) < 0) in nscheck()
/openbmc/ipmi-fru-parser/
H A Dstrgfnhandler.cpp55 if (access(fruFilename, F_OK) == -1) in ipmiStorageWriteFruData()
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h285 #define F_OK 0 macro
/openbmc/linux/tools/bpf/bpftool/
H A Dcommon.c256 dir_exists = access(dir_name, F_OK) == 0; in create_and_mount_bpffs_dir()
276 if (access(parent_name, F_OK) == -1) { in create_and_mount_bpffs_dir()
319 if (access(file_name, F_OK) != -1) { in mount_bpffs_for_file()
336 if (access(dir, F_OK) == -1) { in mount_bpffs_for_file()
/openbmc/linux/tools/testing/selftests/clone3/
H A Dclone3.c199 if (access("/proc/self/ns/time", F_OK) == 0) { in main()
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_ksm_options.c104 if (access(PATH_KSM, F_OK) == -1) { in check_madvise_options()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c89 if (access("/sys/kernel/tracing/trace", F_OK) == 0) { in main()

123