Searched refs:safe (Results 1 - 11 of 11) sorted by relevance

/ast/src/cmd/3d/
H A Dacl3d.c48 if (!(sp = pathreal(path, cmd == SETACL ? (state.safe ? (P_SAFE|P_TOP) : P_TOP) : 0, NiL)))
H A Dchmod3d.c56 if (!(sp = pathreal(path, state.safe ? (P_SAFE|P_TOP) : P_TOP, NiL)))
H A Dpathreal.c128 Table_t* safe; local
168 if (safe = state.safe ? &state.vsafe : (Table_t*)0)
171 if (!(safesize = state.safe->servicesize))
172 safesize = strlen(state.safe->service);
205 if (!state.pwd || sp[1] == 0 && (*sp == '.' || *sp == '/' && !safe))
236 if (safe && state.pwdsize >= safesize && !strncmp(state.pwd, state.safe->service, safesize) && (!state.pwd[safesize] || state.pwd[safesize] == '/'))
309 if (safe && *sp == '/')
311 state.path.table = safe;
[all...]
H A Dsymlink3d.c42 if (!state.safe) sp = (char*)path;
H A Dlink3d.c49 if (!(sp = pathreal(path, state.safe ? (P_SAFE|P_TOP) : P_TOP, NiL)))
H A Dexecve3d.c69 if (state.safe && !state.path.level)
H A D3d.h285 #define P_SAFE (1<<7) /* must be in safe tree */
482 Fs_t* safe; member in struct:__anon7
H A Dmap.c492 if (state.safe && !(state.test & 0100))
H A Dinit.c39 "safe "
268 state.safe = fs;
1059 if (list & DUMP_safe) dumptable(&b, e, &state.vsafe, "safe");
1421 FSINIT("safe", get_safe, set_safe, 0,
1698 state.safe = &state.fs[FS_safe];
1702 error(4, ". is not safe");
1704 static char msg[] = "3d: . is not safe\n";
/ast/src/lib/libtksh/tcl/
H A DtclInterp.c105 * the record, isSafe, denotes whether the interpreter is safe or not. Safe
106 * interpreters have restricted functionality, can only create safe slave
107 * interpreters and can only load safe extensions.
113 int isSafe; /* Am I a "safe" interpreter? */
138 char *slavePath, int safe));
166 * These are all the Tcl core commands which are available in a safe
307 Tcl_Interp *interp; /* Interpreter to be made safe. */
314 * to be made safe. */
316 * safe interpreter. */
350 * Remove the standard channels from the interpreter; safe interpreter
569 int safe; /* Create a safe interpreter? */ local
[all...]
/ast/src/cmd/pzip/
H A Dpin.c379 size_t safe; local
384 safe = 4 * roundof(size, 8 * 1024);
385 if (bufsize < safe)
387 bufsize = safe;

Completed in 33 milliseconds