Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ checkdata(S) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     CHECK_DATA(S)             UNIX System V             CHECK_DATA(S)



     Name
          check_basic_data_structures - verify machine is suitable for
          security port

     Syntax
          #include <sys/types.h>
          #include <sys/security.h>
          #include <sys/audit.h>
          #include <prot.h>

          void check_basic_data_structures ()

     Description
          This routine is used to make sure the compiler and
          underlying architecture support constructs in the way
          expected by the secure UNIX port.  Although every possible
          check cannot be made, enough checking is done to provide
          some degree of assurance that a machine/UNIX combination
          will not break assumptions built into the port.

          Compiler checking verifies relationships between longs and
          shorts, chars and shorts, ...  The padding in structures and
          arrangement of fields within structures is also checked.

          Architectural checking identifies basic data units on the
          machine.  The size of shorts and longs, as well as the
          default size of an int is tested, as well as other
          relationships.

     Notes
          It is intended that this routine is to be expanded to
          support new architectures as they are tested with the port.
          This routine should catch problems, if not merely identify
          possible areas for consideration, before the port is
          operational.  In security ports, any such guards are useful
          so that a buggy system can be avoided before it causes
          security breaches.

     Value Added
          check_basic_data_structures is an extension of AT&T System V
          provided by the Santa Cruz Operation.



                                                (printed 6/20/89)



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