Blame view

include/linux/errno.h 1.3 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _LINUX_ERRNO_H
  #define _LINUX_ERRNO_H
607ca46e9   David Howells   UAPI: (Scripted) ...
3
  #include <uapi/linux/errno.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
4

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
5

62e5b05db   Satoru Takeuchi   Better documentat...
6
7
8
9
10
11
  /*
   * 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.
   */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
12
13
14
15
16
  #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 */
d1c3414c2   Grant Likely   drivercore: Add d...
17
  #define EPROBE_DEFER	517	/* Driver requests probe retry */
16b1c1cd7   Miklos Szeredi   vfs: retry last c...
18
  #define EOPENSTALE	518	/* open found a stale dentry */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19
20
21
22
23
24
25
26
27
28
29
  
  /* 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 */
183d9e7b1   Jeff Layton   pnfs: rework LAYO...
30
  #define ERECALLCONFLICT	530	/* conflict with recalled state */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
31
32
  
  #endif