Date: Mon, 26 Oct 2020 18:03:51 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367066 - head/sys/compat/linux Message-ID: <202010261803.09QI3psK037740@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010261803.09QI3psK037740>