search for: rqstp

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

Did you mean: rqst
1996 Nov 19
0
Yet another attempt at /tmp spoof protection
...-85,6 +85,9 @@ static _PRO (void usage, (FILE *, int) ); static _PRO (void terminate, (void) ); static _PRO (RETSIGTYPE sigterm, (int sig) ); +#ifdef SUPPORT_CDF +static _PRO (char *cdf_translate, (char *tag) ); +#endif #ifdef CALL_PROFILING @@ -279,6 +282,24 @@ if (auth_fh(rqstp, &(argp->dir), &status, CHK_READ) == NULL) return status; +#ifdef SUPPORT_CDF + /* 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...