[PATCH] Updated seclvl patch

From: Michael Halcrow (mike@private)
Date: Thu Feb 19 2004 - 11:52:08 PST

  • Next message: Mdean: "Re: comparison"

    Based on feedback and contributions generously provided by Chris
    Wright, I have produced a new BSD Secure Levels LSM patch against the
    lsm-2.6 BK tree.
    
     Changelog:
        02/19/2004  Updated by Michael A. Halcrow:
          1. Fixed bug in plaintextToSha1 where the hash would not be
                  calculated properly in the event that the plaintext
                  spanned multiple pages.
          2. Gave seclvl sysfs attributes an owner, to fix a bug whereby
                  opening a file in sysfs/seclvl, removing the module,
                  and then reading or writing that file handle led to a
                  kernel oops.
    
        02/13/2004  Updated by Chris Wright:
          1. Made things static where possible.
          2. Removed racey is_mounted.  Replaced with bd_claiming the
                  device, holding it while open, and bd_releasing on
                  close.  This will still not work with things like
                  loopback file mounts, but it should get partitions,
                  etc. right.
          3. Updated to new module parameters interface.  Removed some
                  of the StudlyCaps.
          4. Made sure that jiffies is unsigned long in rate limiting.
          5. Removed unnecessary zero'ing out of static memory.
    
    Mike
    .___________________________________________________________________.
                             Michael A. Halcrow                          
           Security Software Engineer, IBM Linux Technology Center       
    GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D  2371 2D3C FDDA 3EB6 601D
    
    




    This archive was generated by hypermail 2b30 : Thu Feb 19 2004 - 12:00:35 PST