Re: mmap, SIGBUS, and handling it

Mihai RUSU (dizzy@roedu.net)
Fri, 10 May 2002 19:40:47 +0300 (EEST)


Hello again,

Thanks for all the answers and help.

On Fri, 10 May 2002, Alan Cox wrote:

> > truncates the file which was mmap-ed , our program will receive a SIGBUS
> > in write().
> >
> > If I understand right this is more POSIX compliant.
> >
> > Is there a clean/good way of handling this ?
>
> sigsetjmp/siglongjmp
>
>

----------------------------
Mihai RUSU

Disclaimer: Any views or opinions presented within this e-mail are solely
those of the author and do not necessarily represent those of any company,
unless otherwise specifically stated.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/