Date: Mon, 26 Oct 2020 22:17:07 +0100 From: "Ronald Klop" <ronald-lists@klop.ws> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, "Mateusz Guzik" <mjg@freebsd.org> Subject: Re: svn commit: r367066 - head/sys/compat/linux Message-ID: <op.0s35etxwkndu52@sjakie> In-Reply-To: <202010261803.09QI3psK037740@repo.freebsd.org> References: <202010261803.09QI3psK037740@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Oct 2020 19:03:51 +0100, Mateusz Guzik <mjg@freebsd.org> wrote: > 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. Is ratelimiting possible here? Ronald. > 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-all@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.0s35etxwkndu52>