mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-17 02:58:07 +02:00
Mount a private sysfs instance. Otherwise gudev sees the devices from the parent netns as opposed to our netns. We do, however need a writable /sys/devices subtree for testing the bridge code. There doesn't seem to be any other way to get a writable subtree of a read-only filesystem than remounting it with no parameters after the initial mount. We use this to get a writable sysfs instance and then bindmount it so that it fits properly in the sysfs hierarchy. Co-Authored-By: Thomas Haller <thaller@redhat.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| dump.c | ||
| Makefile.am | ||
| monitor.c | ||
| platform.c | ||
| test-address.c | ||
| test-cleanup.c | ||
| test-common.c | ||
| test-common.h | ||
| test-link.c | ||
| test-route.c | ||