Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eceea0b3 authored by Al Viro's avatar Al Viro
Browse files

[PATCH] avoid multiplication overflows and signedness issues for max_fds



Limit sysctl_nr_open - we don't want ->max_fds to exceed MAX_INT and
we don't want size calculation for ->fd[] to overflow.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent adbecb12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment