cannot insmod owlsm.o ?

From: Yale Wu (yanjunwuat_private)
Date: Mon Apr 07 2003 - 07:06:18 PDT

  • Next message: Seth Arnold: "Re: cannot insmod owlsm.o ?"

    I'v compiled kernel 2.4.20 with LSM patched and selected LSM support.
    After reboot with new kernel, I compiled owlsm.c "gcc -D__KERNEL__ -DMODULE -c owlsm.c".
    It outputs owlsm.o successfully. But when I use "insmod owlsm.o", it tells me 
    owlsm.o: unresolved symbol unregister_security
    owlsm.o: unresolved symbol mod_reg_security
    owlsm.o: unresolved symbol mod_unreg_security
    owlsm.o: unresolved symbol register_security
    
    I checked register_security in security.c, it exports by macro EXPORT_SYMBOL_GPL.
    But owlsm module definitely have MODULE_LICENSE("GPL") inside it.
    Could anybody give me a hint?
    
    Thanks
    Yale Wu
    Apr.07 2003
    _______________________________________________
    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 : Sun Apr 06 2003 - 18:59:45 PDT