svn commit: r368384 - in head/sys: compat/linux conf

2020-12-06 Thread Tijl Coosemans
Author: tijl Date: Sun Dec 6 10:58:55 2020 New Revision: 368384 URL: https://svnweb.freebsd.org/changeset/base/368384 Log: Move V4L feature declarations and DTrace provider definitions from linux_common.c to linux_util.c so they become available on i386. linux_common.c defines the linux_

svn commit: r368372 - in head/sys: amd64/linux32 conf modules/linux

2020-12-05 Thread Tijl Coosemans
Author: tijl Date: Sat Dec 5 14:53:24 2020 New Revision: 368372 URL: https://svnweb.freebsd.org/changeset/base/368372 Log: Fix i386 linux module after r367395. In r367395 parts of machine dependent linux_dummy.c were moved to a new machine independent file sys/compat/linux/linux_dummy.c

svn commit: r361700 - in head: etc/mtree secure/lib/libcrypto secure/lib/libcrypto/engines

2020-06-01 Thread Tijl Coosemans
Author: tijl Date: Mon Jun 1 18:58:09 2020 New Revision: 361700 URL: https://svnweb.freebsd.org/changeset/base/361700 Log: Install 32-bit libcrypto engines in /usr/lib32/engines instead of /usr/lib32 and let 32-bit libcrypto search that location instead of /usr/lib/engines. Reviewed by

svn commit: r361663 - in head: etc/mtree lib/libxo/encoder/csv lib/libxo/libxo

2020-05-31 Thread Tijl Coosemans
Author: tijl Date: Sun May 31 17:20:17 2020 New Revision: 361663 URL: https://svnweb.freebsd.org/changeset/base/361663 Log: Fix installation of libxo encoder modules. Because the install location was hardcoded in the Makefile as /usr/lib/libxo/encoder, the lib32 version was installed over

svn commit: r358673 - head/sys/compat/linux

2020-03-05 Thread Tijl Coosemans
Author: tijl Date: Thu Mar 5 14:41:27 2020 New Revision: 358673 URL: https://svnweb.freebsd.org/changeset/base/358673 Log: Move compat.linux.map_sched_prio sysctl definition to linux_mib.c so it is only defined by linux_common kernel module and not both linux and linux64 modules. Repor

svn commit: r358483 - head/sys/compat/linux

2020-03-01 Thread Tijl Coosemans
Author: tijl Date: Sun Mar 1 13:12:04 2020 New Revision: 358483 URL: https://svnweb.freebsd.org/changeset/base/358483 Log: linuxulator: Map scheduler priorities to Linux priorities. On Linux the valid range of priorities for the SCHED_FIFO and SCHED_RR scheduling policies is [1,99]. For

svn commit: r352618 - head/sys/compat/linsysfs

2019-09-23 Thread Tijl Coosemans
Author: tijl Date: Mon Sep 23 12:27:55 2019 New Revision: 352618 URL: https://svnweb.freebsd.org/changeset/base/352618 Log: Create a "drm" subdirectory for drm devices in linsysfs. Recent versions of linux libdrm check for the existence of this directory: https://cgit.freedesktop.org/me

svn commit: r349957 - head/usr.bin/top

2019-07-12 Thread Tijl Coosemans
Author: tijl Date: Fri Jul 12 21:19:47 2019 New Revision: 349957 URL: https://svnweb.freebsd.org/changeset/base/349957 Log: Fix layout. -C needs to be styled as a flag here, not as a new list item. MFC after:2 weeks Modified: head/usr.bin/top/top.1 Modified: head/usr.bin/top/top.1

svn commit: r349880 - head/sys/compat/linux

2019-07-10 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 10 08:19:33 2019 New Revision: 349880 URL: https://svnweb.freebsd.org/changeset/base/349880 Log: Let linuxulator mprotect mask unsupported bits before calling kern_mprotect. After r349240 kern_mprotect returns EINVAL for unsupported bits in the prot argument. L

svn commit: r349706 - head

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 20:52:10 2019 New Revision: 349706 URL: https://svnweb.freebsd.org/changeset/base/349706 Log: Fix path of lib32 libcasper. Reported by: jhb MFC after:1 week Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r349641 - head/tools/build/mk

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 09:14:39 2019 New Revision: 349641 URL: https://svnweb.freebsd.org/changeset/base/349641 Log: Also remove lib32 versions of libradius. MFC after:1 week Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsolet

svn commit: r349640 - head

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 09:08:17 2019 New Revision: 349640 URL: https://svnweb.freebsd.org/changeset/base/349640 Log: Also remove lib32 version of libcasper.so.0. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

svn commit: r349639 - head

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 09:06:39 2019 New Revision: 349639 URL: https://svnweb.freebsd.org/changeset/base/349639 Log: Also remove lib32 version of libprivateifconfig after r344530. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r349548 - head

2019-06-29 Thread Tijl Coosemans
Author: tijl Date: Sat Jun 29 17:01:56 2019 New Revision: 349548 URL: https://svnweb.freebsd.org/changeset/base/349548 Log: Build lib32 libl. The library is built from usr.bin/lex/lib. It would be better to move this directory to lib/libl, but this requires more extensive changes to Makefi

svn commit: r340674 - head/sys/compat/linux

2018-11-20 Thread Tijl Coosemans
Author: tijl Date: Tue Nov 20 14:18:57 2018 New Revision: 340674 URL: https://svnweb.freebsd.org/changeset/base/340674 Log: Fix another user address dereference in linux_sendmsg syscall. This was hidden behind the LINUX_CMSG_NXTHDR macro which dereferences its second argument. Stop using

svn commit: r340631 - head/sys/compat/linux

