NAME
iscomsec() — check if system has been converted to a trusted system
SYNOPSIS
#include <prot.h>
int iscomsec();
DESCRIPTION
iscomsec
returns a zero (0) if the system is not a trusted system.
If the system has been converted to a trusted system,
iscomsec
returns a one (1).
Notes
iscomsec
determines if the system is a trusted system or not by checking the file,
/tcb/files/auth/system/default.
If the file exists, then the system is a trusted system. If the file does
not exist, then the system is not a trusted system.
On a trusted system,
/tcb/files/auth/system/default
should never be deleted.
Programs using this routine must be compiled with
-lsec.
APPLICATION USAGE
In a multithreaded application,
iscomsec()
is thread-safe.
It is not async-cancel-safe.
WARNINGS
HP-UX 11i Version 3 is the last release to support
trusted systems functionality.
AUTHOR
iscomsec
was developed by HP.
FILES
- /tcb/files/auth/system/default
Trusted system default file