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 153211 Details for
Bug 237120
updatedb accesses excluded filesystems (risk of hang against broken NFS)
[?]
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]
Don't call realpath() on all excluded filesystem paths if using /proc/self/mounts
p (text/plain), 493 bytes, created by
Miloslav Trmač
on 2007-04-20 20:39:14 UTC
(
hide
)
Description:
Don't call realpath() on all excluded filesystem paths if using /proc/self/mounts
Filename:
MIME Type:
Creator:
Miloslav Trmač
Created:
2007-04-20 20:39:14 UTC
Size:
493 bytes
patch
obsolete
> { >- char dbuf[PATH_MAX], *dir; >+ char *dir; >+#ifndef PROC_MOUNTS_PATH >+ char dbuf[PATH_MAX]; > > dir = realpath (me->mnt_dir, dbuf); > if (dir == NULL) > dir = me->mnt_dir; >+#else >+ /* Paths in /proc/self/mounts contain no symbolic links. Besides >+ avoiding a few system calls, avoiding the realpath () avoids hangs >+ if the filesystem is unavailable hard-mounted NFS. */ >+ dir = me->mnt_dir; >+#endif > if (strcmp (path, dir) == 0) > { > res = true;
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 237120
:
153011
| 153211