linux/Documentation
Vegard Nossum 3231dd5862 docs: kernel_abi.py: fix command injection
The kernel-abi directive passes its argument straight to the shell.
This is unfortunate and unnecessary.

Let's always use paths relative to $srctree/Documentation/ and use
subprocess.check_call() instead of subprocess.Popen(shell=True).

This also makes the code shorter.

Link: https://fosstodon.org/@jani/111676532203641247
Reported-by: Jani Nikula <jani.nikula@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231231235959.3342928-2-vegard.nossum@oracle.com
2024-01-03 13:44:11 -07:00
..
ABI vhost,virtio,vdpa: features, fixes, cleanups 2023-11-05 09:02:32 -10:00
accel accel/qaic: Add QAIC_DETACH_SLICE_BO IOCTL 2023-09-22 09:58:49 -06:00
accounting
admin-guide docs: kernel_abi.py: fix command injection 2024-01-03 13:44:11 -07:00
arch docs: automarkup: linkify git revs 2023-11-17 13:13:24 -07:00
block The number of commits for documentation is not huge this time around, but 2023-11-01 17:11:41 -10:00
bpf docs: automarkup: linkify git revs 2023-11-17 13:13:24 -07:00
cdrom
core-api docs: dma-api: Fix description of the sync_sg API 2023-11-17 08:52:13 -07:00
cpu-freq
crypto Merge branch 'vegard' into docs-mw 2023-11-17 13:07:51 -07:00
dev-tools Merge branch 'vegard' into docs-mw 2023-11-17 13:07:51 -07:00
devicetree Input updates for 6.7 merge window: 2023-11-09 14:18:42 -08:00
doc-guide docs: Raise the minimum Sphinx requirement to 2.4.4 2023-12-15 08:36:33 -07:00
driver-api Documentation: Destage TEE subsystem documentation 2023-12-08 15:45:10 -07:00
fault-injection
fb
features Documentation: Drop IA64 from feature descriptions 2023-09-11 08:13:18 +00:00
filesystems docs: vfs: fix typo in struct xattr_handlers 2023-11-17 08:42:21 -07:00
firmware_class
firmware-guide ACPI: docs: enumeration: Clarify ACPI bus concepts 2023-10-06 17:29:53 +02:00
fpga
gpu Merge tag 'drm-misc-next-2023-10-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2023-10-31 10:47:50 +10:00
hid
hwmon hwmon: (aquacomputer_d5next) Add support for Aquacomputer High Flow USB and MPS Flow 2023-10-29 22:22:48 -07:00
i2c Documentation: i2c: add fault code for not supporting 10 bit addresses 2023-10-29 21:03:35 +01:00
iio
images
infiniband
input input: docs: properly format ToC headings 2023-11-17 13:05:26 -07:00
isdn
kbuild Kbuild updates for v6.7 2023-11-04 08:07:19 -10:00
kernel-hacking
leds
litmus-tests
livepatch docs: automarkup: linkify git revs 2023-11-17 13:13:24 -07:00
locking
maintainer docs: move riscv under arch 2023-10-10 13:37:43 -06:00
mhi
misc-devices Merge branch 'vegard' into docs-mw 2023-11-17 13:07:51 -07:00
mm Many singleton patches against the MM code. The patch series which are 2023-11-02 19:38:47 -10:00
netlabel
netlink netlink: specs: devlink: add forgotten port function caps enum values 2023-11-01 22:13:43 -07:00
networking docs: automarkup: linkify git revs 2023-11-17 13:13:24 -07:00
nvdimm
nvme
PCI docs: move powerpc under arch 2023-10-10 13:35:55 -06:00
pcmcia
peci
power
process CREDITS, MAINTAINERS, docs/process/howto: Update man-pages' maintainer 2024-01-03 13:31:30 -07:00
RCU Merge branches 'rcu/torture', 'rcu/fixes', 'rcu/docs', 'rcu/refscale', 'rcu/tasks' and 'rcu/stall' into rcu/next 2023-10-23 15:24:11 +02:00
rust Rust changes for v6.7 2023-10-30 20:30:49 -10:00
scheduler asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
scsi
security Documentation: Destage TEE subsystem documentation 2023-12-08 15:45:10 -07:00
sound Linux 6.6-rc7 2023-10-23 19:38:22 +01:00
sphinx docs: kernel_abi.py: fix command injection 2024-01-03 13:44:11 -07:00
sphinx-static docs: translations: add translations links when they exist 2023-12-19 14:34:59 -07:00
spi
staging Documentation: Destage TEE subsystem documentation 2023-12-08 15:45:10 -07:00
target
tee Documentation: Destage TEE subsystem documentation 2023-12-08 15:45:10 -07:00
timers
tools rtla: fix a example in rtla-timerlat-hist.rst 2023-09-22 14:44:04 +02:00
trace Documentation: Fix filename typo in ftrace doc 2023-11-17 09:07:02 -07:00
translations docs/sp_SP: Move howto.rst into /sp_SP/process/ 2023-12-15 08:57:24 -07:00
usb USB/Thunderbolt changes for 6.7-rc1 2023-11-03 16:00:42 -10:00
userspace-api Documentation: Destage TEE subsystem documentation 2023-12-08 15:45:10 -07:00
virt KVM/arm64 updates for 6.7 2023-10-31 16:37:07 -04:00
w1
watchdog
wmi
.gitignore
atomic_bitops.txt
atomic_t.txt
Changes
CodingStyle
conf.py docs: translations: add translations links when they exist 2023-12-19 14:34:59 -07:00
docutils.conf
dontdiff
index.rst
Kconfig
Makefile
memory-barriers.txt docs: memory-barriers: Add note on compiler transformation and address deps 2023-10-09 09:40:53 -07:00
SubmittingPatches
subsystem-apis.rst Documentation: Destage TEE subsystem documentation 2023-12-08 15:45:10 -07:00