Searched refs:csvar (Results 1 - 12 of 12) sorted by relevance
/ast/src/lib/libcs/ |
H A D | csvar.c | 52 csvar(Cs_t* state, int index, int trust) function 70 return csvar(&cs, index, trust);
|
H A D | csinfo.c | 46 sfsprintf(tmp, sizeof(tmp), "%s/%s", n ? csvar(state, CS_VAR_SHARE, 0) : CS_SVC_DIR, file);
|
H A D | cs.h | 127 #define CS_VAR_LOCAL 0 /* csvar for local mount dir */ 128 #define CS_VAR_PROXY 1 /* csvar for proxy service */ 129 #define CS_VAR_SHARE 2 /* csvar for share mount dir */ 130 #define CS_VAR_TRUST 3 /* csvar for trusted root dirs */ 270 #define csvar _cs_var macro 309 extern char* csvar(Cs_t*, int, int);
|
H A D | Makefile | 26 cssend.c css.c csserve.c csstat.c csto.c csvar.c cswrite.c \
|
H A D | cslocal.c | 148 sfsprintf(tmp, sizeof(tmp), "%s/fdp/%s/%s/%d-%d-/%c%s", csvar(state, CS_VAR_LOCAL, 0), csname(state, 0), cmd, st.st_uid, geteuid(), CS_MNT_STREAM, CS_MNT_TAIL);
|
H A D | csopen.c | 812 if ((fd = state->proxy.addr ? csbind(state, type, state->proxy.addr, state->proxy.port, 0L) : reopen(state, csvar(state, CS_VAR_PROXY, 0))) >= 0) 826 messagef((state->id, NiL, -4, "%s error message `%s'", csvar(state, CS_VAR_PROXY, 0), s)); 992 b += sfsprintf(b, sizeof(state->mount) - (b - path), "%s", csvar(state, CS_VAR_LOCAL, 0)); 1000 if (!pathaccess(csvar(state, CS_VAR_TRUST, 1), csvar(state, CS_VAR_SHARE, 1), NiL, PATH_EXECUTE, b, sizeof(state->mount) - (b - state->mount))) 1003 else if (!pathpath(csvar(state, CS_VAR_SHARE, 0), "", PATH_EXECUTE, b, sizeof(state->mount) - (b - state->mount)))
|
H A D | csauth.c | 127 if (state->addr == csaddr(state, NiL)) b = tmp + sfsprintf(tmp, sizeof(tmp), "%s/AUTH.%05d.", csvar(state, CS_VAR_LOCAL, 0), m);
|
H A D | cssend.c | 99 s = csvar(state, CS_VAR_LOCAL, 0);
|
H A D | css.c | 266 s = csvar(css->state, CS_VAR_LOCAL, 0);
|
/ast/src/cmd/3d/ |
H A D | cs_3d.h | 46 #define csvar _3d_csvar macro
|
/ast/src/cmd/cs/ |
H A D | cs.c | 642 *ap++ = csvar(CS_VAR_LOCAL, 0); 643 if (pathpath(csvar(CS_VAR_SHARE, 0), "", PATH_EXECUTE, tmp, sizeof(tmp)))
|
/ast/src/cmd/coshell/ |
H A D | schedule.c | 547 if (!(file = sfstrrsrv(state.string, PATH_MAX)) || !pathaccess(csvar(CS_VAR_TRUST, 1), csvar(CS_VAR_SHARE, 0), CS_SVC_ACCESS, PATH_REGULAR, file, PATH_MAX) || !(file = strdup(file)))
|
Completed in 24 milliseconds