189857Sobrien/* Alpha VMS external format of Protection values.
260484Sobrien
360484Sobrien   Copyright (C) 2010-2020 Free Software Foundation, Inc.
460484Sobrien   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
560484Sobrien
660484Sobrien   This file is part of BFD, the Binary File Descriptor library.
760484Sobrien
860484Sobrien   This program is free software; you can redistribute it and/or modify
960484Sobrien   it under the terms of the GNU General Public License as published by
1060484Sobrien   the Free Software Foundation; either version 3 of the License, or
1160484Sobrien   (at your option) any later version.
1260484Sobrien
1360484Sobrien   This program is distributed in the hope that it will be useful,
1460484Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1560484Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1660484Sobrien   GNU General Public License for more details.
1760484Sobrien
1860484Sobrien   You should have received a copy of the GNU General Public License
1989857Sobrien   along with this program; if not, write to the Free Software
2089857Sobrien   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
2189857Sobrien   MA 02110-1301, USA.  */
2289857Sobrien
2389857Sobrien#ifndef _VMS_PRT_H
2489857Sobrien#define _VMS_PRT_H
2589857Sobrien
2689857Sobrien#define PRT__C_NA	0	/* No access.  */
2789857Sobrien#define PRT__C_RESERVED 1
2889857Sobrien#define PRT__C_KW	2	/* Kernel RW.  */
2989857Sobrien#define PRT__C_KR	3	/* Kernel RO. */
3089857Sobrien#define PRT__C_UW	4	/* User RW.  */
3189857Sobrien#define PRT__C_EW	5	/* Executive RW.  */
3289857Sobrien#define PRT__C_ERKW	6	/* Executive RO, Kernel RW.  */
3389857Sobrien#define PRT__C_ER	7	/* Executive RO.  */
3489857Sobrien#define PRT__C_SW	8	/* Supervisor RW.  */
3560484Sobrien#define PRT__C_SREW	9	/* Supervisor RO, Executive RW.  */
3660484Sobrien#define PRT__C_SRKW	10	/* Supervisor RO, Kernel RW.  */
3760484Sobrien#define PRT__C_SR	11	/* Supervisor RO.  */
3860484Sobrien#define PRT__C_URSW	12	/* User RO, Supervisor RW.  */
3989857Sobrien#define PRT__C_UREW	13	/* User RO, Executive RW.  */
4089857Sobrien#define PRT__C_URKW	14	/* User RO, Kernel RW.  */
4189857Sobrien#define PRT__C_UR	15	/* User RO.  */
4260484Sobrien
4360484Sobrien#endif /* _VMS_PRT_H */
4460484Sobrien