diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-06-18 01:28:43 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-06-18 01:28:43 +0000 |
commit | df5e6aef5a144a42bd9d42d514ed8d518671ea4d (patch) | |
tree | cfb79d7f42c18dc8026bdee43f5b22014dcf889a /packages/udev/udev-092 | |
parent | f83673e5d989c0259dbf615edaf64a4d6169b46c (diff) |
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.
* Generall, /dev should contains only devices, typical size - tens of Kb.
Diffstat (limited to 'packages/udev/udev-092')
-rw-r--r-- | packages/udev/udev-092/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/udev-092/init b/packages/udev/udev-092/init index 5a60d52a9a..0940b592f2 100644 --- a/packages/udev/udev-092/init +++ b/packages/udev/udev-092/init @@ -119,7 +119,7 @@ PATH="/sbin:/bin:/usr/bin" [ -x /sbin/udevd ] || exit 0 # defaults -tmpfs_size="10M" +tmpfs_size="2M" udev_root="/dev" udevd_timeout=30 |