iscomsec(2) iscomsec(2)
NAME [Toc] [Back]
iscomsec - check if the system has been converted to a trusted system.
SYNOPSIS [Toc] [Back]
#include <prot.h>
int iscomsec();
DESCRIPTION [Toc] [Back]
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 [Toc] [Back]
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 [Toc] [Back]
In a multithreaded application, iscomsec() is thread-safe. It is not
async-cancel-safe.
AUTHOR [Toc] [Back]
iscomsec was developed by HP.
FILES [Toc] [Back]
/tcb/files/auth/system/default Trusted system
default file
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: Sep 2004 [ Back ] |