diff options
author | gww <gww@eng.sun.com> | 2009-06-11 16:21:48 -0700 |
---|---|---|
committer | gww <gww@eng.sun.com> | 2009-06-11 16:21:48 -0700 |
commit | ad355aa08e9604678c01500ffc9c6b83cf0a23cd (patch) | |
tree | b3e8804b3e8167ef95cbb70f7647f961594860c0 /usr/src/lib/libtsol/common/label.h | |
parent | 8b33e2134db3b64f2e6c6eae17656c335ad99add (diff) | |
download | illumos-gate-ad355aa08e9604678c01500ffc9c6b83cf0a23cd.tar.gz |
PSARC/2009/333 str_to_label() update
6845609 str_to_label(3) should be able to verify if the label is within the accreditation range
Diffstat (limited to 'usr/src/lib/libtsol/common/label.h')
-rw-r--r-- | usr/src/lib/libtsol/common/label.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/lib/libtsol/common/label.h b/usr/src/lib/libtsol/common/label.h index a6639c8339..2f935300a1 100644 --- a/usr/src/lib/libtsol/common/label.h +++ b/usr/src/lib/libtsol/common/label.h @@ -205,9 +205,11 @@ typedef enum _m_label_type { #define L_DEFAULT 0x0 #define L_MODIFY_EXISTING 0x1 /* start parsing with existing label */ #define L_NO_CORRECTION 0x2 /* must be correct by l_e rules */ +#define L_CHECK_AR 0x10 /* must be in l_e AR */ /* EINVAL sub codes */ +#define M_OUTSIDE_AR -4 /* not in l_e AR */ #define M_BAD_STRING -3 /* DIA L_BAD_LABEL */ /* bad requested label type, bad previous label type */ #define M_BAD_LABEL -2 /* DIA L_BAD_CLASSIFICATION, */ |