Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dg_has_priv_euid(1)

dg_has_priv_ruid(3)

dg_running_with(3C)



dg_has_priv_ruid(1)              DG/UX R4.11             dg_has_priv_ruid(1)


NAME
       dg_has_priv_ruid - check for appropriate privilege based on RUID

SYNOPSIS
       dg_has_priv_ruid event_name

DESCRIPTION
       The dg_has_priv_ruid routine determines whether the calling process
       has appropriate privilege to satisfy the event specified by
       event_name.

       On systems where the capability feature is present, appropriate
       privilege is determined by comparing the effective capability set of
       the calling process with the capability list associated with the
       specified event.  The process has appropriate privilege if the
       capability list is a subset of the effective capability set.

       On systems where the capability feature is absent, the calling
       process has appropriate privilege if its real UID is 0.

FILES
       /etc/tcb/cap/events  Location of event definitions

DIAGNOSTICS
   Return Values
         0    The specified event requires privilege, and the calling
              process does not have appropriate privilege.

         1    The specified event requires privilege, and the calling
              process has appropriate privilege.

         2    The specified event does not require privilege.

SEE ALSO
       dg_has_priv_euid(1), dg_has_priv_ruid(3), dg_running_with(3C).


Licensed material--property of copyright holder(s)

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