Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 473912
Collapse All | Expand All

(-)a/mnexec.c (-1 / +1 lines)
Lines 131-137 int main(int argc, char *argv[]) Link Here
131
                return 1;
131
                return 1;
132
            }
132
            }
133
            /* mount sysfs to pick up the new network namespace */
133
            /* mount sysfs to pick up the new network namespace */
134
            if (mount("sysfs", "/sys", "sysfs", MS_MGC_VAL, NULL) == -1) {
134
            if (mount("sysfs", "/sys", "sysfs", MS_SLAVE|MS_REC, NULL) == -1) {
135
                perror("mount");
135
                perror("mount");
136
                return 1;
136
                return 1;
137
            }
137
            }

Return to bug 473912