udev: Cut down default /dev tmpfs size from 10Mb to 2Mb, to preclude DoS.
authorPaul Sokolovsky <pmiscml@gmail.com>
Mon, 18 Jun 2007 01:30:35 +0000 (01:30 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Mon, 18 Jun 2007 01:30:35 +0000 (01:30 +0000)
* Like ramdisk the stupid script spit tens of megabytes to a "device",
 without checking if it exists.
* Generally, /dev should contains only devices, typical size - tens of Kb.

packages/udev/files/init

index 8cbab18..456a7c0 100755 (executable)
@@ -3,7 +3,7 @@
 UDEVSTART=/sbin/udevstart
 
 # defaults
-tmpfs_size="10M"
+tmpfs_size="2M"
 udev_root="/dev"
 
 [ -x $UDEVSTART ] || exit 0