provides control for basic administrative functions.
This system call is tightly coupled to the system administrative procedures
and is not intended for general use.
The calling process must have the P_SYSOPS privilege.
is provided for machine-dependent use;
for example, see A_SETCONFIG, below.
can take on one of the following values:
The system is shut down.
All user processes are killed, the buffer cache is flushed, and the root
file system is unmounted.
The action to be taken after the system has been shut down is specified by
The functions are generic;
the hardware capabilities vary on
Halt the processor and turn off the power.
Reboot the system, using /stand/unix.
Interactive reboot; the system goes to firmware mode and,
if the user strikes any key immediately after Booting UnixWare... is displayed,
the system prompts for a bootable program name.
If fcn is not supplied or is invalid, AD_IBOOT is used as
The system stops immediately without any further processing.
The action to be taken next is specified by
The root file system is mounted again after having been fixed.
This should be used only during the startup process.
The argument fcn is the number of
seconds to adjust the clock.
Currently this command supports the single function
which determines the system's behavior following a system panic.
If mdep is 1,
the system will automatically reboot following a panic;
if mdep is 0,
the system will remain in firmware mode following a panic.
If uadmin succeeds, it returns a value that depends on
If uadmin fails, it returns -1 and sets errno
to identify the error.
fails if any of the following are true:
The calling process does not have the P_SYSOPS privilege.