[TUHS] Unix use of VAX protection modes

Clem Cole via TUHS tuhs at tuhs.org
Wed Jan 21 09:10:47 AEST 2026


Paul for the Vax, 32V, the Vax based BSD's, Ultrix32 all used kernel and
user.  The original PDP-11's worked that way also.  But with 2.11BSD, the
networking code was moved into the supervisor (11's only have 3 possible
modes).  This was done for address space reasons.  It's a nice piece of
work.

On Tue, Jan 20, 2026 at 2:48 PM Paul Winalski via TUHS <tuhs at tuhs.org>
wrote:

> The discussion of the history of virtual addressing in Unix called to my
> mind a related question:
>
> The VAX has four protection modes, from lowest to highest in privilege:
> user, supervisor, executive, kernel.  Access to certain instructions and
> hardware data structures can only be done from kernel mode.  User mode is
> of course intended for use by non-privileged code and data.  The VAX/VMS
> Digital Command Language (DCL) command interpreter ran in supervisor mode.
> Record Management Services (RMS, the primary way to access disk files) ran
> in executive mode.  The kernel, device drivers, hardware interrupt
> handlers, etc. ran in kernel mode.
>
> Obviously Unix user-mode process code and data ran in user mode.  Likewise
> the parts of the kernel that had to access privileged bits of the hardware
> (such as device drivers) must have run in kernel mode.
>
> My question is, did Unix make any use of either supervisor or executive
> mode on the VAX?
>
> -Paul W.
>


More information about the TUHS mailing list