VEXEC(4)                  OpenBSD Programmer's Manual                 VEXEC(4)

NAME
     vexec - Vexec pseudo-device

SYNOPSIS
     pseudo-device vexec

DESCRIPTION
     The vexec pseudo-device is used to interface the kernel's Vexec data-
     structures.  For now, loading is the only operation it supports. Loading
     can be done only when the machine is in single-user mode.

     The parameters passed to the device include the file to which the new en-
     try references, the fingerprint type and the fingerprint itself, and ac-
     cess specifications. These are described by the following structure, de-
     fined in /usr/include/sys/vexec.h:

     struct vexec_params {
         u_char vxp_type;             /* Entry type. */
         u_char vxp_fptype;           /* Hash type. */
         u_char vxp_file[MAXPATHLEN]; /* Filename. */
         u_char vxp_fp[FPLEN_MAX];    /* Fingerprint. */
     };

     As mentioned, the only operation this pseudo-device is supporting now is
     loading, and the respective ioctl request for loading is VEXEC_LOAD.

SEE ALSO
     vexecctl(8), vexec.conf(5), stephanie(7)

AUTHORS
     br1an <brian@ethernet.org> wrote and maintains Vexec and Stephanie for
     OpenBSD 3.6.

                               September 1, 2004                             1