This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: last call





>Look at the x86 mmap.S file.  We are using the mmap2 syscall even for
>the mmap() and not only the mmap64() implementation.  The
>implementation is therefore tested in every single program run.

I took x86 as sample implementation and changed s390 accordingly. The
mmap2 system call itself works and mmap64 should be ok too.
Here is the patch:

2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>

        * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
        * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.

(See attached file: mmap2-s390.diff)

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

mmap2-s390.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]