| /src/sbin/mount/ |
| H A D | mount_fs.c | 69 char *dev, *dir, mntpath[MAXPATHLEN]; in mount_fs() local 108 if (checkpath(dir, mntpath) != 0) { in mount_fs() 109 warn("%s", mntpath); in mount_fs() 115 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in mount_fs()
|
| H A D | mount.c | 545 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; in mountfs() local 550 if (checkpath_allow_file(name, mntpath) != 0) { in mountfs() 551 xo_warn("%s", mntpath); in mountfs() 555 if (checkpath(name, mntpath) != 0) { in mountfs() 556 xo_warn("%s", mntpath); in mountfs() 560 name = mntpath; in mountfs()
|
| /src/sbin/mount_udf/ |
| H A D | mount_udf.c | 75 char mntpath[MAXPATHLEN]; in main() local 114 if (checkpath(dir, mntpath) != 0) in main() 115 err(EX_USAGE, "%s", mntpath); in main() 124 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
| /src/sbin/mount_msdosfs/ |
| H A D | mount_msdosfs.c | 70 char *dev, *dir, mntpath[MAXPATHLEN], *csp; in main() local 192 if (checkpath(dir, mntpath) != 0) in main() 193 err(EX_USAGE, "%s", mntpath); in main() 197 if (stat(mntpath, &sb) == -1) in main() 198 err(EX_OSERR, "stat %s", mntpath); in main() 210 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
| /src/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()
|
| /src/sbin/mount_cd9660/ |
| H A D | mount_cd9660.c | 78 char *dev, *dir, *p, *val, mntpath[MAXPATHLEN]; in main() local 155 if (checkpath(dir, mntpath) != 0) in main() 156 err(1, "%s", mntpath); in main() 180 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
| /src/sbin/mount_nfs/ |
| H A D | mount_nfs.c | 148 char mntpath[MAXPATHLEN], errmsg[255]; in main() local 476 if (checkpath(mntname, mntpath) != 0) in main() 477 err(1, "%s", mntpath); in main() 480 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main() 486 errx(1, "nmount: %s, %s", mntpath, nmount_errstr); in main() 488 err(1, "nmount: %s%s%s", mntpath, errmsg[0] ? ", " : "", in main()
|