Re: [Linux-security-module-commit] lsm 2.5 tree change 1.2.1.19 1.2.1.20 1.2.1.21 1.2.1.22 1.2.1.23 1.2.1.24 1.2.1.25 1.2.1.26 1.2.1.27 1.2.1.28 1.2.1.29 1.2.1.30 1.294 1.295 1.296 1.297 1.298 1.299 1.300 1.2.1.31 1.301 1.302

From: Chris Wright (chrisat_private)
Date: Mon Dec 17 2001 - 02:26:03 PST

  • Next message: Chris Wright: "[RFC][PATCH] super block [alloc|free]_security"

    this was a bunch of merging to bring lsm uptodate with 2.5.1.  i've been
    following the -pre patches more closely (since 2.5 is the dev tree ;-)
    pushing forward, i'd like to follow the -pre patches to avoid large
    syncs like this.
    
    the noteworthy changes are below.
    
    the superblock changes need to be addressed.  namely, when you allocate,
    free and label superblocks.  the old read_super() function is gone, and
    the fs_type->read_super() method is called directly.  also, superblocks
    are attempted to be recycled.  we may want to consider pushing
    alloc_security into alloc_super, moving free_security into
    destroy_super.
    
    also, mount_root() has moved from fs/super.c to init/do_mounts.c and now
    uses sys_mount() rather than handling it all in mount_root().  so i'm not
    sure how we can handle the sb_ops->post_mountroot() hook (currently it
    does not exist anywhere).
    
    cheers,
    -chris
    --
    
    > chris changed the 2.5 LSM source tree.
    > 
    > Received the following changesets
    > ---------------------
    <snip>
    >     ChangeSetat_private, 2001-12-16 18:46:27-08:00, chrisat_private
    >       merge with 2.5.1-pre6.  need to review fs/namespace.c and fs/super.c
    <snip>
    >       fs/namespace.c
    >         1.9 01/12/16 18:46:26 chrisat_private +0 -0
    >         merge with 2.5.1-pre6.  need to review:
    >          - show_vfsmount()  sb->s_op->show_options (do we care?)
    >          - do_move_mount()  need a new sb method?
    >     
    >       fs/super.c
    >         1.41 01/12/16 18:46:26 chrisat_private +2 -4
    >         merge with 2.5.1-pre6.  may want to move [alloc|free]_security to more
    >         generic location.
    <snip>
    >     ChangeSetat_private, 2001-12-16 22:00:16-08:00, chrisat_private
    >       fix fs/super.c after merge with 2.5.1-pre6.  fix a couple compile probs.
    >     
    >       fs/super.c
    >         1.42 01/12/16 22:00:09 chrisat_private +10 -0
    >         add alloc_security to all code paths.  may want to move it to alloc_super.
    >         and then implement a read_super op for lsm.
    >     
    >       security/owlsm.h
    >         1.5 01/12/16 22:00:09 chrisat_private +1 -0
    >         compile fix (MEM_MAJOR).
    >     
    >       security/selinux/hooks.c
    >         1.3 01/12/16 22:00:09 chrisat_private +1 -0
    >         compile fix FIONREAD, FIONBIO, FIONASYNC
    >     
    >     ChangeSetat_private, 2001-12-16 22:08:55-08:00, chrisat_private
    >       merge 2.5.1-pre7
    <snip>
    >       fs/super.c
    >         1.43 01/12/16 22:08:55 chrisat_private +7 -1
    >         merge 2.5.1-pre7.  read_super() is now gone.
    <snip>
    >     ChangeSetat_private, 2001-12-17 01:28:12-08:00, chrisat_private
    >       back out signal change to allow normal reboot.
    >     
    >       kernel/signal.c
    >         1.7 01/12/17 01:28:12 chrisat_private +3 -5
    >         back out POSIX kill(-1,sig) compliance.  it breaks things like killall5
    >         when shutting down the machine (which winds up killing itself and leaves
    >         you fscking on reboot).
    
    _______________________________________________
    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 : Mon Dec 17 2001 - 02:27:59 PST