]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add defines for Linux errno values and use them to make linux_errtbl[]
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Thu, 29 Oct 2020 14:23:52 +0000 (14:23 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Thu, 29 Oct 2020 14:23:52 +0000 (14:23 +0000)
commit1a8577fa68d68b14f6ccddd43d01436eb323151b
treea4ab2b2bc5fd65937ad745cc22d4300619d845db
parent80d8e42662d8f65d4a88a3043a61d19e1621ad91
Add defines for Linux errno values and use them to make linux_errtbl[]
more readable.  While here, add linux_check_errtbl() function to make
sure we don't leave holes.

No objections: emaste (earlier version)
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26972
lib/libsysdecode/errno.c
sys/compat/linux/linux.h
sys/compat/linux/linux_common.c
sys/compat/linux/linux_errno.c
sys/compat/linux/linux_errno.h [new file with mode: 0644]
sys/compat/linux/linux_errno.inc