git: libc: Add temporary (get|set)affinity DF404.0 symbols

John Marino marino at
Sun Feb 5 15:09:02 PST 2017

commit 3c2537818c14aaba122a276020143cd4b92d2cbc
Author: John Marino <draco at>
Date:   Sun Feb 5 16:44:34 2017 -0600

    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.

Summary of changes:
 lib/libc/sys/        | 10 +++++++++-
 lib/libc/sys/sched_getaffinity.c |  4 ++++
 lib/libc/sys/sched_getcpu.c      |  4 ++++
 lib/libc/sys/sched_setaffinity.c |  4 ++++
 4 files changed, 21 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list