| /freebsd-14.2/sbin/mount/ |
| H A D | mount_fs.c | 81 char *dev, *dir, mntpath[MAXPATHLEN]; in mount_fs() local 120 if (checkpath(dir, mntpath) != 0) { in mount_fs() 121 warn("%s", mntpath); in mount_fs() 127 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in mount_fs()
|
| H A D | mount.c | 554 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; in mountfs() local 559 if (checkpath_allow_file(name, mntpath) != 0) { in mountfs() 560 xo_warn("%s", mntpath); in mountfs() 564 if (checkpath(name, mntpath) != 0) { in mountfs() 565 xo_warn("%s", mntpath); in mountfs() 569 name = mntpath; in mountfs()
|
| /freebsd-14.2/sbin/mount_udf/ |
| H A D | mount_udf.c | 76 char mntpath[MAXPATHLEN]; in main() local 115 if (checkpath(dir, mntpath) != 0) in main() 116 err(EX_USAGE, "%s", mntpath); in main() 125 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
| /freebsd-14.2/sbin/mount_msdosfs/ |
| H A D | mount_msdosfs.c | 71 char *dev, *dir, mntpath[MAXPATHLEN], *csp; in main() local 193 if (checkpath(dir, mntpath) != 0) in main() 194 err(EX_USAGE, "%s", mntpath); in main() 198 if (stat(mntpath, &sb) == -1) in main() 199 err(EX_OSERR, "stat %s", mntpath); in main() 211 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
| /freebsd-14.2/sbin/mount_fusefs/ |
| H A D | mount_fusefs.c | 123 char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN]; in main() local 333 if (checkpath(dir, mntpath) != 0) in main() 334 err(1, "%s", mntpath); in main() 424 build_iovec(&iov, &iovlen, "fspath", mntpath, -1); in main() 432 err(EX_OSERR, "%s on %s", dev, mntpath); in main()
|
| /freebsd-14.2/sbin/mount_cd9660/ |
| H A D | mount_cd9660.c | 93 char *dev, *dir, *p, *val, mntpath[MAXPATHLEN]; in main() local 170 if (checkpath(dir, mntpath) != 0) in main() 171 err(1, "%s", mntpath); in main() 195 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
| /freebsd-14.2/sbin/mount_nfs/ |
| H A D | mount_nfs.c | 159 char mntpath[MAXPATHLEN], errmsg[255]; in main() local 480 if (checkpath(mntname, mntpath) != 0) in main() 481 err(1, "%s", mntpath); in main() 484 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main() 490 errx(1, "nmount: %s, %s", mntpath, nmount_errstr); in main() 492 err(1, "nmount: %s%s%s", mntpath, errmsg[0] ? ", " : "", in main()
|