minix/sys
David van Moolenbroek d991a2bea3 Retire sysuname(2), synchronize sys/utsname.h
Now that uname(3) uses sysctl(2), we no longer need sysuname(2).
Backward compatibility is retained for old statically linked
binaries for a short while.

Also remove the now-obsolete MINIX3-specific "arch" field from the
utsname structure.  While this is an ABI break at the libc level,
it should pose no problems in practice, because:

- statically linked programs (i.e., all of the base system) are not
  affected, as they will use headers synchronized with libc;
- the structure is getting smaller, thus, older dynamically linked
  programs (typically in pkgsrc) using the new libc will end up with
  garbage in the "arch" field, but it is unlikely they will use this
  field anyway, since it was specific to MINIX3;
- new dynamically linked programs using an old libc could end up with
  memory corruption, but this is not a scenario that is expected to
  occur in the first place - certainly not with programs from pkgsrc.

Change-Id: I29c76576f509feacc8f996f0bd353ca8961d4917
2016-01-13 20:32:46 +01:00
..
arch NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
compat NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
conf NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
dev NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
external/bsd/compiler_rt NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
fs NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
lib NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
net NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
netinet NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
netinet6 NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
sys Retire sysuname(2), synchronize sys/utsname.h 2016-01-13 20:32:46 +01:00
ufs NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
uvm NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00