* [PATCH] vfs: unexport the getname() symbol
@ 2013-12-06 12:37 Jeff Layton
2014-01-27 18:33 ` [PATCH][resend] " Jeff Layton
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2013-12-06 12:37 UTC (permalink / raw)
To: Al Viro; +Cc: linux-fsdevel, linux-kernel
Leaving getname() exported when putname() isn't is a bad idea.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
fs/namei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/namei.c b/fs/namei.c
index c53d3a9..83a456a 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -209,7 +209,6 @@ getname(const char __user * filename)
{
return getname_flags(filename, 0, NULL);
}
-EXPORT_SYMBOL(getname);
#ifdef CONFIG_AUDITSYSCALL
void putname(struct filename *name)
--
1.8.4.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH][resend] vfs: unexport the getname() symbol
2013-12-06 12:37 [PATCH] vfs: unexport the getname() symbol Jeff Layton
@ 2014-01-27 18:33 ` Jeff Layton
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2014-01-27 18:33 UTC (permalink / raw)
To: Al Viro; +Cc: linux-fsdevel, linux-kernel
Leaving getname() exported when putname() isn't is a bad idea.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
fs/namei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/namei.c b/fs/namei.c
index 3531dee..46dbd31 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -209,7 +209,6 @@ getname(const char __user * filename)
{
return getname_flags(filename, 0, NULL);
}
-EXPORT_SYMBOL(getname);
#ifdef CONFIG_AUDITSYSCALL
void putname(struct filename *name)
--
1.8.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-27 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 12:37 [PATCH] vfs: unexport the getname() symbol Jeff Layton
2014-01-27 18:33 ` [PATCH][resend] " Jeff Layton
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 NNTP newsgroup(s).