Searched refs:file_context (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/selinux/
H A Dchcon.c34 security_context_t file_context = NULL; local
40 status = lgetfilecon(fname, &file_context);
42 status = getfilecon(fname, &file_context);
50 if (file_context == NULL && specified_context == NULL) {
56 context = set_security_context_component(file_context,
59 bb_error_msg("cannot compute security context from %s", file_context);
76 if (file_context == NULL || strcmp(context_string, file_context) != 0) {
102 freecon(file_context);
H A Druncon.c45 security_context_t file_context, new_context; local
47 if (getfilecon(command, &file_context) < 0)
50 if (security_compute_create(cur_context, file_context,

Completed in 49 milliseconds