HomeSort by relevance Sort by last modified time
    Searched defs:newcon (Results 1 - 9 of 9) sorted by null

  /external/selinux/libselinux/src/
setexecfilecon.c 9 char * mycon = NULL, *fcon = NULL, *newcon = NULL; local
24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon);
28 if (!strcmp(mycon, newcon)) {
36 freecon(newcon);
37 newcon = strdup(context_str(con));
38 if (!newcon)
43 rc = setexeccon(newcon);
52 freecon(newcon);
selinux_restorecon.c 547 static int compare_types(char *curcon, char *newcon, char **newtypecon)
559 conb = context_new(newcon);
590 char *newcon = NULL; local
610 rc = selabel_lookup_raw(fc_sehandle, &newcon, "/",
613 rc = selabel_lookup_raw(fc_sehandle, &newcon, lookup_path,
640 rc = filespec_add(sb->st_ino, newcon, pathname);
645 freecon(newcon);
651 freecon(newcon);
658 pathname, newcon);
667 if (curcon == NULL || strcmp(curcon, newcon) != 0)
    [all...]
  /external/selinux/libselinux/utils/
selinuxexeccon.c 20 char * fcon = NULL, *newcon = NULL; local
24 ret = security_compute_create(execcon, fcon, string_to_security_class("process"), &newcon);
29 return newcon;
  /external/selinux/libsemanage/src/
fcontext_record.c 247 semanage_context_t *newcon; local
249 if (semanage_context_clone(handle, con, &newcon) < 0) {
255 fcontext->con = newcon;
  /external/selinux/libsepol/src/
ibendport_record.c 286 sepol_context_t *newcon; local
288 if (sepol_context_clone(handle, con, &newcon) < 0) {
294 ibendport->con = newcon;
iface_record.c 157 sepol_context_t *newcon; local
159 if (sepol_context_clone(handle, con, &newcon) < 0) {
165 iface->netif_con = newcon;
184 sepol_context_t *newcon; local
185 if (sepol_context_clone(handle, con, &newcon) < 0) {
191 iface->netmsg_con = newcon;
port_record.c 278 sepol_context_t *newcon; local
280 if (sepol_context_clone(handle, con, &newcon) < 0) {
286 port->con = newcon;
ibpkey_record.c 367 sepol_context_t *newcon; local
369 if (sepol_context_clone(handle, con, &newcon) < 0) {
375 ibpkey->con = newcon;
node_record.c 655 sepol_context_t *newcon; local
657 if (sepol_context_clone(handle, con, &newcon) < 0) {
663 node->con = newcon;

Completed in 701 milliseconds