platform_external_selinux/mcstrans/utils/callgrind-mcstransd
Stephen Smalley 4cc808671a Move policycoreutils/mcstrans to mcstrans.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2016-11-16 11:19:50 -05:00

5 lines
207 B
Bash

#!/bin/bash
service mcstrans stop
cd ~root
runcon -u system_u -r system_r -t setrans_t -l s15:c0.c1023 -- valgrind --tool=callgrind /usr/src/redhat/BUILD/*/src/mcstransd
run_init /etc/init.d/mcstrans start