PreviousNext

sec_login_init_first(3sec)

Initializes the default context

Synopsis

#include <dce/sec_login.h>

void sec_login_init_first(
error_status_t *status);

Parameters

Output

status
A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.

Description
The sec_login_init_first( ) routine initializes the default context inheritance mechanism. If the default inheritance mechanism is already initialized, the operation fails. Typically, this routine is called by the initial process at machine boot time to initialize the default context inheritance mechanism for the host machine process hierarchy.

Files

/usr/include/dce/sec_login.idl
The idl file from which dce/sec_login.h was derived.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

sec_login_s_default_use
The default context is already initialized.

sec_login_s_privileged
An unprivileged process was called in.

error_status_ok
The call was successful.

Related Information
Functions:

sec_intro(3sec)

sec_login_setup_first(3sec)

sec_login_validate_first(3sec)