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>] [thread-next>] [day] [month] [year] [list]
Date:	Thu,  3 Mar 2016 12:23:36 +0100
From:	Ed Schouten <ed@...i.nl>
To:	netdev@...r.kernel.org
Cc:	Ed Schouten <ed@...i.nl>
Subject: [PATCH 0/3] UNIX sockets: POSIX conformance of errno's

Hi there,

While comparing the behavior of the Berkeley sockets API different
operating systems, I noticed that in some places we return different
errno's as what POSIX requires and how other systems work, but also what
we document in our own man pages.

This is the first time I'm sending a patch to the Linux kernel, so if
there's anything wrong with the way I submitted these patches, just let
me know.

Thanks,
Ed

Ed Schouten (3):
  Make listen() on an unbound UNIX socket return EDESTADDRREQ.
  Let open() on a UNIX socket return EOPNOTSUPP.
  Return ENOTCONN when trying to recv() on an unconnected UNIX socket.

 fs/inode.c         | 13 ++++++++++++-
 net/unix/af_unix.c |  6 +++---
 2 files changed, 15 insertions(+), 4 deletions(-)

-- 
2.5.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