| 1 | /* |
| 2 | * The code here is forced by the interface, and is not subject to |
| 3 | * copyright, constituting the only possible expression of the |
| 4 | * algorithm in this format. |
| 5 | */ |
| 6 | #define CHP$_END 0 |
| 7 | #define CHP$_ACCESS 1 |
| 8 | #define CHP$_FLAGS 2 |
| 9 | #define CHP$_PRIV 3 |
| 10 | #define CHP$_ACMODE 4 |
| 11 | #define CHP$_ACCLASS 5 |
| 12 | #define CHP$_RIGHTS 6 |
| 13 | #define CHP$_ADDRIGHTS 7 |
| 14 | #define CHP$_MODE 8 |
| 15 | #define CHP$_MODES 9 |
| 16 | #define CHP$_MINCLASS 10 |
| 17 | #define CHP$_MAXCLASS 11 |
| 18 | #define CHP$_OWNER 12 |
| 19 | #define CHP$_PROT 13 |
| 20 | #define CHP$_ACL 14 |
| 21 | #define CHP$_AUDITNAME 15 |
| 22 | #define CHP$_ALARMNAME 16 |
| 23 | #define CHP$_MATCHEDACE 17 |
| 24 | #define CHP$_PRIVUSED 18 |
| 25 | #define CHP$_MAX_CODE 19 |
| 26 | #define CHP$M_SYSPRV 1 |
| 27 | #define CHP$M_BYPASS 2 |
| 28 | #define CHP$M_UPGRADE 4 |
| 29 | #define CHP$M_DOWNGRADE 8 |
| 30 | #define CHP$M_GRPPRV 16 |
| 31 | #define CHP$M_READALL 32 |
| 32 | #define CHP$V_SYSPRV 0 |
| 33 | #define CHP$V_BYPASS 1 |
| 34 | #define CHP$V_UPGRADE 2 |
| 35 | #define CHP$V_DOWNGRADE 3 |
| 36 | #define CHP$V_GRPPRV 4 |
| 37 | #define CHP$V_READALL 5 |
| 38 | #define CHP$M_READ 1 |
| 39 | #define CHP$M_WRITE 2 |
| 40 | #define CHP$M_USEREADALL 4 |
| 41 | #define CHP$V_READ 0 |
| 42 | #define CHP$V_WRITE 1 |
| 43 | #define CHP$V_USEREADALL 2 |
| 44 | |
| 45 | /* arch-tag: a7117984-e927-4f8e-932e-35d5fd524f12 |
| 46 | (do not change this comment) */ |