>Number:         161917
>Category:       misc
>Synopsis:       pjdfstest doesn't detect setup/teardown failures properly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 06:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.x
>Organization:
n/a
>Environment:
FreeBSD akai-ntbk.local 9.0-BETA2 FreeBSD 9.0-BETA2 #5 r225494M: Sun Sep 11 
18:59:27 PDT 2011     [email protected]:/usr/obj/usr/src/sys/NETBOOK_NOSMP  
i386
>Description:
Because the superuser requirement isn't properly tested today, one can clog up 
a production filesystem with garbage (example: mkfifo/11.t).

I discovered over 5 million fifos in my UFS-based scratch directory prior to a 
backup and reinstall, because mdconfig / mount / umount operation [in general] 
requires superuser privileges, whereas mkfifo doesn't.
>How-To-Repeat:
Execute the following as a non-root user:

cd tools/regression/pjdfstest
make
prove -r test
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to