2018-11-19 Thread Tijl Coosemans
Author: tijl Date: Mon Nov 19 15:31:54 2018 New Revision: 340631 URL: https://svnweb.freebsd.org/changeset/base/340631 Log: Do proper copyin of control message data in the Linux sendmsg syscall. Instead of calling m_append with a user address, allocate an mbuf cluster and copy data into i

svn commit: r340185 - head/sys/amd64/linux32

2018-11-06 Thread Tijl Coosemans
Author: tijl Date: Tue Nov 6 15:29:44 2018 New Revision: 340185 URL: https://svnweb.freebsd.org/changeset/base/340185 Log: Fix builds with COMPAT_LINUX32 in the kernel config. MFC after:3 days Modified: head/sys/amd64/linux32/linux32_sysvec.c Modified: head/sys/amd64/linux32/linux3

svn commit: r340181 - in head/sys: amd64/linux32 compat/linux

2018-11-06 Thread Tijl Coosemans
Author: tijl Date: Tue Nov 6 13:51:08 2018 New Revision: 340181 URL: https://svnweb.freebsd.org/changeset/base/340181 Log: On amd64 both Linux compat modules, linux.ko and linux64.ko, provide linux_ioctl_(un)register_handler that allows other driver modules to register ioctl handlers. The

svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-10-22 Thread Tijl Coosemans
Author: tijl Date: Mon Oct 22 20:55:35 2018 New Revision: 339618 URL: https://svnweb.freebsd.org/changeset/base/339618 Log: Define linuxkpi readq for 64-bit architectures. It is used by drm-kmod. Currently the compiler picks up the definition in machine/cpufunc.h. Add compiler memory bar

Re: svn commit: r333919 - in head/contrib/file: . doc magic magic/Magdir python src tests

2018-05-22 Thread Tijl Coosemans
On Mon, 21 May 2018 00:10:23 +0200 Antoine Brodin wrote: > On Sun, May 20, 2018 at 10:39 PM, Antoine Brodin wrote: >> On Sun, May 20, 2018 at 10:30 PM, Antoine Brodin >> wrote: >>> On Sun, May 20, 2018 at 7:06 AM, Eitan Adler wrote: Author: eadler Date: Sun May 20 05:06:42 2018 >

Re: svn commit: r332489 - in head: gnu/usr.bin/gdb/kgdb sys/conf sys/dev/dcons sys/dev/hyperv/vmbus/i386 sys/dev/ppc sys/dev/syscons sys/i386/conf sys/i386/i386 sys/i386/include sys/i386/include/pc sy

2018-04-23 Thread Tijl Coosemans
On Sun, 22 Apr 2018 23:51:03 +0300 Konstantin Belousov wrote: > On Sun, Apr 22, 2018 at 10:26:14PM +0300, Konstantin Belousov wrote: >> On Sun, Apr 22, 2018 at 09:06:56PM +0200, Tijl Coosemans wrote: >>> Could this have broken the linux futex syscall? I have a linux pro

Re: svn commit: r332489 - in head: gnu/usr.bin/gdb/kgdb sys/conf sys/dev/dcons sys/dev/hyperv/vmbus/i386 sys/dev/ppc sys/dev/syscons sys/i386/conf sys/i386/i386 sys/i386/include sys/i386/include/pc sy

2018-04-22 Thread Tijl Coosemans
On Fri, 13 Apr 2018 20:30:49 + (UTC) Konstantin Belousov wrote: > Author: kib > Date: Fri Apr 13 20:30:49 2018 > New Revision: 332489 > URL: https://svnweb.freebsd.org/changeset/base/332489 > > Log: > i386 4/4G split. > > The change makes the user and kernel address spaces on i386 >

svn commit: r332871 - head/sys/kern

2018-04-22 Thread Tijl Coosemans
Author: tijl Date: Sun Apr 22 16:05:29 2018 New Revision: 332871 URL: https://svnweb.freebsd.org/changeset/base/332871 Log: Make bufdaemon and bufspacedaemon use kthread_suspend_check instead of kproc_suspend_check. In r329612 bufspacedaemon was turned into a thread of the bufdaemon process

Re: svn commit: r331732 - head/sys/vm

2018-04-01 Thread Tijl Coosemans
On Sun, 1 Apr 2018 12:27:03 -0400 Mark Johnston wrote: > On Sun, Apr 01, 2018 at 05:20:21PM +0200, Tijl Coosemans wrote: >> On Sat, 31 Mar 2018 18:54:32 -0400 Mark Johnston wrote: >>> On Sat, Mar 31, 2018 at 08:21:18PM +0200, Tijl Coosemans wrote: >>>> On Thu, 2

Re: svn commit: r331732 - head/sys/vm

2018-04-01 Thread Tijl Coosemans
On Sat, 31 Mar 2018 18:54:32 -0400 Mark Johnston wrote: > On Sat, Mar 31, 2018 at 08:21:18PM +0200, Tijl Coosemans wrote: > > On Thu, 29 Mar 2018 14:27:40 + (UTC) Mark Johnston > > wrote: > > > Author: markj > > > Date: Thu Mar 29 14:27:40 2018 > >

Re: svn commit: r331732 - head/sys/vm

2018-03-31 Thread Tijl Coosemans
On Thu, 29 Mar 2018 14:27:40 + (UTC) Mark Johnston wrote: > Author: markj > Date: Thu Mar 29 14:27:40 2018 > New Revision: 331732 > URL: https://svnweb.freebsd.org/changeset/base/331732 > > Log: > Fix the background laundering mechanism after r329882. > > Rather than using the number

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-11-17 Thread Tijl Coosemans
On Mon, 23 Oct 2017 21:31:04 + (UTC) Dimitry Andric wrote: > Author: dim > Date: Mon Oct 23 21:31:04 2017 > New Revision: 324938 > URL: https://svnweb.freebsd.org/changeset/base/324938 > > Log: > After jemalloc was updated to version 5.0.0 in r319971, i386 executables > linked with Addre

