summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
authorLauri Võsandi <lauri.vosandi@gmail.com>2015-04-19 14:46:28 +0300
committerDavid Sterba <dsterba@suse.cz>2015-04-24 15:42:05 +0200
commit9a86668071e77b2da0173b8921153de4d7ba99d8 (patch)
treeae76c78a8f776f1815a4824817a52ce64d2b8bcb /cmds-restore.c
parent7732e6ef62159cc942897df0a358b784b62658c1 (diff)
btrfs-progs: optionally enforce chroot for btrfs receive
This patch forces btrfs receive to issue chroot before parsing the btrfs stream using command-line flag -C to confine the process and minimize damage that could be done via malicious btrfs stream. Signed-off-by: Lauri Võsandi <lauri.vosandi@gmail.com> [added long option variant, added docs] Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions