Re: lsm kernel module

From: Chris Wright (chrisat_private)
Date: Fri Nov 08 2002 - 14:48:05 PST

  • Next message: Tim Potter: "value of task p_pptr in task_alloc_security"

    * Koichi ONOUE (koichiat_private) wrote:
    > > > I try to 'insmod' origianl simple module (attach file), but not success.
    > > > I try to comment out part of "register_security" then success.
    > > > Hence I think I have trouble at this part, but I don't know what wrong.
    > > > (I looked at /var/log/message, then infinite loop "message")
    
    <snip>
    
    > a part of /var/log/message
    > ****************************************************************
    > .......................................................
    > Nov 8 08:46:53 paris kernel: socket_sendmsg: size 2048
    > Nov 8 08:46:53 paris kernel: skb_alloc: len 0
    > Nov 8 08:46:53 paris kernel: skb_set_owner_w: len 0
    > Nov 8 08:46:53 paris kernel: file_permission: uid 0 gid 0
    > Nov 8 08:46:53 paris kernel: socket_sendmsg: size 2040
    > Nov 8 08:46:53 paris kernel: skb_alloc: len 0
    > Nov 8 08:46:53 paris kernel: skb_set_owner_w: len 0
    > Nov 8 08:46:53 paris kernel: file_permission: uid 0 gid 0
    > Nov 8 08:46:53 paris kernel: socket_sendmsg: size 2032
    > Nov 8 08:46:53 paris kernel: skb_alloc: len 0
    > Nov 8 08:46:53 paris kernel: skb_set_owner_w: len 0
    > Nov 8 08:46:53 paris kernel: file_permission: uid 0 gid 0
    > ...... continue .....
    > ****************************************************************
    
    these messages will continue forever.  klogd sends kernel messages
    through a socket to syslogd which writes them to a file.  if you
    generate printk's on these activities you will create an infinite loop.
    
    thanks,
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    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 : Fri Nov 08 2002 - 14:50:39 PST