There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Linus Torvalds 2c81593889 Rust fixes for v6.9 6 days ago
..
atomic locking/atomic: scripts: Clarify ordering of conditional atomics 2 months ago
basic kbuild: implement CONFIG_TRIM_UNUSED_KSYMS without recursion 11 months ago
clang-tools gen_compile_commands: fix invalid escape sequence warning 3 months ago
coccinelle coccinelle: simplify device_attr_show semantic patch 1 month ago
dtc dt: dt-extract-compatibles: Don't follow symlinks when walking tree 6 months ago
dummy-tools kbuild: dummy-tools: pretend we understand -fpatchable-function-entry 6 months ago
gcc-plugins gcc-plugins/stackleak: Avoid .head.text section 4 weeks ago
gdb S390: 2 months ago
genksyms genksyms: use getopt_long() unconditionally 5 months ago
kconfig kconfig: Fix typo HEIGTH to HEIGHT 1 month ago
ksymoops
mod modpost: do not make find_tosym() return NULL 1 month ago
package kbuild: rpm-pkg: add dtb files in kernel rpm 2 months ago
selinux selinux: remove runtime disable message in the install_policy.sh script 2 years ago
tracing tracing: Always use canonical ftrace path 1 year ago
.gitignore rust: support running Rust documentation tests as KUnit ones 10 months ago
Kbuild.include kbuild: simplify dtbs_install by reading the list of compiled DTBs 2 months ago
Kconfig.include kbuild: Add -Wa,--fatal-warnings to as-instr invocation 3 months ago
Lindent
Makefile LoongArch changes for v6.9 1 month ago
Makefile.asm-generic kbuild: add kbuild-file macro 1 year ago
Makefile.btf kbuild: avoid too many execution of scripts/pahole-flags.sh 6 months ago
Makefile.build kbuild: rust: force `alloc` extern to allow "empty" Rust files 1 week ago
Makefile.clang Kbuild updates for v6.5 10 months ago
Makefile.clean kbuild: make clean rule robust against too long argument error 10 months ago
Makefile.compiler kbuild: Add -Wa,--fatal-warnings to as-instr invocation 3 months ago
Makefile.debug Makefile.debug: support for -gz=zstd 1 year ago
Makefile.defconf kbuild: defconf: use SRCARCH to find merged configs 3 months ago
Makefile.dtbinst kbuild: simplify dtbs_install by reading the list of compiled DTBs 2 months ago
Makefile.extrawarn kbuild: make -Woverride-init warnings more consistent 1 month ago
Makefile.gcc-plugins gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file 2 years ago
Makefile.headersinst kbuild: prefix $(srctree)/ to some included Makefiles 3 years ago
Makefile.host kbuild: mark `rustc` (and others) invocations as recursive 2 months ago
Makefile.kasan kasan: remove hwasan-kernel-mem-intrinsic-prefix=1 for clang-14 1 year ago
Makefile.kcov kbuild: include scripts/Makefile.* only when relevant CONFIG is enabled 4 years ago
Makefile.kcsan kcsan: Ignore GCC 11+ warnings about TSan runtime support 2 years ago
Makefile.kmsan kmsan: add KMSAN runtime core 2 years ago
Makefile.lib Kbuild updates for v6.9 1 month ago
Makefile.modfinal kbuild: Disable KCSAN for autogenerated *.mod.c intermediaries 1 month ago
Makefile.modinst kbuild: Use CRC32 and a 1MiB dictionary for XZ compressed modules 7 months ago
Makefile.modpost linux/export.h: make <linux/export.h> independent of CONFIG_MODULES 9 months ago
Makefile.package kbuild: unexport abs_srctree and abs_objtree 2 months ago
Makefile.randstruct randstruct: Enable Clang support 2 years ago
Makefile.ubsan ubsan: Reintroduce signed overflow sanitizer 2 months ago
Makefile.userprogs kbuild: support 'userldlibs' syntax 6 months ago
Makefile.vdsoinst kbuild: fix build ID symlinks to installed debug VDSO files 4 months ago
Makefile.vmlinux x86/retpoline: Make sure there are no unconverted return thunks due to KCSAN 7 months ago
Makefile.vmlinux_o x86/bugs: Rename CONFIG_CPU_SRSO => CONFIG_MITIGATION_SRSO 4 months ago
as-version.sh kbuild: Update assembler calls to use proper flags and language target 1 year ago
asn1_compiler.c ASN.1: Fix check for strdup() success 1 year ago
bloat-o-meter scripts/bloat-o-meter: count weak symbol sizes 9 months ago
bootgraph.pl
bpf_doc.py scripts/bpf_doc: Use silent mode when exec make cmd 2 months ago
cc-can-link.sh
cc-version.sh scripts: Remove ICC-related dead code 1 year ago
check-git kbuild: use git-archive for source package creation 1 year ago
check-sysctl-docs scripts: check-sysctl-docs: handle per-namespace sysctls 2 months ago
check-uapi.sh check-uapi: Introduce check-uapi.sh 4 months ago
check_extable.sh scripts: check_extable: fix typo in user error message 3 years ago
checkdeclares.pl scripts: make some scripts executable 3 years ago
checkincludes.pl
checkkconfigsymbols.py scripts: handle BrokenPipeError for python scripts 1 year ago
checkpatch.pl Char/Misc and other Driver changes for 6.8-rc1 4 months ago
checkstack.pl scripts/checkstack.pl: fix no space expression between sp and offset 4 months ago
checksyscalls.sh checksyscalls: ignore fstat to silence build warning on LoongArch 1 year ago
checkversion.pl scripts: checkversion: modernize linux/version.h search strings 3 years ago
cleanfile
cleanpatch
coccicheck scripts: coccicheck: Use /usr/bin/env 1 year ago
config kconfig: config script: add a little user help 3 years ago
const_structs.checkpatch const_structs.checkpatch: add device_type 2 months ago
decode_stacktrace.sh scripts/decode_stacktrace.sh: optionally use LLVM utilities 4 months ago
decodecode scripts/decodecode: add support for LoongArch 4 months ago
depmod.sh kbuild: move depmod rule to scripts/Makefile.modinst 8 months ago
dev-needs.sh scripts/dev-needs: Add script to list device dependencies 4 years ago
diffconfig scripts: handle BrokenPipeError for python scripts 1 year ago
documentation-file-ref-check scripts: documentation-file-ref-check: fix bpf selftests path 3 years ago
export_report.pl
extract-ikconfig scripts/extract-ikconfig: add zstd compression support 2 years ago
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
extract_xc3028.pl
faddr2line scripts/faddr2line: Skip over mapping symbols in output from readelf 6 months ago
file-size.sh
find-unused-docs.sh
gcc-x86_32-has-stack-protector.sh x86/stackprotector/32: Make the canary into a regular percpu variable 3 years ago
gcc-x86_64-has-stack-protector.sh
gen-randstruct-seed.sh randstruct: Move seed generation into scripts/basic/ 2 years ago
generate_initcall_order.pl init: lto: ensure initcall ordering 3 years ago
generate_rust_analyzer.py scripts: generate_rust_analyzer: provide `cfg`s for `core` and `alloc` 9 months ago
generate_rust_target.rs arm64 updates for 6.9: 2 months ago
get_abi.pl scripts/get_abi.pl: ignore some temp files 4 months ago
get_dvb_firmware
get_feat.pl scripts: get_feat.pl: use /usr/bin/env to find perl 2 years ago
get_maintainer.pl get_maintainer: remove stray punctuation when cleaning file emails 4 months ago
gfp-translate scripts: fix the gfp flags header path in gfp-translate 11 months ago
git.orderFile scripts: Introduce a default git.orderFile 4 months ago
head-object-list.txt scripts: clean up IA-64 code 5 months ago
headerdep.pl
headers_install.sh hexagon: Remove CONFIG_HEXAGON_ARCH_VERSION from uapi header 5 months ago
insert-sys-cert.c
install.sh kbuild: factor out the common installation code into scripts/install.sh 2 years ago
jobserver-exec scripts: support GNU make 4.4 in jobserver-exec 1 year ago
kallsyms.c scripts/kallsyms: Fix build failure by setting errno before calling getline() 9 months ago
kernel-doc docs: Fix bitfield handling in kernel-doc 1 month ago
ld-version.sh kbuild: collect minimum tool versions into scripts/min-tool-version.sh 3 years ago
leaking_addresses.pl leaking_addresses: Provide mechanism to scan binary files 2 months ago
link-vmlinux.sh kbuild: Fix changing ELF file type for output of gen_btf for big endian 3 months ago
makelst
markup_oops.pl
min-tool-version.sh - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min 2 months ago
misc-check kbuild: make W=1 warn files that are tracked but ignored by git 1 year ago
mkcompile_h Revert "kbuild: Make scripts/compile.h when sh != bash" 2 years ago
mksysmap kallsyms: ignore ARMv4 thunks along with others 3 months ago
mkuboot.sh
module.lds.S arm64: unwind: add asynchronous unwind tables to kernel and modules 2 years ago
modules-check.sh kbuild: change module.order to list *.o instead of *.ko 1 year ago
nsdeps scripts/nsdeps: adjust to the format change of *.mod files 2 years ago
objdiff kbuild: clean .tmp_* pattern by make clean 2 years ago
objdump-func scripts/objdump-func: Support multiple functions 1 year ago
orc_hash.sh x86/unwind/orc: Add ELF section with ORC version identifier 11 months ago
pahole-version.sh kbuild: Add CONFIG_PAHOLE_VERSION 2 years ago
parse-maintainers.pl
patch-kernel
profile2linkerlist.pl
prune-kernel scripts/prune-kernel: Use kernel-install if available 2 years ago
recordmcount.c scripts: clean up IA-64 code 5 months ago
recordmcount.h recordmcount: Correct st_shndx handling 3 years ago
recordmcount.pl riscv: remove MCOUNT_NAME workaround 2 months ago
relocs_check.sh powerpc: Move script to check relocations at compile time in scripts/ 1 year ago
remove-stale-files kbuild: rpm-pkg: generate kernel.spec in rpmbuild/SPECS/ 7 months ago
rust_is_available.sh kbuild: rust_is_available: check that output looks as expected 9 months ago
rust_is_available_bindgen_libclang.h scripts: add `rust_is_available.sh` 2 years ago
rust_is_available_test.py kbuild: rust_is_available: add test suite 9 months ago
rustdoc_test_builder.rs rust: support running Rust documentation tests as KUnit ones 10 months ago
rustdoc_test_gen.rs rust: support running Rust documentation tests as KUnit ones 10 months ago
setlocalversion scripts/setlocalversion: also consider annotated tags of the form vx.y.z-${file_localversion} 9 months ago
show_delta scripts/show_delta: add __main__ judgement before main code 7 months ago
sign-file.c sign-file: Fix incorrect return values check 5 months ago
sorttable.c LoongArch: extable: Add `type` and `data` fields 1 year ago
sorttable.h x86,objtool: Split UNWIND_HINT_EMPTY in two 1 year ago
spdxcheck-test.sh docs: move Linux logo into a new `images` folder 2 years ago
spdxcheck.py scripts/spdxcheck: Put excluded files and directories into a separate file 2 years ago
spdxexclude scripts/spdxcheck: Exclude top-level README 2 years ago
spelling.txt scripts/spelling.txt: add more spellings to spelling.txt 5 months ago
sphinx-pre-install docs: drop the version constraints for sphinx and dependencies 2 months ago
split-man.pl tweewide: Fix most Shebang lines 3 years ago
stackdelta
stackusage
subarch.include LoongArch: Add build infrastructure 2 years ago
syscallhdr.sh scripts: check duplicated syscall number in syscall table 3 years ago
syscallnr.sh scripts: make some scripts executable 3 years ago
syscalltbl.sh scripts: check duplicated syscall number in syscall table 3 years ago
tags.sh scripts/tags.sh: remove find_sources 4 months ago
test_fortify.sh fortify: Update compile-time tests for Clang 14 2 years ago
tools-support-relr.sh Makefile: use -z pack-relative-relocs 1 year ago
unifdef.c
ver_linux Removed the oprofiled version option 3 years ago
xen-hypercalls.sh scripts: make some scripts executable 3 years ago
xz_wrap.sh scripts: clean up IA-64 code 5 months ago