Re: [PATCH] Documentation/watchdog: close the fd when cmdline arg given

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Wim,

On Thu, May 17, 2012 at 2:17 PM, Wim Van Sebroeck <wim@xxxxxxxxx> wrote:
> Hi Devendra,
>
>> in the watchdog test code, the ioctl is performed on the watchdog device
>> and just doing exit(0) so we leak a filedescripor.
>>
>> Signed-off-by: Devendra Naga <devendra.aaru@xxxxxxxxx>
>
> Patch added to linux-watchdog-next.
>
> Kind regards,
> Wim.
>

Thanks for taking the patch.

Actually we have a while (1) loop when ever user does ./watchdog-test,
and if ctrl + c is done, we wont close the socket.
i will send the patch sooner to fix this on top this patch.

Thanks,
Devendra.
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux