linux/include/uapi/asm-generic/errno.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_GENERIC_ERRNO_H
#define _ASM_GENERIC_ERRNO_H

#include <asm-generic/errno-base.h>

#define EDEADLK
#define ENAMETOOLONG
#define ENOLCK

/*
 * This error code is special: arch syscall entry code will return
 * -ENOSYS if users try to call a syscall that doesn't exist.  To keep
 * failures of syscalls that really do exist distinguishable from
 * failures due to attempts to use a nonexistent syscall, syscall
 * implementations should refrain from returning -ENOSYS.
 */
#define ENOSYS

#define ENOTEMPTY
#define ELOOP
#define EWOULDBLOCK
#define ENOMSG
#define EIDRM
#define ECHRNG
#define EL2NSYNC
#define EL3HLT
#define EL3RST
#define ELNRNG
#define EUNATCH
#define ENOCSI
#define EL2HLT
#define EBADE
#define EBADR
#define EXFULL
#define ENOANO
#define EBADRQC
#define EBADSLT

#define EDEADLOCK

#define EBFONT
#define ENOSTR
#define ENODATA
#define ETIME
#define ENOSR
#define ENONET
#define ENOPKG
#define EREMOTE
#define ENOLINK
#define EADV
#define ESRMNT
#define ECOMM
#define EPROTO
#define EMULTIHOP
#define EDOTDOT
#define EBADMSG
#define EOVERFLOW
#define ENOTUNIQ
#define EBADFD
#define EREMCHG
#define ELIBACC
#define ELIBBAD
#define ELIBSCN
#define ELIBMAX
#define ELIBEXEC
#define EILSEQ
#define ERESTART
#define ESTRPIPE
#define EUSERS
#define ENOTSOCK
#define EDESTADDRREQ
#define EMSGSIZE
#define EPROTOTYPE
#define ENOPROTOOPT
#define EPROTONOSUPPORT
#define ESOCKTNOSUPPORT
#define EOPNOTSUPP
#define EPFNOSUPPORT
#define EAFNOSUPPORT
#define EADDRINUSE
#define EADDRNOTAVAIL
#define ENETDOWN
#define ENETUNREACH
#define ENETRESET
#define ECONNABORTED
#define ECONNRESET
#define ENOBUFS
#define EISCONN
#define ENOTCONN
#define ESHUTDOWN
#define ETOOMANYREFS
#define ETIMEDOUT
#define ECONNREFUSED
#define EHOSTDOWN
#define EHOSTUNREACH
#define EALREADY
#define EINPROGRESS
#define ESTALE
#define EUCLEAN
#define ENOTNAM
#define ENAVAIL
#define EISNAM
#define EREMOTEIO
#define EDQUOT

#define ENOMEDIUM
#define EMEDIUMTYPE
#define ECANCELED
#define ENOKEY
#define EKEYEXPIRED
#define EKEYREVOKED
#define EKEYREJECTED

/* for robust mutexes */
#define EOWNERDEAD
#define ENOTRECOVERABLE

#define ERFKILL

#define EHWPOISON

#endif