linux/include/linux/errno.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_ERRNO_H
#define _LINUX_ERRNO_H

#include <uapi/linux/errno.h>


/*
 * These should never be seen by user programs.  To return one of ERESTART*
 * codes, signal_pending() MUST be set.  Note that ptrace can observe these
 * at syscall exit tracing, but they will never be left for the debugged user
 * process to see.
 */
#define ERESTARTSYS
#define ERESTARTNOINTR
#define ERESTARTNOHAND
#define ENOIOCTLCMD
#define ERESTART_RESTARTBLOCK
#define EPROBE_DEFER
#define EOPENSTALE
#define ENOPARAM

/* Defined for the NFSv3 protocol */
#define EBADHANDLE
#define ENOTSYNC
#define EBADCOOKIE
#define ENOTSUPP
#define ETOOSMALL
#define ESERVERFAULT
#define EBADTYPE
#define EJUKEBOX
#define EIOCBQUEUED
#define ERECALLCONFLICT
#define ENOGRACE

#endif