>> 1 /* SPDX-License-Identifier: GPL-2.0 */ 1 #ifndef _LINUX_ERRNO_H 2 #ifndef _LINUX_ERRNO_H 2 #define _LINUX_ERRNO_H 3 #define _LINUX_ERRNO_H 3 4 4 #include <uapi/linux/errno.h> 5 #include <uapi/linux/errno.h> 5 6 6 7 7 /* 8 /* 8 * These should never be seen by user programs 9 * These should never be seen by user programs. To return one of ERESTART* 9 * codes, signal_pending() MUST be set. Note 10 * codes, signal_pending() MUST be set. Note that ptrace can observe these 10 * at syscall exit tracing, but they will neve 11 * at syscall exit tracing, but they will never be left for the debugged user 11 * process to see. 12 * process to see. 12 */ 13 */ 13 #define ERESTARTSYS 512 14 #define ERESTARTSYS 512 14 #define ERESTARTNOINTR 513 15 #define ERESTARTNOINTR 513 15 #define ERESTARTNOHAND 514 /* restart if 16 #define ERESTARTNOHAND 514 /* restart if no handler.. */ 16 #define ENOIOCTLCMD 515 /* No ioctl co 17 #define ENOIOCTLCMD 515 /* No ioctl command */ 17 #define ERESTART_RESTARTBLOCK 516 /* restart b 18 #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */ 18 #define EPROBE_DEFER 517 /* Driver requ 19 #define EPROBE_DEFER 517 /* Driver requests probe retry */ 19 #define EOPENSTALE 518 /* open found 20 #define EOPENSTALE 518 /* open found a stale dentry */ >> 21 #define ENOPARAM 519 /* Parameter not supported */ 20 22 21 /* Defined for the NFSv3 protocol */ 23 /* Defined for the NFSv3 protocol */ 22 #define EBADHANDLE 521 /* Illegal NFS 24 #define EBADHANDLE 521 /* Illegal NFS file handle */ 23 #define ENOTSYNC 522 /* Update sync 25 #define ENOTSYNC 522 /* Update synchronization mismatch */ 24 #define EBADCOOKIE 523 /* Cookie is s 26 #define EBADCOOKIE 523 /* Cookie is stale */ 25 #define ENOTSUPP 524 /* Operation i 27 #define ENOTSUPP 524 /* Operation is not supported */ 26 #define ETOOSMALL 525 /* Buffer or r 28 #define ETOOSMALL 525 /* Buffer or request is too small */ 27 #define ESERVERFAULT 526 /* An untransl 29 #define ESERVERFAULT 526 /* An untranslatable error occurred */ 28 #define EBADTYPE 527 /* Type not su 30 #define EBADTYPE 527 /* Type not supported by server */ 29 #define EJUKEBOX 528 /* Request ini 31 #define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */ 30 #define EIOCBQUEUED 529 /* iocb queued 32 #define EIOCBQUEUED 529 /* iocb queued, will get completion event */ >> 33 #define ERECALLCONFLICT 530 /* conflict with recalled state */ 31 34 32 #endif 35 #endif 33 36
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.