Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/jeffxu-chromium-org/mm-memfd-add-MFD_NOEXEC_SEAL-and-MFD_EXEC/20221202-093847 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20221202013404.163143-3-jeffxu%40google.com patch subject: [PATCH v3] mm/memfd: add MFD_NOEXEC_SEAL and MFD_EXEC config: i386-randconfig-a003 compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/d6b8fec1440cb9206bef29eb27359a61e6c73f41 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review jeffxu-chromium-org/mm-memfd-add-MFD_NOEXEC_SEAL-and-MFD_EXEC/20221202-093847 git checkout d6b8fec1440cb9206bef29eb27359a61e6c73f41 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/pid_namespace.c:263:5: warning: no previous prototype for 'pid_mfd_noexec_dointvec_minmax' [-Wmissing-prototypes] 263 | int pid_mfd_noexec_dointvec_minmax(struct ctl_table *table, int write, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/pid_mfd_noexec_dointvec_minmax +263 kernel/pid_namespace.c 261 262 #if defined(CONFIG_SYSCTL) && defined(CONFIG_MEMFD_CREATE) > 263 int pid_mfd_noexec_dointvec_minmax(struct ctl_table *table, int write, 264 void *buffer, size_t *lenp, loff_t *ppos) 265 { 266 struct pid_namespace *ns = task_active_pid_ns(current); 267 struct ctl_table table_copy; 268 269 if (write && !capable(CAP_SYS_ADMIN)) 270 return -EPERM; 271 272 table_copy = *table; 273 if (ns != &init_pid_ns) 274 table_copy.data = &ns->memfd_noexec_scope; 275 276 /* 277 * set minimum to current value, the effect is only bigger 278 * value is accepted. 279 */ 280 if (*(int *)table_copy.data > *(int *)table_copy.extra1) 281 table_copy.extra1 = table_copy.data; 282 283 return proc_dointvec_minmax(&table_copy, write, buffer, lenp, ppos); 284 } 285 -- 0-DAY CI Kernel Test Service https://01.org/lkp