Re: Binary only module overview

From: richard offer (offerat_private)
Date: Tue Sep 25 2001 - 07:32:09 PDT

  • Next message: richard offer: "Re: GPL only usage of security.h"

    * frm sarnoldat_private "09/24/01 18:09:28 -0700" | sed '1,$s/^/* /'
    *
    * On Mon, Sep 24, 2001 at 05:16:20PM -0700, Greg KH wrote:
    *> permission() is in fs/namei.c.  How are you going to modify that in a
    *> loadable module?  You would have to modify fs/namei.c, and if you do
    *> that, you have to publish your changes.
    * 
    * Straying offtopic here...
    * 
    * grep permission /proc/ksyms # and make note of the address
    * open("/dev/kmem");
    * llseek(/* address from above */);
    * write(/* new permission code */);
    * 
    * Of course, if one's permission code is longer than the original
    * permission code, one must make the 'new permission code' a simple jump
    * to the location of the real new permission code -- which can be found at
    * module load time.
    * 
    * Repeat for all kernel symbols exported through /proc/ksyms.
    
    This is exactly where I was going...
    
    
    richard.
    
    -----------------------------------------------------------------------
    Richard Offer                     Technical Lead, Trust Technology, SGI
    "Specialization is for insects"
    _______________________________________________________________________
    
    
    _______________________________________________
    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 : Tue Sep 25 2001 - 07:33:38 PDT