From: Steve Dickson <SteveD@redhat.com>
To: Steve Dickson <steved@redhat.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 1/1] rpc.idmap: Hide global symbols from libidmap plugins
Date: Fri, 16 Mar 2012 09:55:58 -0400 [thread overview]
Message-ID: <4F63466E.3020603@RedHat.com> (raw)
In-Reply-To: <1331830642-18908-1-git-send-email-steved@redhat.com>
On 03/15/2012 12:57 PM, Steve Dickson wrote:
> From: Noah Friedman <friedman@splode.com>
>
> This patch limits the visibility of the symbols in the nfs-utils
> conffile.c so that they are only visible to programs linked directly to
> it. This forces the objects dynamically loaded via libnfsidmap to use
> the functions defined in that shared library instead.
>
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed...
steved.
> ---
> support/nfs/conffile.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c
> index 2f1e235..5015e94 100644
> --- a/support/nfs/conffile.c
> +++ b/support/nfs/conffile.c
> @@ -49,6 +49,8 @@
> #include "conffile.h"
> #include "xlog.h"
>
> +#pragma GCC visibility push(hidden)
> +
> static void conf_load_defaults(void);
> static int conf_set(int , char *, char *, char *,
> char *, int , int );
prev parent reply other threads:[~2012-03-16 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 16:57 [PATCH 1/1] rpc.idmap: Hide global symbols from libidmap plugins Steve Dickson
2012-03-16 13:55 ` Steve Dickson [this message]
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=4F63466E.3020603@RedHat.com \
--to=steved@redhat.com \
--cc=linux-nfs@vger.kernel.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