chiark / gitweb /
nspawn: don't accept just any tree to execute
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Feb 2014 15:35:18 +0000 (16:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Feb 2014 15:35:18 +0000 (16:35 +0100)
commit6b9132a9c40355356b4d4f5b20b6338c0eb74dfa
tree3e085db3fb6f4400069134dac07ac8480045cbf4
parent9fccdb0f64d12bc09a71442dd0af2248c1aa3e89
nspawn: don't accept just any tree to execute

When invoked without -D in an arbitrary directory we should not try to
execute anything, make some validity checks first.
src/nspawn/nspawn.c