1 1.1 christos /* Alpha VMS external format of Protection values. 2 1.1 christos 3 1.1.1.9 christos Copyright (C) 2010-2026 Free Software Foundation, Inc. 4 1.1 christos Written by Tristan Gingold <gingold (at) adacore.com>, AdaCore. 5 1.1 christos 6 1.1 christos This file is part of BFD, the Binary File Descriptor library. 7 1.1 christos 8 1.1 christos This program is free software; you can redistribute it and/or modify 9 1.1 christos it under the terms of the GNU General Public License as published by 10 1.1 christos the Free Software Foundation; either version 3 of the License, or 11 1.1 christos (at your option) any later version. 12 1.1 christos 13 1.1 christos This program is distributed in the hope that it will be useful, 14 1.1 christos but WITHOUT ANY WARRANTY; without even the implied warranty of 15 1.1 christos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 1.1 christos GNU General Public License for more details. 17 1.1 christos 18 1.1 christos You should have received a copy of the GNU General Public License 19 1.1 christos along with this program; if not, write to the Free Software 20 1.1 christos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 21 1.1 christos MA 02110-1301, USA. */ 22 1.1 christos 23 1.1 christos #ifndef _VMS_PRT_H 24 1.1 christos #define _VMS_PRT_H 25 1.1 christos 26 1.1 christos #define PRT__C_NA 0 /* No access. */ 27 1.1 christos #define PRT__C_RESERVED 1 28 1.1 christos #define PRT__C_KW 2 /* Kernel RW. */ 29 1.1 christos #define PRT__C_KR 3 /* Kernel RO. */ 30 1.1 christos #define PRT__C_UW 4 /* User RW. */ 31 1.1 christos #define PRT__C_EW 5 /* Executive RW. */ 32 1.1 christos #define PRT__C_ERKW 6 /* Executive RO, Kernel RW. */ 33 1.1 christos #define PRT__C_ER 7 /* Executive RO. */ 34 1.1 christos #define PRT__C_SW 8 /* Supervisor RW. */ 35 1.1 christos #define PRT__C_SREW 9 /* Supervisor RO, Executive RW. */ 36 1.1 christos #define PRT__C_SRKW 10 /* Supervisor RO, Kernel RW. */ 37 1.1 christos #define PRT__C_SR 11 /* Supervisor RO. */ 38 1.1 christos #define PRT__C_URSW 12 /* User RO, Supervisor RW. */ 39 1.1 christos #define PRT__C_UREW 13 /* User RO, Executive RW. */ 40 1.1 christos #define PRT__C_URKW 14 /* User RO, Kernel RW. */ 41 1.1 christos #define PRT__C_UR 15 /* User RO. */ 42 1.1 christos 43 1.1 christos #endif /* _VMS_PRT_H */ 44