search for: nfserr_noent

Displaying 1 result from an estimated 1 matches for "nfserr_noent".

1996 Nov 19
0
Yet another attempt at /tmp spoof protection
...order to cope with mindless use of /tmp. + */ + if (!strncmp(argp->name, "cdf:", 4)) { + char *oldname = argp->name; + + if ((argp->name = cdf_translate(argp->name + 4)) != NULL) { + status = fh_compose(argp, &(dp->file), &sbp, -1, -1); + } else + status = NFSERR_NOENT; + if (status == NFSERR_NOENT) { + argp->name = "default"; + status = fh_compose(argp, &(dp->file), &sbp, -1, -1); + } + argp->name = oldname; + } else +#endif status = fh_compose(argp, &(dp->file), &sbp, -1, -1); if (status != NFS_OK) return stat...