mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #10722 from p12tic:fix-cpuinfo-comment
PiperOrigin-RevId: 659596152
This commit is contained in:
@@ -120,9 +120,10 @@ namespace {
|
||||
#endif /* SUID_DUMP_ROOT */
|
||||
|
||||
#if defined(__x86_64__) || defined(__i386__)
|
||||
// This list of "required" fields is taken from reading the file
|
||||
// arch/x86/kernel/cpu/proc.c and seeing which fields will be unconditionally
|
||||
// printed by the kernel.
|
||||
// This list of "required" fields consists of the set of fields that are printed
|
||||
// unconditionally by the kernel (see arch/x86/kernel/cpu/proc.c) and a set of
|
||||
// fields that are printed conditionally, but are present on common
|
||||
// configurations (e.g. when CONFIG_SMP is set).
|
||||
static const char* required_fields[] = {
|
||||
"processor",
|
||||
"vendor_id",
|
||||
|
||||
Reference in New Issue
Block a user