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-next>] [day] [month] [year] [list]
Message-Id: <20081201111040.42b2a908.kamezawa.hiroyu@jp.fujitsu.com>
Date:	Mon, 1 Dec 2008 11:10:40 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	linux-kernel@...r.kernel.org
Cc:	akpm@...ux-foundation.org, rusty@...tcorp.com.au, gregkh@...e.de
Subject: Re: mmotm 2008-11-29-01-53 uploaded

On Sat, 29 Nov 2008 01:59:56 -0800
akpm@...ux-foundation.org wrote:

> The mm-of-the-moment snapshot 2008-11-29-01-53 has been uploaded to
> 
>    http://userweb.kernel.org/~akpm/mmotm/
> 
> It contains the following patches against 2.6.28-rc6:
> 
Hi, in recent changes of linux-next.patch

==
static void __init param_sysfs_builtin(void)
{
        struct kernel_param *kp;
        unsigned int name_len;
        char modname[MODULE_NAME_LEN];

        for (kp = __start___param; kp < __stop___param; kp++) {
                char *dot;

                if (kp->perm == 0)
                        continue;

                dot = strchr(kp->name, '.');
                BUG_ON(!dot); <======================================(*)
                name_len = dot - kp->name + 1;
                strlcpy(modname, kp->name, name_len);
                kernel_add_sysfs_param(modname, kp, name_len);
        }

==
Above (*) is added.

I hit BUG_ON() at (*). That was because usbcore was not a module and module param
kp->name was "nousb".... not including any dot.
(If compled as module, the kernel works well.)

I'm sorry if already fixed.

Thanks,
-Kame







--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