kern/139014: [null] /dev/null must be immunable to delete/unlink

Dima Panov fluffy at freebsd.org
Fri Mar 5 02:40:04 UTC 2010


The following reply was made to PR kern/139014; it has been noted by GNATS.

From: Dima Panov <fluffy at freebsd.org>
To: Bruce Cran <bruce at cran.org.uk>
Cc: bug-followup at freebsd.org
Subject: Re: kern/139014: [null] /dev/null must be immunable to delete/unlink
Date: Fri, 5 Mar 2010 12:33:23 +1000

 On Friday 05 March 2010 04:40:44 Bruce Cran wrote:
 Synopsis: [null] /dev/null must be immunable to delete/unlink
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=139014
 
 > I can't replicate this on a recent 9-CURRENT installation: running 'g++ -o
 > /dev/null conftest.cpp' (gcc gives an error) as a normal user does nothing,
 > and as root it just updates the permissions to add execute permission.
 
 
 [fluffy at Fluffy] /tmp/1> cat conftest.cpp
 int main() { return 0; }
 [fluffy at Fluffy] /tmp/1> ll /dev/null
 crw-rw-rw-  1 root  wheel    0,  29  5 Mar 10:34 /dev/null
 [fluffy at Fluffy] /tmp/1> gcc -o /dev/null conftest.cpp
 /var/tmp//ccFieWqh.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
 [fluffy at Fluffy] /tmp/1> ll /dev/null
 crw-rw-rw-  1 root  wheel    0,  29  5 Mar 10:34 /dev/null
 [fluffy at Fluffy] /tmp/1> sudo gcc -o /dev/null conftest.cpp
 /var/tmp//ccQGuy8l.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
 [fluffy at Fluffy] /tmp/1> ll /dev/null
 ls: /dev/null: No such file or directory
 [fluffy at Fluffy] /tmp/1>
 
 FreeBSD Fluffy.Khv.RU 9.0-900009-CURRENT FreeBSD 9.0-900009-CURRENT #1 r203791M: Fri Feb 
 12 23:12:30 VLAT 2010     fluffy at Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot  amd64
 
 -- 
 Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
 Khabarovsk, Russia          | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
 KDE at FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024


More information about the freebsd-bugs mailing list