lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111230502.zgbSJBW7-lkp@intel.com>
Date:   Tue, 23 Nov 2021 05:32:14 +0800
From:   kernel test robot <lkp@...el.com>
To:     Xiaoming Ni <nixiaoming@...wei.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Luis Chamberlain <mcgrof@...nel.org>,
        Kees Cook <keescook@...omium.org>
Subject: [mcgrof-next:20211116-sysctl-cleanups-v4 2/35]
 kernel/sysctl.c:2672:36: error: 'two' undeclared here (not in a function)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211116-sysctl-cleanups-v4
head:   5347239461f25fc50aa761923245b9ec4a4aafec
commit: 37e460619d410ba6d64ba60869e4883fb0b397ee [2/35] sysctl: Move some boundary constants form sysctl.c to sysctl_vals
config: m68k-defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=37e460619d410ba6d64ba60869e4883fb0b397ee
        git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
        git fetch --no-tags mcgrof-next 20211116-sysctl-cleanups-v4
        git checkout 37e460619d410ba6d64ba60869e4883fb0b397ee
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

Note: the mcgrof-next/20211116-sysctl-cleanups-v4 HEAD 5347239461f25fc50aa761923245b9ec4a4aafec builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> kernel/sysctl.c:2672:36: error: 'two' undeclared here (not in a function)
    2672 |                 .extra2         = &two,
         |                                    ^~~


vim +/two +2672 kernel/sysctl.c

