lkml.org 
[lkml]   [2016]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectbindat/connectat syscalls
From
Related thread (2012): https://marc.info/?l=linux-netdev&m=133897212713981&w=2

FreeBSD[1] chose signatures of:
int bindat(int fd, int s, const struct sockaddr *addr, socklen_t addrlen);
int connectat(int fd, int s, const struct sockaddr *name,
socklen_t namelen);

An alternate implementation could instead augment `sockaddr_un`.

Also, if we're going to add a new bind and connect() syscalls, we
should also add a flags argument.

(Please CC on reply)

[1] https://www.freebsd.org/cgi/man.cgi?query=bindat&sektion=2
https://www.freebsd.org/cgi/man.cgi?query=connectat&sektion=2

\
 
 \ /
  Last update: 2016-04-07 07:41    [W:3.368 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site