chiark / gitweb /
nspawn: make -U a tiny bit smarter
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 12:10:09 +0000 (14:10 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
commit0cd13b4c1f6a68b1fe79409bf6c5b8fa9351e376
treef293c1aab17395ada7df001ddc15883bcd0c4a04
parent39d737918769db8ef3901e813ecb4b74f0a507b0
nspawn: make -U a tiny bit smarter

With this change -U will turn on user namespacing only if the kernel actually
supports it and otherwise gracefully degrade to non-userns mode.
src/basic/user-util.h