Home
last modified time | relevance | path

Searched refs:old_tty_ctx (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssh/openbsd-compat/
H A Dport-linux.c147 char *new_tty_ctx = NULL, *user_ctx = NULL, *old_tty_ctx = NULL; in ssh_selinux_setup_pty() local
159 if (getfilecon(tty, &old_tty_ctx) == -1) { in ssh_selinux_setup_pty()
167 if (security_compute_relabel(user_ctx, old_tty_ctx, in ssh_selinux_setup_pty()
179 if (old_tty_ctx != NULL) in ssh_selinux_setup_pty()
180 freecon(old_tty_ctx); in ssh_selinux_setup_pty()