public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: libc-hacker@sourceware.org
Subject: Re: [PATCH] Don't call uname or getrlimit in libpthread init function
Date: Thu, 08 Apr 2010 22:36:00 -0000	[thread overview]
Message-ID: <4BBE5A73.9080600@redhat.com> (raw)
In-Reply-To: <m339z6nuu6.fsf@hase.home>

-----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-----

  reply	other threads:[~2010-04-08 22:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  9:43 Andreas Schwab
2010-04-08 22:36 ` Ulrich Drepper [this message]
     [not found]   ` <m2y6gxy1po.fsf@igel.home>
2010-04-08 23:42     ` Ulrich Drepper
2010-04-09  8:18       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BBE5A73.9080600@redhat.com \
    --to=drepper@redhat.com \
    --cc=libc-hacker@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).