[PATCH] Move sched_[sg]etaffinity to GLIBC_2.3.3

Jakub Jelinek jakub@redhat.com
Tue Sep 16 20:20:00 GMT 2003


Hi!

sched_[gs]etaffinity API was changed after 2.3.2 incompatibly, but
nothing used the old symbols from glibc (AFAIK schedutils use
kernel syscalls directly, so did versions of "run" up to these days).
Better change the symbol version, so that it is clear these symbols
have nothing to do with the old sched_[sg]etaffinity.

2003-09-16  Jakub Jelinek  <jakub@redhat.com>

	* posix/Versions (sched_getaffinity, sched_setaffinity): Change
	from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version.

--- libc/posix/Versions.jj	2002-11-19 20:05:30.000000000 -0500
+++ libc/posix/Versions	2003-09-16 16:05:33.000000000 -0400
@@ -110,14 +110,15 @@ libc {
     __nanosleep;
   }
   GLIBC_2.3.2 {
-    sched_getaffinity; sched_setaffinity;
-
     # Note that these symbols appear in sysdeps/unix/sysv/linux/Versions
     # under GLIBC_2.0; the first instance in the script is taken as the
     # default, so linux configurations put them in GLIBC_2.0 while other
     # configuration put them in GLIBC_2.3.2.
     getresuid; getresgid; setresuid; setresgid;
   }
+  GLIBC_2.3.3 {
+    sched_getaffinity; sched_setaffinity;
+  }
   GLIBC_PRIVATE {
     # functions which have an additional interface since they are
     # are cancelable.

	Jakub



More information about the Libc-hacker mailing list