From: Bruno Cornec <Bruno.Cornec@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: a nice way to reboot :-)
Date: Thu, 24 Jul 2003 12:30:51 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105904997430316@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105887789030732@msgid-missing>
Matthew Wilcox (willy@debian.org) said:
> it's true on other architectures too, not just ia64.
Well in general yes, but at least on i386 (I can't test on something else)
doing cat /proc/kcore doesn't crash the system. And BTW why should it ?
There is nothing wrong with it (for ex. I used it a lot of times to try
to find a BIOS revision on i386).
I just wonder if this could be used as a DOS from outside the system. In
which case, it would be a Bad Thing (tm :-)
> root can crash
> the system any way they want.
Yes, that's true. But it just more surprising when you think you just
pass a normal command ;-)
> stupid user syndrome; they should be
> using -xdev to not tar up /proc.
Yes, of course, I again agree with you.
But even if I don't do that myself, I tried on a rx5670 the cat /proc/kcore
in the past, with the same result, for valid (IMHO) reasons and was really
surprised to see the system rebooting. BTW, it also underline the inability
for Oracle 9iRAC to fail over properly, which was also a surprise :-)
Every time I see a program doing "core dumped" even if I pass to it crazy
args, I tend to believe it's not good enough, and can hide other problems.
It's a bug for me, not a feature.
And again in that precise case, I'm far from being able to provide patch.
Just grumbling ;-)
Bruno.
--
Linux Solution Consultant Tél: +33 476 143 278 - Fax: +33 476 146 105
HP/Intel Solution Center http://hpintelco.net Hewlett-Packard Grenoble/France
Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux
La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org
next prev parent reply other threads:[~2003-07-24 12:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-22 12:32 a nice way to reboot :-) Bruno Cornec
2003-07-22 13:05 ` Grant Grundler
2003-07-22 13:31 ` Bruno Cornec
2003-07-22 14:33 ` Bjorn Helgaas
2003-07-22 15:44 ` digiovanni, lucio
2003-07-23 3:50 ` Matthew Wilcox
2003-07-24 12:30 ` Bruno Cornec [this message]
2003-07-24 12:52 ` Andreas Schwab
2003-07-24 12:55 ` Matthew Wilcox
2003-07-24 13:53 ` Van Maren, Kevin
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=marc-linux-ia64-105904997430316@msgid-missing \
--to=bruno.cornec@hp.com \
--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