tty: introduce no_tty and use it in selinux