From ceb08369442948bc5c1772196cb1a1f395c57c07 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 25 Nov 2011 22:09:17 -0500 Subject: init: remove size limitations from API filesystems These are all root owned, so we don't need to be concerned about DoS attacks via these FS's. Signed-off-by: Dave Reisner --- init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init b/init index 53c64d5..79ff0be 100644 --- a/init +++ b/init @@ -8,10 +8,10 @@ PATH=/usr/sbin:/usr/bin:/sbin:/bin mount -t proc proc /proc -o nosuid,noexec,nodev mount -t sysfs sys /sys -o nosuid,noexec,nodev -if mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid; then +if mount -n -t devtmpfs udev /dev -o mode=0755,nosuid; then devtmpfs_mounted=1 else - mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid + mount -n -t tmpfs udev /dev -o mode=0755,nosuid devtmpfs_mounted=0 # We don't have devtmpfs, so add the most important standard devices mknod /dev/null c 1 3 @@ -20,7 +20,7 @@ else # /dev/mem is needed if we want to load uvesafb before triggering uevents mknod /dev/mem c 1 1 fi -mount -t tmpfs run /run -o nosuid,nodev,mode=755,size=10M +mount -t tmpfs run /run -o nosuid,nodev,mode=0755 mkdir /run/initramfs # parse the kernel command line -- cgit v1.2.3-24-g4f1b