From: Andreas Dilger <adilger@turbolinux.com>
To: Ion Badulescu <ionut@moisil.cs.columbia.edu>
Cc: Andrew Daviel <advax@triumf.ca>, linux-kernel@vger.kernel.org
Subject: Re: syslog insmod please!
Date: Thu, 5 Apr 2001 22:42:04 -0600 (MDT) [thread overview]
Message-ID: <200104060442.f364g4A27761@webber.adilger.int> (raw)
In-Reply-To: <200104060146.f361kYm22348@moisil.dev.hydraweb.com> from Ion Badulescu at "Apr 5, 2001 06:46:34 pm"
Ion writes:
> Andrew Daviel <andrew@andrew.triumf.ca> wrote:
> > Is there a good reason why insmod should not call syslog() to log
> > any module that gets installed ?
>
> Simple: you'll have quite a bit of a problem if you are trying to insmod
> the module with support for AF_UNIX sockets. :-)
Why do it from user space? Simply add a printk() to sys_init_module() or
similar. Granted, this will only help until the lusers install a patched
sysklog before installing a backdoor module, but so would the user-space
solution. At least the kernel message will stay in kernel memory until
it is flushed out with more messages (which itself might be detectable).
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
next prev parent reply other threads:[~2001-04-06 4:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-06 0:57 Andrew Daviel
2001-04-06 1:46 ` Ion Badulescu
2001-04-06 4:42 ` Andreas Dilger [this message]
2001-04-06 4:51 ` Ion Badulescu
2001-04-06 11:36 ` Mr. James W. Laferriere
2001-04-06 14:03 ` Wichert Akkerman
2001-04-06 14:43 ` Mr. James W. Laferriere
2001-04-06 14:54 ` Artur Frysiak
2001-04-06 15:08 ` Mr. James W. Laferriere
2001-04-06 17:52 ` Andrew Daviel
2001-04-06 11:53 ` David Woodhouse
2001-04-06 12:50 ` Philip Blundell
2001-04-07 8:28 ` Russell King
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=200104060442.f364g4A27761@webber.adilger.int \
--to=adilger@turbolinux.com \
--cc=advax@triumf.ca \
--cc=ionut@moisil.cs.columbia.edu \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®