Re: new hook for do_sys_settimeofday

From: Chris Wright (chrisat_private)
Date: Thu Jul 25 2002 - 12:59:33 PDT

  • Next message: Chris Wright: "Re: [PATCH] security_ops locking"

    * Robb Romans (robbat_private) wrote:
    > On Thu, 25 Jul 2002, Chris Wright wrote:
    > 
    > > * Robb Romans (robbat_private) wrote:
    > > >
    > > > The CAP_SYS_TIME capability denies any change to system time. We need to
    > > > be able to prevent decrementing the system time, but allow increment. This
    > > > follows the *BSD implementation of secure levels.
    > >
    > > Robb, I went to apply this patch and got a malformed patch error at line
    > > 188 in the patch.  It's late and I'm not sure what broke.  Mind re-diffing
    > > and re-sending?
    > 
    > Attached is a newly generated patch against the latest pull from lsm-2.5.
    
    Thanks, applied.
    
    > This applies cleanly for me, but I would like to see the specific command
    > you are using to apply this to the main tree.
    
    Depends, often it's just patch since it gives me most control.
    
    > This may be OT, but I could use some advice on the best way to generate
    > diffs to send to the list. My setup is as follows:
    > bk://lsm.bkbits.net/lsm-2.5 =clone=> lsm-2.5 =clone=> lsm-2.5-robb. I have
    > been using "bk treediff lsm-2.5 lsm-2.5-robb" to generate diffs. Is there
    > a better way?
    
    You can also do bk diffs on each file (or against the whole repo if
    things aren't checked in).  Or simply bk export -tpatch (picking the
    revs to be the diff between your tree and the base tree.
    
    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 Jul 25 2002 - 13:01:45 PDT