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
| ||
|
Date: Thu, 19 Mar 2020 20:22:14 -0600 From: Jens Axboe <axboe@...nel.dk> To: io-uring@...r.kernel.org Cc: davem@...emloft.net, netdev@...r.kernel.org Subject: [PATCHSET] Fix io_uring async rlimit(RLIMIT_NOFILE) If we handle openat/openat2/accept in an async manner, then we need to ensure that the max open file limit is honored. All of these end up boiling down to the check in get_unused_fd_flags(), which does rlimit(RLIMIT_NOFILE), which uses the current->signal->rlim[] limits. Instead of fiddling with the task ->signal pointer, just allow us to pass in the correct value as set from the original task at request prep time. -- Jens Axboe
Powered by blists - more mailing lists