Author: mjg Date: Mon Oct 26 18:03:50 2020 New Revision: 367066 URL: https://svnweb.freebsd.org/changeset/base/367066
Log: linux: silence renameat2 flags warning Hogs the console while building the Linux kernel in a Ubuntu Focal jail. Modified: head/sys/compat/linux/linux_file.c Modified: head/sys/compat/linux/linux_file.c ============================================================================== --- head/sys/compat/linux/linux_file.c Mon Oct 26 18:02:52 2020 (r367065) +++ head/sys/compat/linux/linux_file.c Mon Oct 26 18:03:50 2020 (r367066) @@ -816,8 +816,16 @@ linux_renameat2(struct thread *td, struct linux_rename args->flags & (LINUX_RENAME_NOREPLACE | LINUX_RENAME_WHITEOUT)) return (EINVAL); +#if 0 + /* + * This spams the console on Ubuntu Focal. + * + * What's needed here is a general mechanism to let users know + * about missing features without hogging the system. + */ linux_msg(td, "renameat2 unsupported flags 0x%x", args->flags); +#endif return (EINVAL); } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"