Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread kbuild test robot
Hi Kees, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc7 next-20160920] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread Kees Cook
On Tue, Sep 20, 2016 at 7:31 PM, Fengguang Wu wrote: > Hi Kees, > > On Tue, Sep 20, 2016 at 04:17:36PM -0700, Kees Cook wrote: >> >> On Mon, Sep 19, 2016 at 10:48 PM, kbuild test robot wrote: >>> >>> Hi Kees, >>> >>> [auto build test WARNING on linus/master] >>> [also build test WARNING on v4.8-r

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread Fengguang Wu
Hi Kees, On Tue, Sep 20, 2016 at 04:17:36PM -0700, Kees Cook wrote: On Mon, Sep 19, 2016 at 10:48 PM, kbuild test robot wrote: Hi Kees, [auto build test WARNING on linus/master] [also build test WARNING on v4.8-rc7 next-20160919] Hah, and here I thought if I didn't mark it with "[PATCH]" 0-

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread Linus Torvalds
On Tue, Sep 20, 2016 at 5:31 PM, Kees Cook wrote: > > trace-cmd seemed to break for me (lost one of the CPU buffers?), so I > just did this manually: > > # echo __skip_check_object_size > set_ftrace_filter > # echo __check_object_size >> set_ftrace_filter > # echo 1 > function_profile_enabled > ..

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread Kees Cook
On Tue, Sep 20, 2016 at 7:19 AM, Josh Poimboeuf wrote: > On Mon, Sep 19, 2016 at 09:58:39PM -0700, Kees Cook wrote: >> Hi, >> >> Al had asked me a couple weeks back what the ratio of const vs dynamic >> usercopying was. With Josh's cleanup and my fix-up to only call the >> hardened usercopy when n

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread Kees Cook
On Mon, Sep 19, 2016 at 10:48 PM, kbuild test robot wrote: > Hi Kees, > > [auto build test WARNING on linus/master] > [also build test WARNING on v4.8-rc7 next-20160919] Hah, and here I thought if I didn't mark it with "[PATCH]" 0-day would skip it! ;) Is there a way to mark "just FYI" patches t

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread Josh Poimboeuf
On Mon, Sep 19, 2016 at 09:58:39PM -0700, Kees Cook wrote: > Hi, > > Al had asked me a couple weeks back what the ratio of const vs dynamic > usercopying was. With Josh's cleanup and my fix-up to only call the > hardened usercopy when non-const, I can actually gather these statistics > on a build.

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-19 Thread kbuild test robot
Hi Kees, [auto build test WARNING on linus/master] [also build test WARNING on v4.8-rc7 next-20160919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record w

[INFO] ratio of const vs dynamic usercopy

2016-09-19 Thread Kees Cook
Hi, Al had asked me a couple weeks back what the ratio of const vs dynamic usercopying was. With Josh's cleanup and my fix-up to only call the hardened usercopy when non-const, I can actually gather these statistics on a build. It's a bit of a hack (see attached patch that should not go into the t