This is the mail archive of the libc-hacker@sourceware.org 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]

Re: [PATCH] Don't call uname or getrlimit in libpthread init function


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

On 04/08/2010 02:42 AM, Andreas Schwab wrote:
> The libpthread init function calls uname and getrlimit, which means they
> are called just by being linked against it, even if the program does not
> use any of the libpthread functions, thus may use the function names for
> its own purpose.

No, uname belongs to the namespace to the implementation.  You cannot
just overload it.  Why on earth should this be allowed?  Somebody
overloading the function has to know what s/he does.

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAku+WnMACgkQ2ijCOnn/RHTJDQCgt1FFA25UxSXZ/m8SSmo3zmFi
VF4AnjdisA/9QcZcVTNoP87V4n3eUZVk
=1+2h
-----END PGP SIGNATURE-----


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