Re: [PATCH] net: Fix security_socket_sendmsg() bypass problem.
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: 2011-07-26 11:21:23
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: 2011-07-26 11:21:23
Anton Blanchard wrote:
Not sure what happened to your email but the gains are evident at just 2 packets.
I know your benchmark result, but that result is based on calling security_socket_sendmsg() only once. What we worry is that overhead by security_socket_sendmsg() kills the performance gain for batched case.
I can help with testing - the commit included a microbenchmark for the purposes of analysing its performance.
Yes please. The patch in msg11510.html would want some more discussion, but the patch in msg11504.html is ready to benchmark on your environment. Does SELinux want to receive nosec flag at selinux_socket_sendmsg() because calling security_socket_sendmsg() more than once is meaningless for SELinux?