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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101231142335.84e00497.rdunlap@xenotime.net>
Date:	Fri, 31 Dec 2010 14:23:35 -0800
From:	Randy Dunlap <rdunlap@...otime.net>
To:	yotam.medini@...il.com
Cc:	linux-kernel@...r.kernel.org, Avery Pennarun <apenwarr@...mnit.ca>
Subject: Re: APM_CONFIG on x86 - Is it possible?

On Fri, 31 Dec 2010 23:40:10 +0200 Yotam Medini wrote:

> The .config I ended up with does have:
>    CONFIG_APM=m
> But no CONFIG_APM_POWER setting, 
> When booting the kernel, I don not have /proc/apm.
> I do get:
> 
>   $ sudo modprobe apm
>   FATAL: Error inserting apm 
>     (/lib/modules/2.6.32.yumax/kernel/arch/x86/kernel/apm.ko): No such device
> 
> Please note that 
>   drivers/power/Makefile:118
> has:
>   obj-$(CONFIG_APM_POWER) += apm_power.o
> 
> Also the "/proc/apm" is created in 
>   drivers/char/Makefile:71
>     obj-$(CONFIG_APM_EMULATION)	+= apm-emulation.o
>   drivers/char/apm-emulation.c:668-670

Hint: This is not the only place that /proc/apm is created.


>     #ifdef CONFIG_PROC_FS
> 	    proc_create("apm", 0, NULL, &apm_proc_fops);
>     #endif
> As far as I understand, CONFIG_APM is not sufficient 
> for the creation of "/proc/apm".


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
desserts:  http://www.xenotime.net/linux/recipes/
--
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