MAX_MNTOPT_STR
char optbuf[MAX_MNTOPT_STR] = { '\0', };
(void) snprintf(optbuf, MAX_MNTOPT_STR, "timezone=%d",
MNTTYPE_PCFS, NULL, 0, optbuf, MAX_MNTOPT_STR);
if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL)
if ((buf = (char *)malloc(MAX_MNTOPT_STR)) == NULL)
if (len + strlen(",nest") + 1 > MAX_MNTOPT_STR)
head, sizeof (*head), mopts, MAX_MNTOPT_STR) < 0) {
char optbuf[MAX_MNTOPT_STR];
char mopts[MAX_MNTOPT_STR];
MAX_MNTOPT_STR) < 0) {
char optbuf1[MAX_MNTOPT_STR], *s = optbuf1;
char optbuf2[MAX_MNTOPT_STR];
char mntopts[MAX_MNTOPT_STR];
MNTTYPE_AUTOFS, &fni, sizeof (fni), obuf, MAX_MNTOPT_STR);
char obuf[MAX_MNTOPT_STR];
0, optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
fstype, NULL, 0, optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
if (strlen(optarg) > MAX_MNTOPT_STR) {
if ((strlen(obuff) + strlen(MNTOPT_RO) + 2) > MAX_MNTOPT_STR) {
if ((strlen(obuff) + strlen(gopt) + 2) > MAX_MNTOPT_STR) {
char obuff[MAX_MNTOPT_STR];
char saved_input_options[MAX_MNTOPT_STR];
optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
char optbuf[MAX_MNTOPT_STR];
if (strlen(optarg) >= MAX_MNTOPT_STR) {
sizeof (*args), mntp->mnt_mntopts, MAX_MNTOPT_STR) < 0) {
if (optlen > MAX_MNTOPT_STR) {
optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
NULL, 0, optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
optbuf, MAX_MNTOPT_STR)) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
char mnt_opt_buf[MAX_MNTOPT_STR];
char optbuf[MAX_MNTOPT_STR] = "rw";
mnt.mnt_mntopts, MAX_MNTOPT_STR);
(void) strncpy(optbuf, optarg, MAX_MNTOPT_STR);
optbuf[MAX_MNTOPT_STR - 1] = '\0';
optbuf, MAX_MNTOPT_STR)) {
char optbuf[MAX_MNTOPT_STR];
fstype, NULL, 0, optbuf, MAX_MNTOPT_STR) == -1) {
static char optbuf[MAX_MNTOPT_STR] = { '\0', };
static char opts[MAX_MNTOPT_STR];
char opt[MAX_MNTOPT_STR];
char opt2[MAX_MNTOPT_STR];
&args, sizeof (args), mnt->mnt_mntopts, MAX_MNTOPT_STR) != 0) {
(void) strlcpy(mnt->mnt_mntopts, opts, MAX_MNTOPT_STR);
char opt[MAX_MNTOPT_STR];
opt, MAX_MNTOPT_STR) == SYSERR) {
char opt[MAX_MNTOPT_STR];
retval->mnt_mntopts = (char *)malloc(MAX_MNTOPT_STR * sizeof (char));
MAX_MNTOPT_STR * sizeof (char)) >= MAX_MNTOPT_STR *
mtab->mnt_mntopts, MAX_MNTOPT_STR * sizeof (char)) != 0) {
char optstr[MAX_MNTOPT_STR];
char opt_buf[MAX_MNTOPT_STR];
optlen = MAX_MNTOPT_STR;
char zone_fsopt_opt[MAX_MNTOPT_STR];
char mntoptions[MAX_MNTOPT_STR];
char optstr[MAX_MNTOPT_STR];
char optstr[MAX_MNTOPT_STR];
char optstr[MAX_MNTOPT_STR];
char options_str[MAX_MNTOPT_STR];
char options_str[MAX_MNTOPT_STR];
if (optlen < 0 || optlen > MAX_MNTOPT_STR) {
inargs = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP);
kmem_free(inargs, MAX_MNTOPT_STR);
margs.optptr = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP);
margs.optlen = MAX_MNTOPT_STR;
kmem_free(margs.optptr, MAX_MNTOPT_STR);
return (snprintf(buf, MAX_MNTOPT_STR, "dev=%x", odev));
buf += snprintf(buf, MAX_MNTOPT_STR,
buf += snprintf(buf, MAX_MNTOPT_STR, "=%s",
buf += snprintf(buf, MAX_MNTOPT_STR, "zone=%s",
buf += snprintf(buf, MAX_MNTOPT_STR, "-");
cp += snprintf(cp, MAX_MNTOPT_STR, "%ld", vfsp->vfs_mtime);
mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP);
kmem_free(mntopts, MAX_MNTOPT_STR);
kmem_free(mntopts, MAX_MNTOPT_STR);
kmem_free(mntopts, MAX_MNTOPT_STR);
if (mntoptslen + optnamelen + 2 > MAX_MNTOPT_STR)
if (optlen < 0 || optlen > MAX_MNTOPT_STR) {
inargs = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP);
kmem_free(inargs, MAX_MNTOPT_STR);
char *buf = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP);
(void) vfs_buildoptionstr(mops, buf, MAX_MNTOPT_STR);
if (len + strlen(tag) + 2 > MAX_MNTOPT_STR) {
kmem_free(buf, MAX_MNTOPT_STR);