/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch | 14 (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 D | 0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch | 14 (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 D | test_bpffs.c | 105 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 D | trace_vprintk.c | 31 if (access(TRACEFS_PIPE, F_OK) == 0) in serial_test_trace_vprintk()
|
H A D | trace_printk.c | 38 if (access(TRACEFS_PIPE, F_OK) == 0) in serial_test_trace_printk()
|
H A D | task_fd_query_tp.c | 20 if (access("/sys/kernel/tracing/trace", F_OK) == 0) { in test_task_fd_query_tp_core()
|
/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | pwmtach.c | 74 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 D | common.c | 121 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 D | 0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch | 24 - 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 D | prot_sao.c | 28 access("/proc/device-tree/rtas/ibm,hypertas-functions", F_OK) == 0); in test_prot_sao()
|
/openbmc/linux/tools/hv/ |
H A D | hv_fcopy_daemon.c | 49 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 D | inject-ra-err.c | 42 SKIP_IF(access(devname, F_OK)); in test_ra_error()
|
/openbmc/qemu/util/ |
H A D | path.c | 56 if (access(full, F_OK) == 0) { in path()
|
/openbmc/linux/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_sysfs_test.c | 55 if (access(file, F_OK)) in check_all_cpu_dscr_defaults()
|
/openbmc/openbmc-tools/adcapp/src/ |
H A D | adcifc.c | 63 retval = access(stringArray, F_OK); in sys_get_adc_vol()
|
/openbmc/linux/tools/perf/util/ |
H A D | cputopo.c | 47 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 D | build-id.c | 176 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 D | thermometer.c | 108 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 D | timens.h | 107 if (access("/proc/self/ns/time", F_OK) < 0) in nscheck()
|
/openbmc/ipmi-fru-parser/ |
H A D | strgfnhandler.cpp | 55 if (access(fruFilename, F_OK) == -1) in ipmiStorageWriteFruData()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yportenv.h | 285 #define F_OK 0 macro
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | common.c | 256 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 D | clone3.c | 199 if (access("/proc/self/ns/time", F_OK) == 0) { in main()
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_ksm_options.c | 104 if (access(PATH_KSM, F_OK) == -1) { in check_madvise_options()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | get_cgroup_id_user.c | 89 if (access("/sys/kernel/tracing/trace", F_OK) == 0) { in main()
|