Searched refs:rcontext (Results 1 – 8 of 8) sorted by relevance
/external/selinux/libselinux/src/ |
D | setfilecon.c | 33 char * rcontext; in hidden_def() local 35 if (selinux_trans_to_raw_context(context, &rcontext)) in hidden_def() 38 ret = setfilecon_raw(path, rcontext); in hidden_def() 40 freecon(rcontext); in hidden_def()
|
D | fsetfilecon.c | 33 char * rcontext; in hidden_def() local 35 if (selinux_trans_to_raw_context(context, &rcontext)) in hidden_def() 38 ret = fsetfilecon_raw(fd, rcontext); in hidden_def() 40 freecon(rcontext); in hidden_def()
|
D | lsetfilecon.c | 33 char * rcontext; in hidden_def() local 35 if (selinux_trans_to_raw_context(context, &rcontext)) in hidden_def() 38 ret = lsetfilecon_raw(path, rcontext); in hidden_def() 40 freecon(rcontext); in hidden_def()
|
D | getpeercon.c | 51 char * rcontext; in hidden_def() local 53 ret = getpeercon_raw(fd, &rcontext); in hidden_def() 56 ret = selinux_raw_to_trans_context(rcontext, context); in hidden_def() 57 freecon(rcontext); in hidden_def()
|
D | lgetfilecon.c | 57 char * rcontext = NULL; in hidden_def() local 61 ret = lgetfilecon_raw(path, &rcontext); in hidden_def() 64 ret = selinux_raw_to_trans_context(rcontext, context); in hidden_def() 65 freecon(rcontext); in hidden_def()
|
D | getfilecon.c | 57 char * rcontext = NULL; in hidden_def() local 61 ret = getfilecon_raw(path, &rcontext); in hidden_def() 64 ret = selinux_raw_to_trans_context(rcontext, context); in hidden_def() 65 freecon(rcontext); in hidden_def()
|
D | fgetfilecon.c | 56 char * rcontext = NULL; in hidden_def() local 61 ret = fgetfilecon_raw(fd, &rcontext); in hidden_def() 64 ret = selinux_raw_to_trans_context(rcontext, context); in hidden_def() 65 freecon(rcontext); in hidden_def()
|
D | procattr.c | 199 char * rcontext; in getprocattrcon() local 201 ret = getprocattrcon_raw(&rcontext, pid, attr); in getprocattrcon() 204 ret = selinux_raw_to_trans_context(rcontext, context); in getprocattrcon() 205 freecon(rcontext); in getprocattrcon() 284 char * rcontext; in setprocattrcon() local 286 if (selinux_trans_to_raw_context(context, &rcontext)) in setprocattrcon() 289 ret = setprocattrcon_raw(rcontext, pid, attr); in setprocattrcon() 291 freecon(rcontext); in setprocattrcon()
|