Re: 2001-05-27 patch against 2.4.5

From: Stephen Smalley (sdsat_private)
Date: Tue May 29 2001 - 12:23:05 PDT

  • Next message: jmjonesat_private: "Re: 2001-05-27 patch against 2.4.5"

    On Mon, 28 May 2001 jmjonesat_private wrote:
    > because one of the hooks gets called from main.c before 
    > the security_scaffolding_startup() function ... I suspect
    > inside proc_root_init()....
    Right.  It appears that the problem is that proc_root_init
    now calls kern_mount, which calls read_super, which calls
    get_empty_super, which tries to call security_ops->sb_ops->alloc_security,
    but security_ops isn't defined yet.  Moving the call to 
    security_scaffolding_startup before the call to proc_root_init
    does seem to address the problem.
    Stephen D. Smalley, NAI Labs
    linux-security-module mailing list

    This archive was generated by hypermail 2b30 : Tue May 29 2001 - 12:24:27 PDT