Merge tag 'hardening-v6.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-stable.git] / .gitignore
blob5937c74d3dc1e4ca56d93ea0b8d5ff9fc64ec839
1 # SPDX-License-Identifier: GPL-2.0-only
3 # NOTE! Don't add files that are generated in specific
4 # subdirectories here. Add them in the ".gitignore" file
5 # in that subdirectory instead.
7 # NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
8 # command after changing this file, to see if there are
9 # any tracked files which get ignored after the change.
11 # Normal rules (sorted alphabetically)
14 *.a
15 *.asn1.[ch]
16 *.bin
17 *.bz2
18 *.c.[012]*.*
19 *.dt.yaml
20 *.dtb
21 *.dtbo
22 *.dtb.S
23 *.dtbo.S
24 *.dwo
25 *.dylib
26 *.elf
27 *.gcno
28 *.gcda
29 *.gz
30 *.i
31 *.ko
32 *.lex.c
33 *.ll
34 *.lst
35 *.lz4
36 *.lzma
37 *.lzo
38 *.mod
39 *.mod.c
40 *.o
41 *.o.*
42 *.patch
43 *.rmeta
44 *.rpm
45 *.rsi
46 *.s
47 *.so
48 *.so.dbg
49 *.su
50 *.symtypes
51 *.tab.[ch]
52 *.tar
53 *.xz
54 *.zst
55 Module.symvers
56 dtbs-list
57 modules.order
60 # Top-level generic files
62 /linux
63 /modules-only.symvers
64 /vmlinux
65 /vmlinux.32
66 /vmlinux.map
67 /vmlinux.symvers
68 /vmlinux-gdb.py
69 /vmlinuz
70 /System.map
71 /Module.markers
72 /modules.builtin
73 /modules.builtin.modinfo
74 /modules.builtin.ranges
75 /modules.nsdeps
78 # RPM spec file (make rpm-pkg)
80 /rpmbuild/
83 # Debian directory (make deb-pkg)
85 /debian/
88 # Snap directory (make snap-pkg)
90 /snap/
93 # tar directory (make tar*-pkg)
95 /tar-install/
98 # pacman files (make pacman-pkg)
100 /PKGBUILD
101 /pacman/
104 # We don't want to ignore the following even if they are dot-files
106 !.clang-format
107 !.clippy.toml
108 !.cocciconfig
109 !.editorconfig
110 !.get_maintainer.ignore
111 !.gitattributes
112 !.gitignore
113 !.kunitconfig
114 !.mailmap
115 !.rustfmt.toml
118 # Generated include files
120 /include/config/
121 /include/generated/
122 /arch/*/include/generated/
124 # stgit generated dirs
125 patches-*
127 # quilt's files
128 patches
129 series
131 # ctags files
132 tags
133 !tags/
134 TAGS
136 # cscope files
137 cscope.*
138 ncscope.*
140 # gnu global files
141 GPATH
142 GRTAGS
143 GSYMS
144 GTAGS
146 # id-utils files
150 \#*#
153 # Leavings from module signing
155 extra_certificates
156 signing_key.pem
157 signing_key.priv
158 signing_key.x509
159 x509.genkey
161 # Kconfig presets
162 /all.config
163 /alldef.config
164 /allmod.config
165 /allno.config
166 /allrandom.config
167 /allyes.config
169 # Kconfig savedefconfig output
170 /defconfig
172 # Kdevelop4
173 *.kdev4
175 # Clang's compilation database file
176 /compile_commands.json
178 # Documentation toolchain
179 sphinx_*/
181 # Rust analyzer configuration
182 /rust-project.json