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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC64 fe_nomask.c


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

Steve Munroe wrote:

> OK. sysdeps/unix/sysv/linux/sys/prctl.h is published because it is
> listed in a "Dist" file. So don't touch it and don't touch the export
> list (Versions).

The header is installed because it's listed in
sysdeps/unix/sysv/linux/Makefile in one sysdep_headers definitions.
Dist only affects "make dist".

> It was correct to change sysdeps/unix/sysv/linux/syscalls.list to define
> __prctl and prctl as the alias.

Yes.


> Since -I../include is first in the include path we can add a
> include/sys/prctl.h wrapper to prototype __prctl for libc use.

Correct.


> The
> wrapper should use #include_next to pull in the "published include" and
> its prototype as well.

Yep.


- -- 
- --------------.                        ,-.            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+Ns+l2ijCOnn/RHQRAmORAJ4oMtMh6KLik6OZXLqGrQqH0kx3xQCgjPiy
iArS5HFKvGHNPlzUZ5hDQwU=
=It+F
-----END PGP SIGNATURE-----


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