[RFC] Allow LSM to use IP address/port number. (was Re: [PATCH 1/1] Add post accept()/recvmsg() hooks.)

2007-07-08 Thread Tetsuo Handa
Hello. This thread is from http://marc.info/?t=11834645705&r=1&w=2 . I want to use tcp_wrapper-like filtering using LSM. But it seems that there are cases (recvmsg() and read()?) where __sock_recvmsg() is called with msg->name == NULL and msg->msg_namelen == 0 that makes what I want to do imp

Re: [RFC] Allow LSM to use IP address/port number. (was Re: [PATCH 1/1] Add post accept()/recvmsg() hooks.)

2007-07-08 Thread from-lsm
Sorry, I failed to send this message to netdev ml. Please ignore. On Mon, 09 Jul 2007 13:29:44 +0900 Tetsuo Handa <[EMAIL PROTECTED]> wrote: > Hello. > > This thread is from http://marc.info/?t=11834645705&r=1&w=2 . > > I want to use tcp_wrapper-like filtering using LSM. > But it seems that

[RFC] Allow LSM to use IP address/port number. (was Re: [PATCH 1/1] Add post accept()/recvmsg() hooks.)

2007-07-08 Thread Tetsuo Handa
Hello. This thread is from http://marc.info/?t=11834645705&r=1&w=2 . I want to use tcp_wrapper-like filtering using LSM. But it seems that there are cases (recvmsg() and read()?) where __sock_recvmsg() is called with msg->name == NULL and msg->msg_namelen == 0 that makes what I want to do imp