Re: [RFC 04/10] kmod: provide wrappers for kmod_concurrent inc/dec

2017-05-16 Thread Luis R. Rodriguez
On Wed, Jan 11, 2017 at 09:08:57PM +0100, Luis R. Rodriguez wrote: > On Tue, Jan 10, 2017 at 07:57:10PM +0100, Luis R. Rodriguez wrote: > > On Fri, Dec 16, 2016 at 09:05:00AM +0100, Luis R. Rodriguez wrote: > > > On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: > > > > On Thu

Re: [RFC 04/10] kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-11 Thread Luis R. Rodriguez
On Tue, Jan 10, 2017 at 07:57:10PM +0100, Luis R. Rodriguez wrote: > On Fri, Dec 16, 2016 at 09:05:00AM +0100, Luis R. Rodriguez wrote: > > On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: > > > On Thu 2016-12-08 22:08:59, Luis R. Rodriguez wrote: > > > > On Thu, Dec 08, 2016 at

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-10 Thread Luis R. Rodriguez
On Wed, Dec 21, 2016 at 09:07:21PM -0800, Jessica Yu wrote: > +++ Luis R. Rodriguez [08/12/16 11:48 -0800]: > > diff --git a/kernel/kmod.c b/kernel/kmod.c > > index cb6f7ca7b8a5..049d7eabda38 100644 > > --- a/kernel/kmod.c > > +++ b/kernel/kmod.c > > @@ -108,6 +111,20 @@ static int

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-06 Thread Luis R. Rodriguez
On Wed, Dec 21, 2016 at 08:48:06PM -0800, Jessica Yu wrote: > +++ Luis R. Rodriguez [16/12/16 09:05 +0100]: > > On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: > > > On Thu 2016-12-08 22:08:59, Luis R. Rodriguez wrote: > > > > On Thu, Dec 08, 2016 at 12:29:42PM -0800, Kees Cook wrote:

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2016-12-21 Thread Jessica Yu
+++ Luis R. Rodriguez [08/12/16 11:48 -0800]: kmod_concurrent is used as an atomic counter for enabling the allowed limit of modprobe calls, provide wrappers for it to enable this to be expanded on more easily. This will be done later. Signed-off-by: Luis R. Rodriguez ---

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2016-12-21 Thread Jessica Yu
+++ Luis R. Rodriguez [16/12/16 09:05 +0100]: On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: On Thu 2016-12-08 22:08:59, Luis R. Rodriguez wrote: > On Thu, Dec 08, 2016 at 12:29:42PM -0800, Kees Cook wrote: > > On Thu, Dec 8, 2016 at 11:48 AM, Luis R. Rodriguez

Re: [RFC 04/10] kmod: provide wrappers for kmod_concurrent inc/dec

2016-12-08 Thread Kees Cook
On Thu, Dec 8, 2016 at 11:48 AM, Luis R. Rodriguez wrote: > kmod_concurrent is used as an atomic counter for enabling > the allowed limit of modprobe calls, provide wrappers for it > to enable this to be expanded on more easily. This will be done > later. > > Signed-off-by:

[RFC 04/10] kmod: provide wrappers for kmod_concurrent inc/dec

2016-12-08 Thread Luis R. Rodriguez
kmod_concurrent is used as an atomic counter for enabling the allowed limit of modprobe calls, provide wrappers for it to enable this to be expanded on more easily. This will be done later. Signed-off-by: Luis R. Rodriguez --- kernel/kmod.c | 27 +-- 1