11556Srgrimes/* Alpha VMS external format of Protection values. 21556Srgrimes 31556Srgrimes Copyright (C) 2010-2022 Free Software Foundation, Inc. 41556Srgrimes Written by Tristan Gingold <gingold@adacore.com>, AdaCore. 51556Srgrimes 61556Srgrimes This file is part of BFD, the Binary File Descriptor library. 71556Srgrimes 81556Srgrimes This program is free software; you can redistribute it and/or modify 91556Srgrimes it under the terms of the GNU General Public License as published by 101556Srgrimes the Free Software Foundation; either version 3 of the License, or 111556Srgrimes (at your option) any later version. 121556Srgrimes 131556Srgrimes This program is distributed in the hope that it will be useful, 141556Srgrimes but WITHOUT ANY WARRANTY; without even the implied warranty of 151556Srgrimes MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 161556Srgrimes GNU General Public License for more details. 171556Srgrimes 181556Srgrimes You should have received a copy of the GNU General Public License 191556Srgrimes along with this program; if not, write to the Free Software 201556Srgrimes Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 211556Srgrimes MA 02110-1301, USA. */ 221556Srgrimes 231556Srgrimes#ifndef _VMS_PRT_H 241556Srgrimes#define _VMS_PRT_H 251556Srgrimes 261556Srgrimes#define PRT__C_NA 0 /* No access. */ 271556Srgrimes#define PRT__C_RESERVED 1 281556Srgrimes#define PRT__C_KW 2 /* Kernel RW. */ 291556Srgrimes#define PRT__C_KR 3 /* Kernel RO. */ 301556Srgrimes#define PRT__C_UW 4 /* User RW. */ 311556Srgrimes#define PRT__C_EW 5 /* Executive RW. */ 321556Srgrimes#define PRT__C_ERKW 6 /* Executive RO, Kernel RW. */ 331556Srgrimes#define PRT__C_ER 7 /* Executive RO. */ 341556Srgrimes#define PRT__C_SW 8 /* Supervisor RW. */ 3527959Ssteve#define PRT__C_SREW 9 /* Supervisor RO, Executive RW. */ 361556Srgrimes#define PRT__C_SRKW 10 /* Supervisor RO, Kernel RW. */ 371556Srgrimes#define PRT__C_SR 11 /* Supervisor RO. */ 3827964Ssteve#define PRT__C_URSW 12 /* User RO, Supervisor RW. */ 3927964Ssteve#define PRT__C_UREW 13 /* User RO, Executive RW. */ 4027964Ssteve#define PRT__C_URKW 14 /* User RO, Kernel RW. */ 4127964Ssteve#define PRT__C_UR 15 /* User RO. */ 4227964Ssteve 4327964Ssteve#endif /* _VMS_PRT_H */ 4427959Ssteve