]> git.proxmox.com Git - mirror_iproute2.git/commit
lib/namespace: don't try to mount rw /sys over a ro one
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 12 Feb 2018 19:23:12 +0000 (20:23 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 23 Feb 2018 16:18:06 +0000 (08:18 -0800)
commit8f0807023d067e2bb585a2ae8da93e59689d10f1
treee41fc16683227e57f425c3bd63f5720ab2bcc65b
parent6bfa7a6b0ec28b75274dc270e0f5a6eaf147e557
lib/namespace: don't try to mount rw /sys over a ro one

It will fail with EPERM on Linux 4.15.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/namespace.c