]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc/idl:conditional_ace: make a flags field 32 bit
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 10 Nov 2023 01:24:48 +0000 (14:24 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Nov 2023 22:37:31 +0000 (22:37 +0000)
This allows it to align with
CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1.flags, with which it shares
values and will soon share more.

It was 16 bit because we needed few flags, and at one point .type was
8 bit, so 16 bits packed nicely into a smaller struct.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/conditional_ace.idl

index 5842c7dddcbd5296b691679d43b392b71fdb2f92..783336cbc658a6fd87bf8e2a38e11f363a2fe84b 100644 (file)
@@ -377,7 +377,7 @@ interface conditional_ace
         */
        typedef [public] struct {
                [switch_is(type)] ace_condition_token_data data;
-               uint16 flags;
+               uint32 flags;
                token_type type;
        } ace_condition_token;