File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8760,18 +8760,18 @@ pub const MAP = switch (native_os) {
8760
8760
},
8761
8761
// https://github.com/SerenityOS/serenity/blob/6d59d4d3d9e76e39112842ec487840828f1c9bfe/Kernel/API/POSIX/sys/mman.h#L16-L26
8762
8762
.serenity = > packed struct (c_int ) {
8763
- FILE : bool = false ,
8764
- SHARED : bool = false ,
8765
- PRIVATE : bool = false ,
8766
- _3 : u2 = 0 ,
8763
+ TYPE : enum ( u4 ) {
8764
+ SHARED = 0x01 ,
8765
+ PRIVATE = 0x02 ,
8766
+ } ,
8767
8767
FIXED : bool = false ,
8768
8768
ANONYMOUS : bool = false ,
8769
8769
STACK : bool = false ,
8770
8770
NORESERVE : bool = false ,
8771
8771
RANDOMIZED : bool = false ,
8772
8772
PURGEABLE : bool = false ,
8773
8773
FIXED_NOREPLACE : bool = false ,
8774
- _ : std .meta .Int (.unsigned , @bitSizeOf (c_int ) - 12 ) = 0 ,
8774
+ _ : std .meta .Int (.unsigned , @bitSizeOf (c_int ) - 11 ) = 0 ,
8775
8775
},
8776
8776
else = > void ,
8777
8777
};
You can’t perform that action at this time.
0 commit comments