]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef _LINUX_ERRNO_H |
3 | #define _LINUX_ERRNO_H | |
4 | ||
607ca46e | 5 | #include <uapi/linux/errno.h> |
1da177e4 | 6 | |
1da177e4 | 7 | |
62e5b05d ST |
8 | /* |
9 | * These should never be seen by user programs. To return one of ERESTART* | |
10 | * codes, signal_pending() MUST be set. Note that ptrace can observe these | |
11 | * at syscall exit tracing, but they will never be left for the debugged user | |
12 | * process to see. | |
13 | */ | |
1da177e4 LT |
14 | #define ERESTARTSYS 512 |
15 | #define ERESTARTNOINTR 513 | |
16 | #define ERESTARTNOHAND 514 /* restart if no handler.. */ | |
17 | #define ENOIOCTLCMD 515 /* No ioctl command */ | |
18 | #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */ | |
d1c3414c | 19 | #define EPROBE_DEFER 517 /* Driver requests probe retry */ |
16b1c1cd | 20 | #define EOPENSTALE 518 /* open found a stale dentry */ |
1da177e4 LT |
21 | |
22 | /* Defined for the NFSv3 protocol */ | |
23 | #define EBADHANDLE 521 /* Illegal NFS file handle */ | |
24 | #define ENOTSYNC 522 /* Update synchronization mismatch */ | |
25 | #define EBADCOOKIE 523 /* Cookie is stale */ | |
26 | #define ENOTSUPP 524 /* Operation is not supported */ | |
27 | #define ETOOSMALL 525 /* Buffer or request is too small */ | |
28 | #define ESERVERFAULT 526 /* An untranslatable error occurred */ | |
29 | #define EBADTYPE 527 /* Type not supported by server */ | |
30 | #define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */ | |
31 | #define EIOCBQUEUED 529 /* iocb queued, will get completion event */ | |
183d9e7b | 32 | #define ERECALLCONFLICT 530 /* conflict with recalled state */ |
1da177e4 LT |
33 | |
34 | #endif |