generic-poky/meta/recipes-core/sysvinit
Scot Salmon 2d77fbf7e8 sysvinit: allow stack size configuration from rcS
For certain swap/overcommit settings (e.g. when overcommit is disabled
on a real-time system), we need to limit the stack size used by
initscripts.  When the STACK_SIZE environment variable is set (usually
in /etc/default/rcS), ulimit the stack size to the value specified.

Make the stack size ulimit a soft limit, which allows the user to
increase the stack size where required without having to run the
respective application as root.

(From OE-Core rev: 0b5db16929de7668174e74e428f3e4e90e76e1d8)

Signed-off-by: Scot Salmon <scot.salmon@ni.com>
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Acked-by: Rich Tollerton <rich.tollerton@ni.com>
Acked-by: Brad Mouring <brad.mouring@ni.com>
Acked-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-11 10:53:05 +01:00
..
sysvinit sysvinit: allow stack size configuration from rcS 2014-08-11 10:53:05 +01:00
sysvinit-2.88dsf sysvinit: pidof add -m option for lsbinitscripts 2013-07-29 13:09:03 +01:00
sysvinit-inittab sysvinit-inittab: Fixed license warning. 2012-03-20 15:21:38 +00:00
sysvinit-inittab_2.88dsf.bb sysvinit-inittab: avoid pipe with grep 2014-05-08 13:00:33 +01:00
sysvinit_2.88dsf.bb sysvinit: bootlogd: ensure /var/log/boot is created in volatiles 2014-07-23 21:59:17 +01:00