svn commit: r325640 - head/share/man/man7

2017-11-10 Thread Tijl Coosemans
Author: tijl Date: Fri Nov 10 11:19:47 2017 New Revision: 325640 URL: https://svnweb.freebsd.org/changeset/base/325640 Log: Remove deprecated OVERRIDE_LINUX_BASE_PORT. It can be set via DEFAULT_VERSIONS now (e.g. DEFAULT_VERSIONS+=linux=c7). Noticed by: xmj MFC after:2 weeks Mod

svn commit: r325232 - in head/sys: amd64/amd64 i386/i386

2017-10-31 Thread Tijl Coosemans
Author: tijl Date: Tue Oct 31 11:51:34 2017 New Revision: 325232 URL: https://svnweb.freebsd.org/changeset/base/325232 Log: Set the return address for stack entry points to zero. Stack unwinders treat zero as a stop condition. The value on the stack can be non-zero because thread stacks

svn commit: r324637 - head/sys/compat/linsysfs

2017-10-15 Thread Tijl Coosemans
Author: tijl Date: Sun Oct 15 19:28:14 2017 New Revision: 324637 URL: https://svnweb.freebsd.org/changeset/base/324637 Log: Add information needed by Linux libdrm 2.4.74 (shipped with CentOS 7.4). Create a config file for PCI devices that exposes their configuration space. Only fields ne

svn commit: r324636 - head/sys/compat/linsysfs

2017-10-15 Thread Tijl Coosemans
Author: tijl Date: Sun Oct 15 19:21:15 2017 New Revision: 324636 URL: https://svnweb.freebsd.org/changeset/base/324636 Log: Set DEVNAME to dri/card%d. This works with both in-tree drm and drm-next and is also the value used on Linux. Tested by:Greg V Modified: head/sys/compat/lin

svn commit: r324635 - head/sys/kern

2017-10-15 Thread Tijl Coosemans
Author: tijl Date: Sun Oct 15 18:53:21 2017 New Revision: 324635 URL: https://svnweb.freebsd.org/changeset/base/324635 Log: When a Linux program tries to access a /path the kernel tries /compat/linux/path before /path. Stop following symbolic links when looking up /compat/linux/path so dead

svn commit: r324629 - head/sys/compat/linux

2017-10-15 Thread Tijl Coosemans
Author: tijl Date: Sun Oct 15 16:08:22 2017 New Revision: 324629 URL: https://svnweb.freebsd.org/changeset/base/324629 Log: Add special handling for current in-tree drm devices, like r323692 added for drm-next. Modified: head/sys/compat/linux/linux_util.c Modified: head/sys/compat/linux/li

svn commit: r324628 - head/sys/compat/linux

2017-10-15 Thread Tijl Coosemans
Author: tijl Date: Sun Oct 15 16:03:45 2017 New Revision: 324628 URL: https://svnweb.freebsd.org/changeset/base/324628 Log: Use sizeof instead of strlen on string constants. The compiler doesn't optimise the strlen calls away with -ffreestanding. Modified: head/sys/compat/linux/linux_util.

Re: svn commit: r315522 - in head: contrib/binutils/ld/emulparams sys/conf

2017-03-19 Thread Tijl Coosemans
On Sun, 19 Mar 2017 13:04:50 +1100 (EST) Bruce Evans wrote: > On Sun, 19 Mar 2017, Ed Maste wrote: >> Log: >> use INT3 instead of NOP for x86 binary padding >> >> We should never end up executing the inter-function padding, so we >> are better off faulting than silently carrying on to whatever

svn commit: r315142 - head/usr.bin/man

2017-03-12 Thread Tijl Coosemans
Author: tijl Date: Sun Mar 12 10:56:19 2017 New Revision: 315142 URL: https://svnweb.freebsd.org/changeset/base/315142 Log: - Remove separate handling of /bin and /usr/bin in manpath. They are no longer a special case. - Prefer PREFIX/share/man over PREFIX/man. - Add /usr/local/share/ma

svn commit: r312699 - head/sys/amd64/linux

2017-01-24 Thread Tijl Coosemans
Author: tijl Date: Tue Jan 24 16:13:59 2017 New Revision: 312699 URL: https://svnweb.freebsd.org/changeset/base/312699 Log: Apply r210555 to 64 bit linux support: The interpreter name should no longer be treated as a buffer that can be overwritten. PR: 216346 MFC after:

Re: svn commit: r307936 - head/sys/amd64/amd64

2016-10-27 Thread Tijl Coosemans
On Wed, 26 Oct 2016 16:25:50 +0300 Konstantin Belousov wrote: > On Tue, Oct 25, 2016 at 09:26:00PM +0200, Tijl Coosemans wrote: >> On Tue, 25 Oct 2016 17:13:46 + (UTC) Gleb Smirnoff >> wrote: >>> Author: glebius >>> Date: Tue Oct 25 17:13:46 2016 >&g

Re: svn commit: r307936 - head/sys/amd64/amd64

2016-10-25 Thread Tijl Coosemans
On Tue, 25 Oct 2016 17:13:46 + (UTC) Gleb Smirnoff wrote: > Author: glebius > Date: Tue Oct 25 17:13:46 2016 > New Revision: 307936 > URL: https://svnweb.freebsd.org/changeset/base/307936 > > Log: > The argument validation in r296956 was not enough to close all possible > overflows in sy

Re: svn commit: r307231 - head/lib/libgcc_s

