docs: kernel_feat.py: fix potential command injection[ Upstream commit c48a7c44a1d02516309015b6134c9bb982e17008 ]The kernel-feat directive passes its argument straight to the shell.This is unfor
docs: kernel_feat.py: fix potential command injection[ Upstream commit c48a7c44a1d02516309015b6134c9bb982e17008 ]The kernel-feat directive passes its argument straight to the shell.This is unfortunate and unnecessary.Let's always use paths relative to $srctree/Documentation/ and usesubprocess.check_call() instead of subprocess.Popen(shell=True).This also makes the code shorter.This is analogous to commit 3231dd586277 ("docs: kernel_abi.py: fixcommand injection") where we did exactly the same thing forkernel_abi.py, somehow I completely missed this one.Link: https://fosstodon.org/@jani/111676532203641247Reported-by: Jani Nikula <jani.nikula@intel.com>Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>Cc: stable@vger.kernel.orgSigned-off-by: Jonathan Corbet <corbet@lwn.net>Link: https://lore.kernel.org/r/20240110174758.3680506-1-vegard.nossum@oracle.comSigned-off-by: Sasha Levin <sashal@kernel.org>
show more ...
docs: move mips under archand fix all in-tree references.Architecture-specific documentation is being moved into Documentation/arch/as a way of cleaning up the top-level documentation directory
docs: move mips under archand fix all in-tree references.Architecture-specific documentation is being moved into Documentation/arch/as a way of cleaning up the top-level documentation directory and makingthe docs hierarchy more closely match the source hierarchy.Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>Signed-off-by: Jonathan Corbet <corbet@lwn.net>Link: https://lore.kernel.org/r/20230725043835.2249678-1-costa.shul@redhat.com