Home
last modified time | relevance | path

Searched refs:cp_flags (Results 1 – 4 of 4) sorted by relevance

/minix3/minix/lib/libsys/
H A Dsafecopies.c35 if(!(grants[GRANT_IDX(gid)].cp_flags & CPF_USED)) { \
100 new_grants[g].cp_flags = 0; in cpf_prealloc()
144 assert(!(grants[g].cp_flags & CPF_USED)); in cpf_new_grantslot()
169 grants[g].cp_flags = access | CPF_DIRECT | CPF_USED | CPF_VALID; in cpf_grant_direct()
192 grants[g].cp_flags = CPF_USED | CPF_INDIRECT | CPF_VALID; in cpf_grant_indirect()
217 grants[g].cp_flags = CPF_USED | CPF_MAGIC | CPF_VALID | access; in cpf_grant_magic()
243 r = ((grants[g].cp_flags & CPF_TRY) && in cpf_revoke()
250 grants[g].cp_flags = 0; in cpf_revoke()
292 grants[grant_ids[i]].cp_flags = CPF_USED; in cpf_getgrants()
312 grants[gid].cp_flags = access | CPF_DIRECT | CPF_USED | CPF_VALID;
[all …]
/minix3/minix/kernel/system/
H A Ddo_safecopy.c130 if((g.cp_flags & (CPF_USED | CPF_VALID)) != in verify_grant()
133 "(0x%x, 0x%lx)\n", grant, g.cp_flags); in verify_grant()
148 if((g.cp_flags & CPF_INDIRECT)) { in verify_grant()
173 } while(g.cp_flags & CPF_INDIRECT); in verify_grant()
176 if(((g.cp_flags & access) != access)) { in verify_grant()
179 access, g.cp_flags); in verify_grant()
183 if((g.cp_flags & CPF_DIRECT)) { in verify_grant()
217 } else if(g.cp_flags & CPF_MAGIC) { in verify_grant()
258 if (sfinfo != NULL && (sfinfo->try = !!(g.cp_flags & CPF_TRY))) { in verify_grant()
/minix3/sys/sys/
H A Dchio.h99 int cp_flags; /* misc. flags */ member
/minix3/minix/include/minix/
H A Dsafecopies.h10 int cp_flags; /* CPF_* below */ member