Subject: Re: root privilege for vnd ioctl
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 08/05/2002 13:17:23
Wojciech Puchar <wojtek@chylonia.3miasto.net> writes:

> first you must make sure no panic is possible if you will for example
> truncate file that is vnconfig'ured, if ioctl do check if file size isn't
> smaller than product of sector size*spt*tpc*cyls etc...

Usually, normal user can't open the device file even if the check is
removed.  It is each administorator's responsibility to allow trusted
user to access it.

enami.