OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:scontext_len
(Results
1 - 2
of
2
) sorted by null
/external/libsepol/src/
context.c
84
* to point to this string and set `*
scontext_len
' to
94
size_t
scontext_len
= 0;
local
98
scontext_len
+=
100
scontext_len
+=
102
scontext_len
+= strlen(policydb->p_type_val_to_name[context->type - 1]);
103
scontext_len
+= mls_compute_context_len(policydb, context);
106
scontext_len
+= 1;
109
scontext = malloc(
scontext_len
);
112
scontext[
scontext_len
- 1] = '\0';
131
*result_len =
scontext_len
;
[
all
...]
/external/checkpolicy/
checkpolicy.c
126
size_t
scontext_len
;
local
129
rc = sepol_sid_to_context(sid, &scontext, &
scontext_len
);
385
size_t
scontext_len
, pathlen;
local
733
&scontext, &
scontext_len
);
752
scontext_len
= strlen(ans);
753
ans[
scontext_len
- 1] = 0;
754
ret = sepol_context_to_sid(ans,
scontext_len
, &ssid);
Completed in 396 milliseconds