Re: [PATCH] x86: override __compiletime_object_size()

2013-11-27 Thread Ingo Molnar
* Jan Beulich wrote: > >>> On 27.11.13 at 15:03, Ingo Molnar wrote: > > > * Jan Beulich wrote: > > > >> As discussed in the context of commits 3df7b41a ("x86: Unify > >> copy_from_user() size checking") and 7a3d9b0f ("x86: Unify > >> copy_to_user() and add size checking to it"), we want to

Re: [PATCH] x86: override __compiletime_object_size()

2013-11-27 Thread Jan Beulich
>>> On 27.11.13 at 15:03, Ingo Molnar wrote: > * Jan Beulich wrote: > >> As discussed in the context of commits 3df7b41a ("x86: Unify >> copy_from_user() size checking") and 7a3d9b0f ("x86: Unify >> copy_to_user() and add size checking to it"), we want to leverage >> __builtin_object_size()

Re: [PATCH] x86: override __compiletime_object_size()

2013-11-27 Thread Ingo Molnar
* Jan Beulich wrote: > As discussed in the context of commits 3df7b41a ("x86: Unify > copy_from_user() size checking") and 7a3d9b0f ("x86: Unify > copy_to_user() and add size checking to it"), we want to leverage > __builtin_object_size() also on newer gcc versions, but with other >

Re: [PATCH] x86: override __compiletime_object_size()

2013-11-27 Thread Ingo Molnar
* Jan Beulich jbeul...@suse.com wrote: As discussed in the context of commits 3df7b41a (x86: Unify copy_from_user() size checking) and 7a3d9b0f (x86: Unify copy_to_user() and add size checking to it), we want to leverage __builtin_object_size() also on newer gcc versions, but with other

Re: [PATCH] x86: override __compiletime_object_size()

2013-11-27 Thread Jan Beulich
On 27.11.13 at 15:03, Ingo Molnar mi...@kernel.org wrote: * Jan Beulich jbeul...@suse.com wrote: As discussed in the context of commits 3df7b41a (x86: Unify copy_from_user() size checking) and 7a3d9b0f (x86: Unify copy_to_user() and add size checking to it), we want to leverage

Re: [PATCH] x86: override __compiletime_object_size()

2013-11-27 Thread Ingo Molnar
* Jan Beulich jbeul...@suse.com wrote: On 27.11.13 at 15:03, Ingo Molnar mi...@kernel.org wrote: * Jan Beulich jbeul...@suse.com wrote: As discussed in the context of commits 3df7b41a (x86: Unify copy_from_user() size checking) and 7a3d9b0f (x86: Unify copy_to_user() and add size

[PATCH] x86: override __compiletime_object_size()

2013-11-25 Thread Jan Beulich
As discussed in the context of commits 3df7b41a ("x86: Unify copy_from_user() size checking") and 7a3d9b0f ("x86: Unify copy_to_user() and add size checking to it"), we want to leverage __builtin_object_size() also on newer gcc versions, but with other architectures still using another model of

[PATCH] x86: override __compiletime_object_size()

2013-11-25 Thread Jan Beulich
As discussed in the context of commits 3df7b41a (x86: Unify copy_from_user() size checking) and 7a3d9b0f (x86: Unify copy_to_user() and add size checking to it), we want to leverage __builtin_object_size() also on newer gcc versions, but with other architectures still using another model of