lkml.org 
[lkml]   [2015]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectWiring up direct socket calls on x86_32 Linux?
Hi all-

sys_socketcall sucks. If nothing else, it's impossible to filter with
seccomp. Should we wire up the real socket calls so that user code
can (very slowly) start migrating?

I think the list is:
- socket
- bind
- connect
- listen
- accept4
- getsockname
- getpeername
- socketpair
- send
- sendto
- sendmsg
- recv
- recvfrom
- recvmsg
- shutdown
- setsockopt

I skipped accept, which is superseded by accept4. sendmmsg and
recvmmsg are already wired up.

Thoughts? The patch would be trivial.

Glibc people: If Linux wired up the syscalls, would glibc use them?

--Andy

--
Andy Lutomirski
AMA Capital Management, LLC


\
 
 \ /
  Last update: 2015-06-30 23:41    [W:0.031 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site