selinux_check_securetty_context(3)

selinux_check_securetty_context3

Check whether a selinux tty security context is defined as a securetty context

Usage

#include <selinux/selinux.h>

int selinux_check_securetty_context(const char *tty_context);

Overview

selinux_check_securetty_context() returns 0 if tty_context is a securetty context, returns < 0 otherwise.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0–7
  2. 8–9
  3. 10–12
  4. 13

From libselinux1-dev 3.8.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.