run_shell: code shrink for selinux