The following reply was made to PR kern/139014; it has been noted by GNATS.
From: Dima Panov <[email protected]> To: Bruce Cran <[email protected]> Cc: [email protected] 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. [flu...@fluffy] /tmp/1> cat conftest.cpp int main() { return 0; } [flu...@fluffy] /tmp/1> ll /dev/null crw-rw-rw- 1 root wheel 0, 29 5 Mar 10:34 /dev/null [flu...@fluffy] /tmp/1> gcc -o /dev/null conftest.cpp /var/tmp//ccFieWqh.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' [flu...@fluffy] /tmp/1> ll /dev/null crw-rw-rw- 1 root wheel 0, 29 5 Mar 10:34 /dev/null [flu...@fluffy] /tmp/1> sudo gcc -o /dev/null conftest.cpp /var/tmp//ccQGuy8l.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' [flu...@fluffy] /tmp/1> ll /dev/null ls: /dev/null: No such file or directory [flu...@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 [email protected]:/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 k...@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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
