Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aliastype(1M) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



aliastype(1M)            DG/UX B2 Security R4.12MU02           aliastype(1M)


NAME
       aliastype - return the type of a capability alias expression

SYNOPSIS
       aliastype alias

   where:
       alias  A capability alias expression

DESCRIPTION
       Aliastype takes as input a valid capability alias or expression as
       defined in capaliasdefs(4M).

       Aliastype returns a value corresponding to the expression type (a
       list, a set or a class) represented.

EXAMPLES
       aliastype "(DGCAPCHOWN, DGCAPSETUID)"
       Returns 0 because the alias expression is a caplist.

       aliastype "bound:all"
       Returns 1 because the alias expression is a capset.

       aliastype FULL
       Returns 2 because the alias expression is a capclass (assuming "FULL"
       is defined as a capclass alias in /etc/tcb/cap/capaliasdefs).

FILES
       /etc/tcb/cap/capaliasdefs  System capability alias database

DIAGNOSTICS
       Returns
        0     for a caplist alias expression
        1     for a capset alias expression
        2     for a capclass alias expression
        3     for an invalid alias expression
       -1     on error

SEE ALSO
       capaliasdefs(4M).

NOTE
       If the expression contains any characters that have special meaning
       to the shell (e.g., spaces, commas, semicolons, parentheses, new
       lines, tabs), the expression must be enclosed in quotes.


Licensed material--property of copyright holder(s)

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