diff options
Diffstat (limited to 'darwin-bootstrap/substituted-messages.h')
-rw-r--r-- | darwin-bootstrap/substituted-messages.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/darwin-bootstrap/substituted-messages.h b/darwin-bootstrap/substituted-messages.h index 62b92b3..04a3378 100644 --- a/darwin-bootstrap/substituted-messages.h +++ b/darwin-bootstrap/substituted-messages.h @@ -22,7 +22,9 @@ struct substituted_msg_body_hello_resp { int error; }; -/* bundle_list: a bunch of substituted_bundle_list_ops */ +/* bundle_list: a bunch of substituted_bundle_list_ops + * this is pretty silly because even low-level bootstrap_lookup uses xpc now - + * so could have just used xpc structures - but this is more fun */ enum substituted_bundle_list_opc { SUBSTITUTED_TEST_BUNDLE, @@ -34,4 +36,4 @@ struct substituted_bundle_list_op { uint16_t namelen; uint8_t opc; /* char name[namelen + 1]; */ -}; +} __attribute__((packed)); |