Re: some questions

From: Greg KH (gregat_private)
Date: Fri Dec 13 2002 - 10:49:22 PST

  • Next message: Stephen D. Smalley: "Re: some questions"

    On Fri, Dec 13, 2002 at 07:19:34PM +0000, magniett wrote:
    > Hi everybody,
    > 
    > I'm working on a LSM policy dedicated to sandbox
    > (http://www.lri.fr/~magniett/sblsm.html).
    > I was working on a 2.4.18-lsm1 version, waiting that the 2.5 api to
    > stabilize.
    > Now my policy seems to work a little bit, I'd like to port it for the
    > 2.5 kernel serie and I have some questions :
    > 
    > - where are the socket hooks?
    
    Still in the LSM kernel tree, they haven't made it to the main kernel
    tree yet, sorry.
    
    > - where are the module hooks?
    
    See above.
    
    > - where is the reboot hook?
    
    See above.
    
    > I cant find this in the 2.5.51 dummy.c file and nothing on this in the
    > mailing-list.
    > 
    > - Is there a mean to know how many bytes are written on the disk for a
    > write syscall?
    
    Look at the size paramater?  :)
    
    > - Is there any mean to be interrupted once by second to reinitialize
    > some counters?
    
    Set up a timer.
    
    > - Is there an "official" replacement for the sys_security syscall ?
    > (perhaps a sysctl could be a good idea)
    
    Nope, roll your own (and please don't use a sysctl, they are pretty
    horrible too...)
    
    Hope this helps,
    
    greg k-h
    _______________________________________________
    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 : Fri Dec 13 2002 - 10:52:24 PST