From: Paul Sokolovsky Date: Mon, 18 Jun 2007 01:30:35 +0000 (+0000) Subject: udev: Cut down default /dev tmpfs size from 10Mb to 2Mb, to preclude DoS. X-Git-Tag: Release-2010-05/1~8868^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=757a2844d6d1a555713785e7178be6d7cfc16f82;p=openembedded.git udev: Cut down default /dev tmpfs size from 10Mb to 2Mb, to preclude DoS. * 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. --- diff --git a/packages/udev/files/init b/packages/udev/files/init index 8cbab188f0..456a7c070d 100755 --- a/packages/udev/files/init +++ b/packages/udev/files/init @@ -3,7 +3,7 @@ UDEVSTART=/sbin/udevstart # defaults -tmpfs_size="10M" +tmpfs_size="2M" udev_root="/dev" [ -x $UDEVSTART ] || exit 0