Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 23:17:06 +0100
From:      phk@freebsd.org
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sbin/disklabel disklabel.c 
Message-ID:  <11294.1043619426@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 26 Jan 2003 17:14:41 EST." <200301262214.h0QMEfiV078221@khavrinen.lcs.mit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200301262214.h0QMEfiV078221@khavrinen.lcs.mit.edu>, Garrett Wollman
 writes:
><<On Sun, 26 Jan 2003 13:55:43 -0800 (PST), Poul-Henning Kamp <phk@FreeBSD.org> said:
>
>>   If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctls
>>   to fiddle the disk we can get away with it.
>  
>Uh, if the ioctls actually succeed in fiddling the disk, that's a
>serious security problem.

I don't think so in practice, but if we want to put an suser()
check there to be pure it's ok with me.

critter phk> ls -l /dev/ad0
crw-r-----  1 root  operator    4,   1 Jan 25 23:13 /dev/ad0


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11294.1043619426>