public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Move sched_[sg]etaffinity to GLIBC_2.3.3
@ 2003-09-16 20:20 Jakub Jelinek
  2003-09-16 21:00 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2003-09-16 20:20 UTC (permalink / raw)
  To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Move sched_[sg]etaffinity to GLIBC_2.3.3
  2003-09-16 20:20 [PATCH] Move sched_[sg]etaffinity to GLIBC_2.3.3 Jakub Jelinek
@ 2003-09-16 21:00 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-09-16 21:00 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Roland McGrath, Glibc hackers

Jakub Jelinek wrote:
> 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.

Applied.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-16 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 20:20 [PATCH] Move sched_[sg]etaffinity to GLIBC_2.3.3 Jakub Jelinek
2003-09-16 21:00 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).