albert 2002-11-27 23:04:32 +00:00
parent 460da3c767
commit 4e7de4274d
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ typedef struct proc_t {
exit_signal, /* might not be SIGCHLD */
processor; /* current (or most recent?) CPU */
#ifdef FLASK_LINUX
security_id_t sid;
security_id_t secsid;
#endif
} proc_t;

View File

@ -1066,7 +1066,7 @@ static int sr_context ( const proc_t* P, const proc_t* Q ) {
free(ctxt_Q);
ctxt_Q = (char *) calloc(1, len);
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 ) {
free(ctxt_P);
free(ctxt_Q);