[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090421.220735.118831531.davem@davemloft.net>
Date: Tue, 21 Apr 2009 22:07:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: penguin-kernel@...ove.sakura.ne.jp
Cc: paul.moore@...com, linux-security-module@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] LSM: Add security_socket_post_accept() and
security_socket_post_recv_datagram().
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
Date: Wed, 22 Apr 2009 14:02:16 +0900
> Did I miss something?
Do me a favor. We have mechanisms by which you can queue up packets
(even into userspace) to make policy decisions.
You can make your decision there, and if appropriate, reinject the
packet back into the kernel input processing.
This is how netfilter ip_queue allows people to implement policies
in userspace, and you could use it in the kernel and then need
none of these ugly hooks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists