lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAEnbY+co6YLXANfeMnfBOBs8Ba_Sbdqz0Ahm8RzAhRF7MrxL4Q@mail.gmail.com>
Date:	Thu, 7 Apr 2016 15:27:08 +1000
From:	Daurnimator <quae@...rnimator.com>
To:	linux-net@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: bindat/connectat syscalls

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