diff options
| author | Vasily Gorbik <gor@linux.ibm.com> | 2026-02-03 10:18:03 +0100 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-02-03 12:48:28 +0100 |
| commit | f8a9c11000e52a8e59f15e49edaf5a2857705f9a (patch) | |
| tree | 233e7aae846674cf05f4e87d237bc5a0e3702eba /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | b8555fbc16311346ccf332010898c6307ec145c3 (diff) | |
s390/kexec: Emit an error message when cmdline is too long
Currently, if the command line passed to kexec_file_load() exceeds
the supported limit of the kernel being kexec'd, -EINVAL is returned
to userspace, which is consistent across architectures. Since
-EINVAL is not specific to this case, the kexec tool cannot provide
a specific reason for the failure. Many architectures emit an error
message in this case. Add a similar error message, including the
effective limit, since the command line length is configurable.
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
