Symbol: lstat
bin/cp/cp.c
258
lstat(*argv, &tmp_stat);
bin/getfacl/getfacl.c
104
error = lstat(path, &sb);
bin/ln/ln.c
152
if (hflag && lstat(targetdir, &sb) == 0 && S_ISLNK(sb.st_mode)) {
bin/ln/ln.c
235
if ((Pflag ? lstat : stat)(source, &sb)) {
bin/ln/ln.c
261
if (isdir || (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) ||
bin/ln/ln.c
307
exists = lstat(target, &sb) == 0;
bin/ln/ln.c
80
if (lstat(argv[1], &sb) == 0)
bin/mv/mv.c
121
if (lstat(argv[1], &sb) == 0 && S_ISLNK(sb.st_mode))
bin/mv/mv.c
173
if (lstat(from, &sb) == -1) {
bin/mv/mv.c
221
if (lstat(from, &sb) == -1) {
bin/mv/mv.c
247
if (lstat(from, &sb)) {
bin/mv/mv.c
363
if (lstat(to, &sb) == 0) {
bin/pax/ar_subs.c
205
if ((uflag || Dflag) && ((lstat(arcn->name, &sb) == 0))) {
bin/pax/ar_subs.c
241
if ((Yflag || Zflag) && ((lstat(arcn->name, &sb) == 0))) {
bin/pax/ar_subs.c
817
res = lstat(dirbuf, &sb);
bin/pax/ar_subs.c
853
if ((Yflag || Zflag) && ((lstat(arcn->name, &sb) == 0))) {
bin/pax/file_subs.c
174
if (lstat(arcn->ln_name, &sb) < 0) {
bin/pax/file_subs.c
232
if (lstat(arcn->name, &sb) < 0)
bin/pax/file_subs.c
271
if (lstat(from, &sb) == 0) {
bin/pax/file_subs.c
446
if (lstat(arcn->name, &sb) < 0) {
bin/pax/file_subs.c
497
if (lstat(name, &sb) < 0)
bin/pax/file_subs.c
576
if (lstat(name, &sb) == 0) {
bin/pax/file_subs.c
607
(lstat(name, &sb) == 0)) {
bin/pax/file_subs.c
642
if (lstat(fnm, &sb) == 0) {
bin/rm/rm.c
337
if (lstat(f, &sb)) {
bin/rm/rm.c
459
if (lstat(argv[i], &st) == 0) {
bin/sh/cd.c
209
if (lstat(stackblock(), &statb) < 0) {
bin/sh/expand.c
1124
if (metaflag == 0 || lstat(expdir, &statb) >= 0)
bin/test/test.c
368
if (mode == FILSYM ? lstat(nm, &s) : stat(nm, &s))
crypto/heimdal/appl/ftp/ftpd/ls.c
473
return lstat (file, sb);
crypto/heimdal/appl/ftp/ftpd/ls.c
481
ret = lstat (dir, sb);
crypto/heimdal/appl/ftp/ftpd/ls.c
498
return lstat (file, sb);
crypto/heimdal/lib/krb5/fcache.c
254
ret = lstat (filename, &sb1);
crypto/heimdal/lib/krb5/kuserok.c
123
if(lstat(dirname, &st) < 0)
crypto/heimdal/lib/roken/glob.c
782
return(lstat(buf, sb));
crypto/heimdal/lib/roken/iruserok.c
262
if (lstat(pbuf, &sbuf) < 0)
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
448
if (lstat(filename, &st1) != 0)
crypto/krb5/src/util/verto/ev.c
4449
# define EV_LSTAT(p,b) lstat (p, b)
crypto/krb5/src/util/verto/ev.c
4455
if (lstat (w->path, &w->attr) < 0)
crypto/openssh/openbsd-compat/getcwd.c
111
if (lstat(up, &s))
crypto/openssh/openbsd-compat/getcwd.c
178
if (lstat(up, &s)) {
crypto/openssh/openbsd-compat/glob.c
1023
return(lstat(buf, sb));
crypto/openssh/openbsd-compat/mktemp.c
101
if (lstat(path, &sb) != 0)
crypto/openssh/sftp-client.c
2322
if (lstat(new_src, &sb) == -1) {
crypto/openssh/sftp-realpath.c
161
if (lstat(resolved, &sb) != 0) {
crypto/openssh/sftp-server.c
1160
if (lstat(pathname, &st) == -1)
crypto/openssh/sftp-server.c
1281
if (lstat(oldpath, &sb) == -1)
crypto/openssh/sftp-server.c
911
r = do_lstat ? lstat(name, &st) : stat(name, &st);
crypto/openssl/apps/rehash.c
407
if (lstat(buf, &st) < 0)
lib/libc/gen/gen-compat.h
73
lstat, FBSD_1.0);
lib/libc/gen/getcwd.c
117
if (dir != NULL ? _fstat(_dirfd(dir), &s) : lstat(".", &s))
lib/libc/gen/glob.c
1050
return (lstat(buf, sb));
lib/libc/include/compat.h
54
__sym_compat(lstat, freebsd11_lstat, FBSD_1.0);
lib/libc/net/rcmd.c
474
if (lstat(pbuf, &sbuf) < 0)
lib/libc/stdio/mktemp.c
163
} else if (lstat(path, &sbuf))
lib/libc/stdio/remove.c
45
if (lstat(file, &sb) < 0)
lib/libc/stdlib/realpath.c
138
if (lstat(resolved, &sb) != 0) {
lib/libcasper/services/cap_fileargs/cap_fileargs.c
583
if (lstat(fname, &sb) < 0) {
lib/libcasper/services/cap_fileargs/cap_fileargs.c
654
error = lstat(name, &sb);
lib/libcasper/services/cap_fileargs/cap_fileargs.h
118
lstat(name, sb)
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
132
ATF_REQUIRE(lstat(file, &origsb) == 0);
lib/libutil/_secure_path.c
49
if (lstat(path, &sb) < 0) {
libexec/atrun/atrun.c
207
if (lstat(filename, &lbuf) == -1)
sbin/md5/md5.c
368
lstat(filename, &st) != 0 &&
sbin/md5/md5.c
369
lstat(filename + 1, &st) == 0) {
sys/dev/sk/if_sk.c
2889
int lstat;
sys/dev/sk/if_sk.c
2890
lstat = sk_xmac_miibus_readreg(sc_if, SK_PHYADDR_BCOM,
sys/dev/sk/if_sk.c
2893
if (!(lstat & BRGPHY_AUXSTS_LINK) && sc_if->sk_link) {
sys/kern/init_sysent.c
109
{ compat(AS(olstat_args),lstat), .sy_auevent = AUE_LSTAT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 40 = old lstat */
sys/kern/init_sysent.c
259
{ compat11(AS(freebsd11_lstat_args),lstat), .sy_auevent = AUE_LSTAT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 190 = freebsd11 lstat */
sys/sys/stat.h
388
int lstat(const char * __restrict, struct stat * __restrict);
tests/sys/audit/file-attribute-access.c
114
ATF_REQUIRE_EQ(0, lstat(path, &statbuff));
tests/sys/audit/file-attribute-access.c
135
ATF_REQUIRE_ERRNO(ENOENT, lstat(errpath, &statbuff) == -1);
tests/sys/capsicum/capmode.cc
80
EXPECT_CAPMODE(lstat(TmpFile("cap_capmode_lstat"), &sb));
tools/diag/prtblknos/main.c
54
if (lstat(filename, &sb) != 0)
tools/regression/security/cap_test/cap_test_capmode.c
96
CHECK_CAPMODE(lstat, "/tmp/cap_capmode_lstat", &sb);
tools/tools/syscall_timing/syscall_timing.c
344
error = lstat(path, &sb);
usr.bin/bintrans/uudecode.c
269
if (lstat(outfile, &st) == 0) {
usr.bin/diff/diffdir.c
267
if (lstat(path1, &stb1) != 0) {
usr.bin/diff/diffdir.c
275
if (lstat(path2, &stb2) != 0) {
usr.bin/find/function.c
1126
error = lstat(fn, &sb);
usr.bin/find/function.c
1276
error = lstat(fn_or_tspec, &sb);
usr.bin/gzip/gzip.c
1914
lstat(path, &sb) != 0)) {
usr.bin/sed/main.c
394
if (lstat(fname, &sb) != 0)
usr.bin/stat/stat.c
394
(rc = lstat(file, &st)) == -1)
usr.bin/stat/stat.c
397
rc = lstat(file, &st);
usr.bin/xinstall/xinstall.c
370
if (lstat(to_name, &to_sb) != 0)
usr.bin/xinstall/xinstall.c
839
target = (lstat(to_name, &to_sb) == 0);
usr.sbin/gssd/gssd.c
1467
lstat(namepath, &sb) >= 0 &&
usr.sbin/inetd/builtins.c
587
if (lstat(p, &sb) == 0) {
usr.sbin/jail/command.c
1037
if (lstat(tpath, &st) < 0) {
usr.sbin/lpr/lpc/cmds.c
784
res = lstat(name, &stbuf);
usr.sbin/lpr/lpd/printjob.c
1001
statrc = lstat(file, &stb);
usr.sbin/lpr/lpd/printjob.c
618
if (lstat(file, &stb) < 0 || (fi = open(file, O_RDONLY)) < 0) {
usr.sbin/lpr/lpr/lpr.c
413
if (lstat(arg, &statb1) < 0)
usr.sbin/lpr/lpr/lpr.c
424
if (lstat(dfname, &statb2) < 0)
usr.sbin/makefs/cd9660.c
2064
if (lstat(diskStructure->generic_bootimage, &stbuf) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
132
if (lstat(new_image->filename, &stbuf) == -1)
usr.sbin/makefs/walk.c
166
if (lstat(path, &stbuf) == -1)
usr.sbin/makefs/walk.c
418
lstat(path, &stbuf) == -1)
usr.sbin/mountd/mountd.c
3908
if (lstat(path, &sb)) {
usr.sbin/newsyslog/newsyslog.c
1074
gres = lstat(mfname, &st_fm);
usr.sbin/newsyslog/newsyslog.c
1845
if (lstat(zfile, &st) == 0)
usr.sbin/newsyslog/newsyslog.c
1886
if (lstat(dirpart, &st))
usr.sbin/newsyslog/newsyslog.c
2714
res = lstat(mkdirpath, &st);