All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Theodore Ts'o <tytso@mit.edu>
Cc: Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH 1/3] contrib: add safe_getenv() support to spd_readdir
Date: Wed, 23 Jan 2013 13:17:25 +0100	[thread overview]
Message-ID: <87d2ww8562.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <1358813390-26466-1-git-send-email-tytso@mit.edu> (Theodore Ts'o's message of "Mon, 21 Jan 2013 19:09:48 -0500")

* Theodore Ts'o:

> +#if HAVE___SECURE_GETENV
> +	return __secure_getenv(arg);
> +#else
> +	return getenv(arg);
> +#endif

glibc 2.17 has secure_getenv, but not __secure_getenv.  Unfortuantely,
this was the only way to turn this into an official interface.

  parent reply	other threads:[~2013-01-23 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22  0:09 [PATCH 1/3] contrib: add safe_getenv() support to spd_readdir Theodore Ts'o
2013-01-22  0:09 ` [PATCH 2/3] contrib: add thread locking and readdir64_r " Theodore Ts'o
2013-01-22  0:09 ` [PATCH 3/3] contrib: fix namespace leakage in spd_readdir Theodore Ts'o
2013-01-23 12:17 ` Florian Weimer [this message]
2013-01-23 16:22   ` [PATCH 1/3] contrib: add safe_getenv() support to spd_readdir Theodore Ts'o

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=87d2ww8562.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.