Debian Codegraph @

upstream/debian-unstable/man5/proc_config.gz.5

raw
1 .\" Copyright 1994-1995, Daniel Quinlan <[email protected]>
2 .\" Copyright 2002-2017, Michael Kerrisk <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
6 .\"
7 .TH proc_config.gz 5 2026-02-08 "Linux man-pages 6.18"
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;
22 view or search them using
23 .BR zcat (1)
24 and
25 .BR zgrep (1).
26 As long as no changes have been made to the following file,
27 the contents of
28 .I /proc/config.gz
29 are the same as those provided by:
30 .IP
31 .in +4n
32 .EX
33 cat /lib/modules/$(uname \-r)/build/.config
34 .EE
35 .in
36 .IP
37 .I /proc/config.gz
38 is provided only if the kernel is configured with
39 .BR CONFIG_IKCONFIG_PROC .
40 .SH SEE ALSO
41 .BR proc (5)