2016-10-14 Thread Tijl Coosemans
On Fri, 14 Oct 2016 20:55:30 +0200 Dimitry Andric wrote: > On 14 Oct 2016, at 04:06, Ed Maste wrote: >> On 14 October 2016 at 01:53, Bruce Evans wrote: compiler-rt's complex division support routines contain calls to compiler builtins such as `__builtin_scalbnl`. Unfortunately Clang

svn commit: r306318 - head/sys/i386/i386

2016-09-25 Thread Tijl Coosemans
Author: tijl Date: Sun Sep 25 18:29:02 2016 New Revision: 306318 URL: https://svnweb.freebsd.org/changeset/base/306318 Log: MFamd64: r266901 Allocate a zeroed LDT. Failing to do this might result in the LDT appearing to run out of free descriptors because of random junk in the descri

Re: svn commit: r290547 - in head/sys: arm/annapurna/alpine arm/mv/armadaxp arm/qemu arm/ti/omap4 arm/xilinx kern x86/x86

2015-11-09 Thread Tijl Coosemans
On Mon, 9 Nov 2015 17:45:46 + "Bjoern A. Zeeb" wrote: >> On 08 Nov 2015, at 14:26 , Tijl Coosemans wrote: >> >> Author: tijl >> Date: Sun Nov 8 14:26:50 2015 >> New Revision: 290547 >> URL: https://svnweb.freebsd.org/changeset/base/29054

svn commit: r290621 - head/sys/arm/qemu

2015-11-09 Thread Tijl Coosemans
Author: tijl Date: Mon Nov 9 22:12:29 2015 New Revision: 290621 URL: https://svnweb.freebsd.org/changeset/base/290621 Log: Fix typo (s/ncpus/mp_ncpus/) Reported by: bz Modified: head/sys/arm/qemu/virt_mp.c Modified: head/sys/arm/qemu/virt_mp.c =

svn commit: r290547 - in head/sys: arm/annapurna/alpine arm/mv/armadaxp arm/qemu arm/ti/omap4 arm/xilinx kern x86/x86

2015-11-08 Thread Tijl Coosemans
Author: tijl Date: Sun Nov 8 14:26:50 2015 New Revision: 290547 URL: https://svnweb.freebsd.org/changeset/base/290547 Log: Since r289279 bufinit() uses mp_ncpus, but some architectures set this variable during mp_start() which is too late. Move this to mp_setmaxid() where other architectur

Re: svn commit: r289279 - in head/sys: kern vm

2015-10-30 Thread Tijl Coosemans
On Thu, 29 Oct 2015 22:33:34 +0200 Konstantin Belousov wrote: > On Thu, Oct 29, 2015 at 09:25:54PM +0100, Tijl Coosemans wrote: >> On Wed, 14 Oct 2015 02:10:07 + (UTC) Jeff Roberson >> wrote: >>> Author: jeff >>> Date: Wed Oct 14 02:10:07 2015 >&g

Re: svn commit: r289279 - in head/sys: kern vm

2015-10-29 Thread Tijl Coosemans
On Wed, 14 Oct 2015 02:10:07 + (UTC) Jeff Roberson wrote: > Author: jeff > Date: Wed Oct 14 02:10:07 2015 > New Revision: 289279 > URL: https://svnweb.freebsd.org/changeset/base/289279 > > Log: > Parallelize the buffer cache and rewrite getnewbuf(). This results in a > 8x performance imp

Re: svn commit: r287467 - head/sys/dev/e1000

2015-09-05 Thread Tijl Coosemans
On Fri, 4 Sep 2015 16:30:49 + (UTC) Sean Bruno wrote: > Author: sbruno > Date: Fri Sep 4 16:30:48 2015 > New Revision: 287467 > URL: https://svnweb.freebsd.org/changeset/base/287467 > > Log: > e1000: Shared code updates > -Fix compiler warning in 80003es2lan.c > -Add return val

Re: svn commit: r287442 - in head: lib/libprocstat lib/libutil share/man/man5 sys/kern sys/sys

2015-09-05 Thread Tijl Coosemans
On Thu, 3 Sep 2015 20:32:10 + (UTC) "Conrad E. Meyer" wrote: > Author: cem > Date: Thu Sep 3 20:32:10 2015 > New Revision: 287442 > URL: https://svnweb.freebsd.org/changeset/base/287442 > > Log: > Detect badly behaved coredump note helpers > > Coredump notes depend on being able to i

Re: svn commit: r287254 - head/sys/sys

2015-08-28 Thread Tijl Coosemans
On Fri, 28 Aug 2015 14:06:29 + (UTC) "Pedro F. Giffuni" wrote: > Author: pfg > Date: Fri Aug 28 14:06:28 2015 > New Revision: 287254 > URL: https://svnweb.freebsd.org/changeset/base/287254 > > Log: > Be more GCC-friendly with attributes > > Being clang the default compiler, we were al

Re: svn commit: r285140 - in head: include lib/libc/stdio

2015-07-04 Thread Tijl Coosemans
On Sat, 4 Jul 2015 16:42:15 + (UTC) Mariusz Zaborski wrote: > Author: oshogbo > Date: Sat Jul 4 16:42:14 2015 > New Revision: 285140 > URL: https://svnweb.freebsd.org/changeset/base/285140 > > Log: > Add fdclose(3) function. > > This function is equivalent to fclose(3) function excep

svn commit: r284858 - head/sys/sys

2015-06-25 Thread Tijl Coosemans
Author: tijl Date: Thu Jun 25 19:39:07 2015 New Revision: 284858 URL: https://svnweb.freebsd.org/changeset/base/284858 Log: Enable the use of __builtin_va_* for ICC. PR: 198822 Submitted by: Sergey Melnikov MFC after:5 days Modified: head/sys/sys/cdefs.h Modified: hea

svn commit: r284428 - head/lib/msun/src

