diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-09-07 10:59:45 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-09-08 03:01:05 +0000 |
commit | fd9e09cb2ab07993e8dc783c802f273329e70bb8 (patch) | |
tree | 62c8b32d85bf739492226e5cb5ae9a85835d0716 /crypto/krb5/doc/tools/func_document.tmpl | |
parent | fdb3b695a4d19f098367be4fe2df51bec991170d (diff) |
EBADF semantic is that the passed fd is invalid, not that it is of wrong
type. Using EBADF in these places in kern_event.c and sys_procdesc.c
give bad examples to copy from.
Note that places in kern_event.c that checks KQ_CLOSING and return EBADF
are kept, since KQ_CLOSING is the transient state before the fd is
finally closed and become eligible for EBADF.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D52410
Diffstat (limited to 'crypto/krb5/doc/tools/func_document.tmpl')
0 files changed, 0 insertions, 0 deletions