git: DragonFly_RELEASE_5_8 kernel: fix misleading error from allocating file descriptors

Daniel Fojt deef at crater.dragonflybsd.org
Fri Jun 12 05:50:52 PDT 2020


commit 68cbee7d659c253aa8ba4bf99c0d62e4ee3fa233
Author: Daniel Fojt <df at neosystem.org>
Date:   Thu Jun 11 11:25:27 2020 +0200

    kernel: fix misleading error from allocating file descriptors
    
    Return EINVAL instead of EMFILE when requested new file descriptor number
    exceeds the limit.
    
    Discussed with: Sascha Wildner

Summary of changes:
 sys/kern/kern_descrip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/68cbee7d659c253aa8ba4bf99c0d62e4ee3fa233


-- 
DragonFly BSD source repository


More information about the Commits mailing list