Re: Cannot load root_plug or capability: Security framework alrea dy initialized (2.5.66)

From: Axelle Apvrille (LMC) (Axelle.Apvrilleat_private)
Date: Wed May 21 2003 - 14:46:30 PDT

  • Next message: Chris Wright: "Re: Cannot load root_plug or capability: Security framework already initialized (2.5.66)"

    Valdis.Kletnieksat_private wrote:
    
    > On Wed, 21 May 2003 17:24:43 EDT, "Axelle Apvrille (LMC)" 
    > <Axelle.Apvrilleat_private>  said:
    >
    > > - when I try to load the root_plug module alone I get multiple
    > > complaints about some capability symbols missing.
    >
    > And which symbols *exactly* were those?
    >
    [root@munster security]# /sbin/insmod ./root_plug.ko
    Error inserting './root_plug.ko': -1 Unknown symbol in module
    [root@munster security]# tail /var/log/messages
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol cap_ptrace
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol 
    cap_bprm_compute_creds
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol cap_capget
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol 
    cap_task_reparent_to_init
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol 
    cap_task_post_setuid
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol 
    cap_bprm_set_security
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol cap_capset_check
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol cap_capable
    May 21 17:36:12 munster kernel: root_plug: Unknown symbol cap_capset_set
    
    > > I understand root_plug is only an example, but isn't it meant to 
    > load at
    > > all ?
    >
    > This code will probably die a really horrid death if you don't have USB
    > support compiled into the kernel.
    >
    I feal horrible making it suffer ;-)))
    Actually, I was only trying to load it to *test* a sample LSM module. I 
    don't expect it to do anything. (and I would have unloaded it probably 
    straight after).
    I could probably have loaded the dummy module, but I haven't compiled it 
    as a .ko.
    
    Regards,
    Axelle.
    _______________________________________________
    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 May 21 2003 - 14:48:10 PDT