[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 09/14] livepatch: Add per-function applied/reverted state tracking marker
> On 21. Aug 2019, at 20:28, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > wrote: > > On 8/21/19 4:19 AM, Pawel Wieczorkiewicz wrote: >> struct livepatch_func { >> const char *name; /* Name of function to be patched. */ >> void *new_addr; >> @@ -834,6 +839,10 @@ struct livepatch_func { >> uint32_t old_size; >> uint8_t version; /* MUST be LIVEPATCH_PAYLOAD_VERSION. */ >> uint8_t opaque[31]; >> +#if defined CONFIG_X86 >> + uint8_t applied; >> + uint8_t _pad[7]; >> +#endif > > Replying here as well. Could you use part of the 'opaque[31]' space instead > for this field? No, as explained earlier, I must not do that. The opaque[] is not a padding. Best Regards, Pawel Wieczorkiewicz Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Ralf Herbrich Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |