Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
> Date: Fri, 28 Jul 2017 17:59:23 +0200
> From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>
> On Fri, Jul 28, 2017 at 03:34:07PM +0000, Taylor R Campbell wrote:
> > Log Message:
> > Fail, don't panic, on bad dirents from file system.
> >
> > Controllable via puffs from userland.
>
> I hope the filesystem code itself would still panic on a corrupted
> filesystem ? On a server I want a panic on filesystem errors like this.
The change I made only affects compat syscalls. I didn't touch any
logic inside any file systems.
If there is a problem in the file system and the compat syscall would
have panicked, then a native syscall would simply return garbage to
the user. My change doesn't affect this.
(Not garbage in the sense of uninitialized memory necessarily, but
whatever garbage some file system bug or corrupted disk yielded.)
Home |
Main Index |
Thread Index |
Old Index