Searched refs:rcontext (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libselinux/src/ |
D | lsetfilecon.c | 32 char * rcontext; in lsetfilecon() local 34 if (selinux_trans_to_raw_context(context, &rcontext)) in lsetfilecon() 37 ret = lsetfilecon_raw(path, rcontext); in lsetfilecon() 39 freecon(rcontext); in lsetfilecon()
|
D | setfilecon.c | 32 char * rcontext; in setfilecon() local 34 if (selinux_trans_to_raw_context(context, &rcontext)) in setfilecon() 37 ret = setfilecon_raw(path, rcontext); in setfilecon() 39 freecon(rcontext); in setfilecon()
|
D | procattr.c | 201 char * rcontext; in getprocattrcon() local 203 ret = getprocattrcon_raw(&rcontext, pid, attr); in getprocattrcon() 206 ret = selinux_raw_to_trans_context(rcontext, context); in getprocattrcon() 207 freecon(rcontext); in getprocattrcon() 286 char * rcontext; in setprocattrcon() local 288 if (selinux_trans_to_raw_context(context, &rcontext)) in setprocattrcon() 291 ret = setprocattrcon_raw(rcontext, pid, attr); in setprocattrcon() 293 freecon(rcontext); in setprocattrcon()
|
D | getpeercon.c | 50 char * rcontext; in getpeercon() local 52 ret = getpeercon_raw(fd, &rcontext); in getpeercon() 55 ret = selinux_raw_to_trans_context(rcontext, context); in getpeercon() 56 freecon(rcontext); in getpeercon()
|
D | lgetfilecon.c | 56 char * rcontext = NULL; in lgetfilecon() local 60 ret = lgetfilecon_raw(path, &rcontext); in lgetfilecon() 63 ret = selinux_raw_to_trans_context(rcontext, context); in lgetfilecon() 64 freecon(rcontext); in lgetfilecon()
|
D | getfilecon.c | 56 char * rcontext = NULL; in getfilecon() local 60 ret = getfilecon_raw(path, &rcontext); in getfilecon() 63 ret = selinux_raw_to_trans_context(rcontext, context); in getfilecon() 64 freecon(rcontext); in getfilecon()
|
D | fsetfilecon.c | 56 char * rcontext; in fsetfilecon() local 58 if (selinux_trans_to_raw_context(context, &rcontext)) in fsetfilecon() 61 ret = fsetfilecon_raw(fd, rcontext); in fsetfilecon() 63 freecon(rcontext); in fsetfilecon()
|
D | fgetfilecon.c | 80 char * rcontext = NULL; in fgetfilecon() local 85 ret = fgetfilecon_raw(fd, &rcontext); in fgetfilecon() 88 ret = selinux_raw_to_trans_context(rcontext, context); in fgetfilecon() 89 freecon(rcontext); in fgetfilecon()
|