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]
Date:	Thu, 14 Aug 2008 15:01:56 -0400
From:	"Ryan Hope" <rmh3093@...il.com>
To:	"Lennart Sorensen" <lsorense@...lub.uwaterloo.ca>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Help writing kernel module...

what about if I want to determine if a module is loaded?

On Thu, Aug 14, 2008 at 2:02 PM, Lennart Sorensen
<lsorense@...lub.uwaterloo.ca> wrote:
> On Thu, Aug 14, 2008 at 02:00:26PM -0400, Ryan Hope wrote:
>> I can't find any information on how to make a kernel module load
>> another module. Can someone please tell me how to do this? Thanks in
>> advance.
>
> Use a symbol exported by that other module and your module should
> automatically depend on that module and modprobe will nicely load it
> before your module for you.
>
> --
> Len Sorensen
>
--
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