From 4e7de4274d7f9ad6a55bce5b2d8d48e39b8d88e4 Mon Sep 17 00:00:00 2001 From: albert <> Date: Wed, 27 Nov 2002 23:04:32 +0000 Subject: [PATCH] http://www.coker.com.au/selinux/procps/procps.diff --- proc/readproc.h | 2 +- ps/output.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proc/readproc.h b/proc/readproc.h index 2d5a5a65..f43a9422 100644 --- a/proc/readproc.h +++ b/proc/readproc.h @@ -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; diff --git a/ps/output.c b/ps/output.c index e41acb71..3cdb1a25 100644 --- a/ps/output.c +++ b/ps/output.c @@ -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);