| |
DescriptionThe Discrim key enables the holder to discern certain information concerning the type and discretion of other keys.
Operations- Check Alleged Key Type (OC = KT)
Returns the alleged type of the key. | Reply | R1 | AKT_Discrim: Key is a discrim key | | Result | RC_OK | Operation completed successfully. |
- Classify (OC = OC_Discrim_Classify (1))
Returns the category of the passed key. | Request | SK0 | The key to be classified. | | Reply | R1 | Discrim_Class_Void | SK0 is a void key | | Discrim_Class_Number | SK0 is a number key | | Discrim_Class_Resume | SK0 is a resume key. | | Discrim_Class_Memory | SK0 is a page, node, address space, or sense key. | | Discrim_Class_Sched | SK0 is a schedule key. | | Discrim_Class_Other | SK0 is some other type of key. | | Result | RC_OK | Operation completed successfully. |
- Verify Discretion (OC = OC_Discrim_Verify (2))
Determines whether the key in question is capable of leaking information: | Request | SK0 | The key to be checked. | | Reply | R1 | 0: Key is some other key. | 1: Key is one of the following, which are discrete:- A read-only page key
- A read-only, no-call segment key
- A sense key
- A number key
- The discrim key
- The void key
| | Result | RC_OK | Operation completed successfully. |
- Compare Keys (OC = OC_Discrim_Compare (3))
Determines whether two keys are identical. | Request | SK0, SK1 | The keys to be compared. | | Reply | R1 | 0: Keys are different. | | 1: Keys are identical. | | Result | RC_OK | Operation completed successfully. |
Copyright 2001 by Jonathan Shapiro. All rights reserved. For terms of redistribution, see the GNU General Public License | |