cb8e59cc87201a Linus Torvalds               2020-06-03  2417  
cb8e59cc87201a Linus Torvalds               2020-06-03  2418  #if (defined(CONFIG_X86_32) || defined(CONFIG_PARISC)) && \
cb8e59cc87201a Linus Torvalds               2020-06-03  2419  	defined(CONFIG_DEBUG_STACKOVERFLOW)
^1da177e4c3f41 Linus Torvalds               2005-04-16  2420  	{
cb8e59cc87201a Linus Torvalds               2020-06-03  2421  		.procname	= "panic_on_stackoverflow",
cb8e59cc87201a Linus Torvalds               2020-06-03  2422  		.data		= &sysctl_panic_on_stackoverflow,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2423  		.maxlen		= sizeof(int),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2424  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2425  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2426  	},
cb8e59cc87201a Linus Torvalds               2020-06-03  2427  #endif
cb8e59cc87201a Linus Torvalds               2020-06-03  2428  #if defined(CONFIG_X86)
9cfe015aa424b3 Eric Dumazet                 2008-02-06  2429  	{
cb8e59cc87201a Linus Torvalds               2020-06-03  2430  		.procname	= "panic_on_unrecovered_nmi",
cb8e59cc87201a Linus Torvalds               2020-06-03  2431  		.data		= &panic_on_unrecovered_nmi,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2432  		.maxlen		= sizeof(int),
9cfe015aa424b3 Eric Dumazet                 2008-02-06  2433  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2434  		.proc_handler	= proc_dointvec,
9cfe015aa424b3 Eric Dumazet                 2008-02-06  2435  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2436  	{
cb8e59cc87201a Linus Torvalds               2020-06-03  2437  		.procname	= "panic_on_io_nmi",
cb8e59cc87201a Linus Torvalds               2020-06-03  2438  		.data		= &panic_on_io_nmi,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2439  		.maxlen		= sizeof(int),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2440  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2441  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2442  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2443  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2444  		.procname	= "bootloader_type",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2445  		.data		= &bootloader_type,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2446  		.maxlen		= sizeof (int),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2447  		.mode		= 0444,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2448  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2449  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2450  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2451  		.procname	= "bootloader_version",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2452  		.data		= &bootloader_version,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2453  		.maxlen		= sizeof (int),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2454  		.mode		= 0444,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2455  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2456  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2457  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2458  		.procname	= "io_delay_type",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2459  		.data		= &io_delay_type,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2460  		.maxlen		= sizeof(int),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2461  		.mode		= 0644,
6d4561110a3e9f Eric W. Biederman            2009-11-16  2462  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2463  	},
bfcd17a6c5529b Thomas Petazzoni             2008-08-06  2464  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2465  #if defined(CONFIG_MMU)
^1da177e4c3f41 Linus Torvalds               2005-04-16  2466  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2467  		.procname	= "randomize_va_space",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2468  		.data		= &randomize_va_space,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2469  		.maxlen		= sizeof(int),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2470  		.mode		= 0644,
6d4561110a3e9f Eric W. Biederman            2009-11-16  2471  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2472  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2473  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2474  #if defined(CONFIG_S390) && defined(CONFIG_SMP)
^1da177e4c3f41 Linus Torvalds               2005-04-16  2475  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2476  		.procname	= "spin_retry",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2477  		.data		= &spin_retry,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2478  		.maxlen		= sizeof (int),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2479  		.mode		= 0644,
6d4561110a3e9f Eric W. Biederman            2009-11-16  2480  		.proc_handler	= proc_dointvec,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2481  	},
bfcd17a6c5529b Thomas Petazzoni             2008-08-06  2482  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2483  #if	defined(CONFIG_ACPI_SLEEP) && defined(CONFIG_X86)
^1da177e4c3f41 Linus Torvalds               2005-04-16  2484  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2485  		.procname	= "acpi_video_flags",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2486  		.data		= &acpi_realmode_flags,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2487  		.maxlen		= sizeof (unsigned long),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2488  		.mode		= 0644,
6d4561110a3e9f Eric W. Biederman            2009-11-16  2489  		.proc_handler	= proc_doulongvec_minmax,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2490  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2491  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2492  #ifdef CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN
0399cb08c54708 Robert Love                  2005-07-13  2493  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2494  		.procname	= "ignore-unaligned-usertrap",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2495  		.data		= &no_unaligned_warning,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2496  		.maxlen		= sizeof (int),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2497  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2498  		.proc_handler	= proc_dointvec,
0399cb08c54708 Robert Love                  2005-07-13  2499  	},
0399cb08c54708 Robert Love                  2005-07-13  2500  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2501  #ifdef CONFIG_IA64
7ef9964e6d1b91 Davide Libenzi               2008-12-01  2502  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2503  		.procname	= "unaligned-dump-stack",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2504  		.data		= &unaligned_dump_stack,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2505  		.maxlen		= sizeof (int),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2506  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2507  		.proc_handler	= proc_dointvec,
7ef9964e6d1b91 Davide Libenzi               2008-12-01  2508  	},
7ef9964e6d1b91 Davide Libenzi               2008-12-01  2509  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2510  #ifdef CONFIG_DETECT_HUNG_TASK
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2511  #ifdef CONFIG_SMP
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2512  	{
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2513  		.procname	= "hung_task_all_cpu_backtrace",
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2514  		.data		= &sysctl_hung_task_all_cpu_backtrace,
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2515  		.maxlen		= sizeof(int),
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2516  		.mode		= 0644,
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2517  		.proc_handler	= proc_dointvec_minmax,
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2518  		.extra1		= SYSCTL_ZERO,
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2519  		.extra2		= SYSCTL_ONE,
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2520  	},
0ec9dc9bcba0a6 Guilherme G. Piccoli         2020-06-07  2521  #endif /* CONFIG_SMP */
800179c9b8a1e7 Kees Cook                    2012-07-25  2522  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2523  		.procname	= "hung_task_panic",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2524  		.data		= &sysctl_hung_task_panic,
800179c9b8a1e7 Kees Cook                    2012-07-25  2525  		.maxlen		= sizeof(int),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2526  		.mode		= 0644,
800179c9b8a1e7 Kees Cook                    2012-07-25  2527  		.proc_handler	= proc_dointvec_minmax,
eec4844fae7c03 Matteo Croce                 2019-07-18  2528  		.extra1		= SYSCTL_ZERO,
eec4844fae7c03 Matteo Croce                 2019-07-18  2529  		.extra2		= SYSCTL_ONE,
800179c9b8a1e7 Kees Cook                    2012-07-25  2530  	},
800179c9b8a1e7 Kees Cook                    2012-07-25  2531  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2532  		.procname	= "hung_task_check_count",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2533  		.data		= &sysctl_hung_task_check_count,
800179c9b8a1e7 Kees Cook                    2012-07-25  2534  		.maxlen		= sizeof(int),
9cfe015aa424b3 Eric Dumazet                 2008-02-06  2535  		.mode		= 0644,
800179c9b8a1e7 Kees Cook                    2012-07-25  2536  		.proc_handler	= proc_dointvec_minmax,
eec4844fae7c03 Matteo Croce                 2019-07-18  2537  		.extra1		= SYSCTL_ZERO,
800179c9b8a1e7 Kees Cook                    2012-07-25  2538  	},
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2539  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2540  		.procname	= "hung_task_timeout_secs",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2541  		.data		= &sysctl_hung_task_timeout_secs,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2542  		.maxlen		= sizeof(unsigned long),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2543  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2544  		.proc_handler	= proc_dohung_task_timeout_secs,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2545  		.extra2		= &hung_task_timeout_max,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2546  	},
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2547  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2548  		.procname	= "hung_task_check_interval_secs",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2549  		.data		= &sysctl_hung_task_check_interval_secs,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2550  		.maxlen		= sizeof(unsigned long),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2551  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2552  		.proc_handler	= proc_dohung_task_timeout_secs,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2553  		.extra2		= &hung_task_timeout_max,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2554  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2555  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2556  		.procname	= "hung_task_warnings",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2557  		.data		= &sysctl_hung_task_warnings,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2558  		.maxlen		= sizeof(int),
^1da177e4c3f41 Linus Torvalds               2005-04-16  2559  		.mode		= 0644,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2560  		.proc_handler	= proc_dointvec_minmax,
37e460619d410b Xiaoming Ni                  2020-05-16  2561  		.extra1		= SYSCTL_NEG_ONE,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2562  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2563  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2564  #ifdef CONFIG_RT_MUTEXES
d6e711448137ca Alan Cox                     2005-06-23  2565  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2566  		.procname	= "max_lock_depth",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2567  		.data		= &max_lock_depth,
d6e711448137ca Alan Cox                     2005-06-23  2568  		.maxlen		= sizeof(int),
d6e711448137ca Alan Cox                     2005-06-23  2569  		.mode		= 0644,
6d4561110a3e9f Eric W. Biederman            2009-11-16  2570  		.proc_handler	= proc_dointvec,
d6e711448137ca Alan Cox                     2005-06-23  2571  	},
bfcd17a6c5529b Thomas Petazzoni             2008-08-06  2572  #endif
2abc26fc6b6f60 Eric W. Biederman            2007-02-14  2573  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2574  		.procname	= "poweroff_cmd",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2575  		.data		= &poweroff_cmd,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2576  		.maxlen		= POWEROFF_CMD_PATH_LEN,
^1da177e4c3f41 Linus Torvalds               2005-04-16  2577  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2578  		.proc_handler	= proc_dostring,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2579  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2580  #ifdef CONFIG_KEYS
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2581  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2582  		.procname	= "keys",
2abc26fc6b6f60 Eric W. Biederman            2007-02-14  2583  		.mode		= 0555,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2584  		.child		= key_sysctls,
2abc26fc6b6f60 Eric W. Biederman            2007-02-14  2585  	},
2abc26fc6b6f60 Eric W. Biederman            2007-02-14  2586  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2587  #ifdef CONFIG_PERF_EVENTS
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2588  	/*
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2589  	 * User-space scripts rely on the existence of this file
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2590  	 * as a feature check for perf_events being enabled.
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2591  	 *
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2592  	 * So it's an ABI, do not remove!
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2593  	 */
b492e95be0ae67 Jens Axboe                   2010-05-19  2594  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2595  		.procname	= "perf_event_paranoid",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2596  		.data		= &sysctl_perf_event_paranoid,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2597  		.maxlen		= sizeof(sysctl_perf_event_paranoid),
b492e95be0ae67 Jens Axboe                   2010-05-19  2598  		.mode		= 0644,
6d4561110a3e9f Eric W. Biederman            2009-11-16  2599  		.proc_handler	= proc_dointvec,
b492e95be0ae67 Jens Axboe                   2010-05-19  2600  	},
759c01142a5d0f Willy Tarreau                2016-01-18  2601  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2602  		.procname	= "perf_event_mlock_kb",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2603  		.data		= &sysctl_perf_event_mlock,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2604  		.maxlen		= sizeof(sysctl_perf_event_mlock),
759c01142a5d0f Willy Tarreau                2016-01-18  2605  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2606  		.proc_handler	= proc_dointvec,
759c01142a5d0f Willy Tarreau                2016-01-18  2607  	},
759c01142a5d0f Willy Tarreau                2016-01-18  2608  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2609  		.procname	= "perf_event_max_sample_rate",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2610  		.data		= &sysctl_perf_event_sample_rate,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2611  		.maxlen		= sizeof(sysctl_perf_event_sample_rate),
759c01142a5d0f Willy Tarreau                2016-01-18  2612  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2613  		.proc_handler	= perf_proc_update_handler,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2614  		.extra1		= SYSCTL_ONE,
759c01142a5d0f Willy Tarreau                2016-01-18  2615  	},
d29216842a85c7 Eric W. Biederman            2016-09-28  2616  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2617  		.procname	= "perf_cpu_time_max_percent",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2618  		.data		= &sysctl_perf_cpu_time_max_percent,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2619  		.maxlen		= sizeof(sysctl_perf_cpu_time_max_percent),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2620  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2621  		.proc_handler	= perf_cpu_time_max_percent_handler,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2622  		.extra1		= SYSCTL_ZERO,
37e460619d410b Xiaoming Ni                  2020-05-16  2623  		.extra2		= SYSCTL_ONE_HUNDRED,
0399cb08c54708 Robert Love                  2005-07-13  2624  	},
7ef9964e6d1b91 Davide Libenzi               2008-12-01  2625  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2626  		.procname	= "perf_event_max_stack",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2627  		.data		= &sysctl_perf_event_max_stack,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2628  		.maxlen		= sizeof(sysctl_perf_event_max_stack),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2629  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2630  		.proc_handler	= perf_event_max_stack_handler,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2631  		.extra1		= SYSCTL_ZERO,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2632  		.extra2		= &six_hundred_forty_kb,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2633  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2634  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2635  		.procname	= "perf_event_max_contexts_per_stack",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2636  		.data		= &sysctl_perf_event_max_contexts_per_stack,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2637  		.maxlen		= sizeof(sysctl_perf_event_max_contexts_per_stack),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2638  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2639  		.proc_handler	= perf_event_max_stack_handler,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2640  		.extra1		= SYSCTL_ZERO,
37e460619d410b Xiaoming Ni                  2020-05-16  2641  		.extra2		= SYSCTL_ONE_THOUSAND,
7ef9964e6d1b91 Davide Libenzi               2008-12-01  2642  	},
^1da177e4c3f41 Linus Torvalds               2005-04-16  2643  #endif
800179c9b8a1e7 Kees Cook                    2012-07-25  2644  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2645  		.procname	= "panic_on_warn",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2646  		.data		= &panic_on_warn,
800179c9b8a1e7 Kees Cook                    2012-07-25  2647  		.maxlen		= sizeof(int),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2648  		.mode		= 0644,
800179c9b8a1e7 Kees Cook                    2012-07-25  2649  		.proc_handler	= proc_dointvec_minmax,
eec4844fae7c03 Matteo Croce                 2019-07-18  2650  		.extra1		= SYSCTL_ZERO,
eec4844fae7c03 Matteo Croce                 2019-07-18  2651  		.extra2		= SYSCTL_ONE,
800179c9b8a1e7 Kees Cook                    2012-07-25  2652  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2653  #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON)
800179c9b8a1e7 Kees Cook                    2012-07-25  2654  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2655  		.procname	= "timer_migration",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2656  		.data		= &sysctl_timer_migration,
d29216842a85c7 Eric W. Biederman            2016-09-28  2657  		.maxlen		= sizeof(unsigned int),
d29216842a85c7 Eric W. Biederman            2016-09-28  2658  		.mode		= 0644,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2659  		.proc_handler	= timer_migration_handler,
eec4844fae7c03 Matteo Croce                 2019-07-18  2660  		.extra1		= SYSCTL_ZERO,
eec4844fae7c03 Matteo Croce                 2019-07-18  2661  		.extra2		= SYSCTL_ONE,
800179c9b8a1e7 Kees Cook                    2012-07-25  2662  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2663  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2664  #ifdef CONFIG_BPF_SYSCALL
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2665  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2666  		.procname	= "unprivileged_bpf_disabled",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2667  		.data		= &sysctl_unprivileged_bpf_disabled,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2668  		.maxlen		= sizeof(sysctl_unprivileged_bpf_disabled),
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2669  		.mode		= 0644,
08389d888287c3 Daniel Borkmann              2021-05-11  2670  		.proc_handler	= bpf_unpriv_handler,
08389d888287c3 Daniel Borkmann              2021-05-11  2671  		.extra1		= SYSCTL_ZERO,
08389d888287c3 Daniel Borkmann              2021-05-11 @2672  		.extra2		= &two,
d29216842a85c7 Eric W. Biederman            2016-09-28  2673  	},
abd4f7505bafdd Masoud Asgharifard Sharbiani 2007-07-22  2674  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2675  		.procname	= "bpf_stats_enabled",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2676  		.data		= &bpf_stats_enabled_key.key,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2677  		.maxlen		= sizeof(bpf_stats_enabled_key),
abd4f7505bafdd Masoud Asgharifard Sharbiani 2007-07-22  2678  		.mode		= 0644,
d46edd671a1470 Song Liu                     2020-04-30  2679  		.proc_handler	= bpf_stats_handler,
abd4f7505bafdd Masoud Asgharifard Sharbiani 2007-07-22  2680  	},
b2be84df99ebc9 Masami Hiramatsu             2010-02-25  2681  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2682  #if defined(CONFIG_TREE_RCU)
b2be84df99ebc9 Masami Hiramatsu             2010-02-25  2683  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2684  		.procname	= "panic_on_rcu_stall",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2685  		.data		= &sysctl_panic_on_rcu_stall,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2686  		.maxlen		= sizeof(sysctl_panic_on_rcu_stall),
b2be84df99ebc9 Masami Hiramatsu             2010-02-25  2687  		.mode		= 0644,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2688  		.proc_handler	= proc_dointvec_minmax,
eec4844fae7c03 Matteo Croce                 2019-07-18  2689  		.extra1		= SYSCTL_ZERO,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2690  		.extra2		= SYSCTL_ONE,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2691  	},
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2692  #endif
dfe564045c653d chao                         2020-08-30  2693  #if defined(CONFIG_TREE_RCU)
dfe564045c653d chao                         2020-08-30  2694  	{
dfe564045c653d chao                         2020-08-30  2695  		.procname	= "max_rcu_stall_to_panic",
dfe564045c653d chao                         2020-08-30  2696  		.data		= &sysctl_max_rcu_stall_to_panic,
dfe564045c653d chao                         2020-08-30  2697  		.maxlen		= sizeof(sysctl_max_rcu_stall_to_panic),
dfe564045c653d chao                         2020-08-30  2698  		.mode		= 0644,
dfe564045c653d chao                         2020-08-30  2699  		.proc_handler	= proc_dointvec_minmax,
dfe564045c653d chao                         2020-08-30  2700  		.extra1		= SYSCTL_ONE,
dfe564045c653d chao                         2020-08-30  2701  		.extra2		= SYSCTL_INT_MAX,
dfe564045c653d chao                         2020-08-30  2702  	},
dfe564045c653d chao                         2020-08-30  2703  #endif
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2704  #ifdef CONFIG_STACKLEAK_RUNTIME_DISABLE
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2705  	{
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2706  		.procname	= "stack_erasing",
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2707  		.data		= NULL,
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2708  		.maxlen		= sizeof(int),
30aba6656f61ed Salvatore Mesoraca           2018-08-23  2709  		.mode		= 0600,
f461d2dcd511c0 Christoph Hellwig            2020-04-24  2710  		.proc_handler	= stack_erasing_sysctl,
eec4844fae7c03 Matteo Croce                 2019-07-18  2711  		.extra1		= SYSCTL_ZERO,
eec4844fae7c03 Matteo Croce                 2019-07-18  2712  		.extra2		= SYSCTL_ONE,
b2be84df99ebc9 Masami Hiramatsu             2010-02-25  2713  	},
abd4f7505bafdd Masoud Asgharifard Sharbiani 2007-07-22  2714  #endif
6fce56ec91b502 Eric W. Biederman            2009-04-03  2715  	{ }
^1da177e4c3f41 Linus Torvalds               2005-04-16  2716  };
^1da177e4c3f41 Linus Torvalds               2005-04-16  2717  

:::::: The code at line 2672 was first introduced by commit
:::::: 08389d888287c3823f80b0216766b71e17f0aba5 bpf: Add kconfig knob for disabling unpriv bpf by default

:::::: TO: Daniel Borkmann <daniel@...earbox.net>
:::::: CC: Alexei Starovoitov <ast@...nel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (17520 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