2005-04-17 05:20:36 +07:00
|
|
|
#ifndef _LINUX_ERRNO_H
|
|
|
|
#define _LINUX_ERRNO_H
|
|
|
|
|
2012-10-13 16:46:48 +07:00
|
|
|
#include <uapi/linux/errno.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
|
2007-06-01 14:47:06 +07:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
2005-04-17 05:20:36 +07:00
|
|
|
#define ERESTARTSYS 512
|
|
|
|
#define ERESTARTNOINTR 513
|
|
|
|
#define ERESTARTNOHAND 514 /* restart if no handler.. */
|
|
|
|
#define ENOIOCTLCMD 515 /* No ioctl command */
|
|
|
|
#define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
|
2012-03-05 22:47:41 +07:00
|
|
|
#define EPROBE_DEFER 517 /* Driver requests probe retry */
|
2012-05-21 22:30:19 +07:00
|
|
|
#define EOPENSTALE 518 /* open found a stale dentry */
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
/* Defined for the NFSv3 protocol */
|
|
|
|
#define EBADHANDLE 521 /* Illegal NFS file handle */
|
|
|
|
#define ENOTSYNC 522 /* Update synchronization mismatch */
|
|
|
|
#define EBADCOOKIE 523 /* Cookie is stale */
|
|
|
|
#define ENOTSUPP 524 /* Operation is not supported */
|
|
|
|
#define ETOOSMALL 525 /* Buffer or request is too small */
|
|
|
|
#define ESERVERFAULT 526 /* An untranslatable error occurred */
|
|
|
|
#define EBADTYPE 527 /* Type not supported by server */
|
|
|
|
#define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */
|
|
|
|
#define EIOCBQUEUED 529 /* iocb queued, will get completion event */
|
|
|
|
|
|
|
|
#endif
|