Re: [Patch v3 06/13] mm: Pass task instead of task->mm as argument to set_dumpable

2018-10-19 Thread Peter Zijlstra
On Wed, Oct 17, 2018 at 10:59:34AM -0700, Tim Chen wrote: > Change the argument to set_dumpable from task->mm to task. This allows us > to later add hooks to modify a task's property according to whether it is > a non-dumpable task. Non dumpable tasks demand a higher level of security. > Changes t

Re: [Patch v3 06/13] mm: Pass task instead of task->mm as argument to set_dumpable

2018-10-18 Thread Thomas Gleixner
On Wed, 17 Oct 2018, Tim Chen wrote: > Change the argument to set_dumpable from task->mm to task. This allows us > to later add hooks to modify a task's property according to whether it is > a non-dumpable task. Non dumpable tasks demand a higher level of security. > Changes the dumpable value fr

[Patch v3 06/13] mm: Pass task instead of task->mm as argument to set_dumpable

2018-10-17 Thread Tim Chen
Change the argument to set_dumpable from task->mm to task. This allows us to later add hooks to modify a task's property according to whether it is a non-dumpable task. Non dumpable tasks demand a higher level of security. Changes the dumpable value from in to unsigned int as negative number is no