2.4 lsm patch

From: Lachlan McIlroy (lachlanat_private)
Date: Wed Apr 10 2002 - 23:38:46 PDT

  • Next message: Huagang Xie: "lids 2.0.1pre3 for LSM is here."

    Guys,
    
    I found this diff in lsm-full-2002_02_25-2.4.18.patch:
    
    --- a/fs/binfmt_elf.c   Tue Feb 26 00:49:30 2002
    +++ b/fs/binfmt_elf.c   Tue Feb 26 00:49:30 2002
    @@ -564,6 +564,9 @@
                             // printk(KERN_WARNING "ELF: Ambiguous type, 
    using ELF\n");
                             interpreter_type = INTERPRETER_ELF;
                     }
    +       } else {
    +               /* Executables without an interpreter also need a 
    personality  */
    +               SET_PERSONALITY(elf_ex, ibcs2_interpreter);
             }
    
             /* OK, we are done with that, now set up the arg stuff,
    
    Am I missing something or has this got nothing to do with
    LSM?  Also, it's not in the 2.5 patch.
    
    -- 
    Lachlan McIlroy
    
    _______________________________________________
    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 : Wed Apr 10 2002 - 23:43:10 PDT