]> granicus.if.org Git - zfs/commitdiff
Fix zfsctl_snapshot_{,un}mount() issues
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Oct 2016 16:56:28 +0000 (09:56 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2016 16:56:28 +0000 (09:56 -0700)
Fix use after free in zfsctl_snapshot_unmount(). Use /usr/bin/env
instead of /bin/sh to fix a shell code injection flaw and allow use
with grsecurity.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov
Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Stian Ellingsen <stian@plaimi.net>
Closes #5250
Closes #4377


Trivial merge