summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2015-04-16 21:44:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:03:58 +0200
commite15f431fe2d53cd4673510736da7d4fa1090e096 (patch)
treec825e36dd160760cda8093e4ef384583a279dcb8 /scripts
parentcheckpatch.pl: new instances of ENOSYS are errors (diff)
downloadlinux-e15f431fe2d53cd4673510736da7d4fa1090e096.tar.xz
linux-e15f431fe2d53cd4673510736da7d4fa1090e096.zip
errno.h: Improve ENOSYS's comment
ENOSYS is the mechanism used by user code to detect whether the running kernel implements a given system call. It should not be returned by anything except an unimplemented system call. Unfortunately, it is rather frequently used in the kernel to indicate that various new functions of existing system calls are not implemented. This should be discouraged. Improve the comment in errno.h to help clarify ENOSYS's purpose. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Pavel Machek <pavel@ucw.cz> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions