Home
last modified time | relevance | path

Searched refs:MNTOPT_NOSUID (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c701 return (strdup(MNTOPT_NOSUID)); in safe_opts()
705 start = strstr(opts, MNTOPT_NOSUID); in safe_opts()
706 len = sizeof (MNTOPT_NOSUID) - 1; /* "-1" for trailing '\0' */ in safe_opts()
716 return (concat(opts, ',', MNTOPT_NOSUID)); in safe_opts()
H A Dautod_nfs.c757 flags |= (hasmntopt(&m, MNTOPT_NOSUID) == NULL) ? 0 : MS_NOSUID; in nfsmount()
/illumos-gate/usr/src/uts/common/sys/
H A Dmntent.h72 #define MNTOPT_NOSUID "nosuid" /* Neither setuid nor devices allowed */ macro
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c136 static char *suid_cancel[] = { MNTOPT_NOSUID, NULL };
160 { MNTOPT_NOSUID, nosuid_cancel, NULL, 0,
616 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL, 0, 0); in fake_domount()
635 if (vfs_optionisset_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL)) { in fake_domount()
665 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL, 0, 0); in fake_domount()
715 vfs_setmntopt(vfsp, MNTOPT_NOSUID, NULL, 0); in fake_domount()
753 if (vfs_optionisset(vfsp, MNTOPT_NOSUID, NULL)) { in fake_domount()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dautofs.h359 MNTOPT_RESTRICT, MNTOPT_NOSUID, MNTOPT_NOSETUID, MNTOPT_NODEVICES
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c404 optstr, MNTOPT_NOSUID, MNTOPT_LARGEFILES); in rlmount()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c169 static char *suid_cancel[] = { MNTOPT_NOSUID, NULL };
193 { MNTOPT_NOSUID, nosuid_cancel, NULL, 0,
1239 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL, 0, 0); in domount()
1260 if (vfs_optionisset_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL)) { in domount()
1469 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL, 0, 0); in domount()
1632 vfs_setmntopt(vfsp, MNTOPT_NOSUID, NULL, 0); in domount()
1693 if (vfs_optionisset(vfsp, MNTOPT_NOSUID, NULL)) { in domount()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c526 MNTOPT_SUID, MNTOPT_NOSUID,
H A Dmount.c108 MNTOPT_NOSUID,
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c324 if (vfs_optionisset(vfsp, MNTOPT_NOSUID, NULL)) { in lo_mount()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c86 MNTOPT_NOSUID,
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c768 if (!vfs_optionisset(vfsp, MNTOPT_NOSUID, NULL) && in secpolicy_fs_mount_clearopts()
772 vfs_setmntopt(vfsp, MNTOPT_NOSUID, NULL, 0); in secpolicy_fs_mount_clearopts()
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c868 MNTOPT_NOSUID,
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c281 vfs_setmntopt(vfsp, MNTOPT_NOSUID, NULL, 0); in udf_mount()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c2368 MNTOPT_NOSUID,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c453 if (vfs_optionisset(vfsp, MNTOPT_NOSUID, NULL)) { in zfs_register_callbacks()