summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2026-08-19 12:30:33 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-09-01 12:44:48 +0200
commitd76181dfabdaa720703167393704efacba343442 (patch)
tree88112616444020a7196c1875089efab8bbdcb8a3 /tools/perf/scripts/python
parenta0c798ed4103316c23938bdf625af364fbd38016 (diff)
s390/boot: Avoid IPL parameter append past command line
A command line may occupy all but the terminating byte of COMMAND_LINE_SIZE. In that case append_ipl_block_parm() passes a zero size to the IPL parameter conversion helpers and points the destination one byte past early_command_line. The helpers subtract one from the unsigned size and write the converted parameter outside the command line buffer. Convert the IPL parameter in the command line parsing buffer first. A parameter beginning with '=' can then replace the existing command line regardless of its length, while other parameters are appended only when space remains. Fixes: 5ecb2da660ab ("s390: support command lines longer than 896 bytes") Reviewed-by: Heiko Carstens <hca@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/scripts/python')
0 files changed, 0 insertions, 0 deletions