>>> On 11.08.16 at 12:56, wrote:
> Jan Beulich writes ("Re: [Xen-devel] [PATCH v2 1/3] livepach: Add
> .livepatch.hooks functions and test-case"):
>> On 10.08.16 at 11:46, wrote:
>> > Odd. I've tried this simple example:
>> >
>> >
Jan Beulich writes ("Re: [Xen-devel] [PATCH v2 1/3] livepach: Add
.livepatch.hooks functions and test-case"):
> On 10.08.16 at 11:46, wrote:
> > Odd. I've tried this simple example:
> >
> > typedef int fn_t(void);
...
> > const fn_t**cfn;
Ie,
>>> On 10.08.16 at 11:46, wrote:
> Odd. I've tried this simple example:
>
> typedef int fn_t(void);
>
> struct s {
> unsigned n;
> fn_t**fn;
> fn_t*const*fnc;
> const fn_t**cfn;
> };
>
> int test1(const struct s*ps) {
> unsigned i;
> int rc = 0;
>
> fo
On Wed, Aug 10, 2016 at 03:46:49AM -0600, Jan Beulich wrote:
> >>> On 09.08.16 at 20:01, wrote:
> >> >> > @@ -70,7 +71,11 @@ struct payload {
> >> >> > unsigned int nsyms; /* Nr of entries in .strtab
> >> >> > and
> >> >> > symbols. */
> >> >> > struct livepatch_build_
>>> On 09.08.16 at 20:01, wrote:
>> >> > @@ -70,7 +71,11 @@ struct payload {
>> >> > unsigned int nsyms; /* Nr of entries in .strtab
>> >> > and
>> >> > symbols. */
>> >> > struct livepatch_build_id id;/*
>> >> > ELFNOTE_DESC(.note.gnu.build-id) of the payload
> >> > @@ -70,7 +71,11 @@ struct payload {
> >> > unsigned int nsyms; /* Nr of entries in .strtab
> >> > and
> >> > symbols. */
> >> > struct livepatch_build_id id;/*
> >> > ELFNOTE_DESC(.note.gnu.build-id) of the payload. */
> >> > struct livepatch_build_
On 08/08/16 16:15, Jan Beulich wrote:
On 08.08.16 at 16:10, wrote:
>> On 08/08/16 15:01, Jan Beulich wrote:
>> On 08.08.16 at 15:42, wrote:
On 05/08/16 16:35, Jan Beulich wrote:
On 04.08.16 at 17:49, wrote:
>> In general, the hooks provide flexibility when having to de
>>> On 08.08.16 at 16:10, wrote:
> On 08/08/16 15:01, Jan Beulich wrote:
> On 08.08.16 at 15:42, wrote:
>>> On 05/08/16 16:35, Jan Beulich wrote:
>>> On 04.08.16 at 17:49, wrote:
> In general, the hooks provide flexibility when having to deal with
> unforeseen cases, but their ap
On 08/08/16 15:01, Jan Beulich wrote:
On 08.08.16 at 15:42, wrote:
>> On 05/08/16 16:35, Jan Beulich wrote:
>> On 04.08.16 at 17:49, wrote:
In general, the hooks provide flexibility when having to deal with
unforeseen cases, but their application should be rarely required (<
>>
>>> On 08.08.16 at 15:42, wrote:
> On 05/08/16 16:35, Jan Beulich wrote:
> On 04.08.16 at 17:49, wrote:
>>> In general, the hooks provide flexibility when having to deal with
>>> unforeseen cases, but their application should be rarely required (<
>>> 10%)."
>>
>> But the greater flexibility
On 05/08/16 16:35, Jan Beulich wrote:
On 04.08.16 at 17:49, wrote:
>> In general, the hooks provide flexibility when having to deal with
>> unforeseen cases, but their application should be rarely required (<
>> 10%)."
>
> But the greater flexibility of course comes with increased chances
>
>>> On 05.08.16 at 23:08, wrote:
> On Fri, Aug 05, 2016 at 09:35:49AM -0600, Jan Beulich wrote:
>> >>> On 04.08.16 at 17:49, wrote:
>> > In general, the hooks provide flexibility when having to deal with
>> > unforeseen cases, but their application should be rarely required (<
>> > 10%)."
>>
>>
On Fri, Aug 05, 2016 at 09:35:49AM -0600, Jan Beulich wrote:
> >>> On 04.08.16 at 17:49, wrote:
> > In general, the hooks provide flexibility when having to deal with
> > unforeseen cases, but their application should be rarely required (<
> > 10%)."
>
> But the greater flexibility of course come
>>> On 04.08.16 at 17:49, wrote:
> In general, the hooks provide flexibility when having to deal with
> unforeseen cases, but their application should be rarely required (<
> 10%)."
But the greater flexibility of course comes with increased chances
of screwing things up. I'm therefore still not e
From: Ross Lagerwall
Add hook functions which run during patch apply and patch revert.
Hook functions are used by livepatch payloads to manipulate data
structures during patching, etc.
One use case is the XSA91. As Martin mentions it:
"If we have shadow variables, we also need an unload hook to
15 matches
Mail list logo