mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Albert Bartoszko" <albertb@nt.kegel.com.pl>
To: "Alexander Viro" <viro@math.psu.edu>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] binfmt_misc.c, kernel-2.4.12
Date: Mon, 22 Oct 2001 08:00:07 +0200	[thread overview]
Message-ID: <010801c15abe$ced47240$0100050a@abartoszko> (raw)
In-Reply-To: <Pine.GSO.4.21.0110190845580.22889-100000@weyl.math.psu.edu>

> > I find bug in  binfmt_misc.c from kernel 2.4.12 source. The read()
syscal
>
> only one?

"Gutta cavat lapidem non vi, sed saepe cadendo"

>
> > return bad value, causes some application SIGSEGV.
>
> Hardly a surprise.  Not everything that passes compiler is valid C.
> Stuff in fs/binfmt_misc.c from Linus' tree isn't.  Pick one from -ac
> + corresponding change in fs/proc/root.c (again, see -ac).  Variant
> in Linus' tree is complete crap.

You are sarcastic.

I do it. And:

# uname -a
Linux xxxx 2.4.12-ac3 #1 Sun Oct 21 13:50:52 CEST 2001 i686 unknown
# insmod binfmt_misc
Using /lib/modules/2.4.12-ac3/kernel/fs/binfmt_misc.o
# echo ':Java:M::\xca\xfe\xba\xbe::/usr/local/bin/javawrapper:'
>/proc/sys/fs/binfmt_misc/register
bash: /proc/sys/fs/binfmt_misc/register: No such file or directory
# lsmod
Module                  Size  Used by
binfmt_misc             5680   1
#rmmod binfmt_misc
binfmt_misc: Device or resource busy                # ?????

Very high C. But this don't work for me.




  parent reply	other threads:[~2001-10-22  6:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-19 11:54 Albert Bartoszko
2001-10-19 12:54 ` Alexander Viro
2001-10-19 13:32   ` Richard Guenther
2001-10-19 18:48     ` Alexander Viro
2001-10-19 21:35       ` Richard Guenther
2001-10-19 22:00         ` Alexander Viro
2001-10-22  6:00   ` Albert Bartoszko [this message]
2001-10-22  6:47     ` Alexander Viro
2001-10-22  7:42       ` Keith Owens
2001-10-22  8:05         ` Alexander Viro
2001-10-22  8:21           ` Keith Owens
2001-10-22  8:33             ` Alexander Viro
2001-10-22  9:19               ` Keith Owens
2001-10-22  9:34                 ` Alexander Viro
2001-10-22  9:55                   ` Alexander Viro
2001-10-22 11:17                   ` Keith Owens
2001-10-22 11:33                     ` Alexander Viro
2001-10-22 11:52                       ` Keith Owens
2001-10-22 12:15                         ` Alexander Viro
2001-10-22 12:37                           ` Keith Owens
2001-10-22 15:56                 ` bill davidsen
2001-10-22 15:47             ` bill davidsen
2001-10-22 17:24       ` Andrew Morton
2001-10-22 17:50         ` Alexander Viro
2001-10-23  9:28       ` Albert Bartoszko
2001-10-21 15:26 ` Alan Cox

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='010801c15abe$ced47240$0100050a@abartoszko' \
    --to=albertb@nt.kegel.com.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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®