CC: [email protected] CC: [email protected] TO: Josh Hunt <[email protected]> CC: Peter Zijlstra <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ad347abe4a9876b1f65f408ab467137e88f77eb4 commit: 6db12ee0456d0e369c7b59788d46e15a56ad0294 psi: allow unprivileged users with CAP_SYS_RESOURCE to write psi files date: 9 weeks ago :::::: branch date: 12 hours ago :::::: commit date: 9 weeks ago config: x86_64-randconfig-m001-20210611 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: kernel/sched/psi.c:1364 psi_proc_init() warn: proc file '"pressure/io"' is world writable kernel/sched/psi.c:1365 psi_proc_init() warn: proc file '"pressure/memory"' is world writable kernel/sched/psi.c:1366 psi_proc_init() warn: proc file '"pressure/cpu"' is world writable vim +1364 kernel/sched/psi.c eb414681d5a07d Johannes Weiner 2018-10-26 1359 eb414681d5a07d Johannes Weiner 2018-10-26 1360 static int __init psi_proc_init(void) eb414681d5a07d Johannes Weiner 2018-10-26 1361 { 3d817689a62cf7 Wang Long 2019-12-18 1362 if (psi_enable) { eb414681d5a07d Johannes Weiner 2018-10-26 1363 proc_mkdir("pressure", NULL); 6db12ee0456d0e Josh Hunt 2021-04-01 @1364 proc_create("pressure/io", 0666, NULL, &psi_io_proc_ops); 6db12ee0456d0e Josh Hunt 2021-04-01 @1365 proc_create("pressure/memory", 0666, NULL, &psi_memory_proc_ops); 6db12ee0456d0e Josh Hunt 2021-04-01 @1366 proc_create("pressure/cpu", 0666, NULL, &psi_cpu_proc_ops); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
