svn commit: r367066 - head/sys/compat/linux
Ronald Klop
ronald-lists at klop.ws
Mon Oct 26 21:17:12 UTC 2020
On Mon, 26 Oct 2020 19:03:51 +0100, Mateusz Guzik <mjg at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the svn-src-head
mailing list