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-prev] [day] [month] [year] [list]
Message-Id: <163283220810.6805.821728319483888771.git-patchwork-notify@kernel.org>
Date:   Tue, 28 Sep 2021 12:30:08 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Kuniyuki Iwashima <kuniyu@...zon.co.jp>
Cc:     davem@...emloft.net, kuba@...nel.org, benh@...zon.com,
        kuni1840@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] af_unix: Return errno instead of NULL in unix_create1().

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 28 Sep 2021 09:42:27 +0900 you wrote:
> unix_create1() returns NULL on error, and the callers assume that it never
> fails for reasons other than out of memory.  So, the callers always return
> -ENOMEM when unix_create1() fails.
> 
> However, it also returns NULL when the number of af_unix sockets exceeds
> twice the limit controlled by sysctl: fs.file-max.  In this case, the
> callers should return -ENFILE like alloc_empty_file().
> 
> [...]

Here is the summary with links:
  - [net] af_unix: Return errno instead of NULL in unix_create1().
    https://git.kernel.org/netdev/net/c/f4bd73b5a950

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