From: Harald Welte <laforge@netfilter.org>
To: linux-ia64@vger.kernel.org
Subject: Re: [netfilter-core] strict rejection of init -> core references causes problems
Date: Sat, 10 Jul 2004 07:15:33 +0000 [thread overview]
Message-ID: <20040710071532.GH5173@sunbeam2> (raw)
In-Reply-To: <16622.17154.117052.31601@napali.hpl.hp.com>
[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]
On Fri, Jul 09, 2004 at 12:19:46PM -0700, Luck, Tony wrote:
> >So what really happens is: calls from init to 'core' functions
> >and calls from 'exit' to core functions.
>
> Hmmm. Neither of those should have tripped the check in the
> kernel module loader. It should only go bang when you have a
> call from "core" to "init". Does "exit" end up in a separate
> section? Maybe I was mistakenly triggering on the exit->core?
Apparently yes:
0 .text 00003f78 00000000 00000000 00000034 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .init.text 0000029c 00000000 00000000 00003fac 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
2 .exit.text 00000008 00000000 00000000 00004248 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
But also, we don't call __init from __exit (which would be crash once
__init has been purged from memory).
> Which module actually failed to load?
yes, I would be interested in that, too :)
> -Tony
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-07-10 7:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-09 7:02 strict rejection of init -> core references causes problems David Mosberger
2004-07-09 8:01 ` [netfilter-core] " Harald Welte
2004-07-09 15:59 ` Luck, Tony
2004-07-09 18:36 ` [netfilter-core] " David Mosberger
2004-07-09 18:46 ` Luck, Tony
2004-07-09 18:52 ` [netfilter-core] " Harald Welte
2004-07-09 19:19 ` Luck, Tony
2004-07-10 7:15 ` Harald Welte [this message]
2004-07-12 14:36 ` [netfilter-core] strict rejection of init -> core references Jean-Marc Saffroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040710071532.GH5173@sunbeam2 \
--to=laforge@netfilter.org \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox