public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* getpriority patch for s390x.
@ 2002-03-21  4:20 Martin Schwidefsky
  2002-03-22  1:31 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Schwidefsky @ 2002-03-21  4:20 UTC (permalink / raw)
  To: libc-hacker

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]


Hi,
the getpriority call for s390x is broken. Since we do not have a special
way to pass a negative value back to userspace like ia64 we need to use
the default wrapper for getpriority. Patch & ChangeLog are attached.

2002-03-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

      * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
      Remove getpriority from syscalls list.


blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com

(See attached file: getpriority.diff)(See attached file: getpriority.ChangeLog)

[-- Attachment #2: getpriority.diff --]
[-- Type: application/octet-stream, Size: 725 bytes --]

diff -urN libc/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list libc-s390/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
--- libc/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list	Fri Mar 16 10:51:53 2001
+++ libc-s390/sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list	Wed Mar 20 15:40:37 2002
@@ -6,7 +6,6 @@
 fstatfs		-	fstatfs		i:ip	__fstatfs	fstatfs fstatfs64 __fstatfs64
 statfs		-	statfs		i:sp	__statfs	statfs statfs64
 getpeername	-	getpeername	i:ipp	__getpeername	getpeername
-getpriority	-	getpriority	i:ii	__getpriority	getpriority
 ftruncate	-	ftruncate	2	__ftruncate	ftruncate ftruncate64 __ftruncate64
 truncate	-	truncate	2	truncate	truncate64
 getrlimit	-	getrlimit	2	__getrlimit	getrlimit getrlimit64

[-- Attachment #3: getpriority.ChangeLog --]
[-- Type: application/octet-stream, Size: 154 bytes --]

2002-03-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
	Remove getpriority from syscalls list.


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

* Re: getpriority patch for s390x.
  2002-03-21  4:20 getpriority patch for s390x Martin Schwidefsky
@ 2002-03-22  1:31 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-03-22  1:31 UTC (permalink / raw)
  To: Martin Schwidefsky; +Cc: GNU libc hacker

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

On Thu, 2002-03-21 at 04:17, Martin Schwidefsky wrote:

> 2002-03-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
> 
>       * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
>       Remove getpriority from syscalls list.

I've applied this patch now.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

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

end of thread, other threads:[~2002-03-22  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-21  4:20 getpriority patch for s390x Martin Schwidefsky
2002-03-22  1:31 ` 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).