Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/security/audit/
H A Daudit_bsm_token.c79 size_t tokenlen; in au_to_arg32() local
84 tokenlen = 2 * sizeof(u_char) + sizeof(u_int32_t) + sizeof(u_int16_t) + textlen; in au_to_arg32()
85 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_arg32()
86 ("au_to_arg32: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_arg32()
88 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_arg32()
105 size_t tokenlen; in au_to_arg64() local
110 tokenlen = 2 * sizeof(u_char) + sizeof(u_int64_t) + sizeof(u_int16_t) + textlen; in au_to_arg64()
111 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_arg64()
112 ("au_to_arg64: token length (%zu) exceeds maximum allowed size", tokenlen)); in au_to_arg64()
114 GET_TOKEN_AREA(t, dptr, tokenlen); in au_to_arg64()
[all …]