This commit is contained in:
parent
460da3c767
commit
4e7de4274d
@ -131,7 +131,7 @@ typedef struct proc_t {
|
|||||||
exit_signal, /* might not be SIGCHLD */
|
exit_signal, /* might not be SIGCHLD */
|
||||||
processor; /* current (or most recent?) CPU */
|
processor; /* current (or most recent?) CPU */
|
||||||
#ifdef FLASK_LINUX
|
#ifdef FLASK_LINUX
|
||||||
security_id_t sid;
|
security_id_t secsid;
|
||||||
#endif
|
#endif
|
||||||
} proc_t;
|
} proc_t;
|
||||||
|
|
||||||
|
@ -1066,7 +1066,7 @@ static int sr_context ( const proc_t* P, const proc_t* Q ) {
|
|||||||
free(ctxt_Q);
|
free(ctxt_Q);
|
||||||
ctxt_Q = (char *) calloc(1, len);
|
ctxt_Q = (char *) calloc(1, len);
|
||||||
if ( ctxt_Q != NULL ) {
|
if ( ctxt_Q != NULL ) {
|
||||||
rv = security_sid_to_context(Q->sid, (security_context_t) ctxt_Q, &len);
|
rv = security_sid_to_context(Q->secsid, (security_context_t) ctxt_Q, &len);
|
||||||
if ( rv ) {
|
if ( rv ) {
|
||||||
free(ctxt_P);
|
free(ctxt_P);
|
||||||
free(ctxt_Q);
|
free(ctxt_Q);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user