Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ security(3) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

security(3)  —  LIBRARY FUNCTIONS

NAME

security − get the state of the kernel security features

SYNOPSIS

#include <sys/syssec.h>
 int state = security (void);
 

DESCRIPTION

The security system call is used to determine what level of security, if any, is in the kernel.  The system call will set the state variable to one of the following:

    SEC_NONE
The security package has not been installed.

    SEC_C2
The kernel contains C2 level security.

    SEC_B1
The kernel contains B1 level security.

    SEC_CMW
The kernel contains CMW level security.

DIAGNOSTICS

Upon successful completion, the security state is returned.  Otherwise, a value of −1 is returned and errno is set to indicate the error. 

(Security Enhancement)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026