Re: [PATCH][RFC] Remove kmod_set_label hook

From: Chris Wright (chrisat_private)
Date: Thu Mar 27 2003 - 12:17:21 PST

  • Next message: gii: "Latest LSM patch available?"

    * Stephen D. Smalley (sdsat_private) wrote:
    > 
    > > What happens with the simple change:
    > > 
    > > ===== hooks.c 1.84 vs edited =====
    > > --- 1.84/security/selinux/hooks.c	Wed Mar 26 10:38:19 2003
    > > +++ edited/hooks.c	Thu Mar 27 10:25:14 2003
    > > @@ -2411,7 +2411,7 @@
    > >  
    > >  	tsec = p->security;
    > >  	tsec->osid = tsec->sid;
    > > -	tsec->sid = SECINITSID_INIT; 
    > > +	tsec->sid = SECINITSID_KERN; 
    > >  	return;
    > >  }
    > 
    > It doesn't compile ;).  But amending the above to SECINITSID_KERNEL
    > is fine.
    
    Heh, doh!  Thanks ;-)
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Thu Mar 27 2003 - 12:19:39 PST