History log of /freebsd-current/sys/compat/linux/linux_errno.h
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 6547153e 29-Oct-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: Fix ptrace panic with ERESTART

Translate ERESTART into Linux "internal" errno ERESTARTSYS.
This fixes the erestartsys.gen.test from strace(1).

Reviewed By: kib
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D32623


# cdf6e4e9 04-Nov-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Unbreak buildworld after r367339.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 2f927d87 04-Nov-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add linux_to_bsd_errtbl[], mapping Linux errnos to their BSD counterparts.
This will be used by fuse(4).

Reviewed by: asomers
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26974


# b60b81e6 29-Oct-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix typo.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 1a8577fa 29-Oct-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

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