public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Libor Vanek <libor@conet.cz>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org, piggin@cyberone.com.au
Subject: Re: 2.6.0-mm1 - kernel panic (VFS bug?)
Date: Tue, 06 Jan 2004 05:24:17 +0100	[thread overview]
Message-ID: <3FFA3871.5060208@conet.cz> (raw)
In-Reply-To: <200401060412.i064CJtK004302@turing-police.cc.vt.edu>

>> Unable to handle kernel paging request at virtual address fffffff2
> Hmm.. a -14. ;)
> You did know that getname can return an error, right?

Not untill now - I should had a look a more detailed at code in sys_open. Thanks.


> Poking around in fs/namei.c shows that -14 is 'EFAULT' - most likely
> some bozo did "fd = open(pointer_to_nowhere,....);".  Notice the use
> of IS_ERR(tmp) in sys_open() to guard against this....

I see... (now)...

Why does anybody try to do this? Is there any reason for it? 


-- 
Libor Vanek






  reply	other threads:[~2004-01-06  4:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-06  3:52 2.6.0-mm1 - kernel panic (VFS bug?) Libor Vanek
2004-01-06  4:09 ` Nick Piggin
2004-01-06  4:12 ` Valdis.Kletnieks
2004-01-06  4:24   ` Libor Vanek [this message]
2004-01-06  4:35     ` Valdis.Kletnieks
2004-01-06  4:30 ` viro
     [not found] <1aQy3-2y1-7@gated-at.bofh.it>
2004-01-06  5:49 ` Andi Kleen
2004-01-06 12:35   ` Libor Vanek
2004-01-06 12:39     ` Andi Kleen
2004-01-06 12:43       ` Libor Vanek
2004-01-06 13:19     ` Muli Ben-Yehuda

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=3FFA3871.5060208@conet.cz \
    --to=libor@conet.cz \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piggin@cyberone.com.au \
    /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