master
for some time now mandoc has not required MLINKS to function correctly - logically complete that now by removing MLINKS from base;
zap rcsid
Have cfmakeraw() also reset VMIN and VTIME to their default values; ok kettenis miod
Use a Thread Information Block in both single and multi-threaded programs. This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
shm_open(), sysconf(), tcflow(), and tcsendbreak() are not permitted to be cancellation points in POSIX, so change them to invoke the non-cancellation point versions of open(), close(), nanosleep(), and write()
Prefer <fcntl.h> over <sys/fcntl.h>
Wrap <termios.h> so that calls go direct and the symbols are all weak.
remove outdated "expected to be compliant" ok miod@ kn@ deraadt@
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Remove some useless casts and includes. OK deraadt@ tedu@