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

Roman Drahtmueller (draht@uni-freiburg.de)
Fri, 2 Jul 1999 02:14:13 +0200 (MEST)


>
> Because programs running as root assume
>
> open("blah", O_RDWR)
> write(blah)
>
> will work. They do NOT expect to have to

Eh. This is not the issue here.

immutable, append-only and friends are intentionally designed for even
restricting root to do things.

the only thing it should be possible to rely on is that modes don't matter
in case you're root by chance...

Roman.

-- 
 _                                                                   _
| Roman Drahtmüller                                                   |
  CC University of Freiburg               "There is no spoon!"        
| email: draht@uni-freiburg.de                                        |    
 -                                                                   -

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