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]
Other format: [Raw text]

posix_fadvise change


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've checked in some change which change the interface of posix_fadvise.
 It's a reaction to the problem with the posix_fadvise Andrew Morton
discovered a few days ago.  The changes are now in the Linux kernel and
even in POSIX (well, they'll be in the next draft).

The compatibilty code was nasty, but on x86 we also hit the 6 argument
limit so I had to write the code in asm.  hammer and ia64 should work,
too, maybe alpha too.  I haven't done work on any other arch.

While doing this I found another problem: the posix_madvise function is
supposed to return the error value, not -1 on failure.  So it is split
from the madvise code.  And I had to introduce a new magic prefix for
the syscalls.list list.  V indicates the error value has to be returned.
 Again, no work done for platforms other than x86, hammer, ia64.  And I
haven't even checked the latter two yet.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Pc5A2ijCOnn/RHQRAhZ1AJ4hucozmqDg94S7I5x1gRdUYeCXzwCfdtWX
+G8o+DaopzUtKwAgTO1VqcM=
=ahcO
-----END PGP SIGNATURE-----


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