2015-06-15 Thread Tijl Coosemans
Author: tijl Date: Mon Jun 15 20:47:26 2015 New Revision: 284428 URL: https://svnweb.freebsd.org/changeset/base/284428 Log: Follow up to r284427: fix NaN mixing for ctanhf too. Modified: head/lib/msun/src/s_ctanhf.c Modified: head/lib/msun/src/s_ctanhf.c =

svn commit: r284427 - head/lib/msun/src

2015-06-15 Thread Tijl Coosemans
Author: tijl Date: Mon Jun 15 20:40:44 2015 New Revision: 284427 URL: https://svnweb.freebsd.org/changeset/base/284427 Log: - Change comments to be more consistent with s_ccosh.c and s_csinh.c. - Fix a case where NaNs were not mixed correctly and signalling NaNs were not converted to quiet

svn commit: r284426 - head/lib/msun/src

2015-06-15 Thread Tijl Coosemans
Author: tijl Date: Mon Jun 15 20:16:53 2015 New Revision: 284426 URL: https://svnweb.freebsd.org/changeset/base/284426 Log: Fix some exceptional cases where the sign of the result is unspecified but must still satisfy csinh(conj(z)) == conj(csinh(z)) and csinh(-z) == -csinh(z). This allows

svn commit: r284423 - head/lib/msun/src

2015-06-15 Thread Tijl Coosemans
Author: tijl Date: Mon Jun 15 20:11:06 2015 New Revision: 284423 URL: https://svnweb.freebsd.org/changeset/base/284423 Log: Fix some exceptional cases where the sign of the result is unspecified but must still satisfy ccosh(conj(z)) == conj(ccosh(z)) and ccosh(-z) == ccosh(z). In collab

svn commit: r284422 - head/usr.sbin/crunch/crunchgen

2015-06-15 Thread Tijl Coosemans
Author: tijl Date: Mon Jun 15 19:48:28 2015 New Revision: 284422 URL: https://svnweb.freebsd.org/changeset/base/284422 Log: Change -Wl,-r back to -r so gcc doesn't pass --relax to the linker on some architectures. PR: 200881 Modified: head/usr.sbin/crunch/crunchgen/crunchgen.

Re: svn commit: r284356 - head/usr.sbin/crunch/crunchgen

