lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 13 Apr 2010 08:56:25 +0200
From:	Stefan Agner <stefan@...er.ch>
To:	Thomas Gleixner <tglx@...utronix.de>
Cc:	linux-rt-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: I attached a test module to reproduce this bug. Does I miss
	something in my code or is there a bug?

Hi Thomas,

Quoting Thomas Gleixner <tglx@...utronix.de>:
> please use short and descriptive subject lines. "I attached a test
> module to reproduce this bug ..." does not tell anything.
>
> On Mon, 12 Apr 2010, Stefan Agner wrote:
>
>> Unable to handle kernel paging request at kthread_should_stop
>
> That would have been the real subject line :)
In fact this was my intended Subject line... The current subject line was a
copy and paste accident! Due to the fact that my online mailer eats mails
sometimes before I can send them, I wrote it in an editor.

>> I attached a test module to reproduce this bug.  Does I miss something in my
>> code or is there a bug?
>
> There are several bugs in your code :)
>
>> static int runloop(void *unused)
>> {
>>
>> 	int ret;
>>
>> 	/* Daemonize */
>> 	daemonize(MODULE_NAME);
>
>  Do not call daemonize() for a kthread created with kthread_create().
>  That was necessary for kthreads created with kernel_thread.
Removing this already solved the bug message.

I fixed all other bugs as well and attached the updated file.

Thanks a lot

-- 
Stefan Agner



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

View attachment "kthread-test.c" of type "text/x-csrc" (1504 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