From: Richard Hirst <rhirst@linuxcare.com>
To: Ulrich Drepper <drepper@cygnus.com>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] SEGV signal handling bug (dynamic linking)
Date: Fri, 17 Nov 2000 20:10:34 +0000 [thread overview]
Message-ID: <20001117201034.J32715@linuxcare.com> (raw)
In-Reply-To: <m3hf5634qx.fsf@otr.mynet.cygnus.com>; from drepper@redhat.com on Fri, Nov 17, 2000 at 09:09:10AM -0800
On Fri, Nov 17, 2000 at 09:09:10AM -0800, Ulrich Drepper wrote:
> Richard Hirst <rhirst@linuxcare.com> writes:
>
> > mem = malloc(8192);
> > if (mem == NULL) {
> > perror("malloc");
> > exit(1);
> > }
> > mem = (char *)(((int)mem + 4095) & ~0x0fff);
> > res = mprotect(mem, 4096, PROT_READ);
>
> Read the Unix standard:
>
> The behavior of this function is unspecified if the mapping was not
> established by a call to mmap().
Changed my prog to use mmap and get the same problem.
Richard
prev parent reply other threads:[~2000-11-17 20:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-17 15:39 [parisc-linux] SEGV signal handling bug (dynamic linking) Richard Hirst
2000-11-17 17:09 ` Ulrich Drepper
2000-11-17 17:38 ` Richard Hirst
2000-11-17 18:06 ` Ulrich Drepper
2000-11-17 20:10 ` Richard Hirst [this message]
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=20001117201034.J32715@linuxcare.com \
--to=rhirst@linuxcare.com \
--cc=drepper@cygnus.com \
--cc=parisc-linux@thepuffingroup.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.