Displaying 1 result from an estimated 1 matches for "fh_compose".
1996 Nov 19
0
Yet another attempt at /tmp spoof protection
...+ /* This is just some experimental support for context-dependent
+ * files in 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(ar...