Re: [PATCH] Documentation: fix core_pattern max length

2019-03-25 Thread Jonathan Corbet
On Mon, 18 Mar 2019 18:34:21 +0100 Jakub Wilk wrote: > The buffer size for core_pattern is 128, but one character is used for > terminating null byte, so the actual limit is 127: > > # printf '%0999d' > /proc/sys/kernel/core_pattern > # tr -d '\n' < /proc/sys/kernel/core_pattern | wc -c

[PATCH] Documentation: fix core_pattern max length

2019-03-18 Thread Jakub Wilk
The buffer size for core_pattern is 128, but one character is used for terminating null byte, so the actual limit is 127: # printf '%0999d' > /proc/sys/kernel/core_pattern # tr -d '\n' < /proc/sys/kernel/core_pattern | wc -c 127 Signed-off-by: Jakub Wilk --- Documentation/sysctl/ker