Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string
On Thu, Dec 17, 2020 at 4:53 PM Konstantin Belousov wrote: > > On Thu, Dec 17, 2020 at 04:02:05PM +0100, Antoine Brodin wrote: > > On Thu, Dec 17, 2020 at 11:07 AM Konstantin Belousov > > wrote: > > > Could you please try the following, which might be a right thing to do > > > regardless p11-kit quirk. > > > > Hi, > > > > This change fixes p11-kit. > Initially you said that there are ports broken by the change, and reply > mention only p11-kit as fixed. Are there more broken ports ? I don't know, it takes 2 or 3 days for bulk -a to complete. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string
On Thu, Dec 17, 2020 at 11:07 AM Konstantin Belousov wrote: > > On Thu, Dec 17, 2020 at 10:32:14AM +0100, Antoine Brodin wrote: > > On Wed, Dec 16, 2020 at 10:02 AM Konstantin Belousov > > wrote: > > > > > > Author: kib > > > Date: Wed Dec 16 09:02:09 2020 > > > New Revision: 368692 > > > URL: https://svnweb.freebsd.org/changeset/base/368692 > > > > > > Log: > > > Implement strerror_l(). > > > > > > Only for the arches that provide user-mode TLS. > > > > > > PR: 251651 > > > Requested by: yuri > > > Discussed with: emaste, jilles, tijl > > > Sponsored by: The FreeBSD Foundation > > > Differential revision:https://reviews.freebsd.org/D27495 > > > MFC after:2 weeks > > > > Hi, > > > > It seems that this change broke some ports. > > For instance: > > http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p558245_s368709/logs/errors/p11-kit-0.23.22.log > > p11-kit does strange/stupid thing. It checks for strerror_l() without > namespace restriction, but then in common/message.c, before actually using it, > it does > #define _POSIX_C_SOURCE 200112L > > Could you please try the following, which might be a right thing to do > regardless p11-kit quirk. Hi, This change fixes p11-kit. Cheers, Antoine > diff --git a/include/string.h b/include/string.h > index 3c5cceaeb85..774cf5fe975 100644 > --- a/include/string.h > +++ b/include/string.h > @@ -140,7 +140,7 @@ int timingsafe_bcmp(const void *, const void *, size_t); > int timingsafe_memcmp(const void *, const void *, size_t); > #endif /* __BSD_VISIBLE */ > > -#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) > +#if __POSIX_VISIBLE >= 200112 || defined(_XLOCALE_H_) > #include > #endif > ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string
On Wed, Dec 16, 2020 at 10:02 AM Konstantin Belousov wrote: > > Author: kib > Date: Wed Dec 16 09:02:09 2020 > New Revision: 368692 > URL: https://svnweb.freebsd.org/changeset/base/368692 > > Log: > Implement strerror_l(). > > Only for the arches that provide user-mode TLS. > > PR: 251651 > Requested by: yuri > Discussed with: emaste, jilles, tijl > Sponsored by: The FreeBSD Foundation > Differential revision:https://reviews.freebsd.org/D27495 > MFC after:2 weeks Hi, It seems that this change broke some ports. For instance: http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p558245_s368709/logs/errors/p11-kit-0.23.22.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r364438 - in head/cddl: contrib/opensolaris/lib/libdtrace/common usr.sbin/dtrace/tests/tools
On Thu, Aug 20, 2020 at 9:28 PM Mark Johnston wrote: > > Author: markj > Date: Thu Aug 20 19:28:19 2020 > New Revision: 364438 > URL: https://svnweb.freebsd.org/changeset/base/364438 > > Log: > Enable creation of static userspace probes in incremental builds. > > To define USDT probes, dtrace -G makes use of relocations for undefined > symbols: the target address is overwritten with NOPs and the location is > recorded in the DOF section of the output object file. To avoid link > errors, the original relocation is destroyed. However, this means that > the same input object file cannot be processed multiple times, as > happens during incremental rebuilds. Instead, only set the relocation > type to NONE, so that all information required to reconstruct USDT > probes is preserved. > > Reported by: bdrewery > MFC after:3 weeks > Sponsored by: The FreeBSD Foundation > > Modified: > head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c > head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_strtab.c > head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_strtab.h > head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh Hi, This change seems broken on i386: http://beefy17.nyi.freebsd.org/data/head-i386-default/p545731_s364466/logs/perl5-devel-5.33.0.262.log http://beefy17.nyi.freebsd.org/data/head-i386-default/p545731_s364466/logs/perl5.28-5.28.3.log http://beefy17.nyi.freebsd.org/data/head-i386-default/p545731_s364466/logs/perl5.30-5.30.3.log http://beefy17.nyi.freebsd.org/data/head-i386-default/p545731_s364466/logs/perl5-5.32.0.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r362261 - head/contrib/file/magic/Magdir
Author: antoine Date: Wed Jun 17 10:11:54 2020 New Revision: 362261 URL: https://svnweb.freebsd.org/changeset/base/362261 Log: Re-apply r333944 to unbreak ports Modified: head/contrib/file/magic/Magdir/elf Modified: head/contrib/file/magic/Magdir/elf == --- head/contrib/file/magic/Magdir/elf Wed Jun 17 08:35:35 2020 (r362260) +++ head/contrib/file/magic/Magdir/elf Wed Jun 17 10:11:54 2020 (r362261) @@ -50,9 +50,8 @@ !:mime application/x-object >16leshort 2 executable, !:mime application/x-executable ->16leshort 3 ${x?pie executable:shared object}, - -!:mime application/x-${x?pie-executable:sharedlib} +>16leshort 3 shared object, +!:mime application/x-sharedlib >16leshort 4 core file, !:mime application/x-coredump # OS-specific ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r362258 - in head: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/src lib/libmagic
On Wed, Jun 17, 2020 at 9:41 AM Xin LI wrote: > > Author: delphij > Date: Wed Jun 17 07:41:28 2020 > New Revision: 362258 > URL: https://svnweb.freebsd.org/changeset/base/362258 > > Log: > MFV r362254: file 5.39. > > MFC after:2 weeks Hi, Please re-apply r333944 Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r361770 - in head: include lib/libthr lib/libthr/thread share/man/man3
On Thu, Jun 4, 2020 at 4:30 AM Jung-uk Kim wrote: > > On 20. 6. 3., Konstantin Belousov wrote: > > Author: kib > > Date: Wed Jun 3 20:54:36 2020 > > New Revision: 361770 > > URL: https://svnweb.freebsd.org/changeset/base/361770 > > > > Log: > > Add pthread_getname_np() and pthread_setname_np() aliases > > > > for pthread_get_name_np() and pthread_set_name_np(), to be > > compatible with Linux. > > > > PR: 238404 > > Proposed and reviewed by: markj > > Sponsored by: The FreeBSD Foundation > > MFC after: 1 week > > Differential revision: https://reviews.freebsd.org/D25117 > > > > Modified: > > head/include/pthread_np.h > > head/lib/libthr/pthread.map > > head/lib/libthr/thread/thr_info.c > > head/share/man/man3/Makefile > > head/share/man/man3/pthread_set_name_np.3 > > > > Modified: head/include/pthread_np.h > > == > > --- head/include/pthread_np.h Wed Jun 3 20:42:52 2020(r361769) > > +++ head/include/pthread_np.h Wed Jun 3 20:54:36 2020(r361770) > > @@ -50,6 +50,7 @@ int pthread_attr_get_np(pthread_t, pthread_attr_t *); > > int pthread_attr_getaffinity_np(const pthread_attr_t *, size_t, cpuset_t > > *); > > int pthread_attr_setaffinity_np(pthread_attr_t *, size_t, const cpuset_t > > *); > > void pthread_get_name_np(pthread_t, char *, size_t); > > +void pthread_getname_np(pthread_t, char *, size_t); > > int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *); > > int pthread_getthreadid_np(void); > > int pthread_main_np(void); > > @@ -65,6 +66,7 @@ void pthread_resume_all_np(void); > > int pthread_resume_np(pthread_t); > > int pthread_peekjoin_np(pthread_t, void **); > > void pthread_set_name_np(pthread_t, const char *); > > +void pthread_setname_np(pthread_t, const char *); > > int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *); > > int pthread_single_np(void); > > void pthread_suspend_all_np(void); > > > > Modified: head/lib/libthr/pthread.map > > == > > --- head/lib/libthr/pthread.map Wed Jun 3 20:42:52 2020 > > (r361769) > > +++ head/lib/libthr/pthread.map Wed Jun 3 20:54:36 2020 > > (r361770) > > @@ -328,5 +328,7 @@ FBSD_1.5 { > > }; > > > > FBSD_1.6 { > > + pthread_getname_np; > >pthread_peekjoin_np; > > + pthread_setname_np; > > }; > > > > Modified: head/lib/libthr/thread/thr_info.c > > == > > --- head/lib/libthr/thread/thr_info.c Wed Jun 3 20:42:52 2020 > > (r361769) > > +++ head/lib/libthr/thread/thr_info.c Wed Jun 3 20:54:36 2020 > > (r361770) > > @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); > > #include "thr_private.h" > > > > __weak_reference(_pthread_set_name_np, pthread_set_name_np); > > +__weak_reference(_pthread_set_name_np, pthread_setname_np); > > > > static void > > thr_set_name_np(struct pthread *thread, const char *name) > > @@ -89,6 +90,7 @@ thr_get_name_np(struct pthread *thread, char *buf, siz > > } > > > > __weak_reference(_pthread_get_name_np, pthread_get_name_np); > > +__weak_reference(_pthread_get_name_np, pthread_getname_np); > > > > void > > _pthread_get_name_np(pthread_t thread, char *buf, size_t len) > > > > Modified: head/share/man/man3/Makefile > > == > > --- head/share/man/man3/Makefile Wed Jun 3 20:42:52 2020 > > (r361769) > > +++ head/share/man/man3/Makefile Wed Jun 3 20:54:36 2020 > > (r361770) > > @@ -493,7 +493,9 @@ PTHREAD_MLINKS+=pthread_rwlock_rdlock.3 pthread_rwlock > > PTHREAD_MLINKS+=pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3 > > PTHREAD_MLINKS+=pthread_schedparam.3 pthread_getschedparam.3 \ > > pthread_schedparam.3 pthread_setschedparam.3 > > -PTHREAD_MLINKS+=pthread_set_name_np.3 pthread_get_name_np.3 > > +PTHREAD_MLINKS+=pthread_set_name_np.3 pthread_get_name_np.3 \ > > + pthread_set_name_np.3 pthread_getname_np.3 \ > > + pthread_set_name_np.3 pthread_setname_np.3 > > PTHREAD_MLINKS+=pthread_spin_init.3 pthread_spin_destroy.3 \ > > pthread_spin_lock.3 pthread_spin_trylock.3 \ > > pthread_spin_lock.3 pthread_spin_unlock.3 > > > > Modified: head/share/man/man3/pthread_set_name_np.3 > > == > > --- head/share/man/man3/pthread_set_name_np.3 Wed Jun 3 20:42:52 2020 > > (r361769) > > +++ head/share/man/man3/pthread_set_name_np.3 Wed Jun 3 20:54:36 2020 > > (r361770) > > @@ -24,12 +24,14 @@ > > .\" > > .\" $FreeBSD$ > > .\" > > -.Dd August 12, 2018 > > +.Dd June 3, 2020 > > .Dt PTHREAD_SET_NAME_NP 3 > > .Os > > .Sh NAME > > .Nm pthread_get_name_np , > > +.Nm pthread_getname_np , > > .Nm pthread_set_name_np
Re: svn commit: r361303 - in head: lib/libc/gen libexec/rtld-elf sys/sys
On Thu, May 21, 2020 at 12:08 AM Konstantin Belousov wrote: > > Author: kib > Date: Wed May 20 22:08:26 2020 > New Revision: 361303 > URL: https://svnweb.freebsd.org/changeset/base/361303 > > Log: > Change the samantic of struct link_map l_addr member. > > It previously returned the object map base address, while all other > ELF operating systems return load offset, i.e. the difference between > map base and the link base. > > Explain the meaning of the field in the man page. > > Stop filling the mips-only l_offs member, which is apparently unused. > > PR: 246561 > Requested by: Damjan Jovanovic > Reviewed by: emaste, jhb, cem (previous version) > Sponsored by: The FreeBSD Foundation > MFC after:1 week > Differential revision:https://reviews.freebsd.org/D24918 > > Modified: > head/lib/libc/gen/dlinfo.3 > head/libexec/rtld-elf/rtld.c > head/sys/sys/link_elf.h Hi, After this commit, some ports fail to build with signal 11. For instance lang/perl5.30 fails to build with default options (DTRACE on) Disabling the DTRACE option makes it able to build again. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r360823 - head
Author: antoine Date: Fri May 8 20:15:18 2020 New Revision: 360823 URL: https://svnweb.freebsd.org/changeset/base/360823 Log: Add more obsolete files Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Fri May 8 18:53:06 2020(r360822) +++ head/ObsoleteFiles.inc Fri May 8 20:15:18 2020(r360823) @@ -40,6 +40,9 @@ OLD_FILES+=usr/bin/objdump OLD_FILES+=usr/share/man/man1/objdump.1.gz +# 20200428: route_var.h moved to net/route +OLD_FILES+=usr/include/net/route_var.h + # 20200418: Make libauditd private OLD_FILES+=usr/lib/libauditd.a OLD_FILES+=usr/lib/libauditd.so @@ -49,6 +52,9 @@ OLD_FILES+=usr/lib/libauditd_p.a # 20200418: Remove bogus man links OLD_FILES+=usr/share/man/man3/getauusernam_R.3.gz OLD_FILES+=usr/share/man/man3/getauclassnam_3.3.gz + +# 20200414: NFS file handle affinity code for the NFS server re-organized +OLD_FILES+=usr/include/nfs/nfs_fha.h # 20200401: Remove procfs-based process debugging OLD_FILES+=usr/include/sys/pioctl.h ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r359681 - in head: . share/mk
On Tue, Apr 7, 2020 at 1:38 AM Brooks Davis wrote: > > Author: brooks > Date: Mon Apr 6 23:38:46 2020 > New Revision: 359681 > URL: https://svnweb.freebsd.org/changeset/base/359681 > > Log: > Fix compilation with upstream clang builtin headers. > > By using -nobuiltininc and adding the clang builtin headers resource dir > to the end of the compiler header search path, we can still find headers > such as immintrin.h but find the FreeBSD version of stddef.h/stdarg.h/.. > first. > > This is a workaround until we are able to settle on and complete a plan > to harmonize guard macros with LLVM. We've mostly worked out this on > FreeBSD systems by removing select headers from the installed set of > devel/llvm*, but that isn't a good solution for cross build. > > Submitted by: arichardson > Obtained from:CheriBSD > Sponsored by: DARPA, AFRL > Differential Revision:https://reviews.freebsd.org/D17002 > > Modified: > head/Makefile.inc1 > head/share/mk/bsd.compiler.mk > head/share/mk/bsd.sys.mk > This breaks ports: make[1]: "/usr/share/mk/bsd.sys.mk" line 219: Malformed conditional (${MK_CLANG_BOOTSTRAP} == "no" && ${COMPILER_RESOURCE_DIR} != "unknown" && !defined(BOOTSTRAPPING)) Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r358152 - head/bin/sh
On Thu, Feb 20, 2020 at 4:01 AM Hiroki Sato wrote: > > Author: hrs > Date: Thu Feb 20 03:01:27 2020 > New Revision: 358152 > URL: https://svnweb.freebsd.org/changeset/base/358152 > > Log: > Improve performance of "read" built-in command when using a seekable > fd. > > The read built-in command calls read(2) with a 1-byte buffer because > newline characters need to be detected even on a byte stream which > comes from a non-seekable file descriptor. Because of this, the > following script calls >6,000 read(2) to show a 6KiB file: > >while read IN; do echo "$IN"; done < /COPYRIGHT > > When the input byte stream is seekable, it is possible to read a data > block and then reposition the file pointer to where a newline > character found. This change adds a small buffer to do this and > reduces the number of read(2) calls. > > Theoretically, multiple built-in commands reading the same seekable > byte stream in a single pipe chain can share the buffer. However, > this change just makes a single invocation of the read built-in > allocate a buffer and deallocate it every time for simplicity. > Although this causes read(2) to read the same regions multiple times, > the performance penalty should be small compared to the reduction of > read(2) calls. > > Reviewed by: jilles > MFC after:1 week > Differential Revision:https://reviews.freebsd.org/D23747 This seems to be broken on at least i386. Please either fix or revert. Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64
On Fri, Feb 14, 2020 at 1:37 PM Antoine Brodin wrote: > > On Fri, Feb 14, 2020 at 12:51 PM Konstantin Belousov > wrote: > > > > On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote: > > > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov > > > wrote: > > > > > > > > Author: kib > > > > Date: Thu Feb 13 23:42:09 2020 > > > > New Revision: 357895 > > > > URL: https://svnweb.freebsd.org/changeset/base/357895 > > > > > > > > Log: > > > > Handle non-plt IRELATIVE relocations, at least for x86. > > > > > > > > lld 10.0 seems to generate this relocation for rdtsc_mb() ifunc in > > > > our libc. > > > > > > > > Reported, reviewed, and tested by:dim (amd64, previous version) > > > > Discussed with: emaste > > > > Sponsored by: The FreeBSD Foundation > > > > MFC after:1 week > > > > Differential revision:https://reviews.freebsd.org/D23652 > > > > > > Hi, > > > > > > This broke lang/gcc* > > > For instance: > > > http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p526077_s357895/logs/errors/gcc9-9.2.0_1.log > > > > > > > There should be the configure log with more details. > > Also hopefully the binary that segfaulted is also around, please > > provide me with it as well. > > The config.log is available at: > https://people.freebsd.org/~antoine/config.log > > It seems that contest is deleted after the segfault. A "hello world" compiled with cc -m32 or gcc -m32 runs fine before the change, but segfaults after. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64
On Fri, Feb 14, 2020 at 12:51 PM Konstantin Belousov wrote: > > On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote: > > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov > > wrote: > > > > > > Author: kib > > > Date: Thu Feb 13 23:42:09 2020 > > > New Revision: 357895 > > > URL: https://svnweb.freebsd.org/changeset/base/357895 > > > > > > Log: > > > Handle non-plt IRELATIVE relocations, at least for x86. > > > > > > lld 10.0 seems to generate this relocation for rdtsc_mb() ifunc in our > > > libc. > > > > > > Reported, reviewed, and tested by:dim (amd64, previous version) > > > Discussed with: emaste > > > Sponsored by: The FreeBSD Foundation > > > MFC after:1 week > > > Differential revision:https://reviews.freebsd.org/D23652 > > > > Hi, > > > > This broke lang/gcc* > > For instance: > > http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p526077_s357895/logs/errors/gcc9-9.2.0_1.log > > > > There should be the configure log with more details. > Also hopefully the binary that segfaulted is also around, please > provide me with it as well. The config.log is available at: https://people.freebsd.org/~antoine/config.log It seems that contest is deleted after the segfault. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64
On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov wrote: > > Author: kib > Date: Thu Feb 13 23:42:09 2020 > New Revision: 357895 > URL: https://svnweb.freebsd.org/changeset/base/357895 > > Log: > Handle non-plt IRELATIVE relocations, at least for x86. > > lld 10.0 seems to generate this relocation for rdtsc_mb() ifunc in our libc. > > Reported, reviewed, and tested by:dim (amd64, previous version) > Discussed with: emaste > Sponsored by: The FreeBSD Foundation > MFC after:1 week > Differential revision:https://reviews.freebsd.org/D23652 Hi, This broke lang/gcc* For instance: http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p526077_s357895/logs/errors/gcc9-9.2.0_1.log Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r357284 - in head: include lib/libc/stdio
On Thu, Jan 30, 2020 at 4:31 AM Kyle Evans wrote: > > Author: kevans > Date: Thu Jan 30 03:31:16 2020 > New Revision: 357284 > URL: https://svnweb.freebsd.org/changeset/base/357284 > > Log: > stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite > > fflush_unlocked is currently desired in ports by sysutils/metalog, and > redefined as the locked fflush. > > fputc_unlocked, fputs_unlocked, fread_unlocked, and fwrite_unlocked are > currently desired in ports by devel/elfutils, and redefined as the locked > fputs, fread, and fwrite respectively. > > Reviewed by: kib > MFC after:2 weeks > Differential Revision:https://reviews.freebsd.org/D23336 Hi, It seems that this change broke lang/gcc* ports. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo
On Sat, Dec 14, 2019 at 9:28 AM Conrad Meyer wrote: > > Author: cem > Date: Sat Dec 14 08:28:10 2019 > New Revision: 355747 > URL: https://svnweb.freebsd.org/changeset/base/355747 > > Log: > Deprecate sranddev(3) API Hi, The stdlib.h header is now broken and most ports are broken. /usr/include/stdlib.h:317:8: error: unknown type name 'inline' static inline void ^ Please fix. Atnoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys
On Mon, Nov 11, 2019 at 11:10 AM Dimitry Andric wrote: > > On 11 Nov 2019, at 10:29, Antoine Brodin wrote: > > > > On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: > >> > >> On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > >>> > >>> Author: dim > >>> Date: Sun Nov 10 18:41:13 2019 > >>> New Revision: 354598 > >>> URL: https://svnweb.freebsd.org/changeset/base/354598 > >>> > >>> Log: > >>> MFC r354460: > >>> > >>> Merge commit e8316372b from llvm git (by Louis Dionne): > >>> > >>>[libc++] Add `__truncating_cast` for safely casting float types to > >>>integers > >>> > >>>This is needed anytime we need to clamp an arbitrary floating point > >>>value to an integer type. > >>> > >>>Thanks to Eric Fiselier for the patch. > >>> > >>>Differential Revision: https://reviews.llvm.org/D66836 > >>> > >>>llvm-svn: 370891 > >>> > >>> Merge commit b92deded8 from llvm git (by Louis Dionne): > >>> > >>>[libc++] Move __clamp_to_integral to , and harden against > >>>min()/max() macros > >>> > >>>llvm-svn: 370900 > >>> > >>> Merge commit 0ec6a4882 from llvm git (by Louis Dionne): > >>> > >>>[libc++] Fix potential OOB in poisson_distribution > >>> > >>>See details in the original Chromium bug report: > >>>https://bugs.chromium.org/p/chromium/issues/detail?id=994957 > >>> > >>> Together, these fix a security issue in libc++'s implementation of > >>> std::poisson_distribution, which can be exploited to read data which is > >>> out of bounds. > >>> > >>> Note there are no programs in the FreeBSD base system that use > >>> std::poisson_distribution, so this is only a possible issue for ports > >>> and external programs which have been built against libc++. Therefore, > >>> I am bumping __FreeBSD_version for the benefit of our port maintainers. > >>> > >>> Requested by: emaste > >>> Security: potential OOB read > >>> > >>> Modified: > >>> stable/11/contrib/libc++/include/cmath > >>> stable/11/contrib/libc++/include/random > >>> stable/11/sys/sys/param.h > >>> Directory Properties: > >>> stable/11/ (props changed) > >>> > >>> Changes in other areas also in this revision: > >>> Modified: > >>> stable/12/contrib/libc++/include/cmath > >>> stable/12/contrib/libc++/include/random > >>> stable/12/sys/sys/param.h > >>> Directory Properties: > >>> stable/12/ (props changed) > >> > >> Hi, > >> > >> It seems that some recent changes to stable/11 are broken, lots of > >> ports now fail to build on stable/11. > > > > This affects stable/12 too. > > It seems that the cmath header can't be compiled. > > Interesting, it works fine here on e.g. stable/12: > > $ cat test-cmath.cpp > #include > > $ c++ -c test-cmath.cpp > > Are there any build logs available showing errors? For instance these logs: http://gohan01.nyi.freebsd.org/data/12stable-i386-quarterly-baseline/517228/logs/errors/x265-3.1.2_2.log http://gohan01.nyi.freebsd.org/data/12stable-i386-quarterly-baseline/517228/logs/errors/exiv2-0.27.1_2,1.log /usr/include/c++/v1/cmath:622:68: error: too many arguments provided to function-like macro invocation static_assert(is_same<_FloatT, float>::value || is_same<_FloatT, double>::value ^ /usr/include/c++/v1/__config:873:13: note: macro 'static_assert' defined here #define static_assert(__b, __m) _Static_assert(__b, __m) ^ Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys
On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: > > On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > > > > Author: dim > > Date: Sun Nov 10 18:41:13 2019 > > New Revision: 354598 > > URL: https://svnweb.freebsd.org/changeset/base/354598 > > > > Log: > > MFC r354460: > > > > Merge commit e8316372b from llvm git (by Louis Dionne): > > > > [libc++] Add `__truncating_cast` for safely casting float types to > > integers > > > > This is needed anytime we need to clamp an arbitrary floating point > > value to an integer type. > > > > Thanks to Eric Fiselier for the patch. > > > > Differential Revision: https://reviews.llvm.org/D66836 > > > > llvm-svn: 370891 > > > > Merge commit b92deded8 from llvm git (by Louis Dionne): > > > > [libc++] Move __clamp_to_integral to , and harden against > > min()/max() macros > > > > llvm-svn: 370900 > > > > Merge commit 0ec6a4882 from llvm git (by Louis Dionne): > > > > [libc++] Fix potential OOB in poisson_distribution > > > > See details in the original Chromium bug report: > > https://bugs.chromium.org/p/chromium/issues/detail?id=994957 > > > > Together, these fix a security issue in libc++'s implementation of > > std::poisson_distribution, which can be exploited to read data which is > > out of bounds. > > > > Note there are no programs in the FreeBSD base system that use > > std::poisson_distribution, so this is only a possible issue for ports > > and external programs which have been built against libc++. Therefore, > > I am bumping __FreeBSD_version for the benefit of our port maintainers. > > > > Requested by: emaste > > Security: potential OOB read > > > > Modified: > > stable/11/contrib/libc++/include/cmath > > stable/11/contrib/libc++/include/random > > stable/11/sys/sys/param.h > > Directory Properties: > > stable/11/ (props changed) > > > > Changes in other areas also in this revision: > > Modified: > > stable/12/contrib/libc++/include/cmath > > stable/12/contrib/libc++/include/random > > stable/12/sys/sys/param.h > > Directory Properties: > > stable/12/ (props changed) > > Hi, > > It seems that some recent changes to stable/11 are broken, lots of > ports now fail to build on stable/11. This affects stable/12 too. It seems that the cmath header can't be compiled. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys
On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > > Author: dim > Date: Sun Nov 10 18:41:13 2019 > New Revision: 354598 > URL: https://svnweb.freebsd.org/changeset/base/354598 > > Log: > MFC r354460: > > Merge commit e8316372b from llvm git (by Louis Dionne): > > [libc++] Add `__truncating_cast` for safely casting float types to > integers > > This is needed anytime we need to clamp an arbitrary floating point > value to an integer type. > > Thanks to Eric Fiselier for the patch. > > Differential Revision: https://reviews.llvm.org/D66836 > > llvm-svn: 370891 > > Merge commit b92deded8 from llvm git (by Louis Dionne): > > [libc++] Move __clamp_to_integral to , and harden against > min()/max() macros > > llvm-svn: 370900 > > Merge commit 0ec6a4882 from llvm git (by Louis Dionne): > > [libc++] Fix potential OOB in poisson_distribution > > See details in the original Chromium bug report: > https://bugs.chromium.org/p/chromium/issues/detail?id=994957 > > Together, these fix a security issue in libc++'s implementation of > std::poisson_distribution, which can be exploited to read data which is > out of bounds. > > Note there are no programs in the FreeBSD base system that use > std::poisson_distribution, so this is only a possible issue for ports > and external programs which have been built against libc++. Therefore, > I am bumping __FreeBSD_version for the benefit of our port maintainers. > > Requested by: emaste > Security: potential OOB read > > Modified: > stable/11/contrib/libc++/include/cmath > stable/11/contrib/libc++/include/random > stable/11/sys/sys/param.h > Directory Properties: > stable/11/ (props changed) > > Changes in other areas also in this revision: > Modified: > stable/12/contrib/libc++/include/cmath > stable/12/contrib/libc++/include/random > stable/12/sys/sys/param.h > Directory Properties: > stable/12/ (props changed) Hi, It seems that some recent changes to stable/11 are broken, lots of ports now fail to build on stable/11. Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r354095 - in head/sys: amd64/amd64 amd64/include kern
On Sat, Oct 26, 2019 at 3:01 PM Konstantin Belousov wrote: > On Sat, Oct 26, 2019 at 02:16:19PM +0200, Antoine Brodin wrote: > > On Sat, Oct 26, 2019 at 10:27 AM Konstantin Belousov > > wrote: > > > On Sat, Oct 26, 2019 at 08:24:09AM +0200, Antoine Brodin wrote: > > > > On Fri, Oct 25, 2019 at 10:09 PM Konstantin Belousov > > > > wrote: > > > > > > > > > > Author: kib > > > > > Date: Fri Oct 25 20:09:42 2019 > > > > > New Revision: 354095 > > > > > URL: https://svnweb.freebsd.org/changeset/base/354095 > > > > > > > > > > Log: > > > > > amd64: move pcb out of kstack to struct thread. > > > > > > > > > > This saves 320 bytes of the precious stack space. > > > > > > > > > > The only negative aspect of the change I can think of is that the > > > > > struct thread increased by 320 bytes obviously, and that 320 bytes > > > > > are > > > > > not swapped out anymore. I believe the freed stack space is much > > > > > more > > > > > important than that. Also, current struct thread size is 1392 bytes > > > > > on amd64, so UMA will allocate two thread structures per (4KB) slab, > > > > > which leaves a space for pcb without increasing zone memory use. > > > > > > > > > > Reviewed by: alc, markj > > > > > Tested by:pho > > > > > Sponsored by: The FreeBSD Foundation > > > > > MFC after:2 weeks > > > > > Differential revision:https://reviews.freebsd.org/D22138 > > > > > > > > Hi, > > > > > > > > It seems that this breaks at least some versions of gcc: > > > > > > > > In file included from /usr/include/sys/proc.h:75, > > > > from /usr/include/sys/user.h:51, > > > > from ./md-unwind-support.h:34, > > > > from > > > > /wrkdirs/usr/ports/lang/gcc10-devel/work/gcc-10-20191020/libgcc/unwind-dw2.c:412: > > > > /usr/include/machine/proc.h:76:13: error: field 'md_pcb' has incomplete > > > > type > > > >76 | struct pcb md_pcb; > > > > | ^~ > > > > > > > > > > It is very strange. Are gcc 9 or 8 affected ? > > > > gcc 8 and 9 are affected too. > Then this is a completely different cause then I guessed below, and I think > I know why. All of 8/9/10 gcc ports have support for multiarch, and the > error must happen for gcc or xgcc invocation with -m32, am I right ? > > If yes, please try the patch at the end of the message instead. > > diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h > index 44e34fa5c83..8800b355c9a 100644 > --- a/sys/amd64/include/pcb.h > +++ b/sys/amd64/include/pcb.h > @@ -116,6 +116,10 @@ struct susppcb { > /* fpu context for suspend/resume */ > void*sp_fpususpend; > }; > +#else /* 32bit */ > +struct pcb { > + uint64_t pcb_dummy[40]; > +}; > #endif > > #ifdef _KERNEL Hi, It builds fine with this patch. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r354095 - in head/sys: amd64/amd64 amd64/include kern
On Sat, Oct 26, 2019 at 10:27 AM Konstantin Belousov wrote: > On Sat, Oct 26, 2019 at 08:24:09AM +0200, Antoine Brodin wrote: > > On Fri, Oct 25, 2019 at 10:09 PM Konstantin Belousov > > wrote: > > > > > > Author: kib > > > Date: Fri Oct 25 20:09:42 2019 > > > New Revision: 354095 > > > URL: https://svnweb.freebsd.org/changeset/base/354095 > > > > > > Log: > > > amd64: move pcb out of kstack to struct thread. > > > > > > This saves 320 bytes of the precious stack space. > > > > > > The only negative aspect of the change I can think of is that the > > > struct thread increased by 320 bytes obviously, and that 320 bytes are > > > not swapped out anymore. I believe the freed stack space is much more > > > important than that. Also, current struct thread size is 1392 bytes > > > on amd64, so UMA will allocate two thread structures per (4KB) slab, > > > which leaves a space for pcb without increasing zone memory use. > > > > > > Reviewed by: alc, markj > > > Tested by:pho > > > Sponsored by: The FreeBSD Foundation > > > MFC after:2 weeks > > > Differential revision:https://reviews.freebsd.org/D22138 > > > > Hi, > > > > It seems that this breaks at least some versions of gcc: > > > > In file included from /usr/include/sys/proc.h:75, > > from /usr/include/sys/user.h:51, > > from ./md-unwind-support.h:34, > > from > > /wrkdirs/usr/ports/lang/gcc10-devel/work/gcc-10-20191020/libgcc/unwind-dw2.c:412: > > /usr/include/machine/proc.h:76:13: error: field 'md_pcb' has incomplete type > >76 | struct pcb md_pcb; > > | ^~ > > > > It is very strange. Are gcc 9 or 8 affected ? gcc 8 and 9 are affected too. > As a blind guess, please try this patch. > > diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h > index 44e34fa5c83..9758e684da2 100644 > --- a/sys/amd64/include/pcb.h > +++ b/sys/amd64/include/pcb.h > @@ -45,7 +45,7 @@ > #include > #include > > -#ifdef __amd64__ > +#if defined(__amd64__) || defined(__x86_64__) > /* > * NB: The fields marked with (*) are used by kernel debuggers. Their > * ABI should be preserved. I will test this. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r354095 - in head/sys: amd64/amd64 amd64/include kern
On Fri, Oct 25, 2019 at 10:09 PM Konstantin Belousov wrote: > > Author: kib > Date: Fri Oct 25 20:09:42 2019 > New Revision: 354095 > URL: https://svnweb.freebsd.org/changeset/base/354095 > > Log: > amd64: move pcb out of kstack to struct thread. > > This saves 320 bytes of the precious stack space. > > The only negative aspect of the change I can think of is that the > struct thread increased by 320 bytes obviously, and that 320 bytes are > not swapped out anymore. I believe the freed stack space is much more > important than that. Also, current struct thread size is 1392 bytes > on amd64, so UMA will allocate two thread structures per (4KB) slab, > which leaves a space for pcb without increasing zone memory use. > > Reviewed by: alc, markj > Tested by:pho > Sponsored by: The FreeBSD Foundation > MFC after:2 weeks > Differential revision:https://reviews.freebsd.org/D22138 Hi, It seems that this breaks at least some versions of gcc: In file included from /usr/include/sys/proc.h:75, from /usr/include/sys/user.h:51, from ./md-unwind-support.h:34, from /wrkdirs/usr/ports/lang/gcc10-devel/work/gcc-10-20191020/libgcc/unwind-dw2.c:412: /usr/include/machine/proc.h:76:13: error: field 'md_pcb' has incomplete type 76 | struct pcb md_pcb; | ^~ Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r350544 - head/usr.bin/bzip2recover
On Sat, Aug 3, 2019 at 12:10 AM Mark Johnston wrote: > > Author: markj > Date: Fri Aug 2 22:09:56 2019 > New Revision: 350544 > URL: https://svnweb.freebsd.org/changeset/base/350544 > > Log: > Add bzip2recover.1. > > MFC after:3 days > Sponsored by: The FreeBSD Foundation > > Modified: > head/usr.bin/bzip2recover/Makefile Hi, It seems that this breaks parrallel installworld. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r349229 - head
Author: antoine Date: Thu Jun 20 13:24:58 2019 New Revision: 349229 URL: https://svnweb.freebsd.org/changeset/base/349229 Log: Add head(1) to native-xtools so that it can be used in qemu-user jails Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == --- head/Makefile.inc1 Thu Jun 20 12:38:41 2019(r349228) +++ head/Makefile.inc1 Thu Jun 20 13:24:58 2019(r349229) @@ -2553,6 +2553,7 @@ NXBDIRS+= \ usr.bin/find \ usr.bin/grep \ usr.bin/gzip \ +usr.bin/head \ usr.bin/id \ usr.bin/lex \ usr.bin/limits \ ___ 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-unsubscr...@freebsd.org"
svn commit: r349120 - head/etc/mtree
Author: antoine Date: Sun Jun 16 20:01:45 2019 New Revision: 349120 URL: https://svnweb.freebsd.org/changeset/base/349120 Log: Remove tabs from BSD.var.dist Reported by: zeising Modified: head/etc/mtree/BSD.var.dist Modified: head/etc/mtree/BSD.var.dist == --- head/etc/mtree/BSD.var.dist Sun Jun 16 19:44:42 2019(r349119) +++ head/etc/mtree/BSD.var.dist Sun Jun 16 20:01:45 2019(r349120) @@ -84,7 +84,7 @@ rwhogname=daemon mode=0775 .. spool -clientmqueue uname=smmsp gname=smmsp mode=0770 tags=package=sendmail +clientmqueueuname=smmsp gname=smmsp mode=0770 tags=package=sendmail .. dma uname=root gname=mail mode=0770 tags=package=dma .. @@ -93,9 +93,9 @@ /set gname=daemon lpd .. -mqueue tags=package=sendmail +mqueue tags=package=sendmail .. -opielocks mode=0700 +opielocks mode=0700 .. output lpd ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1
On Mon, May 20, 2019 at 2:38 AM Conrad Meyer wrote: > Author: cem > Date: Mon May 20 00:38:23 2019 > New Revision: 347984 > URL: https://svnweb.freebsd.org/changeset/base/347984 > > Log: > Extract eventfilter declarations to sys/_eventfilter.h > > This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" > in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header > pollution substantially. > > EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c > files into appropriate headers (e.g., sys/proc.h, powernv/opal.h). > > As a side effect of reduced header pollution, many .c files and headers no > longer contain needed definitions. The remainder of the patch addresses > adding appropriate includes to fix those files. > > LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by > sys/mutex.h since r326106 (but silently protected by header pollution prior > to this change). > > No functional change (intended). Of course, any out of tree modules that > relied on header pollution for sys/eventhandler.h, sys/lock.h, or > sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped. Hi, Why request an exp-run and commit the patch before the exp-run has finished? Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r347615 - head
Author: antoine Date: Wed May 15 15:11:49 2019 New Revision: 347615 URL: https://svnweb.freebsd.org/changeset/base/347615 Log: Add more obsolete files. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Wed May 15 15:03:55 2019(r347614) +++ head/ObsoleteFiles.inc Wed May 15 15:11:49 2019(r347615) @@ -43,6 +43,8 @@ OLD_FILES+=lib/casper/libcap_sysctl.1 # 20190509: tests/sys/opencrypto requires the net/py-dpkt package. OLD_FILES+=usr/tests/sys/opencrypto/dpkt.py OLD_FILES+=usr/tests/sys/opencrypto/dpkt.pyc +# 20190326: tzdata 2019a import +OLD_FILES+=usr/share/zoneinfo/Etc/UCT # 20190304: new libc++ import which bumps version from 7.0.1 to 8.0.0. OLD_FILES+=usr/include/c++/v1/experimental/dynarray # 20190304: new clang import which bumps version from 7.0.1 to 8.0.0. @@ -201,16 +203,21 @@ OLD_FILES+=usr/include/sys/seq.h OLD_FILES+=usr/lib/libprivateifconfig.a OLD_FILES+=usr/lib/libprivateifconfig_p.a # 20190131: pfil(9) changed -OLD_FILES+=usr/share/man/man9/pfil_hook_get.9 -OLD_FILES+=usr/share/man/man9/pfil_rlock.9 -OLD_FILES+=usr/share/man/man9/pfil_runlock.9 -OLD_FILES+=usr/share/man/man9/pfil_wlock.9 -OLD_FILES+=usr/share/man/man9/pfil_wunlock.9 +OLD_FILES+=usr/share/man/man9/pfil_hook_get.9.gz +OLD_FILES+=usr/share/man/man9/pfil_rlock.9.gz +OLD_FILES+=usr/share/man/man9/pfil_runlock.9.gz +OLD_FILES+=usr/share/man/man9/pfil_wlock.9.gz +OLD_FILES+=usr/share/man/man9/pfil_wunlock.9.gz # 20190126: adv(4) / adw(4) removal OLD_FILES+=usr/share/man/man4/adv.4.gz OLD_FILES+=usr/share/man/man4/adw.4.gz +# 20190123: nonexistant cred_update_thread(9) removed +OLD_FILES+=usr/share/man/man9/cred_update_thread.9.gz # 20190114: old pbuf allocator removed +OLD_FILES+=usr/share/man/man9/getpbuf.9.gz OLD_FILES+=usr/share/man/man9/pbuf.9.gz +OLD_FILES+=usr/share/man/man9/relpbuf.9.gz +OLD_FILES+=usr/share/man/man9/trypbuf.9.gz # 20181219: ibcs removal OLD_FILES+=usr/share/examples/ibcs2/hello.uu OLD_FILES+=usr/share/examples/ibcs2/README ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r347334 - head
On Wed, May 8, 2019 at 5:21 PM Enji Cooper wrote: > > On May 8, 2019, at 08:17, Antoine Brodin wrote: > > > > Author: antoine > > Date: Wed May 8 15:17:36 2019 > > New Revision: 347334 > > URL: https://svnweb.freebsd.org/changeset/base/347334 > > > > Log: > > Add wc(1) to native-xtools so that it can be used in qemu-user jails > > > > Modified: > > head/Makefile.inc1 > > Hi Antoine, > Quick question: doesn’t wc(1) require libxo in order to function today? > Was that expressed in the dependencies? Hi, native-xtools builds almost all libraries (including libxo). Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r347334 - head
Author: antoine Date: Wed May 8 15:17:36 2019 New Revision: 347334 URL: https://svnweb.freebsd.org/changeset/base/347334 Log: Add wc(1) to native-xtools so that it can be used in qemu-user jails Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == --- head/Makefile.inc1 Wed May 8 15:17:16 2019(r347333) +++ head/Makefile.inc1 Wed May 8 15:17:36 2019(r347334) @@ -2570,6 +2570,7 @@ NXBDIRS+= \ usr.bin/true \ usr.bin/uniq \ usr.bin/unzip \ +usr.bin/wc \ usr.bin/xargs \ usr.bin/xinstall \ usr.bin/xz \ @@ -2601,6 +2602,7 @@ NXBMAKEARGS+= \ -DNO_CPU_CFLAGS \ -DNO_PIC \ SSP_CFLAGS= \ + MK_CASPER=no \ MK_CLANG_EXTRAS=no \ MK_CLANG_FULL=no \ MK_CTF=no \ ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r340156 - in head: . sys/sys
On Mon, Nov 5, 2018 at 8:26 PM Ed Maste wrote: > > Author: emaste > Date: Mon Nov 5 19:25:57 2018 > New Revision: 340156 > URL: https://svnweb.freebsd.org/changeset/base/340156 > > Log: > Remove backwards-compatibility sys/capability.h > > In r263232 sys/capability.h was renamed to sys/capsicum.h, to avoid > conflicts with a capability.h header found on other operating systems. > > Sufficient time has now passed, so remove the old header at the > beginning of FreeBSD 13. > > Discussed with: oshogbo > Sponsored by: The FreeBSD Foundation > > Deleted: > head/sys/sys/capability.h > Modified: > head/ObsoleteFiles.inc Hi, Please revert, after this change, most ports converted to capsicum are no longer sandboxed (including pkg, tcpdump). Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r339655 - head/contrib/jemalloc/src
On Tue, Oct 23, 2018 at 4:11 PM Edward Tomasz Napierala wrote: > Author: trasz > Date: Tue Oct 23 14:11:35 2018 > New Revision: 339655 > URL: https://svnweb.freebsd.org/changeset/base/339655 > > Log: > Pick f80c97e477d1b3fe7778c65d9439d673738b4131 from upstream: > > Rework the way jemalloc uses mmap(2) on FreeBSD. > > This makes it directly use MAP_EXCL and MAP_ALIGNED() instead > of weird workarounds involving mapping at random places and then > unmapping parts of them. > > Discussed with: jasone > MFC after:2 weeks > Sponsored by: DARPA, AFRL Hi, I don't know if it's related, but we now encounter a jemalloc assertion when trying to build packages for mips http://beefy7.nyi.freebsd.org/data/head-mips-default/p483081_s339802/logs/errors/pkg-1.10.5_5.log Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy
On Mon, Oct 15, 2018 at 3:53 PM Ed Maste wrote: > On Mon, 15 Oct 2018 at 07:13, Ed Maste wrote: > > Hi Antoine, did you bisect to this rev or does it just look like the > > most probable candidate? Can you copy a pair of differing .o files > > (say, gcc/cc1plus-checksum.o) from the work dir to freefall? > > Antoine provided a tarball of the work dir to me, and pointed out that > the *-checksum.o files are not interesting - they are warnings only > and are present prior to the identified change. > > Comparing one of the other differing files, e.g. > stage{2,3}-gcc/expmed.o, demonstrates the problem. Gcc's build > machinery is reasonably obfuscated so I'm not sure of the exact set of > operations, but I can infer that the stage2/stage3 comparison is > running strip on the object files and then comparing the result. Gcc > is encountering this part of my strip/objcopy change: > > > Stripping binaries with relocations > > referencing removed symbols was already broken, and after this change > > may still be broken in a different way. > > Stripping symbols and relocations from an object file is not a > particularly useful operation, since the object then can't be linked > or otherwise used. But it seems Gcc's stage comparison relies on this. > I did try running "strip --strip-debug" on stage{2,3}-gcc/expmed.o (a > reasonable operation on object files) and that produced identical > output. > > It may well be that a further change to ELF Tool Chain's strip is > warranted, but I suspect the most straightforward and reliable fix > here will be to just have gcc use GNU strip. The attached patch for the gcc ports fixes the failures for me. Antoine Index: lang/gcc48/Makefile === --- lang/gcc48/Makefile (revision 482165) +++ lang/gcc48/Makefile (working copy) @@ -33,6 +33,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes Index: lang/gcc49/Makefile === --- lang/gcc49/Makefile (revision 482165) +++ lang/gcc49/Makefile (working copy) @@ -33,6 +33,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes Index: lang/gcc5/Makefile === --- lang/gcc5/Makefile (revision 482165) +++ lang/gcc5/Makefile (working copy) @@ -34,6 +34,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes Index: lang/gcc6/Makefile === --- lang/gcc6/Makefile (revision 482165) +++ lang/gcc6/Makefile (working copy) @@ -35,6 +35,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes CFLAGS:= ${CFLAGS:N-mretpoline} Index: lang/gcc6-devel/Makefile === --- lang/gcc6-devel/Makefile (revision 482165) +++ lang/gcc6-devel/Makefile (working copy) @@ -40,6 +40,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes Index: lang/gcc7/Makefile === --- lang/gcc7/Makefile (revision 482165) +++ lang/gcc7/Makefile (working copy) @@ -34,6 +34,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes CFLAGS:= ${CFLAGS:N-mretpoline} Index: lang/gcc7-devel/Makefile === --- lang/gcc7-devel/Makefile (revision 482165) +++ lang/gcc7-devel/Makefile (working copy) @@ -40,6 +40,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes Index: lang/gcc8/Makefile === --- lang/gcc8/Makefile (revision 482165) +++ lang/gcc8/Makefile (working copy) @@ -34,6 +34,7 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:xz USE_BINUTILS= yes +BINARY_ALIAS= strip=${LOCALBASE}/bin/strip USE_PERL5= build SSP_UNSAFE= yes CFLAGS:= ${CFLAGS:N-mretpoline}
Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy
On Sat, Oct 13, 2018 at 11:26 PM Ed Maste wrote: > > Author: emaste > Date: Sat Oct 13 21:26:07 2018 > New Revision: 339350 > URL: https://svnweb.freebsd.org/changeset/base/339350 > > Log: > elfcopy: delete filter_reloc, it is broken and unnecessary > > elfcopy contained logic to filter individual relocations in STRIP_ALL > mode. However, this is not valid; relocations emitted by the linker are > required, unless they apply to an entire section being removed (which is > handled by other logic in elfcopy). > > Note that filter_reloc was also buggy: for RELA relocation sections it > operated on uninitialized rel.r_info resulting in invalid operation. > > The logic most likely needs to be inverted: instead of removing > relocations because their associated symbols are being removed, we must > keep symbols referenced by relocations. That said, in practice we do > not encounter this code path today: objects being stripped are either > dynamically linked binaries which retain .dynsym, or static binaries > with no relocations. > > Just remove filter_reloc. This fixes certain cases including statically > linked binaries containing ifuncs. Stripping binaries with relocations > referencing removed symbols was already broken, and after this change > may still be broken in a different way. > > PR: 232176 > Reviewed by: kaiw, kib, markj > Approved by: re (rgrimes) > MFC after:1 month > Sponsored by: The FreeBSD Foundation > Differential Revision:https://reviews.freebsd.org/D17519 > > Modified: > head/contrib/elftoolchain/elfcopy/sections.c Hi, This commit broke lang/gcc* : http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p482125_s339356/logs/errors/gcc48-4.8.5_9.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p482125_s339356/logs/errors/gcc49-4.9.4_8.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p482125_s339356/logs/errors/gcc5-5.5.0_5.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p482125_s339356/logs/errors/gcc7-7.3.0_5.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p482125_s339356/logs/errors/gcc8-8.2.0_1.log etc. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r337922 - in head: lib/libc/gen lib/libc/sys share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/freebsd32 sys/fs/nandfs sys/kern sys/sys sys/ufs/ufs
On Thu, Aug 16, 2018 at 8:40 PM, Jamie Gritton wrote: > Author: jamie > Date: Thu Aug 16 18:40:16 2018 > New Revision: 337922 > URL: https://svnweb.freebsd.org/changeset/base/337922 > > Log: > Put jail(2) under COMPAT_FREEBSD11. It has been the "old" way of creating > jails since FreeBSD 7. > > Along with the system call, put the various security.jail.allow_foo and > security.jail.foo_allowed sysctls partly under COMPAT_FREEBSD11 (or > BURN_BRIDGES). These sysctls had two disparate uses: on the system side, > they were global permissions for jails created via jail(2) which lacked > fine-grained permission controls; inside a jail, they're read-only > descriptions of what the current jail is allowed to do. The first use > is obsolete along with jail(2), but keep them for the second-read-only use. > > Differential Revision:D14791 Hi, Were the failures pointed out during the exp-run fixed? If not please revert and work on fixing those before. Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
svn commit: r336868 - in head: sys/kern sys/sys usr.sbin/jail
Author: antoine Date: Sun Jul 29 12:41:56 2018 New Revision: 336868 URL: https://svnweb.freebsd.org/changeset/base/336868 Log: Add allow.mlock to jail parameters It allows locking or unlocking physical pages in memory within a jail This allows running elasticsearch with "bootstrap.memory_lock" inside a jail Reviewed by: jamie@ Differential Revision:https://reviews.freebsd.org/D16342 Modified: head/sys/kern/kern_jail.c head/sys/sys/jail.h head/usr.sbin/jail/jail.8 Modified: head/sys/kern/kern_jail.c == --- head/sys/kern/kern_jail.c Sun Jul 29 08:43:08 2018(r336867) +++ head/sys/kern/kern_jail.c Sun Jul 29 12:41:56 2018(r336868) @@ -190,6 +190,7 @@ static struct bool_flags pr_flag_allow[NBBY * NBPW] = {"allow.mount", "allow.nomount", PR_ALLOW_MOUNT}, {"allow.quotas", "allow.noquotas", PR_ALLOW_QUOTAS}, {"allow.socket_af", "allow.nosocket_af", PR_ALLOW_SOCKET_AF}, + {"allow.mlock", "allow.nomlock", PR_ALLOW_MLOCK}, {"allow.reserved_ports", "allow.noreserved_ports", PR_ALLOW_RESERVED_PORTS}, }; @@ -3293,6 +3294,17 @@ prison_priv_check(struct ucred *cred, int priv) return (EPERM); /* +* Conditionnaly allow locking (unlocking) physical pages +* in memory. +*/ + case PRIV_VM_MLOCK: + case PRIV_VM_MUNLOCK: + if (cred->cr_prison->pr_allow & PR_ALLOW_MLOCK) + return (0); + else + return (EPERM); + + /* * Conditionally allow jailed root to bind reserved ports. */ case PRIV_NETINET_RESERVEDPORT: @@ -3752,6 +3764,8 @@ SYSCTL_JAIL_PARAM(_allow, quotas, CTLTYPE_INT | CTLFLA "B", "Jail may set file quotas"); SYSCTL_JAIL_PARAM(_allow, socket_af, CTLTYPE_INT | CTLFLAG_RW, "B", "Jail may create sockets other than just UNIX/IPv4/IPv6/route"); +SYSCTL_JAIL_PARAM(_allow, mlock, CTLTYPE_INT | CTLFLAG_RW, +"B", "Jail may lock (unlock) physical pages in memory"); SYSCTL_JAIL_PARAM(_allow, reserved_ports, CTLTYPE_INT | CTLFLAG_RW, "B", "Jail may bind sockets to reserved ports"); Modified: head/sys/sys/jail.h == --- head/sys/sys/jail.h Sun Jul 29 08:43:08 2018(r336867) +++ head/sys/sys/jail.h Sun Jul 29 12:41:56 2018(r336868) @@ -227,9 +227,10 @@ struct prison_racct { #definePR_ALLOW_MOUNT 0x0010 #definePR_ALLOW_QUOTAS 0x0020 #definePR_ALLOW_SOCKET_AF 0x0040 +#definePR_ALLOW_MLOCK 0x0080 #definePR_ALLOW_RESERVED_PORTS 0x8000 #definePR_ALLOW_KMEM_ACCESS0x0001 /* reserved, not used yet */ -#definePR_ALLOW_ALL_STATIC 0x0001807f +#definePR_ALLOW_ALL_STATIC 0x000180ff /* * OSD methods Modified: head/usr.sbin/jail/jail.8 == --- head/usr.sbin/jail/jail.8 Sun Jul 29 08:43:08 2018(r336867) +++ head/usr.sbin/jail/jail.8 Sun Jul 29 12:41:56 2018(r336868) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 20, 2018 +.Dd July 29, 2018 .Dt JAIL 8 .Os .Sh NAME @@ -553,6 +553,16 @@ with non-jailed parts of the system. Sockets within a jail are normally restricted to IPv4, IPv6, local (UNIX), and route. This allows access to other protocol stacks that have not had jail functionality added to them. +.It Va allow.mlock +Locking or unlocking physical pages in memory are normally not available +within a jail. +When this parameter is set, users may +.Xr mlock 2 +or +.Xr munlock 2 +memory subject to +.Va security.bsd.unprivileged_mlock +and resource limits. .It Va allow.reserved_ports The jail root may bind to ports lower than 1024. .El ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r336742 - in head: etc sbin/dump
On Thu, Jul 26, 2018 at 6:45 PM, Brad Davis wrote: > Author: brd > Date: Thu Jul 26 16:45:25 2018 > New Revision: 336742 > URL: https://svnweb.freebsd.org/changeset/base/336742 > > Log: > Move dumpdates creation to CONFS= > > Approved by: bapt (mentor) > Differential Revision:https://reviews.freebsd.org/D16435 Hi, This commit seems to prevent successful installation of FreeBSD. Cheers, Antoine > > Modified: > head/etc/Makefile > head/sbin/dump/Makefile > > Modified: head/etc/Makefile > == > --- head/etc/Makefile Thu Jul 26 16:08:34 2018(r336741) > +++ head/etc/Makefile Thu Jul 26 16:45:25 2018(r336742) > @@ -296,8 +296,6 @@ distribution: > ${INSTALL_SYMLINK} mail/aliases ${DESTDIR}/etc/aliases; \ > fi > .endif > - ${INSTALL} -o ${BINOWN} -g operator -m 664 /dev/null \ > - ${DESTDIR}/etc/dumpdates > .if ${MK_LOCATE} != "no" > ${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \ > ${DESTDIR}/var/db/locate.database > > Modified: head/sbin/dump/Makefile > == > --- head/sbin/dump/Makefile Thu Jul 26 16:08:34 2018(r336741) > +++ head/sbin/dump/Makefile Thu Jul 26 16:45:25 2018(r336742) > @@ -15,6 +15,10 @@ > > PACKAGE=runtime > PROG= dump > +CONFS= /dev/null > +CONFSGRP= operator > +CONFSMODE= 664 > +CONFSNAME_/dev/null= dumpdates > LINKS= ${BINDIR}/dump ${BINDIR}/rdump > CFLAGS+=-DRDUMP > SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c > ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r336675 - head/share/mk
On Tue, Jul 24, 2018 at 6:34 PM, Brad Davis wrote: > Author: brd > Date: Tue Jul 24 16:34:58 2018 > New Revision: 336675 > URL: https://svnweb.freebsd.org/changeset/base/336675 > > Log: > Convert bsd.confs.mk to support DIRS. > > This paves the way for moving config files out of head/etc and into the > directories with the src. > > Approved by: bapt (mentor) > Differential Revision:https://reviews.freebsd.org/D16406 > > Modified: > head/share/mk/bsd.confs.mk > head/share/mk/bsd.files.mk > head/share/mk/bsd.lib.mk This seems broken, with lots of ports I have this error: make[1]: "/usr/share/mk/bsd.files.mk" line 124: Could not find bsd.dirs.mk make[1]: Fatal errors encountered -- cannot continue Please fix or revert. Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r335833 - in head: share/man/man4 sys/net sys/netpfil/pf
On Tue, Jul 3, 2018 at 7:42 AM, Kristof Provost wrote: > On 3 Jul 2018, at 7:38, Antoine Brodin wrote: > > On Sun, Jul 1, 2018 at 3:16 AM, Will Andrews wrote: > > Author: will > Date: Sun Jul 1 01:16:03 2018 > New Revision: 335833 > URL: https://svnweb.freebsd.org/changeset/base/335833 > > Log: > pf: remove unused ioctls. > > Several ioctls are unused in pf, in the sense that no base utility > references them. Additionally, a cursory review of pf-based ports > indicates they're not used elsewhere either. Some of them have been > unused since the original import. As far as I can tell, they're also > unused in OpenBSD. Finally, removing this code removes the need for > future pf work to take them into account. > > Reviewed by: kp > Differential Revision: https://reviews.freebsd.org/D16076 > > Modified: > head/share/man/man4/pf.4 > head/sys/net/pfvar.h > head/sys/netpfil/pf/pf_ioctl.c > > Hi, > > This breaks some ports like net/libdnet, please revert or fix the > ports fallout. > > It also uses DIOCCHANGERULE (like sshuttle). > > Do you know of any other failures? > It’d be good to know if reverting just the DIOCCHANGERULE removal would be > enough to fix all failures, or if there are others that are used as well. The 2 failures I see are libdnet and miniupnpd missing DIOCCHANGERULE, so adding it back may be enough. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r335833 - in head: share/man/man4 sys/net sys/netpfil/pf
On Sun, Jul 1, 2018 at 3:16 AM, Will Andrews wrote: > Author: will > Date: Sun Jul 1 01:16:03 2018 > New Revision: 335833 > URL: https://svnweb.freebsd.org/changeset/base/335833 > > Log: > pf: remove unused ioctls. > > Several ioctls are unused in pf, in the sense that no base utility > references them. Additionally, a cursory review of pf-based ports > indicates they're not used elsewhere either. Some of them have been > unused since the original import. As far as I can tell, they're also > unused in OpenBSD. Finally, removing this code removes the need for > future pf work to take them into account. > > Reviewed by: kp > Differential Revision:https://reviews.freebsd.org/D16076 > > Modified: > head/share/man/man4/pf.4 > head/sys/net/pfvar.h > head/sys/netpfil/pf/pf_ioctl.c Hi, This breaks some ports like net/libdnet, please revert or fix the ports fallout. Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334931 - in head: . sys/sys
On Sun, Jun 10, 2018 at 9:15 PM, Eitan Adler wrote: > Author: eadler > Date: Sun Jun 10 19:15:38 2018 > New Revision: 334931 > URL: https://svnweb.freebsd.org/changeset/base/334931 > > Log: > Revert r334929 > > Apparently some software might depend on a header whose sole contents is > a `#warning` to remove it. Revert pending exp-run. Hi, It's not just a #warning, there is a #include line below... And after this change, most ports that supported sandboxing were no longer sandboxed. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334929 - in head: . sys/sys
On Sun, Jun 10, 2018 at 8:43 PM, Mark Johnston wrote: > On Sun, Jun 10, 2018 at 06:38:48PM +, Eitan Adler wrote: >> Author: eadler >> Date: Sun Jun 10 18:38:48 2018 >> New Revision: 334929 >> URL: https://svnweb.freebsd.org/changeset/base/334929 >> >> Log: >> include: remove sys/capability.h >> >> This file has only generated a warning for the last 18 months. Its >> existence at this point only serves to confuse software looking for >> POSIX.1e capabilities and produce actionless warnings. > > Don't you need an exp-run to make this claim? Yes, please revert. Cheers, Antoine (with hat: portmgr) > >> Deleted: >> head/sys/sys/capability.h >> Modified: >> head/ObsoleteFiles.inc > ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Thu, May 31, 2018 at 7:32 AM, Hans Petter Selasky wrote: > On 05/30/18 20:32, Antoine Brodin wrote: >> >> Hi, >> >> It seems that this local change was lost during the upgrade: >> >> https://svnweb.freebsd.org/base/head/contrib/libpcap/pcap/pcap.h?r1=190640=190639=190640 >> > > Hi, > > This change has been removed upstream. This was a change local to FreeBSD. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Mon, May 28, 2018 at 10:12 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Mon May 28 08:12:18 2018 > New Revision: 334277 > URL: https://svnweb.freebsd.org/changeset/base/334277 > > Log: > MFV r333789: libpcap 1.9.0 (pre-release) > > MFC after:1 month > Sponsored by: Mellanox Technologies Hi, It seems that this local change was lost during the upgrade: https://svnweb.freebsd.org/base/head/contrib/libpcap/pcap/pcap.h?r1=190640=190639=190640 I think this broke at least the following ports: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/packetdrill-0.0.2018012501.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/spamd-4.9.1_4.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/vde2-2.3.2_2.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/xprobe2-0.3.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Wed, May 30, 2018 at 11:09 AM, Hans Petter Selasky wrote: > On 05/30/18 12:41, Antoine Brodin wrote: >> >> No this won't solve the issue, libpcap from ports isn't compiled with >> remote support. > > > Hi, > > Remote support is for WIN32 only from what I can see. > > Did you try my suggestions? > > The port builds fine over here with my patches. I tried your patch with libpcap from ports updated to last commit in github, it fails with the same error as with base libpcap. I suggest the attached patch which fixes the issue for me. (in my opinion upstream should generate the pcap/pcap.h file depending on the configure args) Cheers, Antoine Index: contrib/libpcap/pcap/pcap.h === --- contrib/libpcap/pcap/pcap.h (revision 334373) +++ contrib/libpcap/pcap/pcap.h (working copy) @@ -607,6 +607,7 @@ #endif /* _WIN32/MSDOS/UN*X */ +#if 0 /* Remote capture is disabled on FreeBSD */ /* * Remote capture definitions. * @@ -965,6 +966,7 @@ char *errbuf); PCAP_API int pcap_remoteact_close(const char *host, char *errbuf); PCAP_API void pcap_remoteact_cleanup(void); +#endif /* Remote capture is disabled on FreeBSD */ #ifdef __cplusplus } ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Wed, May 30, 2018 at 9:42 AM, Hans Petter Selasky wrote: > On 05/30/18 11:00, Antoine Brodin wrote: >> >> On Wed, May 30, 2018 at 8:20 AM, Hans Petter Selasky >> wrote: >>> >>> On 05/30/18 10:02, Antoine Brodin wrote: >>>> >>>> >>>> Could the pcap/pcap.h header be fixed instead with #ifdef HAVE_REMOTE >>>> as it previously had? >>> >>> >>> >>> The HAVE_REMOTE was removed upstream: >>> >>> >>> https://github.com/the-tcpdump-group/libpcap/commit/a372536befc9b1ee1d355058daa2eb9f66aa0c59#diff-46964bcbd8e8a5cec9a75c66ab26a97b >>> >>> What do you think? Shall we re-add it to base? > > > Hi, >> >> Either hide remote packet capture functions from the header or enable >> remote capture functions? > > > This feature is disabled by default for UNIX. > >> Note that net/p5-Net-Pcap will fail to build with libpcap from ports >> too when libpcap from ports is updated to version 1.9.0 (pre-release). > > > No, libpcap from ports has own header files and libraries and does not use > anything from libpcap in base. > > Enabling remote packet capture in libcap won't solve the build failure. > > The right solution from my point of view is to extend the BUILD_DEPENDS and > CFLAGS and LDFLAGS like shown: > > BUILD_DEPENDS= p5-IO-Interface>=0:net/p5-IO-Interface \ > libpcap>=0:net/libpcap > > CFLAGS+=-I${PREFIX}/include > LDFLAGS+= -L${PREFIX}/lib > > After the upgrade to 1.9.0 (pre-release) in ports you simply add: > > CFLAGS+=-DHAVE_PCAP_SETSAMPLING -DHAVE_PCAP_OPEN No this won't solve the issue, libpcap from ports isn't compiled with remote support. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Wed, May 30, 2018 at 8:20 AM, Hans Petter Selasky wrote: > On 05/30/18 10:02, Antoine Brodin wrote: >> >> Could the pcap/pcap.h header be fixed instead with #ifdef HAVE_REMOTE >> as it previously had? > > > The HAVE_REMOTE was removed upstream: > > https://github.com/the-tcpdump-group/libpcap/commit/a372536befc9b1ee1d355058daa2eb9f66aa0c59#diff-46964bcbd8e8a5cec9a75c66ab26a97b > > What do you think? Shall we re-add it to base? Either hide remote packet capture functions from the header or enable remote capture functions? Note that net/p5-Net-Pcap will fail to build with libpcap from ports too when libpcap from ports is updated to version 1.9.0 (pre-release). Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Wed, May 30, 2018 at 7:52 AM, Hans Petter Selasky wrote: > On 05/30/18 09:36, Antoine Brodin wrote: >> >> On Wed, May 30, 2018 at 7:31 AM, Hans Petter Selasky >> wrote: >>> >>> On 05/30/18 09:04, Hans Petter Selasky wrote: >>>> >>>> >>>> On 05/30/18 08:04, Antoine Brodin wrote: >>>>> >>>>> >>>>> On Mon, May 28, 2018 at 10:12 AM, Hans Petter Selasky >>>>> wrote: >>>>>> >>>>>> >>>>>> Author: hselasky >>>>>> Date: Mon May 28 08:12:18 2018 >>>>>> New Revision: 334277 >>>>>> URL: https://svnweb.freebsd.org/changeset/base/334277 >>>>>> >>>>>> Log: >>>>>> MFV r333789: libpcap 1.9.0 (pre-release) >>>>>> >>>>>> MFC after:1 month >>>>>> Sponsored by: Mellanox Technologies >>>>> >>>>> >>>>> >>>>> Hi, >>>>> >>>>> Some things seem to be missing. >>>>> For instance, pcap_setsampling and pcap_open are now declared in >>>>> pcap.h but they are not compiled in libpcap.so. >>>>> net/p5-Net-Pcap is confused by this: >>>>> >>>>> >>>>> http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/p5-Net-Pcap-0.18.log >>>> >>>> >>>> >>> >>> Hi, >>> >>> net/p5-Net-Pcap is supposed to depend on and use net/libpcap which >>> install >>> into /usr/local/lib and /usr/local/include from what I understand. >> >> >> No, it worked fine with libpcap from base previously. >> pcap/pcap.h now exposes functions from pcap-new.c but pcap-new.c is >> not compiled. > > > Hi, > > pcap-new.c is only compiled if libpcap should have remote support, which the > in-base library didn't have? > > Can you try to modify the net/p5-Net-Pcap Makefile like this: > > BUILD_DEPENDS= p5-IO-Interface>=0:net/p5-IO-Interface \ > libpcap>=0:net/libpcap > > CFLAGS+=-I${PREFIX}/include > LDFLAGS+= -L${PREFIX}/lib Could the pcap/pcap.h header be fixed instead with #ifdef HAVE_REMOTE as it previously had? Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Wed, May 30, 2018 at 7:31 AM, Hans Petter Selasky wrote: > On 05/30/18 09:04, Hans Petter Selasky wrote: >> >> On 05/30/18 08:04, Antoine Brodin wrote: >>> >>> On Mon, May 28, 2018 at 10:12 AM, Hans Petter Selasky >>> wrote: >>>> >>>> Author: hselasky >>>> Date: Mon May 28 08:12:18 2018 >>>> New Revision: 334277 >>>> URL: https://svnweb.freebsd.org/changeset/base/334277 >>>> >>>> Log: >>>>MFV r333789: libpcap 1.9.0 (pre-release) >>>> >>>>MFC after:1 month >>>>Sponsored by: Mellanox Technologies >>> >>> >>> Hi, >>> >>> Some things seem to be missing. >>> For instance, pcap_setsampling and pcap_open are now declared in >>> pcap.h but they are not compiled in libpcap.so. >>> net/p5-Net-Pcap is confused by this: >>> >>> http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/p5-Net-Pcap-0.18.log >> >> > > Hi, > > net/p5-Net-Pcap is supposed to depend on and use net/libpcap which install > into /usr/local/lib and /usr/local/include from what I understand. No, it worked fine with libpcap from base previously. pcap/pcap.h now exposes functions from pcap-new.c but pcap-new.c is not compiled. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool
On Mon, May 28, 2018 at 10:12 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Mon May 28 08:12:18 2018 > New Revision: 334277 > URL: https://svnweb.freebsd.org/changeset/base/334277 > > Log: > MFV r333789: libpcap 1.9.0 (pre-release) > > MFC after:1 month > Sponsored by: Mellanox Technologies Hi, Some things seem to be missing. For instance, pcap_setsampling and pcap_open are now declared in pcap.h but they are not compiled in libpcap.so. net/p5-Net-Pcap is confused by this: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/p5-Net-Pcap-0.18.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r333919 - in head/contrib/file: . doc magic magic/Magdir python src tests
On Sun, May 20, 2018 at 10:39 PM, Antoine Brodin <anto...@freebsd.org> wrote: > On Sun, May 20, 2018 at 10:30 PM, Antoine Brodin <anto...@freebsd.org> wrote: >> On Sun, May 20, 2018 at 7:06 AM, Eitan Adler <ead...@freebsd.org> wrote: >>> Author: eadler >>> Date: Sun May 20 05:06:42 2018 >>> New Revision: 333919 >>> URL: https://svnweb.freebsd.org/changeset/base/333919 >>> >>> Log: >>> MFV: file 5.33 >>> >>> Merge the latest file(1) in. >>> >>> Relevent Changelog: >>> - extend the support for ${x?:} expansions for magic descriptions >>> - add support for ${x?:} in mime types to handle pie binaries. >>> - add support for negative offsets (offsets from the end of file) >>> - close the file on error when writing magic >>> >>> Relnotes: yes >> >> Hi, >> >> This breaks the ports tree, please revert and request an exp-run. > > At least revert the changes to contrib/file/magic/Magdir/elf The problematic part was reverted in r333944 Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r333944 - head/contrib/file/magic/Magdir
Author: antoine Date: Sun May 20 22:07:44 2018 New Revision: 333944 URL: https://svnweb.freebsd.org/changeset/base/333944 Log: Revert last change to file/magic/Magdir/elf, it misidentifies most shared libraries installed from ports as pie executables instead of shared libraries, and consequently breaks ports. Modified: head/contrib/file/magic/Magdir/elf Modified: head/contrib/file/magic/Magdir/elf == --- head/contrib/file/magic/Magdir/elf Sun May 20 21:56:08 2018 (r333943) +++ head/contrib/file/magic/Magdir/elf Sun May 20 22:07:44 2018 (r333944) @@ -48,9 +48,8 @@ !:mime application/x-object >16leshort 2 executable, !:mime application/x-executable ->16leshort 3 ${x?pie executable:shared object} - -!:mime application/x-${x?pie-executable:sharedlib} +>16leshort 3 shared object, +!:mime application/x-sharedlib >16leshort 4 core file !:mime application/x-coredump # Core file detection is not reliable. ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r333919 - in head/contrib/file: . doc magic magic/Magdir python src tests
On Sun, May 20, 2018 at 10:30 PM, Antoine Brodin <anto...@freebsd.org> wrote: > On Sun, May 20, 2018 at 7:06 AM, Eitan Adler <ead...@freebsd.org> wrote: >> Author: eadler >> Date: Sun May 20 05:06:42 2018 >> New Revision: 333919 >> URL: https://svnweb.freebsd.org/changeset/base/333919 >> >> Log: >> MFV: file 5.33 >> >> Merge the latest file(1) in. >> >> Relevent Changelog: >> - extend the support for ${x?:} expansions for magic descriptions >> - add support for ${x?:} in mime types to handle pie binaries. >> - add support for negative offsets (offsets from the end of file) >> - close the file on error when writing magic >> >> Relnotes: yes > > Hi, > > This breaks the ports tree, please revert and request an exp-run. At least revert the changes to contrib/file/magic/Magdir/elf Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r333919 - in head/contrib/file: . doc magic magic/Magdir python src tests
On Sun, May 20, 2018 at 7:06 AM, Eitan Adlerwrote: > Author: eadler > Date: Sun May 20 05:06:42 2018 > New Revision: 333919 > URL: https://svnweb.freebsd.org/changeset/base/333919 > > Log: > MFV: file 5.33 > > Merge the latest file(1) in. > > Relevent Changelog: > - extend the support for ${x?:} expansions for magic descriptions > - add support for ${x?:} in mime types to handle pie binaries. > - add support for negative offsets (offsets from the end of file) > - close the file on error when writing magic > > Relnotes: yes Hi, This breaks the ports tree, please revert and request an exp-run. Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
svn commit: r333639 - in head/sys/amd64: include vmm
Author: antoine Date: Tue May 15 17:20:58 2018 New Revision: 333639 URL: https://svnweb.freebsd.org/changeset/base/333639 Log: vmmdev: return EFAULT when trying to read beyond VM system memory max address Currently, when using dd(1) to take a VM memory image, the capture never ends, reading zeroes when it's beyond VM system memory max address. Return EFAULT when trying to read beyond VM system memory max address. Reviewed by: imp, grehan, anish Approved by: grehan Differential Revision:https://reviews.freebsd.org/D15156 Modified: head/sys/amd64/include/vmm.h head/sys/amd64/vmm/vmm.c head/sys/amd64/vmm/vmm_dev.c Modified: head/sys/amd64/include/vmm.h == --- head/sys/amd64/include/vmm.hTue May 15 16:56:30 2018 (r333638) +++ head/sys/amd64/include/vmm.hTue May 15 17:20:58 2018 (r333639) @@ -212,6 +212,7 @@ int vm_mmap_getnext(struct vm *vm, vm_paddr_t *gpa, in vm_ooffset_t *segoff, size_t *len, int *prot, int *flags); int vm_get_memseg(struct vm *vm, int ident, size_t *len, bool *sysmem, struct vm_object **objptr); +vm_paddr_t vmm_sysmem_maxaddr(struct vm *vm); void *vm_gpa_hold(struct vm *, int vcpuid, vm_paddr_t gpa, size_t len, int prot, void **cookie); void vm_gpa_release(void *cookie); Modified: head/sys/amd64/vmm/vmm.c == --- head/sys/amd64/vmm/vmm.cTue May 15 16:56:30 2018(r333638) +++ head/sys/amd64/vmm/vmm.cTue May 15 17:20:58 2018(r333639) @@ -821,8 +821,8 @@ sysmem_mapping(struct vm *vm, struct mem_map *mm) return (false); } -static vm_paddr_t -sysmem_maxaddr(struct vm *vm) +vm_paddr_t +vmm_sysmem_maxaddr(struct vm *vm) { struct mem_map *mm; vm_paddr_t maxaddr; @@ -931,7 +931,7 @@ vm_assign_pptdev(struct vm *vm, int bus, int slot, int if (ppt_assigned_devices(vm) == 0) { KASSERT(vm->iommu == NULL, ("vm_assign_pptdev: iommu must be NULL")); - maxaddr = sysmem_maxaddr(vm); + maxaddr = vmm_sysmem_maxaddr(vm); vm->iommu = iommu_create_domain(maxaddr); if (vm->iommu == NULL) return (ENXIO); Modified: head/sys/amd64/vmm/vmm_dev.c == --- head/sys/amd64/vmm/vmm_dev.cTue May 15 16:56:30 2018 (r333638) +++ head/sys/amd64/vmm/vmm_dev.cTue May 15 17:20:58 2018 (r333639) @@ -173,7 +173,7 @@ static int vmmdev_rw(struct cdev *cdev, struct uio *uio, int flags) { int error, off, c, prot; - vm_paddr_t gpa; + vm_paddr_t gpa, maxaddr; void *hpa, *cookie; struct vmmdev_softc *sc; @@ -189,6 +189,7 @@ vmmdev_rw(struct cdev *cdev, struct uio *uio, int flag return (error); prot = (uio->uio_rw == UIO_WRITE ? VM_PROT_WRITE : VM_PROT_READ); + maxaddr = vmm_sysmem_maxaddr(sc->vm); while (uio->uio_resid > 0 && error == 0) { gpa = uio->uio_offset; off = gpa & PAGE_MASK; @@ -204,7 +205,7 @@ vmmdev_rw(struct cdev *cdev, struct uio *uio, int flag */ hpa = vm_gpa_hold(sc->vm, VM_MAXCPU - 1, gpa, c, prot, ); if (hpa == NULL) { - if (uio->uio_rw == UIO_READ) + if (uio->uio_rw == UIO_READ && gpa < maxaddr) error = uiomove(__DECONST(void *, zero_region), c, uio); else ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r331838 - in stable/11: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contrib/compiler-rt/
On Sat, Mar 31, 2018 at 11:38 AM, Dimitry Andricwrote: > Author: dim > Date: Sat Mar 31 11:38:16 2018 > New Revision: 331838 > URL: https://svnweb.freebsd.org/changeset/base/331838 > > Log: > Merge clang, llvm, lld, lldb, compiler-rt and libc++ 6.0.0 release, and > several follow-up fixes. ... Index: CompilerInvocation.cpp === --- CompilerInvocation.cpp (revision 331837) +++ CompilerInvocation.cpp (revision 331838) ... @@ -1690,11 +1765,7 @@ break; case InputKind::CXX: case InputKind::ObjCXX: - // The PS4 uses C++11 as the default C++ standard. - if (T.isPS4()) -LangStd = LangStandard::lang_gnucxx11; - else -LangStd = LangStandard::lang_gnucxx98; + LangStd = LangStandard::lang_gnucxx14; break; case InputKind::RenderScript: LangStd = LangStandard::lang_c99; ... Hi, Is it safe to change the default c++ standard from gnu++98 to gnu++14 in a stable branch? Around 380 ports are still broken by the gnu++98 -> gnu++14 switch. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r331551 - stable/11/cddl/contrib/opensolaris/lib/libdtrace/common
On Wed, Mar 28, 2018 at 1:40 PM, Mark Johnston <ma...@freebsd.org> wrote: > On Wed, Mar 28, 2018 at 08:43:12AM +, Antoine Brodin wrote: >> On Mon, Mar 26, 2018 at 3:17 PM, Mark Johnston <ma...@freebsd.org> wrote: >> > Author: markj >> > Date: Mon Mar 26 15:17:31 2018 >> > New Revision: 331551 >> > URL: https://svnweb.freebsd.org/changeset/base/331551 >> > >> > Log: >> > MFC r331222: >> > Given hidden visibility to symbols referenced by the DOF section. >> >> Hi, >> >> This commit broke lang/perl* and lang/tcl* on stable/11. >> Please revert. > > Done. Can you confirm that the problem doesn't appear to affect > -CURRENT? I can't reproduce these build failures there. Thanks. I didn't notice any new failure when it was committed in head. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r331551 - stable/11/cddl/contrib/opensolaris/lib/libdtrace/common
On Mon, Mar 26, 2018 at 3:17 PM, Mark Johnstonwrote: > Author: markj > Date: Mon Mar 26 15:17:31 2018 > New Revision: 331551 > URL: https://svnweb.freebsd.org/changeset/base/331551 > > Log: > MFC r331222: > Given hidden visibility to symbols referenced by the DOF section. Hi, This commit broke lang/perl* and lang/tcl* on stable/11. Please revert. Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r329249 - in stable/11: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety cddl/contrib/opensolaris/lib/libdtrace/common cddl/usr.sbin/dtrace/tests/common/safety cddl/usr.sbin/
On Tue, Feb 13, 2018 at 11:43 PM, Mark Johnstonwrote: > Author: markj > Date: Tue Feb 13 22:43:07 2018 > New Revision: 329249 > URL: https://svnweb.freebsd.org/changeset/base/329249 > > Log: > MFC r327888, r327972, r327973: > Add "jid" and "jailname" variables to DTrace. > Hi, stable/11 fails to build: /poudriere/jails/11stable-amd64/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c:316:19: error: use of undeclared identifier 'DT_VERS_1_13' DT_ATTR_STABCMN, DT_VERS_1_13, _idops_type, "string" }, ^ /poudriere/jails/11stable-amd64/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c:317:60: error: use of undeclared identifier 'DT_VERS_1_13' { "jid", DT_IDENT_SCALAR, 0, DIF_VAR_JID, DT_ATTR_STABCMN, DT_VERS_1_13, ^ 2 errors generated. Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r328973 - in stable/11: include sys/sys
On Sun, Feb 11, 2018 at 8:01 AM, Antoine Brodin <anto...@freebsd.org> wrote: > On Wed, Feb 7, 2018 at 4:06 PM, Hans Petter Selasky > <hsela...@freebsd.org> wrote: >> Author: hselasky >> Date: Wed Feb 7 15:06:54 2018 >> New Revision: 328973 >> URL: https://svnweb.freebsd.org/changeset/base/328973 >> >> Log: >> MFC r328237: >> Use the __alloc_size2 attribute where relevant. >> >> This follows the documented use in GCC. It is basically only relevant for >> calloc(3), reallocarray(3) and mallocarray(9). >> >> NOTE: Without this change clang 5.0.1 can produce incorrect optimisation >> code for static processing of data using the allocated object. For example >> this has been seen compiling the mlx4 core module, which allocates a >> fixed size array which is then sorted by a fixed order loop. The >> optimised result, -O2, is incorrect unless this patch is in place. >> >> Suggested by: Mark Millard >> Reference: >> https://docs.freebsd.org/cgi/mid.cgi?9DE674C6-EAA3-4E8A-906F-446E74D82FC4 >> >> Modified: >> stable/11/include/stdlib.h >> stable/11/sys/sys/malloc.h >> Directory Properties: >> stable/11/ (props changed) > > Hi, > > Please revert this change. Lots of ports that used to build fine on > stable/11 are now failing. > /usr/include/stdlib.h:93:7: error: expected function body after > function declarator > __alloc_size2(1, 2); Something like this may be needed on stable/11: Index: 11/sys/sys/cdefs.h === --- 11/sys/sys/cdefs.h (revision 329121) +++ 11/sys/sys/cdefs.h (working copy) @@ -213,6 +213,7 @@ #define__aligned(x) #define__alloc_align(x) #define__alloc_size(x) +#define__alloc_size2(n, x) #define__section(x) #define__weak_symbol #else Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r328973 - in stable/11: include sys/sys
On Wed, Feb 7, 2018 at 4:06 PM, Hans Petter Selaskywrote: > Author: hselasky > Date: Wed Feb 7 15:06:54 2018 > New Revision: 328973 > URL: https://svnweb.freebsd.org/changeset/base/328973 > > Log: > MFC r328237: > Use the __alloc_size2 attribute where relevant. > > This follows the documented use in GCC. It is basically only relevant for > calloc(3), reallocarray(3) and mallocarray(9). > > NOTE: Without this change clang 5.0.1 can produce incorrect optimisation > code for static processing of data using the allocated object. For example > this has been seen compiling the mlx4 core module, which allocates a > fixed size array which is then sorted by a fixed order loop. The > optimised result, -O2, is incorrect unless this patch is in place. > > Suggested by: Mark Millard > Reference: > https://docs.freebsd.org/cgi/mid.cgi?9DE674C6-EAA3-4E8A-906F-446E74D82FC4 > > Modified: > stable/11/include/stdlib.h > stable/11/sys/sys/malloc.h > Directory Properties: > stable/11/ (props changed) Hi, Please revert this change. Lots of ports that used to build fine on stable/11 are now failing. /usr/include/stdlib.h:93:7: error: expected function body after function declarator __alloc_size2(1, 2); Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r327841 - head
On Thu, Jan 11, 2018 at 8:24 PM, John Baldwinwrote: > Author: jhb > Date: Thu Jan 11 19:24:44 2018 > New Revision: 327841 > URL: https://svnweb.freebsd.org/changeset/base/327841 > > Log: > Allow MIPS lib32 to build with clang. > > Don't try to set -march as clang doesn't permit use of the O32 ABI > with newer CPU microarchitectures like 'mips3'. In addition, clang > doesn't permit the O32 ABI with the default N64 target, so use an > explicit O32 -target for clang. > > Sponsored by: DARPA / AFRL > > Modified: > head/Makefile.libcompat Hi, This seems to break buildworld for mips/mips64 --- includes_subdir_include/rpc --- RPCGEN_CPP=cpp\ -DCOMPAT_32BIT\ -target\ mips-unknown-freebsd12.0\ -mabi=32\ \ -L/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp/usr/lib32\ \ --sysroot=/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp\ \ -B/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/tmp/usr/bin\ -B/usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp/usr/lib32\ -isystem\ /usr/obj/usr/local/poudriere/jails/head-mips64/usr/src/mips.mips64/obj-lib32/tmp/usr/include rpcgen -C -h -DWANT_NFS3 /usr/local/poudriere/jails/head-mips64/usr/src/include/rpc/rpcb_prot.x -o rpcb_prot.h cpp: mips-unknown-freebsd12.0: No such file or directory cpp: warning: '-x c' after last input file has no effect cpp: unrecognized option '-target' cpp: No input files specified *** [rpcb_prot.h] Error code 1 Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r327823 - head/share/mk
On Thu, Jan 11, 2018 at 3:03 PM, Ed Mastewrote: > Author: emaste > Date: Thu Jan 11 14:03:05 2018 > New Revision: 327823 > URL: https://svnweb.freebsd.org/changeset/base/327823 > > Log: > Enable ld.lld as bootstrap linker by default on i386 > > Akin to r327783 for amd64. lld has been usable for amd64 for quite some > time, but a couple of issues remained that affected i386. These were > recently addressed upstream in lld and merged into FreeBSD (r326831, > r326879, r326897, r326957), so we can now use ld.lld on i386 as well. > > Similarly to amd64 this change enables lld only as the bootstrap linker > (used to link the kernel and userland libraries and executables), while > GNU ld.bfd is still installed as /usr/bin/ld and used for ports builds. > > The ports collection is essentially ready to use lld as the system > linker for amd64, but many ports still have trouble with lld on i386, > because lld defaults to -ztext, disallowing relocations against readonly > segments. Thus switching the system linker (WITH_LLD_IS_LD) will happen > later on a per-arch basis. > > Relnotes: Yes > Sponsored by: The FreeBSD Foundation Hi, There are some regressions in ports after this change, could you revert it and request a proper exp-run? Thanks. Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r327473 - head/sys/kern
Author: antoine Date: Mon Jan 1 21:25:01 2018 New Revision: 327473 URL: https://svnweb.freebsd.org/changeset/base/327473 Log: sysctl_kern_proc_args: do not take the fast path if p_args is NULL In this case it falls back to reading ps_strings Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c == --- head/sys/kern/kern_proc.c Mon Jan 1 20:47:03 2018(r327472) +++ head/sys/kern/kern_proc.c Mon Jan 1 21:25:01 2018(r327473) @@ -1920,11 +1920,9 @@ sysctl_kern_proc_args(SYSCTL_HANDLER_ARGS) * is nobody to modify pargs, thus we can just read. */ p = curproc; - if (pid == p->p_pid && p->p_numthreads == 1 && req->newptr == NULL) { - if ((pa = p->p_args) != NULL) - error = SYSCTL_OUT(req, pa->ar_args, pa->ar_length); - return (error); - } + if (pid == p->p_pid && p->p_numthreads == 1 && req->newptr == NULL && + (pa = p->p_args) != NULL) + return (SYSCTL_OUT(req, pa->ar_args, pa->ar_length)); flags = PGET_CANSEE; if (req->newptr != NULL) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r325726 - head/sys/kern
On Sat, Nov 11, 2017 at 10:39 PM, Mateusz Guzikwrote: > Author: mjg > Date: Sat Nov 11 22:39:33 2017 > New Revision: 325726 > URL: https://svnweb.freebsd.org/changeset/base/325726 > > Log: > Avoid locking and refing in sysctl_kern_proc_args if possible. > > Turns out the sysctl is called a lot e.g. by pkg-static. > > Modified: > head/sys/kern/kern_proc.c Hi, There is a regression after this commit: x11-toolkits/gnustep-gui no longer builds. You can find a failure log at http://pb2.nyi.freebsd.org/data/111i386-default-PR224618/2017-12-28_12h28m51s/logs/errors/gnustep-gui-0.25.1_3.log The failure seems to be from lang/gnustep-base: /* get the argument vectors */ vectors = kvm_getargv(kptr, proc_ptr, 0); Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r326792 - head/stand/uboot/common
Author: antoine Date: Tue Dec 12 09:46:53 2017 New Revision: 326792 URL: https://svnweb.freebsd.org/changeset/base/326792 Log: Attempt to unbreak buildworld Modified: head/stand/uboot/common/main.c Modified: head/stand/uboot/common/main.c == --- head/stand/uboot/common/main.c Tue Dec 12 06:56:21 2017 (r326791) +++ head/stand/uboot/common/main.c Tue Dec 12 09:46:53 2017 (r326792) @@ -500,7 +500,7 @@ main(int argc, char **argv) archsw.arch_readin = uboot_readin; archsw.arch_autoload = uboot_autoload; - interact(NULL); /* doesn't return */ + interact(); /* doesn't return */ return (0); } ___ 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-unsubscr...@freebsd.org"
svn commit: r325565 - head/sys/net
Author: antoine Date: Wed Nov 8 23:20:05 2017 New Revision: 325565 URL: https://svnweb.freebsd.org/changeset/base/325565 Log: Do not leak control in raw_usend Modified: head/sys/net/raw_usrreq.c Modified: head/sys/net/raw_usrreq.c == --- head/sys/net/raw_usrreq.c Wed Nov 8 23:11:15 2017(r325564) +++ head/sys/net/raw_usrreq.c Wed Nov 8 23:20:05 2017(r325565) @@ -225,9 +225,10 @@ raw_usend(struct socket *so, int flags, struct mbuf *m KASSERT(sotorawcb(so) != NULL, ("raw_usend: rp == NULL")); if ((flags & PRUS_OOB) || (control && control->m_len)) { - /* XXXRW: Should control also be freed here? */ if (m != NULL) m_freem(m); + if (control != NULL) + m_freem(control); return (EOPNOTSUPP); } ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf
On Mon, Apr 17, 2017 at 7:34 PM, Gleb Smirnoffwrote: > Author: glebius > Date: Mon Apr 17 17:34:47 2017 > New Revision: 317061 > URL: https://svnweb.freebsd.org/changeset/base/317061 > > Log: > - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter > in place. To do per-cpu stats, convert all fields that previously were > maintained in the vmmeters that sit in pcpus to counter(9). > - Since some vmmeter stats may be touched at very early stages of boot, > before we have set up UMA and we can do counter_u64_alloc(), provide an > early counter mechanism: > o Leave one spare uint64_t in struct pcpu, named pc_early_dummy_counter. > o Point counter(9) fields of vmmeter to pcpu[0].pc_early_dummy_counter, > so that at early stages of boot, before counters are allocated we > already > point to a counter that can be safely written to. > o For sparc64 that required a whole dummy pcpu[MAXCPU] array. Hi, This seems to break a few ports, the most important ones: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p438755_s317076/logs/errors/net-snmp-5.7.3_15.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p438755_s317076/logs/errors/sigar-1.7.3_2.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r315662 - in head: contrib/bsnmp/snmp_mibII contrib/ipfilter/ipsend lib/libprocstat sys/netinet sys/sys usr.bin/netstat usr.bin/sockstat usr.bin/systat usr.sbin/tcpdrop usr.sbin/trpt
On Tue, Mar 21, 2017 at 7:41 AM, Gleb Smirnoffwrote: > Hi! > > This change is known to break a ton of ports. More than 100 if > counting depends. I'm sorry for that and I already started to fix > them. > > Please send all new breakages to me. Hi, Exp-runs should happen before breakage happens, not after. If you already know that it breaks hundreds of ports, please revert and request an exp-run. Antoine (with hat: portmgr) > On Tue, Mar 21, 2017 at 06:39:49AM +, Gleb Smirnoff wrote: > T> Author: glebius > T> Date: Tue Mar 21 06:39:49 2017 > T> New Revision: 315662 > T> URL: https://svnweb.freebsd.org/changeset/base/315662 > T> > T> Log: > T> Hide struct inpcb, struct tcpcb from the userland. > T> > T> This is a painful change, but it is needed. On the one hand, we avoid > T> modifying them, and this slows down some ideas, on the other hand we > still > T> eventually modify them and tools like netstat(1) never work on next > version of > T> FreeBSD. We maintain a ton of spares in them, and we already got some > ifdef > T> hell at the end of tcpcb. > T> > T> Details: > T> - Hide struct inpcb, struct tcpcb under _KERNEL || _WANT_FOO. > T> - Make struct xinpcb, struct xtcpcb pure API structures, not including > T> kernel structures inpcb and tcpcb inside. Export into these structures > T> the fields from inpcb and tcpcb that are known to be used, and put > there > T> a ton of spare space. > T> - Make kernel and userland utilities compilable after these changes. > T> - Bump __FreeBSD_version. > T> > T> Reviewed by: rrs, gnn > T> Differential Revision: D10018 ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r313560 - head/sys/net
On Fri, Feb 10, 2017 at 6:37 PM, Gleb Smirnoffwrote: > Author: glebius > Date: Fri Feb 10 17:37:04 2017 > New Revision: 313560 > URL: https://svnweb.freebsd.org/changeset/base/313560 > > Log: > Last consumer of _WANT_RTENTRY gone. > > Modified: > head/sys/net/route.h Hi, This change seems to break devel/llvm37 : http://beefy11.nyi.freebsd.org/data/head-i386-default/p433828_s313572/logs/errors/llvm37-3.7.1_4.log http://beefy12.nyi.freebsd.org/data/head-amd64-default/p433828_s313572/logs/errors/llvm37-3.7.1_4.log More than 6000 are skipped due to this failure. Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r312765 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis
On Wed, Jan 25, 2017 at 6:59 PM, Dimitry Andricwrote: > Author: dim > Date: Wed Jan 25 17:59:22 2017 > New Revision: 312765 > URL: https://svnweb.freebsd.org/changeset/base/312765 > > Log: > Pull in r276136 from upstream llvm trunk (by Wei Mi): > > Use ValueOffsetPair to enhance value reuse during SCEV expansion. > > In D12090, the ExprValueMap was added to reuse existing value during > SCEV expansion. However, const folding and sext/zext distribution can > make the reuse still difficult. > > A simplified case is: suppose we know S1 expands to V1 in > ExprValueMap, and > S1 = S2 + C_a > S3 = S2 + C_b > where C_a and C_b are different SCEVConstants. Then we'd like to > expand S3 as V1 - C_a + C_b instead of expanding S2 literally. It is > helpful when S2 is a complex SCEV expr and S2 has no entry in > ExprValueMap, which is usually caused by the fact that S3 is > generated from S1 after const folding. > > In order to do that, we represent ExprValueMap as a mapping from SCEV > to ValueOffsetPair. We will save both S1->{V1, 0} and S2->{V1, C_a} > into the ExprValueMap when we create SCEV for V1. When S3 is > expanded, it will first expand S2 to V1 - C_a because of S2->{V1, > C_a} in the map, then expand S3 to V1 - C_a + C_b. > > Differential Revision: https://reviews.llvm.org/D21313 > > This should fix assertion failures when building OpenCV >= 3.1. > > PR: 215649 > MFC after:3 days Hi, I don't know if it's this commit, but there is now an assertion failure when trying to build lang/spidermonkey24 (It was building fine with base/head@312672) http://beefy12.nyi.freebsd.org/data/head-amd64-default/p432463_s312786/logs/errors/spidermonkey24-24.2.0_4.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r312404 - head/usr.bin/sed
On Thu, Jan 19, 2017 at 9:01 AM, Xin LIwrote: > Author: delphij > Date: Thu Jan 19 08:01:35 2017 > New Revision: 312404 > URL: https://svnweb.freebsd.org/changeset/base/312404 > > Log: > Use S_ISREG instead of manual & (also it's better to compare the > result from & and the pattern instead of just assuming it's one bit > value). > > Pointed out by Tianjie Mao . > > MFC after:2 weeks > Differential Revision:https://reviews.freebsd.org/D4827 Hi, sed -i no longer works on symlinks which breaks lots of ports. Please revert and request an exp-run. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r309405 - head/contrib/libarchive/libarchive
On Fri, Dec 2, 2016 at 10:30 AM, Martin Matuskawrote: > Author: mm > Date: Fri Dec 2 09:30:13 2016 > New Revision: 309405 > URL: https://svnweb.freebsd.org/changeset/base/309405 > > Log: > MFV r309403: > > Sync libarchive with vendor. > > Vendor bugfixes: > Fix for heap-buffer-overflow in archive_le16dec() > Fix for heap-buffer-overflow in uudecode_bidder_bid() > Reworked fix for compatibility with archives created by Perl Archive::Tar > > MFC after:1 week Hi, There are still ports failing to extract (logs are ipv6 only): http://beefy11.nyi.freebsd.org/data/head-i386-default/p427588_s309451/logs/errors/jakarta-commons-logging-1.2.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p427588_s309451/logs/errors/activemq-5.14.1.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p427588_s309451/logs/errors/hadoop2-2.7.2_1.log Please request an exp-run before updating libarchive. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r308484 - head
Author: antoine Date: Thu Nov 10 16:27:34 2016 New Revision: 308484 URL: https://svnweb.freebsd.org/changeset/base/308484 Log: Add limits(1) to native-xtools so that it can be used in qemu user-mode jails Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == --- head/Makefile.inc1 Thu Nov 10 12:54:33 2016(r308483) +++ head/Makefile.inc1 Thu Nov 10 16:27:34 2016(r308484) @@ -1954,6 +1954,7 @@ native-xtools: .PHONY usr.bin/gzip \ usr.bin/id \ usr.bin/lex \ +usr.bin/limits \ usr.bin/lorder \ usr.bin/mktemp \ usr.bin/mt \ ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r308181 - in head: . share/mk
On Wed, Nov 2, 2016 at 7:53 AM, Dimitry Andricwrote: > On 02 Nov 2016, at 08:25, Jonathan Anderson wrote: >> >> On 1 Nov 2016, at 21:10, Dimitry Andric wrote: >> >>> Please note, I reverted r307823 (which changed the suffixes from .bco >>> and .llo to .bc and .ll) in r308003, since it caused a number of ports >>> failures. These ports were already using .ll as a suffix for C++ lex >>> scripts. >> >> The changes to bsd.suffixes-posix.mk (included by sys.mk) would have >> affected anything compiled with bmake, and indeed, I'd imagine that adding a >> .c->.ll rule alongside .c->.o could cause problems with C++ lex rules. In >> fact, part of brooks' original motivation for introducing .llo suffixes was >> to avoid name conflicts (although conflicts with program IR like we're >> introducing in this commit). The changes in this commit should only be >> picked up by things that explicit include bsd.{lib,prog}.mk, however, and >> they also have slightly more esoteric names (e.g., progname.full.ll) that >> are less likely to cause a conflict. Perhaps I ought to have done an >> exp-run, but I suspect that this commit will cause much less / no fallout. I >> don't suppose you have a list of the ports that failed after your r307823 >> change so that I could do spot checks? > > Hi Antoine, you pointed me at some of these port failures due to the .ll > change, do you still have a list of them? The failures were: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/super-smack-1.3_2.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/dprog-0.3.1_2.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/ebnf2yacc-0.1.1.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/gnuchess-6.2.3.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/bugle-0.0.20100508_2.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/hfst-3.8.2.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/grap-1.45.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/g-cows-1.12.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p424659_s307951/logs/worker-3.8.4.log Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r305709 - head
Author: antoine Date: Sun Sep 11 19:51:32 2016 New Revision: 305709 URL: https://svnweb.freebsd.org/changeset/base/305709 Log: Add more obsolete files Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Sun Sep 11 19:08:21 2016(r305708) +++ head/ObsoleteFiles.inc Sun Sep 11 19:51:32 2016(r305709) @@ -41,6 +41,8 @@ # 20160906: libkqueue tests moved to /usr/tests/sys/kqueue/libkqueue OLD_FILES+=usr/tests/sys/kqueue/kqtest OLD_FILES+=usr/tests/sys/kqueue/kqueue_test +# 20160903: idle page zeroing support removed +OLD_FILES+=usr/share/man/man9/pmap_zero_idle.9.gz # 20160901: Remove digi(4) OLD_FILES+=usr/share/man/man4/digi.4.gz # 20160819: Remove ie(4) @@ -59,6 +61,8 @@ OLD_FILES+=usr/share/man/man8/sicontrol. OLD_FILES+=usr/share/man/man4/scd.4.gz # 20160815: Remove mcd(4) OLD_FILES+=usr/share/man/man4/mcd.4.gz +# 20160805: lockmgr_waiters(9) removed +OLD_FILES+=usr/share/man/man9/lockmgr_waiters.9.gz # 20160703: POSIXify locales with variants OLD_FILES+=usr/share/locale/zh_Hant_TW.UTF-8/LC_COLLATE OLD_FILES+=usr/share/locale/zh_Hant_TW.UTF-8/LC_CTYPE @@ -213,18 +217,23 @@ OLD_LIBS+=usr/lib32/pam_unix.so.5 OLD_FILES+=usr/include/altq/altq_codel.h OLD_FILES+=usr/include/altq/altq_fairq.h # 20160519: remove DTrace Toolkit from base +OLD_FILES+=usr/sbin/dtruss OLD_FILES+=usr/share/dtrace/toolkit/execsnoop OLD_FILES+=usr/share/dtrace/toolkit/hotkernel OLD_FILES+=usr/share/dtrace/toolkit/hotuser OLD_FILES+=usr/share/dtrace/toolkit/opensnoop OLD_FILES+=usr/share/dtrace/toolkit/procsystime OLD_DIRS+=usr/share/dtrace/toolkit +OLD_FILES+=usr/share/man/man1/dtruss.1.gz # 20160519: stale MLINK removed OLD_FILES+=usr/share/man/man9/rman_await_resource.9.gz # 20160517: ReiserFS removed OLD_FILES+=usr/share/man/man5/reiserfs.5.gz +# 20160504: tests rework +OLD_FILES+=usr/tests/lib/libc/regex/data/README # 20160430: kvm_getfiles(3) removed from kvm(3) OLD_LIBS+=lib/libkvm.so.6 +OLD_LIBS+=usr/lib32/libkvm.so.6 OLD_FILES+=usr/share/man/man3/kvm_getfiles.3.gz # 20160423: remove mroute6d OLD_FILES+=etc/rc.d/mroute6d @@ -372,12 +381,18 @@ OLD_LIBS+=usr/lib32/libcapsicum.so.0 OLD_FILES+=usr/lib32/libcapsicum_p.a # 20160223: functionality from mkulzma(1) merged into mkuzip(1) OLD_FILES+=usr/bin/mkulzma +OLD_FILES+=usr/share/man/man4/geom_uncompress.4.gz +OLD_FILES+=usr/share/man/man8/mkulzma.8.gz # 20160211: Remove obsolete unbound-control-setup OLD_FILES+=usr/sbin/unbound-control-setup +# 20160121: cc.h moved +OLD_FILES+=usr/include/netinet/cc.h # 20160116: Update mandoc to cvs snapshot 20160116 OLD_FILES+=usr/share/mdocml/example.style.css OLD_FILES+=usr/share/mdocml/style.css OLD_DIRS+=usr/share/mdocml +# 20160114: SA-16:06.snmpd +OLD_FILES+=usr/share/examples/etc/snmpd.config # 20151225: new clang import which bumps version from 3.7.0 to 3.7.1. OLD_FILES+=usr/lib/clang/3.7.0/include/sanitizer/allocator_interface.h OLD_FILES+=usr/lib/clang/3.7.0/include/sanitizer/asan_interface.h @@ -462,6 +477,9 @@ OLD_FILES+=usr/lib/clang/3.7.0/lib/freeb OLD_DIRS+=usr/lib/clang/3.7.0/lib/freebsd OLD_DIRS+=usr/lib/clang/3.7.0/lib OLD_DIRS+=usr/lib/clang/3.7.0 +# 20151201: mqueue tests 3 and 4 disabled +OLD_FILES+=usr/tests/sys/mqueue/mqtest3 +OLD_FILES+=usr/tests/sys/mqueue/mqtest4 # 20151130: libelf moved from /usr/lib to /lib (libkvm dependency in r291406) OLD_LIBS+=usr/lib/libelf.so.2 # 20151115: Fox bad upgrade scheme @@ -596,6 +614,8 @@ OLD_LIBS+=lib/libcrypto.so.7 OLD_LIBS+=usr/lib/libssl.so.7 OLD_LIBS+=usr/lib32/libcrypto.so.7 OLD_LIBS+=usr/lib32/libssl.so.7 +# 20151029: LinuxKPI moved to sys/compat/linuxkpi +OLD_FILES+=usr/include/dev/usb/usb_compat_linux.h # 20151015: test symbols moved to /usr/lib/debug OLD_DIRS+=usr/tests/lib/atf/libatf-c++/.debug OLD_FILES+=usr/tests/lib/atf/libatf-c++/.debug/atf_c++_test.debug ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r303342 - in head: include lib/libc/stdlib
On Tue, Jul 26, 2016 at 11:41 PM, Ed Schoutenwrote: > Hi Pedro, Benjamin, > > 2016-07-26 22:35 GMT+02:00 Pedro Giffuni : >> On 07/26/16 15:14, Benjamin Kaduk wrote: >>> Is a __FreeBSD_version bump planned? (Third-party software might want >>> to be warning-clean.) >> >> Third party software should already follow standards ;). > > Not only that. This change only changes arguments from one integer > type to the other. As far as I know, such a change would not cause a > compiler to generate (substantially) different diagnostics. > > If it turns out I'm mistaken I'll reconsider, but for now this should do. :-) Hi, This change broke a few games in the ports tree: http://beefy4.nyi.freebsd.org/data/head-amd64-default/p419204_s303419/logs/errors/falconseye-1.9.3_11.log http://beefy4.nyi.freebsd.org/data/head-amd64-default/p419204_s303419/logs/errors/nethack34-3.4.3_9.log http://beefy4.nyi.freebsd.org/data/head-amd64-default/p419204_s303419/logs/errors/nethack36-3.6.0.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r300773 - in head/sys: crypto crypto/aesni crypto/sha2 crypto/siphash kern sys
On Thu, May 26, 2016 at 9:29 PM, Conrad E. Meyerwrote: > Author: cem > Date: Thu May 26 19:29:29 2016 > New Revision: 300773 > URL: https://svnweb.freebsd.org/changeset/base/300773 > > Log: > crypto routines: Hint minimum buffer sizes to the compiler > > Use the C99 'static' keyword to hint to the compiler IVs and output digest > sizes. The keyword informs the compiler of the minimum valid size for a > given > array. Obviously not every pointer can be validated (i.e., the compiler can > produce false negative but not false positive reports). > > No functional change. No ABI change. > > Sponsored by: EMC / Isilon Storage Division This breaks some ports: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p415919_s300812/logs/errors/x265-1.9.log Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r299529 - in head: contrib/libarchive contrib/libarchive/cat contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/liba
On Thu, May 12, 2016 at 12:16 PM, Martin Matuskawrote: > Author: mm > Date: Thu May 12 10:16:16 2016 > New Revision: 299529 > URL: https://svnweb.freebsd.org/changeset/base/299529 > > Log: > MFV r299425: > > Update libarchive to 3.2.0 > > New features: > - new bsdcat command-line utility > - LZ4 compression (in src only via external utility from ports) > - Warc format support > - 'Raw' format writer > - Zip: Support archives >4GB, entries >4GB > - Zip: Support encrypting and decrypting entries > - Zip: Support experimental streaming extension > - Identify encrypted entries in several formats > - New --clear-nochange-flags option to bsdtar tries to remove noschg and > similar flags before deleting files > - New --ignore-zeros option to bsdtar to handle concatenated tar archives > - Use multi-threaded LZMA decompression if liblzma supports it > - Expose version info for libraries used by libarchive > > Patched files (fixed compiler warnings): > > contrib/libarchive/cat/bsdcat.c (vendor PR #702) > contrib/libarchive/cat/bsdcat.h (vendor PR #702) > contrib/libarchive/libarchive/archive_read_support_format_mtree.c (PR #701) > contrib/libarchive/libarchive_fe/err.c (vendor PR #703) > > MFC after:1 month > Relnotes: yes Hi, cpio(1) looks broken after this update and the ports tree is unusable (it uses cpio in COPYTREE*). Please revert and request a ports exp-run. Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r299456 - in head: include lib/libc/stdio
On Wed, May 11, 2016 at 4:38 PM, Conrad E. Meyerwrote: > Author: cem > Date: Wed May 11 14:38:27 2016 > New Revision: 299456 > URL: https://svnweb.freebsd.org/changeset/base/299456 > > Log: > libc: Add fopencookie(3) wrapper around funopen(3) > > Reviewed by: jhb, oshogbo > Sponsored by: EMC / Isilon Storage Division > Differential Revision:https://reviews.freebsd.org/D6282 Hi, Please revert this and request a ports exp-run as this breaks lots of important ports. Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r296465 - in releng/9.3: . crypto/openssl crypto/openssl/apps crypto/openssl/bugs crypto/openssl/crypto crypto/openssl/crypto/aes crypto/openssl/crypto/asn1 crypto/openssl/crypto/bf cr
On Wed, Mar 9, 2016 at 12:47 AM, Xin LIwrote: > This may be related to the BN changes (CVE-2016-0797 and/or > CVE-2016-0702). Will reverting just that portion of r296462 (stable/9 > patch would apply on 9.3 as well) help? This would help to narrow > down the root cause. > > I can't really do any debugging right now but will take a look as soon as I > can. fetch is also having Segmentation faults on some https sites after the 9.3-RELEASE-p37 update, see for instance: http://beefy2.nyi.freebsd.org/data/93amd64-default/410591/logs/errors/waifu2x-converter-cpp-1.0.0.410.log http://beefy2.nyi.freebsd.org/data/93amd64-default/410591/logs/errors/narcissu2-1.1.log Antoine > On Tue, Mar 8, 2016 at 2:45 PM, Mathieu Arnold wrote: >> >> >> +--On 8 mars 2016 09:01:04 -0800 Bryan Drewery wrote: >> | On 3/8/2016 8:52 AM, Mathieu Arnold wrote: >> |> +--On 8 mars 2016 08:48:27 -0800 Bryan Drewery >> |> wrote: >> |> | On 3/8/2016 8:47 AM, Bryan Drewery wrote: >> |> |> On 3/8/2016 8:35 AM, Mathieu Arnold wrote: >> |> |>> +--On 8 mars 2016 08:29:41 -0800 Bryan Drewery >> |> |>> wrote: >> |> |>> | On 3/8/2016 8:28 AM, Mathieu Arnold wrote: >> |> |>> |> +--On 8 mars 2016 08:25:44 -0800 Bryan Drewery >> |> |>> |> wrote: >> |> |>> |> | On 3/7/2016 4:29 PM, Mathieu Arnold wrote: >> |> |>> |> |> +--On 7 mars 2016 16:22:12 + Xin LI >> |> |>> |> |> wrote: >> |> |>> |> |> | Author: delphij >> |> |>> |> |> | Date: Mon Mar 7 16:22:11 2016 >> |> |>> |> |> | New Revision: 296465 >> |> |>> |> |> | URL: https://svnweb.freebsd.org/changeset/base/296465 >> |> |>> |> |> | >> |> |>> |> |> | Log: >> |> |>> |> |> | Fix multiple OpenSSL vulnerabilities. >> |> |>> |> |> | >> |> |>> |> |> | Security: FreeBSD-SA-16:12.openssl >> |> |>> |> |> | Approved by: so >> |> |>> |> |> >> |> |>> |> |> After that, poudriere bulk fails with: >> |> |>> |> |> >> |> |>> |> |> [00:00:07] >> Creating pkgng repository >> |> |>> |> |> Creating repository in /tmp/packages: 100% >> |> |>> |> |> Packing files for repository: 0%Child process pid=50970 >> |> |>> |> |> terminated abnormally: Segmentation fault: 11 >> |> |>> |> |> [00:00:08] >> Cleaning up >> |> |>> |> |> 9amd64-pkgng-default: removed >> |> |>> |> |> 9amd64-pkgng-default-n: removed >> |> |>> |> |> >> |> |>> |> |> pkg-static is the one doing the segfault... >> |> |>> |> |> >> |> |>> |> | >> |> |>> |> | Is QEMU involved here? >> |> |>> |> | >> |> |>> |> | Do you have PKG_REPO_FROM_HOST or PKG_REPO_SIGNING_KEY set? (Not >> |> |>> |> | saying you should) >> |> |>> |> >> |> |>> |> No, it's a regular 9amd64 build on a 10.2 amd64 host. >> |> |>> |> >> |> |>> | >> |> |>> | Can you please rebuild pkg with debug symbols and then run your 9.3 >> |> |>> | version against the repo in gdb? >> |> |>> >> |> |>> I could yes, but not today, tomorrow at the earliest. How do I build >> |> |>> the port with debug symbols ? >> |> |>> >> |> |> >> |> |> WITH_DEBUG=yes make >> |> |> >> |> | >> |> | You might need this too: DEBUG_FLAGS="-g -O0" >> |> >> |> Mmmm, ok, what commands do I need to run ? >> |> >> | >> | (assuming devel/gdb installed) >> | gdb710 --args /usr/local/sbin/pkg-static repo >> |# run >> | >> |# bt full >> >> Ok, so, it's 9.3, so there's no gdb710, but: >> >> >> the command ran is: >> >> root@pkg:/tmp/foo # pkg repo . ../repo.key >> Creating repository in .: 100% >> Packing files for repository: 0%Child process pid=16312 terminated >> abnormally: Segmentation fault: 11 >> root@pkg:/tmp/foo # gdb /usr/local/sbin/pkg pkg.core >> GNU gdb 6.1.1 [FreeBSD] >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you are >> welcome to change it and/or distribute copies of it under certain >> conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for details. >> This GDB was configured as "amd64-marcel-freebsd"... >> Core was generated by `pkg'. >> Program terminated with signal 11, Segmentation fault. >> Reading symbols from /usr/local/lib/libpkg.so.3...done. >> Loaded symbols for /usr/local/lib/libpkg.so.3 >> Reading symbols from /lib/libutil.so.9...done. >> Loaded symbols for /lib/libutil.so.9 >> Reading symbols from /usr/lib/libssl.so.6...done. >> Loaded symbols for /usr/lib/libssl.so.6 >> Reading symbols from /lib/libcrypto.so.6...done. >> Loaded symbols for /lib/libcrypto.so.6 >> Reading symbols from /lib/libm.so.5...done. >> Loaded symbols for /lib/libm.so.5 >> Reading symbols from /usr/lib/libelf.so.1...done. >> Loaded symbols for /usr/lib/libelf.so.1 >> Reading symbols from /lib/libjail.so.1...done. >> Loaded symbols for /lib/libjail.so.1 >> Reading symbols from /usr/lib/libarchive.so.5...done. >> Loaded symbols for /usr/lib/libarchive.so.5 >> Reading symbols from /lib/libz.so.6...done. >>
Re: svn commit: r293801 - in head: . etc share/examples/ypldap usr.sbin/ypldap
On Jan 13, 2016 2:49 AM, "Marcelo Araujo"wrote: > > Author: araujo > Date: Wed Jan 13 01:49:35 2016 > New Revision: 293801 > URL: https://svnweb.freebsd.org/changeset/base/293801 > > Log: > ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3). > > This commit, fix a core dump on ypldap(8) related with memory allocation. > Also an example of how to set the ypldap.conf(5) properly is added to > examples files. > > A new user _ypldap is required to be able to run ypldap(8) as well as > in a chroot mode. > > Reviewed by: rodrigc (mentor), bjk > Approved by: bapt (mentor) > Relnotes: Yes > Sponsored by: gandi.net > Differential Revision:https://reviews.freebsd.org/D4744 > Hi, Uid 93 is already used in the ports tree by jabber. (/usr/ports/UIDs) Cheers, Antoine > Added: > head/share/examples/ypldap/ > head/share/examples/ypldap/ypldap.conf (contents, props changed) > Modified: > head/UPDATING > head/etc/master.passwd > head/usr.sbin/ypldap/yp.c > head/usr.sbin/ypldap/ypldap.conf.5 > > Modified: head/UPDATING > == > --- head/UPDATING Wed Jan 13 01:32:04 2016(r293800) > +++ head/UPDATING Wed Jan 13 01:49:35 2016(r293801) > @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 > disable the most expensive debugging functionality run > "ln -s 'abort:false,junk:false' /etc/malloc.conf".) > > +20160113: > + With the addition of ypldap(8), a new _ypldap user is now required > + during installworld. "mergemaster -p" can be used to add the user > + prior to installworld, as documented in the handbook. > + > 20151216: > The tftp loader (pxeboot) now uses the option root-path directive. As a > consequence it no longer looks for a pxeboot.4th file on the tftp > > Modified: head/etc/master.passwd > == > --- head/etc/master.passwd Wed Jan 13 01:32:04 2016(r293800) > +++ head/etc/master.passwd Wed Jan 13 01:49:35 2016(r293801) > @@ -22,5 +22,6 @@ uucp:*:66:66::0:0:UUCP pseudo-user:/var/ > pop:*:68:6::0:0:Post Office Owner:/nonexistent:/usr/sbin/nologin > auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin > www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin > +_ypldap:*:93:93::0:0:YP Ldap unprivileged user:/var/empty:/usr/sbin/nologin > hast:*:845:845::0:0:HAST unprivileged user:/var/empty:/usr/sbin/nologin > nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin > > Added: head/share/examples/ypldap/ypldap.conf > == > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/share/examples/ypldap/ypldap.conf Wed Jan 13 01:49:35 2016 (r293801) > @@ -0,0 +1,40 @@ > +$FreeBSD$ > +domain "freebsd.org" > +interval 60 > +provide map"passwd.byname" > +provide map"passwd.byuid" > +provide map"group.byname" > +provide map"group.bygid" > +provide map"netid.byname" > + > +directory "127.0.0.1" { > + # directory options > + binddn "cn=ldap,dc=freebsd,dc=org" > + bindcred "secret" > + basedn "dc=freebsd.,dc=org" > + # starting point for groups directory search, default to basedn > + groupdn "ou=Groups,dc=freebsd,dc=org" > + > + # passwd maps configuration (RFC 2307 posixAccount object class) > + passwd filter "(objectClass=posixAccount)" > + > + attribute name maps to "uid" > + fixed attribute passwd "*" > + attribute uid maps to "uidNumber" > + attribute gid maps to "gidNumber" > + attribute gecos maps to "cn" > + attribute home maps to "homeDirectory" > + attribute shell maps to "loginShell" > + fixed attribute change "0" > + fixed attribute expire "0" > + fixed attribute class "" > + > + # group maps configuration (RFC 2307 posixGroup object class) > + group filter "(objectClass=posixGroup)" > + > + attribute groupname maps to "cn" > + fixed attribute grouppasswd "*" > + attribute groupgid maps to "gidNumber" > + # memberUid returns multiple group members > + list groupmembers maps to "memberUid" > +} > > Modified: head/usr.sbin/ypldap/yp.c > == > --- head/usr.sbin/ypldap/yp.c Wed Jan 13 01:32:04 2016(r293800) > +++ head/usr.sbin/ypldap/yp.c Wed Jan 13 01:49:35 2016(r293801) > @@ -83,10 +83,10 @@ void > yp_enable_events(void) > { > int i; > - extern fd_set svc_fdset; > + extern fd_set svc_fdset; > struct yp_event *ye; > > - for (i = 0; i < getdtablesize(); i++) { > + for (i =
Re: svn commit: r294470 - head/libexec/rtld-elf
On Thu, Jan 21, 2016 at 11:36 PM, Alexander Kabaev <kab...@gmail.com> wrote: > On Thu, 21 Jan 2016 22:20:12 +0100 > Antoine Brodin <anto...@freebsd.org> wrote: > >> On Thu, Jan 21, 2016 at 12:26 AM, Alexander Kabaev <k...@freebsd.org> >> wrote: >> > Author: kan >> > Date: Wed Jan 20 23:26:35 2016 >> > New Revision: 294470 >> > URL: https://svnweb.freebsd.org/changeset/base/294470 >> > >> > Log: >> > Fix initlist_add_object invocation parameters. >> > >> > The tail parameter should point to the last object for >> > which dependencies should be processed. In most cases, >> > this is the object itself. >> > >> > Modified: >> > head/libexec/rtld-elf/rtld.c >> >> Hi, >> >> It seems there are still some hangs after this fix (seen on the -head >> package builders, tar -xf hanging for instance). >> >> Cheers, >> >> Antoine > > I've seen hangs _before_ this fix but none after. You'd have to collect > some backtraces and share with me and kib@. False alarm, for unknown reasons java/eclipse eats all CPU on head and other ports were starving. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r294470 - head/libexec/rtld-elf
On Thu, Jan 21, 2016 at 12:26 AM, Alexander Kabaevwrote: > Author: kan > Date: Wed Jan 20 23:26:35 2016 > New Revision: 294470 > URL: https://svnweb.freebsd.org/changeset/base/294470 > > Log: > Fix initlist_add_object invocation parameters. > > The tail parameter should point to the last object for > which dependencies should be processed. In most cases, > this is the object itself. > > Modified: > head/libexec/rtld-elf/rtld.c Hi, It seems there are still some hangs after this fix (seen on the -head package builders, tar -xf hanging for instance). Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat
On Fri, Jan 8, 2016 at 8:34 PM, Gleb Smirnoffwrote: > Author: glebius > Date: Fri Jan 8 20:34:57 2016 > New Revision: 293439 > URL: https://svnweb.freebsd.org/changeset/base/293439 > > Log: > New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and > up to now. Hi, "SF_FLAGS" addition seems to break graphics/graphviz on head. See error log at: http://beefy3.nyi.freebsd.org/data/head-i386-default/p405601_s293454/logs/errors/graphviz-2.38.0_10.log 739 ports are skipped due to this failure. Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r292588 - in stable/10: . contrib/xz contrib/xz/src/common contrib/xz/src/liblzma contrib/xz/src/liblzma/api contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/check contrib/xz/src
On Tue, Dec 22, 2015 at 8:03 AM, Xin LIwrote: > Author: delphij > Date: Tue Dec 22 08:03:23 2015 > New Revision: 292588 > URL: https://svnweb.freebsd.org/changeset/base/292588 > > Log: > MFC: xz 5.2.2. > > Relnotes: yes Hi, This broke ports using liblzma on amd64 (lib32 in liblzma.pc). > cat usr/libdata/pkgconfig/liblzma.pc # # Author: Lasse Collin # # This file has been put into the public domain. # You can do whatever you want with this file. # prefix=/usr exec_prefix=/usr libdir=/usr/lib32 includedir=/usr/include Name: liblzma Description: General purpose data compression library URL: http://tukaani.org/xz/ Version: 5.2.2 Cflags: -I${includedir} Libs: -L${libdir} -llzma Libs.private: @LIBS@ Cheers, Antoine ___ 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-unsubscr...@freebsd.org"
svn commit: r289595 - head
Author: antoine Date: Mon Oct 19 17:31:51 2015 New Revision: 289595 URL: https://svnweb.freebsd.org/changeset/base/289595 Log: Add more obsolete files Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Mon Oct 19 16:25:41 2015(r289594) +++ head/ObsoleteFiles.inc Mon Oct 19 17:31:51 2015(r289595) @@ -444,6 +444,8 @@ OLD_DIRS+=usr/share/doc/legal/intel_wpi OLD_FILES+=usr/share/doc/legal/intel_wpi/LICENSE # 20151006: new libc++ import OLD_FILES+=usr/include/c++/__tuple_03 +OLD_FILES+=usr/include/c++/v1/__tuple_03 +OLD_FILES+=usr/include/c++/v1/tr1/__tuple_03 # 20151006: new clang import which bumps version from 3.6.1 to 3.7.0. OLD_FILES+=usr/lib/clang/3.6.1/include/__stddef_max_align_t.h OLD_FILES+=usr/lib/clang/3.6.1/include/__wmmintrin_aes.h @@ -530,11 +532,16 @@ OLD_FILES+=usr/share/man/man4/dtrace-pro OLD_FILES+=usr/share/man/man4/dtrace-sched.4.gz OLD_FILES+=usr/share/man/man4/dtrace-tcp.4.gz OLD_FILES+=usr/share/man/man4/dtrace-udp.4.gz +# 20150704: nvlist private headers no longer installed +OLD_FILES+=usr/include/sys/nv_impl.h +OLD_FILES+=usr/include/sys/nvlist_impl.h +OLD_FILES+=usr/include/sys/nvpair_impl.h # 20150624 OLD_LIBS+=usr/lib/libugidfw.so.4 OLD_LIBS+=usr/lib32/libugidfw.so.4 # 20150604: Move nvlist man pages to section 9. OLD_FILES+=usr/share/man/man3/libnv.3.gz +OLD_FILES+=usr/share/man/man3/nv.3.gz OLD_FILES+=usr/share/man/man3/nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_add_binary.3.gz OLD_FILES+=usr/share/man/man3/nvlist_add_bool.3.gz ___ 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-unsubscr...@freebsd.org"
Re: svn commit: r289085 - head/share/mk
On Fri, Oct 9, 2015 at 9:57 PM, Baptiste Daroussinwrote: > Author: bapt > Date: Fri Oct 9 21:57:42 2015 > New Revision: 289085 > URL: https://svnweb.freebsd.org/changeset/base/289085 > > Log: > Add a new bsd.confs.mk similar to bsd.files.mk or bsd.incs.mk > > It defines a CONFS variable for all files supposed to be installed as a > configuration file and handle as such Hi, This breaks lots of ports: - bsd.confs.mk used but not installed - ETCDIR defined to /etc in bsd.own.mk Cheers, Antoine (with hat: portmgr) ___ 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-unsubscr...@freebsd.org"
svn commit: r286812 - head/lib/libusb
Author: antoine Date: Sat Aug 15 19:00:38 2015 New Revision: 286812 URL: https://svnweb.freebsd.org/changeset/base/286812 Log: bsd.lib.mk has to be included after MLINKS assignment Modified: head/lib/libusb/Makefile Modified: head/lib/libusb/Makefile == --- head/lib/libusb/MakefileSat Aug 15 18:22:16 2015(r286811) +++ head/lib/libusb/MakefileSat Aug 15 19:00:38 2015(r286812) @@ -70,8 +70,6 @@ CFLAGS+= -DUSB_GLOBAL_INCLUDE_FILE=\${L CFLAGS+= -I ../../sys .endif -.include bsd.lib.mk - # LibUSB v1.0 MLINKS += libusb.3 libusb_init.3 MLINKS += libusb.3 libusb_exit.3 @@ -259,3 +257,5 @@ MLINKS += libusb20.3 libusb20_me_decode. MLINKS += libusb20.3 libusb20_desc_foreach.3 MLINKS += libusb20.3 libusb20_strerror.3 MLINKS += libusb20.3 libusb20_error_name.3 + +.include bsd.lib.mk ___ 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-unsubscr...@freebsd.org
svn commit: r286745 - head/tools/build/mk
Author: antoine Date: Thu Aug 13 22:04:30 2015 New Revision: 286745 URL: https://svnweb.freebsd.org/changeset/base/286745 Log: Stop removing ELF toolchain tools Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc == --- head/tools/build/mk/OptionalObsoleteFiles.inc Thu Aug 13 22:01:13 2015(r286744) +++ head/tools/build/mk/OptionalObsoleteFiles.inc Thu Aug 13 22:04:30 2015(r286745) @@ -7506,7 +7506,7 @@ OLD_FILES+=usr/share/man/man1/colcrt.1.g OLD_FILES+=usr/share/man/man1/ul.1.gz .endif -#.if ${MK_TOOLCHAIN} == no +.if ${MK_TOOLCHAIN} == no OLD_FILES+=usr/bin/addr2line OLD_FILES+=usr/bin/c++filt OLD_FILES+=usr/bin/nm @@ -7521,7 +7521,7 @@ OLD_FILES+=usr/share/man/man1/readelf.1. OLD_FILES+=usr/share/man/man1/size.1.gz OLD_FILES+=usr/share/man/man1/strings.1.gz OLD_FILES+=usr/share/man/man1/strip.1.gz -#.endif +.endif .if ${MK_TOOLCHAIN} == no || ${MK_ELFCOPY_AS_OBJCOPY} != no OLD_FILES+=usr/bin/elfcopy OLD_FILES+=usr/share/man/man1/elfcopy.1.gz ___ 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-unsubscr...@freebsd.org
Re: svn commit: r285803 - head/bin/ls
On Wed, Jul 22, 2015 at 9:58 PM, Allan Jude allanj...@freebsd.org wrote: Author: allanjude (doc committer) Date: Wed Jul 22 19:58:21 2015 New Revision: 285803 URL: https://svnweb.freebsd.org/changeset/base/285803 Log: Remove an excess space accidently introduced in the output in ls(1) by r285734 Spotted by: dim Approved by: eadler (mentor) Sponsored by: ScaleEngine Inc. Differential Revision:https://reviews.freebsd.org/D3152 Modified: head/bin/ls/print.c Hi, Some recent (less than 5 days old) changes on ls(1) broke it on i386, and more than 8000 ports are affected by this. See for instance http://beefy3.nyi.freebsd.org/data/head-i386-default/p392703_s285807/logs/errors/autoconf-2.69.log From the log: %%% gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/autoconf/work/autoconf-2.69/doc' Segmentation fault (core dumped) ../build-aux/mdate-sh: failed parsing 'ls -L -l -d -n /' output Updating ./version.texi %%% It used to build fine with r285732 and doesn't work anymore at r285807. Cheers, Antoine Modified: head/bin/ls/print.c == --- head/bin/ls/print.c Wed Jul 22 19:55:32 2015(r285802) +++ head/bin/ls/print.c Wed Jul 22 19:58:21 2015(r285803) @@ -456,7 +456,7 @@ printtime(const char *field, time_t ftim snprintf(fmt, sizeof(fmt), {d:%s/%%hs} , field); xo_attr(value, %ld, (long) ftime); xo_emit(fmt, longstring); - snprintf(fmt, sizeof(fmt), {en:%s/%%ld} , field); + snprintf(fmt, sizeof(fmt), {en:%s/%%ld}, field); xo_emit(fmt, (long) ftime); } ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284695 - head/lib/ncurses/ncurses
Author: antoine Date: Mon Jun 22 05:41:13 2015 New Revision: 284695 URL: https://svnweb.freebsd.org/changeset/base/284695 Log: Install ncurses html documentation again after r284345 Modified: head/lib/ncurses/ncurses/Makefile Modified: head/lib/ncurses/ncurses/Makefile == --- head/lib/ncurses/ncurses/Makefile Mon Jun 22 05:36:08 2015 (r284694) +++ head/lib/ncurses/ncurses/Makefile Mon Jun 22 05:41:13 2015 (r284695) @@ -308,7 +308,7 @@ SYMLINKS+= libncurses${LIB_SUFFIX}_p.a $ SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a .endif -.if ${.CURDIR:T} == ncurses +.if ${.CURDIR:T} == ncursesw .if defined(ENABLE_WIDEC) DOCSDIR= ${SHAREDIR}/doc/ncurses DOCS= ncurses-intro.html hackguide.html ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Re: svn commit: r284345 - in head: . bin/cat bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/expr bin/freebsd-version bin/getfacl bin/hostname b
On Sat, Jun 13, 2015 at 9:20 PM, Simon J. Gerraty s...@freebsd.org wrote: Author: sjg Date: Sat Jun 13 19:20:56 2015 New Revision: 284345 URL: https://svnweb.freebsd.org/changeset/base/284345 Log: Add META_MODE support. Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp ... Modified: ... head/lib/ncurses/ncurses/Makefile ... Hi, Any reason to not install ncurses html documentation anymore? Cheers, Antoine ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284672 - head/sys/boot/forth
Author: antoine Date: Sun Jun 21 06:56:29 2015 New Revision: 284672 URL: https://svnweb.freebsd.org/changeset/base/284672 Log: Install version.4th.8 again It was disconnected from installation in r281081, but was never removed from the tree or added to ObsoleteFiles.inc Modified: head/sys/boot/forth/Makefile Modified: head/sys/boot/forth/Makefile == --- head/sys/boot/forth/MakefileSun Jun 21 06:54:54 2015 (r284671) +++ head/sys/boot/forth/MakefileSun Jun 21 06:56:29 2015 (r284672) @@ -8,6 +8,7 @@ MAN+= beastie.4th.8 \ loader.conf.5 \ loader.4th.8 \ menu.4th.8 \ - menusets.4th.8 + menusets.4th.8 \ + version.4th.8 .include bsd.prog.mk ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284673 - head
Author: antoine Date: Sun Jun 21 06:57:40 2015 New Revision: 284673 URL: https://svnweb.freebsd.org/changeset/base/284673 Log: Add more obsolete files Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Sun Jun 21 06:56:29 2015(r284672) +++ head/ObsoleteFiles.inc Sun Jun 21 06:57:40 2015(r284673) @@ -232,8 +232,8 @@ OLD_FILES+=usr/share/man/man3/nvlist_tak OLD_FILES+=usr/share/man/man3/nvlist_takev_number.3.gz OLD_FILES+=usr/share/man/man3/nvlist_takev_nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_takev_string.3.gz -# 20150429: -OLD_FILES+=usr/share/docs/papers/hwpmc.ascii.gz +# 20150429: remove never written documentation +OLD_FILES+=usr/share/doc/papers/hwpmc.ascii.gz # 20150427: test/sys/kern/mmap_test moved to test/sys/vm/mmap_test OLD_FILES+=usr/tests/sys/kern/mmap_test # 20150422: zlib.c moved from net to libkern @@ -257,6 +257,42 @@ OLD_FILES+=usr/include/altq/altq_rmclass OLD_FILES+=usr/include/altq/altq_cbq.h OLD_FILES+=usr/include/altq/altq_rio.h OLD_DIRS+=usr/include/altq +# 20150330: ntp 4.2.8p1 +OLD_FILES+=usr/share/doc/ntp/driver1.html +OLD_FILES+=usr/share/doc/ntp/driver10.html +OLD_FILES+=usr/share/doc/ntp/driver11.html +OLD_FILES+=usr/share/doc/ntp/driver12.html +OLD_FILES+=usr/share/doc/ntp/driver16.html +OLD_FILES+=usr/share/doc/ntp/driver18.html +OLD_FILES+=usr/share/doc/ntp/driver19.html +OLD_FILES+=usr/share/doc/ntp/driver2.html +OLD_FILES+=usr/share/doc/ntp/driver20.html +OLD_FILES+=usr/share/doc/ntp/driver22.html +OLD_FILES+=usr/share/doc/ntp/driver26.html +OLD_FILES+=usr/share/doc/ntp/driver27.html +OLD_FILES+=usr/share/doc/ntp/driver28.html +OLD_FILES+=usr/share/doc/ntp/driver29.html +OLD_FILES+=usr/share/doc/ntp/driver3.html +OLD_FILES+=usr/share/doc/ntp/driver30.html +OLD_FILES+=usr/share/doc/ntp/driver32.html +OLD_FILES+=usr/share/doc/ntp/driver33.html +OLD_FILES+=usr/share/doc/ntp/driver34.html +OLD_FILES+=usr/share/doc/ntp/driver35.html +OLD_FILES+=usr/share/doc/ntp/driver36.html +OLD_FILES+=usr/share/doc/ntp/driver37.html +OLD_FILES+=usr/share/doc/ntp/driver4.html +OLD_FILES+=usr/share/doc/ntp/driver5.html +OLD_FILES+=usr/share/doc/ntp/driver6.html +OLD_FILES+=usr/share/doc/ntp/driver7.html +OLD_FILES+=usr/share/doc/ntp/driver8.html +OLD_FILES+=usr/share/doc/ntp/driver9.html +OLD_FILES+=usr/share/doc/ntp/ldisc.html +OLD_FILES+=usr/share/doc/ntp/measure.html +OLD_FILES+=usr/share/doc/ntp/mx4200data.html +OLD_FILES+=usr/share/doc/ntp/notes.html +OLD_FILES+=usr/share/doc/ntp/patches.html +OLD_FILES+=usr/share/doc/ntp/porting.html +OLD_FILES+=usr/share/man/man1/sntp.1.gz # 20150329 .if ${TARGET_ARCH} == arm OLD_FILES+=usr/include/bootconfig.h @@ -361,6 +397,8 @@ OLD_FILES+=usr/share/man/man9/splstatclo OLD_FILES+=usr/share/man/man9/spltty.9.gz OLD_FILES+=usr/share/man/man9/splvm.9.gz OLD_FILES+=usr/share/man/man9/splx.9.gz +# 20150122: callout changes reverted +OLD_FILES+=usr/share/man/man9/callout_drain_async.9.gz # 20150118: toeplitz.c moved from netinet to net OLD_FILES+=usr/include/netinet/toeplitz.h # 20150118: new clang import which bumps version from 3.5.0 to 3.5.1. @@ -528,6 +566,9 @@ OLD_LIBS+=usr/lib/libxo.so.0 OLD_FILES+=usr/include/net/if_stf.h OLD_FILES+=usr/include/netinet/in_gif.h OLD_FILES+=usr/include/netinet6/in6_gif.h +# 20141209: pw tests broken into a file per command +OLD_FILES+=usr/tests/usr.sbin/pw/pw_delete +OLD_FILES+=usr/tests/usr.sbin/pw/pw_modify # 20141202: update to mandoc CVS 20141201 OLD_FILES+=usr.bin/preconv OLD_FILES+=share/man/man1/preconv.1.gz @@ -644,6 +685,8 @@ OLD_FILES+=usr/lib/private/libucl.so OLD_FILES+=usr/lib/private/libucl_p.a # 20140803: Remove an obsolete man page OLD_FILES+=usr/share/man/man9/pmap_change_wiring.9.gz +# 20140731 +OLD_FILES+=usr/share/man/man9/SYSCTL_ADD_OID.9.gz # 20140728: libsbuf restored to old version. OLD_LIBS+=lib/libsbuf.so.7 OLD_LIBS+=usr/lib32/libsbuf.so.7 @@ -756,6 +799,12 @@ OLD_FILES+=usr/share/mk/src.opts.mk OLD_FILES+=usr/tests/sbin/ifconfig/fibs_test # 20140502: Removal of lindev(4) OLD_FILES+=usr/share/man/man4/lindev.4.gz +# 20140425 +OLD_FILES+=usr/lib/libssp_p.a +OLD_FILES+=usr/lib/libstand_p.a +OLD_FILES+=usr/lib32/libc_pic.a +OLD_FILES+=usr/lib32/libssp_p.a +OLD_FILES+=usr/lib32/libstand_p.a # 20140314: AppleTalk OLD_DIRS+=usr/include/netatalk OLD_FILES+=usr/include/netatalk/aarp.h ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284629 - head
Author: antoine Date: Sat Jun 20 07:42:54 2015 New Revision: 284629 URL: https://svnweb.freebsd.org/changeset/base/284629 Log: Fix a few obsolete files entries, man pages must be listed compressed Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Sat Jun 20 07:35:02 2015(r284628) +++ head/ObsoleteFiles.inc Sat Jun 20 07:42:54 2015(r284629) @@ -39,9 +39,9 @@ # done # 20150528: PCI IOV device driver methods moved to a separate kobj interface. -OLD_FILES+=usr/share/man/man9/PCI_ADD_VF.9 -OLD_FILES+=usr/share/man/man9/PCI_INIT_IOV.9 -OLD_FILES+=usr/share/man/man9/PCI_UNINIT_IOV.9 +OLD_FILES+=usr/share/man/man9/PCI_ADD_VF.9.gz +OLD_FILES+=usr/share/man/man9/PCI_INIT_IOV.9.gz +OLD_FILES+=usr/share/man/man9/PCI_UNINIT_IOV.9.gz # 20150525: new clang import which bumps version from 3.6.0 to 3.6.1. OLD_FILES+=usr/lib/clang/3.6.0/include/__stddef_max_align_t.h OLD_FILES+=usr/lib/clang/3.6.0/include/__wmmintrin_aes.h @@ -317,19 +317,19 @@ OLD_DIRS+=usr/games # 20150209: liblzma header OLD_FILES+=usr/include/lzma/lzma.h # 20150124: spl.9 and friends -OLD_FILES+=usr/share/man/man9/spl.9 -OLD_FILES+=usr/share/man/man9/spl0.9 -OLD_FILES+=usr/share/man/man9/splbio.9 -OLD_FILES+=usr/share/man/man9/splclock.9 -OLD_FILES+=usr/share/man/man9/splhigh.9 -OLD_FILES+=usr/share/man/man9/splimp.9 -OLD_FILES+=usr/share/man/man9/splnet.9 -OLD_FILES+=usr/share/man/man9/splsoftclock.9 -OLD_FILES+=usr/share/man/man9/splsofttty.9 -OLD_FILES+=usr/share/man/man9/splstatclock.9 -OLD_FILES+=usr/share/man/man9/spltty.9 -OLD_FILES+=usr/share/man/man9/splvm.9 -OLD_FILES+=usr/share/man/man9/splx.9 +OLD_FILES+=usr/share/man/man9/spl.9.gz +OLD_FILES+=usr/share/man/man9/spl0.9.gz +OLD_FILES+=usr/share/man/man9/splbio.9.gz +OLD_FILES+=usr/share/man/man9/splclock.9.gz +OLD_FILES+=usr/share/man/man9/splhigh.9.gz +OLD_FILES+=usr/share/man/man9/splimp.9.gz +OLD_FILES+=usr/share/man/man9/splnet.9.gz +OLD_FILES+=usr/share/man/man9/splsoftclock.9.gz +OLD_FILES+=usr/share/man/man9/splsofttty.9.gz +OLD_FILES+=usr/share/man/man9/splstatclock.9.gz +OLD_FILES+=usr/share/man/man9/spltty.9.gz +OLD_FILES+=usr/share/man/man9/splvm.9.gz +OLD_FILES+=usr/share/man/man9/splx.9.gz # 20150118: new clang import which bumps version from 3.5.0 to 3.5.1. OLD_FILES+=usr/include/clang/3.5.0/__wmmintrin_aes.h OLD_FILES+=usr/include/clang/3.5.0/__wmmintrin_pclmul.h ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284631 - head
Author: antoine Date: Sat Jun 20 07:58:09 2015 New Revision: 284631 URL: https://svnweb.freebsd.org/changeset/base/284631 Log: Add more nvlist man pages to obsolete files Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Sat Jun 20 07:49:08 2015(r284630) +++ head/ObsoleteFiles.inc Sat Jun 20 07:58:09 2015(r284631) @@ -160,6 +160,7 @@ OLD_FILES+=usr/share/man/man3/nvlist_add OLD_FILES+=usr/share/man/man3/nvlist_addv_number.3.gz OLD_FILES+=usr/share/man/man3/nvlist_addv_nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_addv_string.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_existsf.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsf_binary.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsf_bool.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsf_descriptor.3.gz @@ -168,6 +169,7 @@ OLD_FILES+=usr/share/man/man3/nvlist_exi OLD_FILES+=usr/share/man/man3/nvlist_existsf_nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsf_string.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsf_type.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_existsv.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsv_binary.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsv_bool.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsv_descriptor.3.gz @@ -176,6 +178,7 @@ OLD_FILES+=usr/share/man/man3/nvlist_exi OLD_FILES+=usr/share/man/man3/nvlist_existsv_nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsv_string.3.gz OLD_FILES+=usr/share/man/man3/nvlist_existsv_type.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_freef.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freef_binary.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freef_bool.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freef_descriptor.3.gz @@ -184,6 +187,7 @@ OLD_FILES+=usr/share/man/man3/nvlist_fre OLD_FILES+=usr/share/man/man3/nvlist_freef_nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freef_string.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freef_type.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_freev.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freev_binary.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freev_bool.3.gz OLD_FILES+=usr/share/man/man3/nvlist_freev_descriptor.3.gz @@ -204,6 +208,26 @@ OLD_FILES+=usr/share/man/man3/nvlist_get OLD_FILES+=usr/share/man/man3/nvlist_getv_number.3.gz OLD_FILES+=usr/share/man/man3/nvlist_getv_nvlist.3.gz OLD_FILES+=usr/share/man/man3/nvlist_getv_string.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movef_binary.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movef_descriptor.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movef_nvlist.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movef_string.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movev_binary.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movev_descriptor.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movev_nvlist.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_movev_string.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takef_binary.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takef_bool.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takef_descriptor.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takef_number.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takef_nvlist.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takef_string.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takev_binary.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takev_bool.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takev_descriptor.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takev_number.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takev_nvlist.3.gz +OLD_FILES+=usr/share/man/man3/nvlist_takev_string.3.gz # 20150429: OLD_FILES+=usr/share/docs/papers/hwpmc.ascii.gz # 20150427: test/sys/kern/mmap_test moved to test/sys/vm/mmap_test ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Re: svn commit: r284637 - head
On Sat, Jun 20, 2015 at 9:48 AM, NGie Cooper yaneurab...@gmail.com wrote: On Sat, Jun 20, 2015 at 2:41 AM, Antoine Brodin anto...@freebsd.org wrote: On Sat, Jun 20, 2015 at 9:11 AM, NGie Cooper yaneurab...@gmail.com wrote: On Sat, Jun 20, 2015 at 2:06 AM, Antoine Brodin anto...@freebsd.org wrote: Author: antoine Date: Sat Jun 20 09:06:48 2015 New Revision: 284637 URL: https://svnweb.freebsd.org/changeset/base/284637 Log: Add more obsolete files ... +# 20141030: atf 0.21 import +OLD_FILES+=usr/share/man/man3/atf-c++-api.3.gz Is this correct? This file is not installed from base/head. It may still be installed by the port but it's unrelated. It's still being installed in base -- just as a hardlink: 72 MAN=atf-c++.3 73 MLINKS+=atf-c++.3 atf-c-api++.3 # Backwards compatibility. $ make -n maninstall install -o root -g wheel -m 444 atf-c++.3.gz /usr/share/man/man3 set atf-c++.3 3 atf-c-api++.3 3; while : ; do case $# in 0) break;; [123]) echo warn: empty MLINK: $1 $2 $3; break;; esac; name=$1; shift; sect=$1; shift; l=/usr/share/man/man${sect}/$name; name=$1; shift; sect=$1; shift; t=/usr/share/man/man${sect}/$name; echo ${t}.gz -\ ${l}.gz; rm -f ${t} ${t}.gz; install -l h ${l}.gz ${t}.gz; done === tests (maninstall) === tests/detail (maninstall) Is your script/method of finding obsolete files correct? c++-api is different from c-api++ Antoine ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284632 - head
Author: antoine Date: Sat Jun 20 08:24:17 2015 New Revision: 284632 URL: https://svnweb.freebsd.org/changeset/base/284632 Log: Add miscellaneous obsolete files Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Sat Jun 20 07:58:09 2015(r284631) +++ head/ObsoleteFiles.inc Sat Jun 20 08:24:17 2015(r284632) @@ -120,6 +120,7 @@ OLD_FILES+=usr/lib32/libheimsqlite_p.a # 20150506 OLD_FILES+=usr/share/man/man9/NDHASGIANT.9.gz # 20150504 +OLD_FILES+=usr/include/bsdstat.h OLD_LIBS+=usr/lib32/private/libatf-c++.so.2 OLD_LIBS+=usr/lib32/private/libbsdstat.so.1 OLD_LIBS+=usr/lib32/private/libheimipcs.so.11 @@ -232,6 +233,9 @@ OLD_FILES+=usr/share/man/man3/nvlist_tak OLD_FILES+=usr/share/docs/papers/hwpmc.ascii.gz # 20150427: test/sys/kern/mmap_test moved to test/sys/vm/mmap_test OLD_FILES+=usr/tests/sys/kern/mmap_test +# 20150422: zlib.c moved from net to libkern +OLD_FILES+=usr/include/net/zlib.h +OLD_FILES+=usr/include/net/zutil.h # 20150418 OLD_FILES+=sbin/mount_oldnfs OLD_FILES+=usr/share/man/man8/mount_oldnfs.8.gz @@ -321,7 +325,7 @@ OLD_FILES+=usr/bin/ppt OLD_FILES+=usr/share/man/man6/bcd.6.gz OLD_FILES+=usr/share/man/man6/ppt.6.gz # 20150217: Removed remnants of ar(4) driver -OLD_FILES+=usr/include/sys/dev/ic/hd64570.h +OLD_FILES+=usr/include/dev/ic/hd64570.h # 20150212: /usr/games moving into /usr/bin OLD_FILES+=usr/games/bcd OLD_FILES+=usr/games/caesar @@ -354,6 +358,8 @@ OLD_FILES+=usr/share/man/man9/splstatclo OLD_FILES+=usr/share/man/man9/spltty.9.gz OLD_FILES+=usr/share/man/man9/splvm.9.gz OLD_FILES+=usr/share/man/man9/splx.9.gz +# 20150118: toeplitz.c moved from netinet to net +OLD_FILES+=usr/include/netinet/toeplitz.h # 20150118: new clang import which bumps version from 3.5.0 to 3.5.1. OLD_FILES+=usr/include/clang/3.5.0/__wmmintrin_aes.h OLD_FILES+=usr/include/clang/3.5.0/__wmmintrin_pclmul.h @@ -516,6 +522,9 @@ OLD_FILES+=usr/tests/sbin/mdconfig/mdcon OLD_FILES+=usr/tests/sbin/mdconfig/run.pl # 20141126: remove xform_ipip decapsulation fallback OLD_FILES+=usr/include/netipsec/ipip_var.h +# 2014: SF_KQUEUE code removed +OLD_FILES+=usr/include/sys/sf_base.h +OLD_FILES+=usr/include/sys/sf_sync.h # 20141109: faith/faithd removal OLD_FILES+=etc/rc.d/faith OLD_FILES+=usr/share/man/man4/faith.4.gz @@ -535,6 +544,9 @@ OLD_FILES+=usr/lib/debug/usr/lib32/i18n OLD_FILES+=usr/lib/debug/usr/lib32/private # 20141015: OpenSSL 1.0.1j import OLD_FILES+=usr/share/openssl/man/man3/CMS_sign_add1_signer.3.gz +# 20141003: libproc version bump +OLD_LIBS+=usr/lib/libproc.so.2 +OLD_LIBS+=usr/lib32/libproc.so.2 # 20140922: sleepq_calc_signal_retval.9 and sleepq_catch_signals.9 removed OLD_FILES+=usr/share/man/man9/sleepq_calc_signal_retval.9.gz OLD_FILES+=usr/share/man/man9/sleepq_catch_signals.9.gz @@ -609,6 +621,7 @@ OLD_FILES+=usr/lib/private/libucl_p.a OLD_FILES+=usr/share/man/man9/pmap_change_wiring.9.gz # 20140728: libsbuf restored to old version. OLD_LIBS+=lib/libsbuf.so.7 +OLD_LIBS+=usr/lib32/libsbuf.so.7 # 20140728: Remove an obsolete man page OLD_FILES+=usr/share/man/man9/VOP_GETVOBJECT.9.gz OLD_FILES+=usr/share/man/man9/VOP_CREATEVOBJECT.9.gz @@ -635,6 +648,14 @@ OLD_FILES+=usr/lib/libhistory.a OLD_FILES+=usr/lib/libhistory_p.a OLD_FILES+=usr/lib/libhistory.so OLD_LIBS+=usr/lib/libhistory.so.8 +OLD_FILES+=usr/lib32/libhistory.a +OLD_FILES+=usr/lib32/libhistory.so +OLD_LIBS+=usr/lib32/libhistory.so.8 +OLD_FILES+=usr/lib32/libhistory_p.a +OLD_FILES+=usr/lib32/libreadline.a +OLD_FILES+=usr/lib32/libreadline.so +OLD_LIBS+=usr/lib32/libreadline.so.8 +OLD_FILES+=usr/lib32/libreadline_p.a OLD_FILES+=usr/include/readline/chardefs.h OLD_FILES+=usr/include/readline/history.h OLD_FILES+=usr/include/readline/keymaps.h @@ -647,6 +668,7 @@ OLD_FILES+=usr/include/readline/rltypede OLD_DIRS+=usr/include/readline OLD_FILES+=usr/share/info/readline.info.gz OLD_FILES+=usr/share/man/man3/readline.3.gz +OLD_FILES+=usr/share/man/man3/rlhistory.3.gz # 20140625: csup removal OLD_FILES+=usr/bin/csup OLD_FILES+=usr/bin/cpasswd @@ -2025,7 +2047,6 @@ OLD_LIBS+=usr/lib/libpanel.so.4 OLD_LIBS+=usr/lib/libpanelw.so.4 OLD_LIBS+=usr/lib/libpmc.so.4 OLD_LIBS+=usr/lib/libproc.so.1 -OLD_LIBS+=usr/lib/libproc.so.2 OLD_LIBS+=usr/lib/libradius.so.3 OLD_LIBS+=usr/lib/librpcsvc.so.4 OLD_LIBS+=usr/lib/libsdp.so.3 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Re: svn commit: r284637 - head
On Sat, Jun 20, 2015 at 9:11 AM, NGie Cooper yaneurab...@gmail.com wrote: On Sat, Jun 20, 2015 at 2:06 AM, Antoine Brodin anto...@freebsd.org wrote: Author: antoine Date: Sat Jun 20 09:06:48 2015 New Revision: 284637 URL: https://svnweb.freebsd.org/changeset/base/284637 Log: Add more obsolete files ... +# 20141030: atf 0.21 import +OLD_FILES+=usr/share/man/man3/atf-c++-api.3.gz Is this correct? This file is not installed from base/head. It may still be installed by the port but it's unrelated. ... Also, you're removing some lib32 stuff that might have been valid once upon a time... This is exactly the purpose of ObsoleteFiles.inc, list files that might have been valid but are no longer. Cheers, Antoine ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
svn commit: r284628 - head/tools/build/mk
Author: antoine Date: Sat Jun 20 07:35:02 2015 New Revision: 284628 URL: https://svnweb.freebsd.org/changeset/base/284628 Log: Add some files to remove when MK_BSD_GREP=no Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc == --- head/tools/build/mk/OptionalObsoleteFiles.inc Sat Jun 20 07:33:06 2015(r284627) +++ head/tools/build/mk/OptionalObsoleteFiles.inc Sat Jun 20 07:35:02 2015(r284628) @@ -410,6 +410,21 @@ OLD_FILES+=usr/share/man/man1/bsdcpio.1. OLD_FILES+=usr/share/man/man1/cpio.1.gz .endif +.if ${MK_BSD_GREP} == no +OLD_FILES+=usr/bin/lzegrep +OLD_FILES+=usr/bin/lzfgrep +OLD_FILES+=usr/bin/lzgrep +OLD_FILES+=usr/bin/xzegrep +OLD_FILES+=usr/bin/xzfgrep +OLD_FILES+=usr/bin/xzgrep +OLD_FILES+=usr/share/man/man1/lzegrep.1.gz +OLD_FILES+=usr/share/man/man1/lzfgrep.1.gz +OLD_FILES+=usr/share/man/man1/lzgrep.1.gz +OLD_FILES+=usr/share/man/man1/xzegrep.1.gz +OLD_FILES+=usr/share/man/man1/xzfgrep.1.gz +OLD_FILES+=usr/share/man/man1/xzgrep.1.gz +.endif + .if ${MK_BSDINSTALL} == no OLD_FILES+=usr/libexec/bsdinstall/adduser OLD_FILES+=usr/libexec/bsdinstall/auto ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org