aboutsummaryrefslogtreecommitdiff
path: root/scripts/netjail/netjail_exec.sh
blob: 34edf56bf080c4995281344ce179eef3a9342b1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
. "$(dirname $0)/netjail_core.sh"

set -eu
set -x

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

M=$1
N=$2

NODE=$6

#netjail_node_exec_without_fds_and_sudo $NODE valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --trace-children=yes $3 $4 $5 $1 $2 $7 $8
netjail_node_exec_without_fds_and_sudo $NODE $3 $4 $5 $1 $2 $7 $8