Re: [security]: kernel ioctl()'s [3]

David Ford (dford+nospam@talontech.com)
Fri, 02 Jul 1999 12:57:03 -0700


Jim Dennis wrote:

> > assumptions are generally bad.
> Failure to check for errors is often BAD.

very :)

> > two situations immediately come to mind.
>
> > - extended attribute; immutable
> > - extended attribute; append only
> > - filesystem mounted RO
> > - 100% filesystem usage, 0% free
>
> --- that's four;

actually i was thinking attributes and filesystems, just made a transition
without typing it.

> Let's also add
>
> - System is BSD 4.4 and user immutable or user append-only
> UFS flag is set.

indeed, it's much better to be overly cautious about checking than it is to
assume input is within parameters.

-d

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