From: "David Wilk" <davidwilk@gmail.com>
To: "Chris Wright" <chrisw@sous-sol.org>
Cc: "Hugh Dickins" <hugh@veritas.com>, "Greg KH" <greg@kroah.com>,
"Marcelo Tosatti" <marcelo.tosatti@cyclades.com>,
stable@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [stable] 2.6.16.6 breaks java... sort of
Date: Fri, 21 Apr 2006 14:43:25 -0600 [thread overview]
Message-ID: <a4403ff60604211343r45be01c0n2c97e10023978635@mail.gmail.com> (raw)
In-Reply-To: <20060421192743.GH3061@sorel.sous-sol.org>
right, sorry, I forgot to try strace. let me see what I can do.
On 4/21/06, Chris Wright <chrisw@sous-sol.org> wrote:
> * David Wilk (davidwilk@gmail.com) wrote:
> > Ok, on my first test system (lowest amount of ram) a 2.6.16.9 kernel
> > patched with the patch you provided works fine. I'll throw it on some
> > other systems and we'll see how it does.
>
> Was that same (lowest amount of ram) system failing before Hugh's patch
> with vanilla 2.6.16.9? What we're looking for is to see if the app
> was doing:
>
> 1) shmget(0444) [RDONLY], shmat(SHM_RDONLY), mprotect(PROT_WRITE)
> or
> 2) shmget(0666) [RDWR], shmat(SHM_RDONLY), mprotect(PROT_WRITE)
>
> The first is definitely a bug, and that's what the original patch
> was closing. The second is technically (as in POSIX) undefined, and
> the original patch treated it as a bug as well. Hugh's additional
> patch allows this behaviour, as it's vaguely similar to open(RDWR),
> mmap(PROT_READ), mprotect(PROT_WRITE), which is legitimate. So we're
> trying to determine if that's what your app is doing. strace output
> may be unwieldy, but that (or using syscall audit) would be helpful
> to clarify.
>
> thanks,
> -chris
>
next prev parent reply other threads:[~2006-04-21 20:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a4403ff60604191152u5a71e70fr9f54c104a654fc99@mail.gmail.com>
2006-04-19 19:28 ` Greg KH
2006-04-19 19:57 ` Hugh Dickins
2006-04-20 16:24 ` Hugh Dickins
2006-04-20 17:10 ` David Wilk
2006-04-21 19:08 ` David Wilk
2006-04-21 19:27 ` Chris Wright
2006-04-21 20:43 ` David Wilk [this message]
2006-04-21 21:56 ` David Wilk
2006-04-23 12:41 ` Hugh Dickins
2006-04-24 20:59 ` David Wilk
2006-04-25 17:51 ` Hugh Dickins
2006-04-25 18:08 ` David Wilk
2006-04-25 18:28 ` Hugh Dickins
2006-04-26 5:12 ` Andi Kleen
2006-04-26 8:03 ` Adrian Bunk
2006-04-26 21:40 ` David Wilk
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=a4403ff60604211343r45be01c0n2c97e10023978635@mail.gmail.com \
--to=davidwilk@gmail.com \
--cc=chrisw@sous-sol.org \
--cc=greg@kroah.com \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=stable@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®