Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 418078 Details for
Bug 473912
net-misc/mininet - an instant virtual network
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Mount /sys as MS_SLAVE|MS_REC
mininet-2.2.1-modify-sys-mount.patch (text/plain), 489 bytes, created by
pierigno
on 2015-11-28 18:38:12 UTC
(
hide
)
Description:
Mount /sys as MS_SLAVE|MS_REC
Filename:
MIME Type:
Creator:
pierigno
Created:
2015-11-28 18:38:12 UTC
Size:
489 bytes
patch
obsolete
>diff --git a/mnexec.c b/mnexec.c >index a9cb867..7cc848d 100644 >--- a/mnexec.c >+++ b/mnexec.c >@@ -131,7 +131,7 @@ int main(int argc, char *argv[]) > return 1; > } > /* mount sysfs to pick up the new network namespace */ >- if (mount("sysfs", "/sys", "sysfs", MS_MGC_VAL, NULL) == -1) { >+ if (mount("sysfs", "/sys", "sysfs", MS_SLAVE|MS_REC, NULL) == -1) { > perror("mount"); > return 1; > }
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 473912
:
417152
| 418078 |
418080