OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scontext_len
(Results
1 - 4
of
4
) sorted by null
/external/selinux/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
...]
services.c
1217
* to point to this string and set `*
scontext_len
' to
1222
size_t *
scontext_len
)
1233
rc = context_to_string(NULL, policydb, context, scontext,
scontext_len
);
1244
size_t
scontext_len
, sepol_security_id_t * sid)
[
all
...]
/external/selinux/libsepol/include/sepol/policydb/
services.h
142
* to point to this string and set `*
scontext_len
' to
147
size_t *
scontext_len
); /* OUT */
154
size_t
scontext_len
, /* IN */
/external/selinux/checkpolicy/
checkpolicy.c
127
size_t
scontext_len
;
local
130
rc = sepol_sid_to_context(sid, &scontext, &
scontext_len
);
388
size_t
scontext_len
, pathlen;
local
768
&scontext, &
scontext_len
);
787
scontext_len
= strlen(ans);
788
ans[
scontext_len
- 1] = 0;
789
ret = sepol_context_to_sid(ans,
scontext_len
, &ssid);
Completed in 75 milliseconds