Date: Tue, 13 Apr 2010 18:53:39 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/devfs devfs_devs.c devfs_int.h Message-ID: <201004131853.o3DIrndV080712@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2010-04-13 18:53:39 UTC
FreeBSD src repository
Modified files:
sys/fs/devfs devfs_devs.c devfs_int.h
Log:
SVN rev 206560 on 2010-04-13 18:53:39Z by jh
- Ignore and report duplicate and empty device names in devfs_populate_loop()
instead of causing erratic behavior. Currently make_dev(9) can't fail, so
there is no way to report an error to make_dev(9) callers.
- Disallow using "." and ".." in device path names. It didn't work previously
but now it is reported rather than panicing.
- Treat multiple sequential slashes as single in device path names.
Discussed with: pjd
Revision Changes Path
1.59 +23 -0 src/sys/fs/devfs/devfs_devs.c
1.7 +1 -0 src/sys/fs/devfs/devfs_int.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004131853.o3DIrndV080712>
