]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add defines for Linux errno values and use them to make linux_errtbl[]
authortrasz <trasz@FreeBSD.org>
Thu, 29 Oct 2020 14:23:52 +0000 (14:23 +0000)
committertrasz <trasz@FreeBSD.org>
Thu, 29 Oct 2020 14:23:52 +0000 (14:23 +0000)
commit673c50569597aa575539b256fc54c4f9c2746288
treea4ab2b2bc5fd65937ad745cc22d4300619d845db
parente6920e272d55c3efbc4d6e6aa00e2db9f8bed318
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