Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Joel Soete <soete.joel@tiscali.be>
Cc: parisc-linux <parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] finaly kill(1, 25) was the init pause() pb on some systems but not all.
Date: Thu, 5 Jan 2006 07:46:32 -0700	[thread overview]
Message-ID: <20060105144632.GS19769@parisc-linux.org> (raw)
In-Reply-To: <ISMIEZ$9134EE9181BF9A8CC866F8D5EBABBF59@scarlet.be>

On Thu, Jan 05, 2006 at 03:18:35PM +0100, Joel Soete wrote:
> This very small test case reproduce it:
> #include <stdio.h>
> #include <errno.h>
> #include <sys/types.h>
> #include <dirent.h>
> #include <ctype.h>
> #include <stdlib.h>
> #include <unistd.h>
> #include <signal.h>
> 
> int main(int argc, char **argv)
> {
>     int retdir=0;
>     retdir = kill (1, 25);
>     printf("Kill (1, 25) : %d\n", retdir);
>     printf("errno : %d\n", errno);
> }

Run as root?

> ====<>====
> 
> mmm that said, I am curious to know why '25' is coded like this (and not e.g.
> symbolic name)?

Probably because 25 is XFSZ on everything except MIPS and PA.

> Finaly: a kernel pb, a libc pb or chkrootkit bug?

Definitely the latter.  Whether it's a former, I don't know.  Can you
do it on x86 by sending init a TSTP?
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

       reply	other threads:[~2006-01-05 14:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ISMIEZ$9134EE9181BF9A8CC866F8D5EBABBF59@scarlet.be>
2006-01-05 14:46 ` Matthew Wilcox [this message]
2006-01-05 16:21 [parisc-linux] finaly kill(1, 25) was the init pause() pb on some systems but not all Joel Soete

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=20060105144632.GS19769@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=soete.joel@tiscali.be \
    /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