libc: Add temporary (get|set)affinity DF404.0 symbols
commit3c2537818c14aaba122a276020143cd4b92d2cbc
authorJohn Marino <draco@marino.st>
Sun, 5 Feb 2017 22:44:34 +0000 (5 16:44 -0600)
committerJohn Marino <draco@marino.st>
Sun, 5 Feb 2017 23:08:18 +0000 (5 17:08 -0600)
tree64cb6308ef44134ff83ccaac0499c8819ae0050f
parent97c8c48c0948f7071b168f982d407bffa180c7db
libc: Add temporary (get|set)affinity DF404.0 symbols

The sched_getaffinity, sched_setaffinity and related work had the new
symbols erroneously given DF404.0 versioning.  This was corrected by
commit 6262c9d, but that in turn broke any userland programs built
with the original symbol versions.

This patch redefines the old symbols while maintaining the correct
DF408.0 versions, but it is intended to be temporary.  After the
branch (e.g. Release 4.8), this commit should be reverted so that
the next development trunk won't have the DF404.0 versions.  It's
expected that all ports and third-party software is rebuilt when
upgrading to a new release.  This serves as a reasonable bridge
to allow affected users to do that rebuild.

This patch is particularly intrusive regarding the syscall assembly
file creation, so it's not something we want to leave in place
permanently in my opinion.
lib/libc/sys/Makefile.inc
lib/libc/sys/sched_getaffinity.c
lib/libc/sys/sched_getcpu.c
lib/libc/sys/sched_setaffinity.c