[TUHS] Tracing origins of errno names/numbers

Random832 random832 at fastmail.us
Fri Apr 1 09:41:13 AEST 2011


I spent some time tracing what version of Linux itself each one was added  
in.

Note: This doesn't necessarily show that they originated with linux (the
opposite in some cases), but it should help get a good handle on dates
(for where to look in other OSes' history). And, date/version added to
linux might itself be an interesting column to include.

V7 - this is where EFAULT changed from 106 to 14
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/include/errno.h
Minix 1.1
http://minnie.tuhs.org/cgi-bin/utree.pl?file=Minix1.1/usr/include/errno.h
Minix 1.5 - where 0.1 apparently took its numeric assignments from
http://minnie.tuhs.org/cgi-bin/utree.pl?file=Minix1.5/include/errno.h
0.01 - first errno.h - interesting comment.
http://lxr.linux.no/linux-old+v0.01/include/errno.h
0.95 - adds ELOOP
http://lxr.linux.no/linux-old+v0.95/include/errno.h
0.96c - last errno.h
http://lxr.linux.no/linux-old+v0.96c/include/errno.h
0.97.0 has first linux/errno.h, and a whole pile of new error numbers
http://lxr.linux.no/linux-old+v0.97.0/include/linux/errno.h
0.99.0 - EWOULDBLOCK vaue changed
http://lxr.linux.no/linux-old+v0.99.0/include/linux/errno.h
0.99.14 - adds 122 EDQUOT
http://lxr.linux.no/linux-old+v0.99.14/include/linux/errno.h
2.1.34 - adds 123 and 124
http://lxr.linux.no/linux-old+v2.1.34/include/asm-i386/errno.h
2.6.10 - 125 through 129 added
http://lxr.linux.no/linux-bk+v2.6.10/include/asm-generic/errno.h

Still haven't spent the time to find:
Where 45-47 went, 51, value change of EDEADLOCK

2005-05-01 Addition of EOWNERDEAD and ENOTRECOVERABLE:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee
(This says it was done to support an external patch, so linux is
probably not the originating system)

2009-06-03 Addition of ERFKILL
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3

2011-03-17 EHWPOISON
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69ebb83e13e514222b0ae4f8bd813a17679ed876

EDOTDOT caught my eye for some reason - maybe because it's the only one
you attributed to linux in a long list of SVr1 ones... what were 72
through 76 in SVR1?



More information about the TUHS mailing list