]> granicus.if.org Git - procps-ng/commitdiff
http://www.coker.com.au/selinux/procps/procps.diff
authoralbert <>
Wed, 27 Nov 2002 23:04:32 +0000 (23:04 +0000)
committeralbert <>
Wed, 27 Nov 2002 23:04:32 +0000 (23:04 +0000)
proc/readproc.h
ps/output.c

index 2d5a5a653253cc36acd500f6f735d8b10367bddb..f43a9422c9ad24503f79e69e81bbfa04275667da 100644 (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;
 
index e41acb71b9bcaa9ca64165f3f66d7effd332688c..3cdb1a254457460b03194cfb060f820bd273fcf4 100644 (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);