Re: mmap, SIGBUS, and handling it

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri May 10 2002 - 11:27:11 EST


> 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

-
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/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:14 EST