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