Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_setauthid(2) — DG/UX 5.4.2T

Media Vault

Software Library

Restoration Projects

Artifacts Sought



dg_setauthid(2)            C2 Trusted DG/UX 5.4.2T           dg_setauthid(2)


NAME
       dgsetauthid - set the authentication ID of the calling process.

SYNOPSIS
       #include <sys/dgtparms.h>

       int  dgsetauthid (authidt  authid);

   where:
       authid The value to which the calling process's authentication ID is
              to be set.

DESCRIPTION
       The dgsetauthid() system call sets the authentication ID of the
       calling process to authid if and only if its current authentication
       ID is zero and the process has appropriate privilege.

       The value of authid must always be greater than zero and less than or
       equal to MAXUID.

ACCESS CONTROL
       The authentication ID of the calling process must be 0 and the
       process must have appropriate privilege.

RETURN VALUE
       Upon successful completion dgsetauthid() returns a value of 0.
       Otherwise it returns the value -1 and sets errno to indicate an
       error.

ERRORS
       Errno may be set to one of the following error codes:

       EPERM          The request violates the access control restrictions
                      described above.

       EINVAL         The supplied value of authid was less than or equal to
                      zero or greater than MAXUID.

SEE ALSO
       dggetauthid(2)

       Audit System Administrator's Guide for the C2 Trusted DG/UX System















Licensed material--property of copyright holder(s)                         1


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