mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 02:36:02 +00:00
Bootconfig for v6.7:
- Documentation update for /proc/cmdline, which includes both the parameters from bootloader and the embedded parameters in the kernel. - fs/proc: Add bootloader argument as a comment line to /proc/bootconfig so that the user can distinguish what parameters were passed from bootloader even if bootconfig modified that. - Documentation fix to add /proc/bootconfig to proc.rst. -----BEGIN PGP SIGNATURE----- iQFPBAABCgA5FiEEh7BulGwFlgAOi5DV2/sHvwUrPxsFAmVAzokbHG1hc2FtaS5o aXJhbWF0c3VAZ21haWwuY29tAAoJENv7B78FKz8bJxMH+QHgxumk/zhQ6TG1szG3 TWrkhg5oP2hGRTbJc6lK/BJM5E/xz6SNoGP6nEEW5JdkzKwNyNSLab+J0as9Ua3V KtJGiAtp4FZpVl6B2y5UBqBerRl8U4NjW8TOsEv8Dy4gVlgjdbyS7fzy3T86DEZ5 QGQ004pYVciSzmRvEmk3f0GUqsgJUYOjZWIGp2+fukpTnJhD4o3K3UwUs4Rz1tF7 cnVm34af67648/mGSxB+qHBHq4dznrWopv/SgH6OcEzOOpvEGAwPuteAms3S8g3j WOZNHB7QlNkVlASlAcC+yPHjJBtWMfRTsWQIxW5F0wSqq0SRCzTMLHU1wltJagyq lBQ= =J8P0 -----END PGP SIGNATURE----- Merge tag 'bootconfig-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace Pull bootconfig updates from Masami Hiramatsu: - Documentation update for /proc/cmdline, which includes both the parameters from bootloader and the embedded parameters in the kernel - fs/proc: Add bootloader argument as a comment line to /proc/bootconfig so that the user can distinguish what parameters were passed from bootloader even if bootconfig modified that - Documentation fix to add /proc/bootconfig to proc.rst * tag 'bootconfig-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: doc: Add /proc/bootconfig to proc.rst fs/proc: Add boot loader arguments as comment to /proc/bootconfig doc: Update /proc/cmdline documentation to include boot config
This commit is contained in:
commit
1b10d2c8c6
@ -689,9 +689,15 @@ files are there, and which are missing.
|
||||
File Content
|
||||
============ ===============================================================
|
||||
apm Advanced power management info
|
||||
bootconfig Kernel command line obtained from boot config,
|
||||
and, if there were kernel parameters from the
|
||||
boot loader, a "# Parameters from bootloader:"
|
||||
line followed by a line containing those
|
||||
parameters prefixed by "# ". (5.5)
|
||||
buddyinfo Kernel memory allocator information (see text) (2.5)
|
||||
bus Directory containing bus specific information
|
||||
cmdline Kernel command line
|
||||
cmdline Kernel command line, both from bootloader and embedded
|
||||
in the kernel image
|
||||
cpuinfo Info about the CPU
|
||||
devices Available devices (block and character)
|
||||
dma Used DMS channels
|
||||
|
@ -62,6 +62,12 @@ static int __init copy_xbc_key_value_list(char *dst, size_t size)
|
||||
break;
|
||||
dst += ret;
|
||||
}
|
||||
if (ret >= 0 && boot_command_line[0]) {
|
||||
ret = snprintf(dst, rest(dst, end), "# Parameters from bootloader:\n# %s\n",
|
||||
boot_command_line);
|
||||
if (ret > 0)
|
||||
dst += ret;
|
||||
}
|
||||
}
|
||||
out:
|
||||
kfree(key);
|
||||
|
Loading…
Reference in New Issue
Block a user