summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-06-18 01:28:43 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-06-18 01:28:43 +0000
commitdf5e6aef5a144a42bd9d42d514ed8d518671ea4d (patch)
treecfb79d7f42c18dc8026bdee43f5b22014dcf889a /packages
parentf83673e5d989c0259dbf615edaf64a4d6169b46c (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')
-rw-r--r--packages/udev/udev-092/init2
-rw-r--r--packages/udev/udev-097/init2
-rw-r--r--packages/udev/udev-100/init2
-rw-r--r--packages/udev/udev_092.bb2
-rw-r--r--packages/udev/udev_097.bb2
-rw-r--r--packages/udev/udev_100.bb2
6 files changed, 6 insertions, 6 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
diff --git a/packages/udev/udev-097/init b/packages/udev/udev-097/init
index cc25c026a3..0d61d657aa 100644
--- a/packages/udev/udev-097/init
+++ b/packages/udev/udev-097/init
@@ -131,7 +131,7 @@ warn_if_interactive() {
PATH="/sbin:/bin:/usr/bin"
# defaults
-tmpfs_size="10M"
+tmpfs_size="2M"
udev_root="/dev"
if [ -e /etc/udev/udev.conf ]; then
diff --git a/packages/udev/udev-100/init b/packages/udev/udev-100/init
index cc25c026a3..0d61d657aa 100644
--- a/packages/udev/udev-100/init
+++ b/packages/udev/udev-100/init
@@ -131,7 +131,7 @@ warn_if_interactive() {
PATH="/sbin:/bin:/usr/bin"
# defaults
-tmpfs_size="10M"
+tmpfs_size="2M"
udev_root="/dev"
if [ -e /etc/udev/udev.conf ]; then
diff --git a/packages/udev/udev_092.bb b/packages/udev/udev_092.bb
index f21be9c8c5..3f1da7c3ae 100644
--- a/packages/udev/udev_092.bb
+++ b/packages/udev/udev_092.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
RPROVIDES_${PN} = "hotplug"
-PR = "r17"
+PR = "r18"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
diff --git a/packages/udev/udev_097.bb b/packages/udev/udev_097.bb
index 2af5556dbd..9ed0701418 100644
--- a/packages/udev/udev_097.bb
+++ b/packages/udev/udev_097.bb
@@ -8,7 +8,7 @@ used to detect the type of a file system and read its metadata."
DESCRIPTION_libvolume-id-dev = "libvolume_id development headers, \
needed to link programs with libvolume_id."
-PR = "r7"
+PR = "r8"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
diff --git a/packages/udev/udev_100.bb b/packages/udev/udev_100.bb
index bef4cb7301..cebd494116 100644
--- a/packages/udev/udev_100.bb
+++ b/packages/udev/udev_100.bb
@@ -9,7 +9,7 @@ used to detect the type of a file system and read its metadata."
DESCRIPTION_libvolume-id-dev = "libvolume_id development headers, \
needed to link programs with libvolume_id."
-PR = "r6"
+PR = "r7"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \