Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 636456 Details for
Bug 833535
autofs-5.0.6-19.fc17.x86_64 doesn't work with mock
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch - check nfs automount flag on root
vfs-check-nfs-automount-flag-on-root.patch (text/plain), 854 bytes, created by
Ian Kent
on 2012-11-01 04:16:55 UTC
(
hide
)
Description:
Patch - check nfs automount flag on root
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2012-11-01 04:16:55 UTC
Size:
854 bytes
patch
obsolete
>vfs - check nfs automount flag on root > >From: Ian Kent <ikent@redhat.com> > > >--- > > fs/namei.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > >diff --git a/fs/namei.c b/fs/namei.c >index aa30d19..43b67e5 100644 >--- a/fs/namei.c >+++ b/fs/namei.c >@@ -34,6 +34,7 @@ > #include <linux/device_cgroup.h> > #include <linux/fs_struct.h> > #include <linux/posix_acl.h> >+#include <linux/magic.h> > #include <asm/uaccess.h> > > #include "internal.h" >@@ -876,6 +877,9 @@ static int follow_automount(struct path *path, unsigned flags, > if (!path->dentry->d_op || !path->dentry->d_op->d_automount) > return -EREMOTE; > >+ if (path->dentry->d_sb->s_magic == NFS_SUPER_MAGIC && IS_ROOT(path->dentry)) >+ return -EISDIR; >+ > /* We don't want to mount if someone's just doing a stat - > * unless they're stat'ing a directory and appended a '/' to > * the name.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833535
:
593444
|
609140
|
610823
|
611990
|
625260
|
636456
|
641908
|
647703
|
647705
|
649476
|
672268
|
672270