diff options
| author | James Morris <james.l.morris@oracle.com> | 2015-08-06 23:27:58 -0400 |
|---|---|---|
| committer | James Morris <james.l.morris@oracle.com> | 2015-08-06 23:27:58 -0400 |
| commit | 459c15e53cf7e4e88a78ecfb109af5a267c5500a (patch) | |
| tree | f8694c070ed2f2d45cf1dc9856aa368f0ae289de /include/linux | |
| parent | 730daa164e7c7e31c08fab940549f4acc3329432 (diff) | |
| parent | 233ce79db4b23a174bcf30bde5d6ad913d5f46d3 (diff) | |
Merge tag 'asn1-fixes-20150805' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/asn1_ber_bytecode.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/include/linux/asn1_ber_bytecode.h b/include/linux/asn1_ber_bytecode.h index 945d44ae529c..ab3a6c002f7b 100644 --- a/include/linux/asn1_ber_bytecode.h +++ b/include/linux/asn1_ber_bytecode.h | |||
| @@ -45,23 +45,27 @@ enum asn1_opcode { | |||
| 45 | ASN1_OP_MATCH_JUMP = 0x04, | 45 | ASN1_OP_MATCH_JUMP = 0x04, |
| 46 | ASN1_OP_MATCH_JUMP_OR_SKIP = 0x05, | 46 | ASN1_OP_MATCH_JUMP_OR_SKIP = 0x05, |
| 47 | ASN1_OP_MATCH_ANY = 0x08, | 47 | ASN1_OP_MATCH_ANY = 0x08, |
| 48 | ASN1_OP_MATCH_ANY_OR_SKIP = 0x09, | ||
| 48 | ASN1_OP_MATCH_ANY_ACT = 0x0a, | 49 | ASN1_OP_MATCH_ANY_ACT = 0x0a, |
| 50 | ASN1_OP_MATCH_ANY_ACT_OR_SKIP = 0x0b, | ||
| 49 | /* Everything before here matches unconditionally */ | 51 | /* Everything before here matches unconditionally */ |
| 50 | 52 | ||
| 51 | ASN1_OP_COND_MATCH_OR_SKIP = 0x11, | 53 | ASN1_OP_COND_MATCH_OR_SKIP = 0x11, |
| 52 | ASN1_OP_COND_MATCH_ACT_OR_SKIP = 0x13, | 54 | ASN1_OP_COND_MATCH_ACT_OR_SKIP = 0x13, |
| 53 | ASN1_OP_COND_MATCH_JUMP_OR_SKIP = 0x15, | 55 | ASN1_OP_COND_MATCH_JUMP_OR_SKIP = 0x15, |
| 54 | ASN1_OP_COND_MATCH_ANY = 0x18, | 56 | ASN1_OP_COND_MATCH_ANY = 0x18, |
| 57 | ASN1_OP_COND_MATCH_ANY_OR_SKIP = 0x19, | ||
| 55 | ASN1_OP_COND_MATCH_ANY_ACT = 0x1a, | 58 | ASN1_OP_COND_MATCH_ANY_ACT = 0x1a, |
| 59 | ASN1_OP_COND_MATCH_ANY_ACT_OR_SKIP = 0x1b, | ||
| 56 | 60 | ||
| 57 | /* Everything before here will want a tag from the data */ | 61 | /* Everything before here will want a tag from the data */ |
| 58 | #define ASN1_OP__MATCHES_TAG ASN1_OP_COND_MATCH_ANY_ACT | 62 | #define ASN1_OP__MATCHES_TAG ASN1_OP_COND_MATCH_ANY_ACT_OR_SKIP |
| 59 | 63 | ||
| 60 | /* These are here to help fill up space */ | 64 | /* These are here to help fill up space */ |
| 61 | ASN1_OP_COND_FAIL = 0x1b, | 65 | ASN1_OP_COND_FAIL = 0x1c, |
| 62 | ASN1_OP_COMPLETE = 0x1c, | 66 | ASN1_OP_COMPLETE = 0x1d, |
| 63 | ASN1_OP_ACT = 0x1d, | 67 | ASN1_OP_ACT = 0x1e, |
| 64 | ASN1_OP_RETURN = 0x1e, | 68 | ASN1_OP_MAYBE_ACT = 0x1f, |
| 65 | 69 | ||
| 66 | /* The following eight have bit 0 -> SET, 1 -> OF, 2 -> ACT */ | 70 | /* The following eight have bit 0 -> SET, 1 -> OF, 2 -> ACT */ |
| 67 | ASN1_OP_END_SEQ = 0x20, | 71 | ASN1_OP_END_SEQ = 0x20, |
| @@ -76,6 +80,8 @@ enum asn1_opcode { | |||
| 76 | #define ASN1_OP_END__OF 0x02 | 80 | #define ASN1_OP_END__OF 0x02 |
| 77 | #define ASN1_OP_END__ACT 0x04 | 81 | #define ASN1_OP_END__ACT 0x04 |
| 78 | 82 | ||
| 83 | ASN1_OP_RETURN = 0x28, | ||
| 84 | |||
| 79 | ASN1_OP__NR | 85 | ASN1_OP__NR |
| 80 | }; | 86 | }; |
| 81 | 87 | ||
