Re: [RFC 1/2] net: Introduce recvmmsg socket syscall

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaldo Carvalho de Melo
Date: Thursday, May 21, 2009 - 7:47 am

Em Thu, May 21, 2009 at 10:16:17AM -0400, Paul Moore escreveu:

thanks!
 

Agreed that we must do this earlier to avoind vlen calls to
security_socket_recvmsg, but there are many callers of sock_recvmsg...

Also shouldn't recvmmsg have a different LSM hook? It doesn't look right
at first sight to reuse security_socket_recvmsg, as we now are passing
many msghdrs and sockaddrs, etc.

If security_socket_recvmsg receives the msg and inspects it, I think
fully inspecting the mmsg and vlen can be something LSM policies can be
interested in inspecting too, no?

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Wed May 20, 4:06 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Neil Horman, (Wed May 20, 5:46 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Wed May 20, 7:05 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Neil Horman, (Wed May 20, 7:26 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, David Miller, (Wed May 20, 8:50 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Neil Horman, (Thu May 21, 3:40 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Paul Moore, (Thu May 21, 7:16 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Thu May 21, 7:47 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Paul Moore, (Thu May 21, 8:03 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Thu May 21, 8:11 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Paul Moore, (Thu May 21, 8:24 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Evgeniy Polyakov, (Thu May 21, 9:10 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Thu May 21, 9:27 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Steven Whitehouse, (Thu May 21, 9:33 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Caitlin Bestler, (Thu May 21, 9:38 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Thu May 21, 9:55 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Caitlin Bestler, (Thu May 21, 10:26 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Arnaldo Carvalho de Melo, (Thu May 21, 10:51 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Caitlin Bestler, (Fri May 22, 9:39 am)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Neil Horman, (Fri May 22, 1:06 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Andrew Grover, (Wed Jun 3, 6:44 pm)
Re: [RFC 1/2] net: Introduce recvmmsg socket syscall, Neil Horman, (Thu Jun 4, 3:47 am)