Jan Engelhardt writes:
> On Monday 2013-09-16 05:47, Rusty Russell wrote:
>>
>>Here's what I've got in my pending-rebases tree.
>>
>>@@ -842,6 +818,11 @@ SYSCALL_DEFINE2(delete_module, const char __user *,
>>name_user,
>> return -EFAULT;
>> name[MODULE_NAME_LEN-1] = '\0';
>>
>>
On Monday 2013-09-16 05:47, Rusty Russell wrote:
>
>Here's what I've got in my pending-rebases tree.
>
>@@ -842,6 +818,11 @@ SYSCALL_DEFINE2(delete_module, const char __user *,
>name_user,
> return -EFAULT;
> name[MODULE_NAME_LEN-1] = '\0';
>
>+ if (!(flags & O_NONBLOCK)
On Mon, Sep 16, 2013 at 12:47 AM, Rusty Russell wrote:
> Lucas De Marchi writes:
>> On Thu, Sep 12, 2013 at 9:30 PM, Rusty Russell wrote:
>>> Peter Chen writes:
Currently, if module's refcount is not zero during the unload,
it waits there until the user decreases that refcount.
>>>
>>
Lucas De Marchi writes:
> On Thu, Sep 12, 2013 at 9:30 PM, Rusty Russell wrote:
>> Peter Chen writes:
>>> Currently, if module's refcount is not zero during the unload,
>>> it waits there until the user decreases that refcount.
>>
>> Hi Peter,
>>
>> In practice userspace uses O_NONBLOCK.
On Thu, Sep 12, 2013 at 9:30 PM, Rusty Russell wrote:
> Peter Chen writes:
>> Currently, if module's refcount is not zero during the unload,
>> it waits there until the user decreases that refcount.
>
> Hi Peter,
>
> In practice userspace uses O_NONBLOCK. In fact, I've been
> thinking of
On Fri, Sep 13, 2013 at 10:00:33AM +0930, Rusty Russell wrote:
> Peter Chen writes:
> > Currently, if module's refcount is not zero during the unload,
> > it waits there until the user decreases that refcount.
>
> Hi Peter,
>
> In practice userspace uses O_NONBLOCK. In fact, I've been
>
Peter Chen writes:
> Currently, if module's refcount is not zero during the unload,
> it waits there until the user decreases that refcount.
Hi Peter,
In practice userspace uses O_NONBLOCK. In fact, I've been
thinking of removing the blocking case altogether, since it's not really
what
Currently, if module's refcount is not zero during the unload,
it waits there until the user decreases that refcount. Assume
we have two modules (A & B), there are no symbol relationship
between each other. module B is module A's user, if the end
user tries to unload module A first wrongly, it will
8 matches
Mail list logo