The branch stable/12 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=e1e6daa8cf8e385a0c94c5275296252488646615
commit e1e6daa8cf8e385a0c94c5275296252488646615 Author: Mateusz Guzik <m...@freebsd.org> AuthorDate: 2020-10-26 18:03:50 +0000 Commit: Dmitry Chagin <dcha...@freebsd.org> CommitDate: 2021-06-10 09:28:35 +0000 linux: silence renameat2 flags warning Hogs the console while building the Linux kernel in a Ubuntu Focal jail. (cherry picked from commit fe76bef462048f9beb3bffd448ae1adb01969594) --- sys/compat/linux/linux_file.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 0b7efb6fa964..ae7dbe76c96d 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -715,8 +715,16 @@ linux_renameat2(struct thread *td, struct linux_renameat2_args *args) 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); } _______________________________________________ dev-commits-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"