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

  /external/selinux/libselinux/include/selinux/
get_context_list.h 31 spawned by 'fromcon' and set *newcon to refer to it. The context
39 char ** newcon);
46 char ** newcon);
54 char ** newcon);
63 char ** newcon);
66 query the user to select one and set *newcon to refer to it.
70 char ** newcon);
77 char ** newcon);
selinux.h 206 /* Compute a labeling decision and set *newcon to refer to it.
211 char ** newcon);
215 char ** newcon);
220 char ** newcon);
225 char ** newcon);
227 /* Compute a relabeling decision and set *newcon to refer to it.
232 char ** newcon);
236 char ** newcon);
238 /* Compute a polyinstantiation member decision and set *newcon to refer to it.
243 char ** newcon);
    [all...]
  /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);
compute_create.c 55 char ** newcon)
96 *newcon = strdup(buf);
97 if (!(*newcon)) {
113 char ** newcon)
116 NULL, newcon);
124 char ** newcon)
143 ret = selinux_raw_to_trans_context(rnewcon, newcon);
154 char ** newcon)
156 return security_compute_create_name(scon, tcon, tclass, NULL, newcon);
compute_relabel.c 16 char ** newcon)
50 *newcon = strdup(buf);
51 if (!*newcon) {
68 char ** newcon)
87 ret = selinux_raw_to_trans_context(rnewcon, newcon);
compute_member.c 16 char ** newcon)
50 *newcon = strdup(buf);
51 if (!(*newcon)) {
68 char ** newcon)
87 if (selinux_raw_to_trans_context(rnewcon, newcon)) {
88 *newcon = NULL;
get_context_list.c 16 char ** newcon)
45 *newcon = strdup(*ptr);
46 if (!(*newcon))
60 char ** newcon)
69 newcon);
90 rc = get_default_context_with_role(user, role, newfromcon, newcon);
101 char * fromcon, char ** newcon)
110 *newcon = strdup(conary[0]);
112 if (!(*newcon))
271 static int get_failsafe_context(const char *user, char ** newcon)
    [all...]
query_user_context.c 106 int manual_user_enter_context(const char *user, char ** newcon)
175 *newcon = strdup(user_context);
177 if (!(*newcon))
  /external/libselinux/src/
compute_create.c 16 char ** newcon)
50 *newcon = strdup(buf);
51 if (!(*newcon)) {
  /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/libsepol/src/
iface_record.c 149 sepol_context_t *newcon; local
151 if (sepol_context_clone(handle, con, &newcon) < 0) {
157 iface->netif_con = newcon;
176 sepol_context_t *newcon; local
177 if (sepol_context_clone(handle, con, &newcon) < 0) {
183 iface->netmsg_con = newcon;
port_record.c 276 sepol_context_t *newcon; local
278 if (sepol_context_clone(handle, con, &newcon) < 0) {
284 port->con = newcon;
node_record.c 663 sepol_context_t *newcon; local
665 if (sepol_context_clone(handle, con, &newcon) < 0) {
671 node->con = newcon;
  /external/libselinux/include/selinux/
selinux.h 170 /* Compute a labeling decision and set *newcon to refer to it.
175 char ** newcon);
177 /* Compute a relabeling decision and set *newcon to refer to it.
182 char ** newcon);
184 /* Compute a polyinstantiation member decision and set *newcon to refer to it.
189 char ** newcon);
  /external/selinux/policycoreutils/setfiles/
restore.c 107 security_context_t curcon = NULL, newcon = NULL; local
109 if (match(my_file, ftsent->fts_statp, &newcon) < 0) {
139 ret = filespec_add(ftsent->fts_statp->st_ino, newcon, my_file);
149 printf("%s: %s matched by %s\n", r_opts->progname, my_file, newcon);
156 if (strcmp(newcon, "<<none>>") == 0) {
181 if (curcon && (strcmp(curcon, newcon) == 0)) {
206 conb = context_new(newcon);
218 freecon(newcon);
219 newcon = strdup(context_str(conb));
232 r_opts->progname, my_file, curcon ?: "", newcon);
    [all...]
  /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;

Completed in 151 milliseconds