2015-06-14 Thread Tijl Coosemans
On Sun, 14 Jun 2015 08:31:32 -0700 Adrian Chadd wrote: > On 14 June 2015 at 08:28, Tijl Coosemans wrote: >> On Sun, 14 Jun 2015 08:07:17 -0700 Adrian Chadd wrote: >>> On 14 June 2015 at 02:41, Tijl Coosemans wrote: >>>> On Sat, 13 Jun 2015 22:01:21 + (

svn commit: r284382 - head/usr.sbin/crunch/crunchgen

2015-06-14 Thread Tijl Coosemans
Author: tijl Date: Sun Jun 14 15:40:17 2015 New Revision: 284382 URL: https://svnweb.freebsd.org/changeset/base/284382 Log: Tell the compiler that -dc and -r are linker flags. Reviewed by: adrian Modified: head/usr.sbin/crunch/crunchgen/crunchgen.c Modified: head/usr.sbin/crunch/crunch

Re: svn commit: r284356 - head/usr.sbin/crunch/crunchgen

2015-06-14 Thread Tijl Coosemans
On Sun, 14 Jun 2015 08:07:17 -0700 Adrian Chadd wrote: > On 14 June 2015 at 02:41, Tijl Coosemans wrote: >> On Sat, 13 Jun 2015 22:01:21 + (UTC) Adrian Chadd >> wrote: >>> Author: adrian >>> Date: Sat Jun 13 22:01:21 2015 >>> New Revision:

Re: svn commit: r284356 - head/usr.sbin/crunch/crunchgen

2015-06-14 Thread Tijl Coosemans
On Sat, 13 Jun 2015 22:01:21 + (UTC) Adrian Chadd wrote: > Author: adrian > Date: Sat Jun 13 22:01:21 2015 > New Revision: 284356 > URL: https://svnweb.freebsd.org/changeset/base/284356 > > Log: > Fix up crunchgen binary generation to work with external cross-build > tools. > > * Al

svn commit: r283418 - head/lib/libiconv_modules/UTF7

2015-05-24 Thread Tijl Coosemans
Author: tijl Date: Sun May 24 15:47:06 2015 New Revision: 283418 URL: https://svnweb.freebsd.org/changeset/base/283418 Log: When only 2 bytes can be read from a 4 byte UTF-16 character in a base64 encoded chunk of a UTF-7 string, treat that as an incomplete character and return an error inst

svn commit: r283406 - head/lib/libiconv_modules/UTF7

2015-05-24 Thread Tijl Coosemans
Author: tijl Date: Sun May 24 15:27:31 2015 New Revision: 283406 URL: https://svnweb.freebsd.org/changeset/base/283406 Log: Fix decoding of UTF-7 when a base64 encoded chunk appears at the end of the input buffer. _citrus_UTF7_mbtoutf16 stored the decoder state at the beginning so it co

Re: svn commit: r282907 - head/sys/sys

2015-05-15 Thread Tijl Coosemans
On Thu, 14 May 2015 15:49:49 + (UTC) "Pedro F. Giffuni" wrote: > Author: pfg > Date: Thu May 14 15:49:48 2015 > New Revision: 282907 > URL: https://svnweb.freebsd.org/changeset/base/282907 > > Log: > Add new __unreachable() builtin > > This is one of the few post gcc4.2 builtins that

svn commit: r281591 - head/bin/csh

2015-04-16 Thread Tijl Coosemans
Author: tijl Date: Thu Apr 16 07:17:00 2015 New Revision: 281591 URL: https://svnweb.freebsd.org/changeset/base/281591 Log: Fix build after r281550 when WITHOUT_ICONV is defined. Reported by: adrian MFC after:2 weeks Modified: head/bin/csh/iconv_stub.h Modified: head/bin/csh/icon

Re: svn commit: r281550 - in head: . bin/csh contrib/smbfs/include/netsmb contrib/smbfs/lib/smb include lib/libarchive lib/libc/iconv lib/libc/locale lib/libiconv_modules/BIG5 lib/libiconv_modules/DEC

2015-04-15 Thread Tijl Coosemans
On Wed, 15 Apr 2015 11:29:19 -0700 Adrian Chadd wrote: > cc1: warnings being treated as errors > /usr/home/adrian/work/freebsd/embedded/head/src/bin/csh/../../contrib/tcsh/sh.func.c: > In function 'iconv_catgets': > /usr/home/adrian/work/freebsd/embedded/head/src/bin/csh/../../contrib/tcsh/sh.func

svn commit: r281552 - head/sys/sys

2015-04-15 Thread Tijl Coosemans
Author: tijl Date: Wed Apr 15 09:39:52 2015 New Revision: 281552 URL: https://svnweb.freebsd.org/changeset/base/281552 Log: Point to the right location where __FreeBSD_version numbers are documented. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

svn commit: r281550 - in head: . bin/csh contrib/smbfs/include/netsmb contrib/smbfs/lib/smb include lib/libarchive lib/libc/iconv lib/libc/locale lib/libiconv_modules/BIG5 lib/libiconv_modules/DECH...

2015-04-15 Thread Tijl Coosemans
Author: tijl Date: Wed Apr 15 09:09:20 2015 New Revision: 281550 URL: https://svnweb.freebsd.org/changeset/base/281550 Log: Remove the const qualifier from iconv(3) to comply with POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html Adjust all code that calls iconv.

Re: svn commit: r280636 - head/include

2015-03-26 Thread Tijl Coosemans
On Thu, 26 Mar 2015 17:37:53 +1100 (EST) Bruce Evans wrote: > On Wed, 25 Mar 2015, Pedro Giffuni wrote: >> On 03/25/15 21:14, Bruce Evans wrote: >>> On Wed, 25 Mar 2015, Pedro F. Giffuni wrote: Log: Temporarily revert 280458. GCC is still carries an old version of cdefs.h w

Re: svn commit: r279993 - in head/sys: dev/cxgb dev/cxgbe kern vm

2015-03-22 Thread Tijl Coosemans
On Sat, 14 Mar 2015 17:08:29 + (UTC) Ian Lepore wrote: > Author: ian > Date: Sat Mar 14 17:08:28 2015 > New Revision: 279993 > URL: https://svnweb.freebsd.org/changeset/base/279993 > > Log: > Set the SBUF_INCLUDENUL flag in sbuf_new_for_sysctl() so that sysctl > strings returned to userla

svn commit: r279079 - head/sys/x86/acpica

2015-02-20 Thread Tijl Coosemans
Author: tijl Date: Fri Feb 20 19:42:26 2015 New Revision: 279079 URL: https://svnweb.freebsd.org/changeset/base/279079 Log: Fix build on i386 without "device apic" Reviewed by: kib Modified: head/sys/x86/acpica/acpi_wakeup.c Modified: head/sys/x86/acpica/acpi_wakeup.c =

svn commit: r278758 - head/lib/libc/gen

2015-02-14 Thread Tijl Coosemans
Author: tijl Date: Sat Feb 14 15:14:41 2015 New Revision: 278758 URL: https://svnweb.freebsd.org/changeset/base/278758 Log: The ld(1) flag is -Bsymbolic not -Wsymbolic. Modified: head/lib/libc/gen/dlopen.3 Modified: head/lib/libc/gen/dlopen.3 =

svn commit: r278586 - head/contrib/binutils/ld/scripttempl

2015-02-11 Thread Tijl Coosemans
Author: tijl Date: Wed Feb 11 17:25:23 2015 New Revision: 278586 URL: https://svnweb.freebsd.org/changeset/base/278586 Log: Fix ldscripts such that ld(1) collects the .fini_array section in the same order as the .init_array section. Finalisation routines need to be called in the opposite or

Re: svn commit: r274489 - in head/sys/amd64: amd64 include

2014-11-23 Thread Tijl Coosemans
On Fri, 21 Nov 2014 16:26:47 -0700 Scott Long wrote: > On Nov 20, 2014, at 11:33 PM, Rui Paulo wrote: >> On Nov 13, 2014, at 14:11, Scott Long wrote: >>> >>> Author: scottl >>> Date: Thu Nov 13 22:11:44 2014 >>> New Revision: 274489 >>> URL: https://svnweb.freebsd.org/changeset/base/274489 >>>

Re: svn commit: r274040 - in head/sys: conf dev/agp

2014-11-03 Thread Tijl Coosemans
On Mon, 3 Nov 2014 11:49:36 + (UTC) Konstantin Belousov wrote: > Author: kib > Date: Mon Nov 3 11:49:35 2014 > New Revision: 274040 > URL: https://svnweb.freebsd.org/changeset/base/274040 > > Log: > agp_intel.c provides support for AGP on Intel chipsets from 440/BX to > 875. This inter

Re: svn commit: r273963 - head/sys/dev/agp

2014-11-02 Thread Tijl Coosemans
On Sun, 02 Nov 2014 07:27:24 -0800 Nathan Whitehorn wrote: > There is actually a write-combining memory type on PowerPC. You can set > it the same way as on x86 (with VM_MEMATTR_WRITE_COMBINING). Yes, that's what the patch does, but in sys/powerpc (aim/mmu_oea.c, aim/mmu_oea64.c and booke/pmap.

svn commit: r273969 - head/sys/dev/drm2/ttm

2014-11-02 Thread Tijl Coosemans
Author: tijl Date: Sun Nov 2 14:08:54 2014 New Revision: 273969 URL: https://svnweb.freebsd.org/changeset/base/273969 Log: Use default memory type for TTM buffer objects that may be cached. MFC after:1 week Modified: head/sys/dev/drm2/ttm/ttm_bo_util.c Modified: head/sys/dev/drm2/t

svn commit: r273965 - head/sys/dev/agp

2014-11-02 Thread Tijl Coosemans
Author: tijl Date: Sun Nov 2 11:47:40 2014 New Revision: 273965 URL: https://svnweb.freebsd.org/changeset/base/273965 Log: - agp_generic_unbind_memory: flush AGP TLB before unwiring pages - agp_bind_pages: assert that pages have been wired down MFC after:1 month Modified: head/sys

svn commit: r273964 - head/sys/dev/agp

2014-11-02 Thread Tijl Coosemans
Author: tijl Date: Sun Nov 2 11:28:15 2014 New Revision: 273964 URL: https://svnweb.freebsd.org/changeset/base/273964 Log: In agp_amd_bind_page don't flush the AGP TLB. It's done by the calling function. Modified: head/sys/dev/agp/agp_amd.c Modified: head/sys/dev/agp/agp_amd.c ==

svn commit: r273963 - head/sys/dev/agp

2014-11-02 Thread Tijl Coosemans
Author: tijl Date: Sun Nov 2 11:26:37 2014 New Revision: 273963 URL: https://svnweb.freebsd.org/changeset/base/273963 Log: In agp(4) avoid the need to flush all cpu caches with wbinvd between updating the GTT and flushing the AGP TLB by storing the GTT in write-combining memory. On x86

svn commit: r273902 - head/sys/modules/drm2/drm2

2014-10-31 Thread Tijl Coosemans
Author: tijl Date: Fri Oct 31 10:45:34 2014 New Revision: 273902 URL: https://svnweb.freebsd.org/changeset/base/273902 Log: Build ttm_agp_backend.c. Reported by: dumbbell MFC after:1 month Modified: head/sys/modules/drm2/drm2/Makefile Modified: head/sys/modules/drm2/drm2/Makefile

svn commit: r273863 - head/sys/dev/agp

2014-10-30 Thread Tijl Coosemans
Author: tijl Date: Thu Oct 30 14:36:27 2014 New Revision: 273863 URL: https://svnweb.freebsd.org/changeset/base/273863 Log: Avoid possible overflow in agp_generic_alloc_memory. MFC after:1 week Modified: head/sys/dev/agp/agp.c Modified: head/sys/dev/agp/agp.c ===

svn commit: r273862 - in head/sys/dev/drm2: . radeon ttm

2014-10-30 Thread Tijl Coosemans
Author: tijl Date: Thu Oct 30 14:26:36 2014 New Revision: 273862 URL: https://svnweb.freebsd.org/changeset/base/273862 Log: Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support in the radeonkms driver. Note: In PCI mode virtual addresses on the graphics card that map

svn commit: r273856 - head/sys/dev/agp

2014-10-30 Thread Tijl Coosemans
Author: tijl Date: Thu Oct 30 11:27:03 2014 New Revision: 273856 URL: https://svnweb.freebsd.org/changeset/base/273856 Log: Add two new functions to the AGP driver KPI to bind/unbind arbitrary sets of pages into the GTT. Reviewed by: kib MFC after:1 month Modified: head/sys/dev/

svn commit: r270757 - head/contrib/binutils/ld/emultempl

2014-08-28 Thread Tijl Coosemans
Author: tijl Date: Thu Aug 28 18:33:42 2014 New Revision: 270757 URL: http://svnweb.freebsd.org/changeset/base/270757 Log: In r253839 the default behaviour of ld(1) was changed such that all libraries that need to be linked into an executable or library have to be listed on the command line

Re: svn commit: r270516 - head/sys/dev/drm2/i915

2014-08-25 Thread Tijl Coosemans
On Mon, 25 Aug 2014 19:11:43 +0200 Jean-Sébastien Pédron wrote: > On 25.08.2014 19:04, Nathan Whitehorn wrote: >> Does our radeon KMS code support AGP-based Radeons? I vaguely remember >> this not being the case. > > Unfortunately no, AGP isn't supported. And I currently don't have > neither th

Re: svn commit: r269973 - head/share/vt/keymaps

2014-08-14 Thread Tijl Coosemans
On Thu, 14 Aug 2014 13:45:03 + (UTC) Ed Maste wrote: > Modified: head/share/vt/keymaps/hr.kbd > == > --- head/share/vt/keymaps/hr.kbd Thu Aug 14 13:25:05 2014 > (r269972) > +++ head/share/vt/keymaps/hr.kbd

Re: svn commit: r269950 - head/share/vt/keymaps

2014-08-14 Thread Tijl Coosemans
On Wed, 13 Aug 2014 19:06:30 + (UTC) Ed Maste wrote: > Author: emaste > Date: Wed Aug 13 19:06:29 2014 > New Revision: 269950 > URL: http://svnweb.freebsd.org/changeset/base/269950 > > Log: > Copy country-code .iso syscons keymaps for vt(4) > > Existing syscons ISO 8859-1 keymaps (??.is

Re: svn commit: r268619 - head/usr.bin/users

2014-07-14 Thread Tijl Coosemans
On Mon, 14 Jul 2014 12:24:38 + (UTC) Pietro Cerutti wrote: > Author: gahr (ports committer) > Date: Mon Jul 14 12:24:38 2014 > New Revision: 268619 > URL: http://svnweb.freebsd.org/changeset/base/268619 > > Log: > Unbreak the build by re-enabling exceptions. > > Disabling them breaks bu

Re: svn commit: r267441 - in head: include tools/build/mk

2014-06-14 Thread Tijl Coosemans
On Fri, 13 Jun 2014 10:43:28 -0400 Benjamin Kaduk wrote: > On Fri, Jun 13, 2014 at 6:08 AM, Tijl Coosemans wrote: >> Author: tijl >> Date: Fri Jun 13 10:08:18 2014 >> New Revision: 267441 >> URL: http://svnweb.freebsd.org/changeset/base/267441 >> >> Log:

svn commit: r267441 - in head: include tools/build/mk

2014-06-13 Thread Tijl Coosemans
Author: tijl Date: Fri Jun 13 10:08:18 2014 New Revision: 267441 URL: http://svnweb.freebsd.org/changeset/base/267441 Log: Don't install GSS-API headers when the GSSAPI option has been disabled. Some ports assume GSS-API is supported when they find the headers. PR: 189156 Subm

svn commit: r267439 - head/usr.bin/iconv

2014-06-13 Thread Tijl Coosemans
Author: tijl Date: Fri Jun 13 08:44:03 2014 New Revision: 267439 URL: http://svnweb.freebsd.org/changeset/base/267439 Log: - Make invalids variable local to do_conv such that it prints the number of invalid characters of the current file instead of an accumulated value. - Make do_conv

svn commit: r267438 - head/lib/libc/iconv

2014-06-13 Thread Tijl Coosemans
Author: tijl Date: Fri Jun 13 08:36:10 2014 New Revision: 267438 URL: http://svnweb.freebsd.org/changeset/base/267438 Log: iconv_open: initialise ci_ilseq_invalid field of _citrus_iconv_shared struct after allocation with malloc. iconvlist: reduce a memory leak by copying strings only onc

svn commit: r267437 - head/lib/libc/iconv

2014-06-13 Thread Tijl Coosemans
Author: tijl Date: Fri Jun 13 08:28:51 2014 New Revision: 267437 URL: http://svnweb.freebsd.org/changeset/base/267437 Log: Replace malloc+memset with calloc. Modified: head/lib/libc/iconv/citrus_db_factory.c head/lib/libc/iconv/citrus_iconv.c Modified: head/lib/libc/iconv/citrus_db_factory

svn commit: r267436 - head/lib/libiconv_modules/HZ

2014-06-13 Thread Tijl Coosemans
Author: tijl Date: Fri Jun 13 08:26:53 2014 New Revision: 267436 URL: http://svnweb.freebsd.org/changeset/base/267436 Log: Replace malloc+memset with calloc. Modified: head/lib/libiconv_modules/HZ/citrus_hz.c Modified: head/lib/libiconv_modules/HZ/citrus_hz.c

Re: svn commit: r266553 - head/release/scripts

2014-05-28 Thread Tijl Coosemans
On Tue, 27 May 2014 14:31:44 -0600 Warner Losh wrote: > On May 27, 2014, at 1:40 PM, Tijl Coosemans wrote: >> On Tue, 27 May 2014 07:18:06 -0600 Warner Losh wrote: >>> On May 27, 2014, at 1:36 AM, Tijl Coosemans wrote: >>>> On Mon, 26 May 2014 16:31:21 -0600 Warne

Re: svn commit: r266553 - head/release/scripts

2014-05-27 Thread Tijl Coosemans
On Tue, 27 May 2014 07:18:06 -0600 Warner Losh wrote: > On May 27, 2014, at 1:36 AM, Tijl Coosemans wrote: >> On Mon, 26 May 2014 16:31:21 -0600 Warner Losh wrote: >>> On May 26, 2014, at 4:18 PM, Tijl Coosemans wrote: >>>> On Mon, 26 May 2014 09:53:57 -0600 Warn

Re: svn commit: r266553 - head/release/scripts

2014-05-27 Thread Tijl Coosemans
On Mon, 26 May 2014 16:31:21 -0600 Warner Losh wrote: > On May 26, 2014, at 4:18 PM, Tijl Coosemans wrote: >> On Mon, 26 May 2014 09:53:57 -0600 Warner Losh wrote: >>> On May 26, 2014, at 8:39 AM, Nathan Whitehorn >>> wrote: >>>> On 05/26/14 02:35, Ti

Re: svn commit: r266553 - head/release/scripts

2014-05-27 Thread Tijl Coosemans
On Mon, 26 May 2014 18:47:34 -0700 Nathan Whitehorn wrote: > I've written two patches today. The first > (http://people.freebsd.org/~nwhitehorn/pkg_machinearch.diff) is to pkg > itself and the second > (http://people.freebsd.org/~nwhitehorn/pkg_bootstrap_machinearch.diff) > is to the pkg bootst

Re: svn commit: r266553 - head/release/scripts

2014-05-26 Thread Tijl Coosemans
On Mon, 26 May 2014 09:53:57 -0600 Warner Losh wrote: > On May 26, 2014, at 8:39 AM, Nathan Whitehorn wrote: >> On 05/26/14 02:35, Tijl Coosemans wrote: >>> On Sat, 24 May 2014 19:00:18 -0600 Warner Losh wrote: >>>> On May 24, 2014, at 5:53 PM, Warner Losh wrote:

Re: svn commit: r266553 - head/release/scripts

2014-05-26 Thread Tijl Coosemans
On Sat, 24 May 2014 19:00:18 -0600 Warner Losh wrote: > On May 24, 2014, at 5:53 PM, Warner Losh wrote: >> On May 24, 2014, at 5:13 PM, Tijl Coosemans wrote: >>> There isn't necessarily any chroot environment. There's one kernel, >>> two equally valid ABIs

  1   2   3   >