Table of Contents
CONFIG | Path | |
---|---|---|
Kernel | CONFIG_COREDUMP | Kernel options -> "Enable core dump support" |
busybox | CONFIG_FEATURE_INIT_COREDUMPS | Init Utilities -> "Support dumping core for child processes" |
Last, touch ‘/.init_enable_core’ file in rootfs.
1 2 3 4 5 6 7 8 |
| CONFIG_FEATURE_INIT_COREDUMPS: | | | | If this option is enabled and the file /.init_enable_core | | exists, then init will call setrlimit() to allow unlimited | | core file sizes. If this option is disabled, processes | | will not generate any core files. |