Function: tramp-remote-selinux-p

tramp-remote-selinux-p is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-remote-selinux-p VEC)

Documentation

Check, whether SELinux is enabled on the remote host.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-remote-selinux-p (vec)
  "Check, whether SELinux is enabled on the remote host."
  (with-tramp-connection-property (tramp-get-process vec) "selinux-p"
    (tramp-send-command-and-check vec "selinuxenabled")))