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: <454C1F84.9010601@limcore.pl>
Date:	Sat, 04 Nov 2006 06:05:08 +0100
From:	"lkml-2006i-ticket@...core.pl" <lkml-2006i-ticket@...core.pl>
To:	linux-kernel@...r.kernel.org
Subject: Simple module for 2.6 request?


Hello,
it is not so easy to find online an *working* example of how to by hand
build a module.

gcc -o foo.c -ko foo.ko -DMODULE -D__KERNEL__
-I/usr/src/kernel-headers-directory/include/

with module license define macro

almost worked, but it misses thoes extra symbols created in
post-compilation.

How to add them by hand (not using all the big Makefiles normally
included in kernel tree)?

Like
some-command foo.ko foo.c
insmod foo.ko
done



-- 
LimCore    C++ Software Architect / Team Lead
---> oo    Linux programs
limcore
software


-
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