Home
last modified time | relevance | path

Searched refs:restropts (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c600 static const char *restropts[] = { variable
603 #define NROPTS (sizeof (restropts)/sizeof (restropts[0]))
616 len += strlen(restropts[i]); in inherit_options()
631 if (hasmntopt(&mtopt, (char *)restropts[i]) != NULL && in inherit_options()
632 hasmntopt(&mtmap, (char *)restropts[i]) == NULL) { in inherit_options()
635 (void) strcat(new, restropts[i]); in inherit_options()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c300 static char *restropts[] = { variable
323 if (!vfs_optionisset(vfsp, restropts[0], NULL)) in autofs_restrict_opts()
326 for (i = 0; i < sizeof (restropts)/sizeof (restropts[0]); i++) { in autofs_restrict_opts()
327 size_t olen = strlen(restropts[i]); in autofs_restrict_opts()
330 if ((i == 0 || vfs_optionisset(vfsp, restropts[i], NULL)) && in autofs_restrict_opts()
331 ((p = strstr(buf, restropts[i])) == NULL || in autofs_restrict_opts()
340 (void) strcpy(&buf[len], restropts[i]); in autofs_restrict_opts()