CONTRIBUTING.d/patches: Please provide a git-range-diff(1)
[man-pages.git] / man5 / proc_config.gz.5
blob2b465465227ee2da438efda5b8cf7fdc797ea221
1 .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
2 .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
4 .\"
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
6 .\"
7 .TH proc_config.gz 5 (date) "Linux man-pages (unreleased)"
8 .SH NAME
9 /proc/config.gz \- kernel build configuration
10 .SH DESCRIPTION
11 .TP
12 .IR /proc/config.gz " (since Linux 2.6)"
13 This file exposes the configuration options that were used
14 to build the currently running kernel,
15 in the same format as they would be shown in the
16 .I .config
17 file that resulted when configuring the kernel (using
18 .IR "make xconfig" ,
19 .IR "make config" ,
20 or similar).
21 The file contents are compressed; view or search them using
22 .BR zcat (1)
23 and
24 .BR zgrep (1).
25 As long as no changes have been made to the following file,
26 the contents of
27 .I /proc/config.gz
28 are the same as those provided by:
29 .IP
30 .in +4n
31 .EX
32 cat /lib/modules/$(uname \-r)/build/.config
33 .EE
34 .in
35 .IP
36 .I /proc/config.gz
37 is provided only if the kernel is configured with
38 .BR CONFIG_IKCONFIG_PROC .
39 .SH SEE ALSO
40 .BR proc (5)