Date: Tue, 22 Sep 2009 00:51:27 +1100 From: "Dima Panov" <fluffy@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: kern/139014: devfs: /dev/null must be immunable to delete/unlink Message-ID: <1253541087.99336@Fluffy.Khv.RU> Resent-Message-ID: <200909211400.n8LE04PT008001@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139014 >Category: kern >Synopsis: devfs: /dev/null must be immunable to delete/unlink >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 21 14:00:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dima Panov >Release: FreeBSD 9.0-900001-CURRENT amd64 >Organization: Fluffy.Khv.RU >Environment: System: FreeBSD 9.0-900001-CURRENT #0: Thu Sep 10 16:58:16 VLAST 2009 fluffy@Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot >Description: /dev/null affected by unlink process, which is not good and leads to hiding null from devfs tree. It must be immunable to unlinking >How-To-Repeat: please run this small script (part of one configure script) ------------------ #!/bis/sh cat >conftest.cpp <<EOF int main() { return 0; } EOF gcc -o /dev/null conftest.cpp ------------------ after gcc ends node /dev/null will be absent and not autorecovered to available state. >Fix: unknown :( >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1253541087.99336>