Author: jmg
Date: Wed Oct 22 06:53:55 2014
New Revision: 273454
URL: https://svnweb.freebsd.org/changeset/base/273454
Log:
fix spelling of DEFAULT in comments...
Modified:
head/share/mk/bsd.mkopt.mk
Modified: head/share/mk/bsd.mkopt.mk
Author: luigi
Date: Wed Oct 22 05:21:36 2014
New Revision: 273453
URL: https://svnweb.freebsd.org/changeset/base/273453
Log:
remove/fix old code for building ipfw and dummynet in userspace
Modified:
head/sys/netpfil/ipfw/ip_dn_io.c
head/sys/netpfil/ipfw/ip_fw_private.h
head/sys/netpfil/ip
Author: mjg
Date: Wed Oct 22 04:16:09 2014
New Revision: 273452
URL: https://svnweb.freebsd.org/changeset/base/273452
Log:
Plug unnecessary PRS_NEW check in kern_procctl.
pfind does not return processes in such state.
Modified:
head/sys/kern/sys_process.c
Modified: head/sys/kern/sys_pro
On Oct 21, 2014, at 6:07 PM, Steve Kargl
wrote:
> On Tue, Oct 21, 2014 at 08:00:50PM +, Baptiste Daroussin wrote:
>> Author: bapt
>> Date: Tue Oct 21 20:00:49 2014
>> New Revision: 273406
>> URL: https://svnweb.freebsd.org/changeset/base/273406
>>
>> Log:
>> Always use libc++ as the defau
Author: imp
Date: Wed Oct 22 03:39:11 2014
New Revision: 273449
URL: https://svnweb.freebsd.org/changeset/base/273449
Log:
My previous commit exposed an issue as it fixed a different
issue. lib/atf isn't a prereq_lib, since it isn't required for other
libraries to build. Remove it. The old k
Author: kevlo
Date: Wed Oct 22 03:32:27 2014
New Revision: 273448
URL: https://svnweb.freebsd.org/changeset/base/273448
Log:
Fix the kernel panic in hostap mode.
rvp->beacon_mbuf was NULL in run_update_beacon().
PR: 189405
Submitted by: Gabor Simon
MFC after:3 days
Modified:
On Oct 21, 2014, at 7:25 PM, Dag-Erling Smørgrav wrote:
> Warner Losh writes:
>> Author: imp
>> Date: Tue Oct 21 20:29:42 2014
>> New Revision: 273417
>> URL: https://svnweb.freebsd.org/changeset/base/273417
>>
>> Log:
>> You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it.
Author: mjg
Date: Wed Oct 22 01:53:00 2014
New Revision: 273447
URL: https://svnweb.freebsd.org/changeset/base/273447
Log:
Reduce nesting in vn_access.
No functional changes.
Modified:
head/sys/kern/vfs_syscalls.c
Modified: head/sys/kern/vfs_syscalls.c
==
Author: marcel
Date: Wed Oct 22 01:37:32 2014
New Revision: 273446
URL: https://svnweb.freebsd.org/changeset/base/273446
Log:
Virtual machines can easily have more than 16 option ROMs and
when that happens, we happily access our resource array out of
bounds. Make sure we stay within the MAX_
Author: imp
Date: Wed Oct 22 01:35:30 2014
New Revision: 273445
URL: https://svnweb.freebsd.org/changeset/base/273445
Log:
Add defines for various FIRST PARTY DMA SEND subcommands.
Modified:
head/sys/sys/ata.h
Modified: head/sys/sys/ata.h
=
Warner Losh writes:
> Author: imp
> Date: Tue Oct 21 20:29:42 2014
> New Revision: 273417
> URL: https://svnweb.freebsd.org/changeset/base/273417
>
> Log:
> You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it.
> Even if you were allowed to test for it, the test makes no sense
Author: mjg
Date: Wed Oct 22 01:09:07 2014
New Revision: 273444
URL: https://svnweb.freebsd.org/changeset/base/273444
Log:
Avoid crdup when possible in kern_accessat.
While here tidy up a little.
Modified:
head/sys/kern/vfs_syscalls.c
Modified: head/sys/kern/vfs_syscalls.c
=
Author: marcel
Date: Wed Oct 22 01:04:16 2014
New Revision: 273443
URL: https://svnweb.freebsd.org/changeset/base/273443
Log:
Fix the conversion macro for .note sections, broken in the case
the ELF file's byte order is not the native byte order. The
bug is that the variables holding the nam
Author: marcel
Date: Wed Oct 22 00:58:50 2014
New Revision: 273442
URL: https://svnweb.freebsd.org/changeset/base/273442
Log:
GCC for PowerPC does not align .note sections to 4 bytes. When
running ctfmerge on its objects, libelf asserts as it expects
.note sections to be 4-byte aligned. C
Author: mjg
Date: Wed Oct 22 00:23:43 2014
New Revision: 273441
URL: https://svnweb.freebsd.org/changeset/base/273441
Log:
filedesc: cleanup setugidsafety a little
Rename it to fdsetugidsafety for consistency with other functions.
There is no need to take filedesc lock if not closing a
On Tue, Oct 21, 2014 at 08:00:50PM +, Baptiste Daroussin wrote:
> Author: bapt
> Date: Tue Oct 21 20:00:49 2014
> New Revision: 273406
> URL: https://svnweb.freebsd.org/changeset/base/273406
>
> Log:
> Always use libc++ as the default c++ stack when building with an external
> gcc 4.8+
>
Author: mjg
Date: Tue Oct 21 23:08:46 2014
New Revision: 273436
URL: https://svnweb.freebsd.org/changeset/base/273436
Log:
Eliminate unnecessary memory allocation in sys_getgroups and its ibcs2
counterpart.
Modified:
head/sys/i386/ibcs2/ibcs2_misc.c
head/sys/kern/kern_prot.c
head/sys/sys
Author: bapt
Date: Tue Oct 21 21:49:06 2014
New Revision: 273434
URL: https://svnweb.freebsd.org/changeset/base/273434
Log:
Do not define bad_array_new_length::bad_array_new_length in libc++ anymore
when used in combinaison with libcxxrt since it is now defined there already.
This fixes buil
Luigi Rizzo writes:
> This code is not performance critical. I wouldn't bother optimizing it.
So just use fls() or flsl().
DES
--
Dag-Erling Smørgrav - d...@des.no
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn
On Tue, Oct 21, 2014 at 09:40:38PM +, Bjoern A. Zeeb wrote:
>
> On 21 Oct 2014, at 19:02 , Mateusz Guzik wrote:
>
> > Author: mjg
> > Date: Tue Oct 21 19:02:26 2014
> > New Revision: 273400
> > URL: https://svnweb.freebsd.org/changeset/base/273400
> >
> > Log:
> > Rename sysctl_lock and _u
On 21 Oct 2014, at 19:02 , Mateusz Guzik wrote:
> Author: mjg
> Date: Tue Oct 21 19:02:26 2014
> New Revision: 273400
> URL: https://svnweb.freebsd.org/changeset/base/273400
>
> Log:
> Rename sysctl_lock and _unlock to sysctl_xlock and _xunlock.
You are perfectly describing what you are doing
Author: gjb
Date: Tue Oct 21 21:37:53 2014
New Revision: 273432
URL: https://svnweb.freebsd.org/changeset/base/273432
Log:
Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22,
SA-14:23
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/sys/pa
On Sun, Oct 19, 2014 at 03:02:07PM +0300, Andriy Gapon wrote:
> On 19/10/2014 14:15, Alexander V. Chernikov wrote:
> > +static uint32_t
> > +roundup2p(uint32_t v)
> > +{
> > +
> > + v--;
> > + v |= v >> 1;
> > + v |= v >> 2;
> > + v |= v >> 4;
> > + v |= v >> 8;
> > + v |= v >> 16;
> >
Author: mjg
Date: Tue Oct 21 21:29:20 2014
New Revision: 273431
URL: https://svnweb.freebsd.org/changeset/base/273431
Log:
Take the lock shared in linker_search_symbol_name.
This helps sysctl kern.proc.stack.
Modified:
head/sys/kern/kern_linker.c
Modified: head/sys/kern/kern_linker.c
==
Author: mjg
Date: Tue Oct 21 21:27:13 2014
New Revision: 273430
URL: https://svnweb.freebsd.org/changeset/base/273430
Log:
tmpfs: allow shared file lookups
Tested by: pho
Modified:
head/sys/fs/tmpfs/tmpfs_vfsops.c
Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c
==
Author: bapt
Date: Tue Oct 21 21:17:44 2014
New Revision: 273428
URL: https://svnweb.freebsd.org/changeset/base/273428
Log:
Revert r273426 r273409
A solution that work with both new and old binutils should be investigated
Modified:
head/share/mk/bsd.lib.mk
Modified: head/share/mk/bsd.li
Author: bapt
Date: Tue Oct 21 21:09:54 2014
New Revision: 273426
URL: https://svnweb.freebsd.org/changeset/base/273426
Log:
older binutils does not know about --no-fatal-warnings
Modified:
head/share/mk/bsd.lib.mk
Modified: head/share/mk/bsd.lib.mk
===
Author: mjg
Date: Tue Oct 21 21:08:45 2014
New Revision: 273424
URL: https://svnweb.freebsd.org/changeset/base/273424
Log:
Mark some more sysctl stuff shared-locked and MPSAFE.
Modified:
head/sys/kern/kern_sysctl.c
Modified: head/sys/kern/kern_sysctl.c
===
Author: hselasky
Date: Tue Oct 21 21:04:44 2014
New Revision: 273423
URL: https://svnweb.freebsd.org/changeset/base/273423
Log:
Use the UAUTO SYSCTL type for exporting the bounce zone alignment,
because the variable size depends on the build type.
Reported by: kib @
MFC after:3 day
On Mon, Oct 20, 2014 at 05:53:49PM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Mon Oct 20 17:53:49 2014
> New Revision: 273335
> URL: https://svnweb.freebsd.org/changeset/base/273335
>
> Log:
> unionfs: hold mount interlock while manipulating mnt_flag
>
> This is for consistency with
On 10/21/14 18:16, Konstantin Belousov wrote:
On Tue, Oct 21, 2014 at 07:31:22AM +, Hans Petter Selasky wrote:
Author: hselasky
Date: Tue Oct 21 07:31:21 2014
New Revision: 273377
URL: https://svnweb.freebsd.org/changeset/base/273377
Log:
Fix multiple incorrect SYSCTL arguments in the ke
Author: emaste
Date: Tue Oct 21 20:44:33 2014
New Revision: 273421
URL: https://svnweb.freebsd.org/changeset/base/273421
Log:
Fix typo in src option description
Modified:
head/tools/build/options/WITHOUT_GNU_GREP_COMPAT
Modified: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT
=
Author: emaste
Date: Tue Oct 21 20:41:19 2014
New Revision: 273420
URL: https://svnweb.freebsd.org/changeset/base/273420
Log:
Regenerate after r273418
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/man/man5/src.conf.5
===
Author: imp
Date: Tue Oct 21 20:29:53 2014
New Revision: 273419
URL: https://svnweb.freebsd.org/changeset/base/273419
Log:
For the kernel, we have USB_GADGET_EXAMPLES as defaults to yes. For
userland defaults to no. This caused issues for the automated option
documenation script. Turns out,
Author: imp
Date: Tue Oct 21 20:29:51 2014
New Revision: 273418
URL: https://svnweb.freebsd.org/changeset/base/273418
Log:
Generate both userland and kernel option settings for showconfig.
PR: 191920
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
=
Author: imp
Date: Tue Oct 21 20:29:42 2014
New Revision: 273417
URL: https://svnweb.freebsd.org/changeset/base/273417
Log:
You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it.
Even if you were allowed to test for it, the test makes no sense as it
always results in adding -D
Author: ngie
Date: Tue Oct 21 20:17:05 2014
New Revision: 273410
URL: https://svnweb.freebsd.org/changeset/base/273410
Log:
Add sys/socket.h #include for bind(2), et al
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_connect.c
Modified: hea
Author: bapt
Date: Tue Oct 21 20:11:05 2014
New Revision: 273409
URL: https://svnweb.freebsd.org/changeset/base/273409
Log:
Do not make ld(1) warnings fatal anymore, binutils behaviour has changed over
the
time and gnu.warnings.symbol are now being fatal preventing building world.
in the
Author: bapt
Date: Tue Oct 21 20:07:15 2014
New Revision: 273408
URL: https://svnweb.freebsd.org/changeset/base/273408
Log:
Make the external toolchain support grows to the knowleged of XXFLAGS for C++
dedicated flags
and DEPFLAGS for mkdep flags
Pass the path to the libc++ headers in both,
Author: bapt
Date: Tue Oct 21 20:04:05 2014
New Revision: 273407
URL: https://svnweb.freebsd.org/changeset/base/273407
Log:
When using an external gcc 4.8+ and not building libstdc++ then create in the
objectdir a
fake libstdc++.so and libstdc++.a which is a symlink on libc++ that allow g++
Author: bapt
Date: Tue Oct 21 20:00:49 2014
New Revision: 273406
URL: https://svnweb.freebsd.org/changeset/base/273406
Log:
Always use libc++ as the default c++ stack when building with an external gcc
4.8+
While here disable building gcc from base when using gcc 4.8+
Reviewed by: imp
Author: bapt
Date: Tue Oct 21 19:58:23 2014
New Revision: 273405
URL: https://svnweb.freebsd.org/changeset/base/273405
Log:
When using an external toolchain note that gcc 4.8+ supports C++11
Submitted by: imp
Modified:
head/share/mk/bsd.compiler.mk
Modified: head/share/mk/bsd.compiler.m
Author: bapt
Date: Tue Oct 21 19:56:45 2014
New Revision: 273404
URL: https://svnweb.freebsd.org/changeset/base/273404
Log:
The dependencies are computed with CC even if sources are C++, when building
when building with an external gcc, we want to be able to pass the path to
the libc++ heade
Author: mjg
Date: Tue Oct 21 19:45:08 2014
New Revision: 273403
URL: https://svnweb.freebsd.org/changeset/base/273403
Log:
Make sysctl name2oid shared-locked as well.
This is a follow-up to r273401.
Modified:
head/sys/kern/kern_sysctl.c
Modified: head/sys/kern/kern_sysctl.c
Author: gjb
Date: Tue Oct 21 19:36:20 2014
New Revision: 273402
URL: https://svnweb.freebsd.org/changeset/base/273402
Log:
Fix an issue where a FreeBSD virtual machine provisioned in
the Microsoft Azure service does not recognize the second
attached disk on the system.
Submitted by: kyl
Author: mjg
Date: Tue Oct 21 19:05:44 2014
New Revision: 273401
URL: https://svnweb.freebsd.org/changeset/base/273401
Log:
Implement shared locking for sysctl.
Modified:
head/sys/kern/kern_sysctl.c
Modified: head/sys/kern/kern_sysctl.c
Author: mjg
Date: Tue Oct 21 19:02:26 2014
New Revision: 273400
URL: https://svnweb.freebsd.org/changeset/base/273400
Log:
Rename sysctl_lock and _unlock to sysctl_xlock and _xunlock.
Modified:
head/sys/kern/kern_linker.c
head/sys/kern/kern_sysctl.c
head/sys/kern/vfs_init.c
head/sys/sys
Author: ngie
Date: Tue Oct 21 18:10:05 2014
New Revision: 273397
URL: https://svnweb.freebsd.org/changeset/base/273397
Log:
Port t_chroot to FreeBSD
- Add missing #include sys/stat.h for mkdir(2)
- Omit the fchroot(2) tests because the support is not present on FreeBSD
Sponsored by:
Author: ngie
Date: Tue Oct 21 18:06:04 2014
New Revision: 273396
URL: https://svnweb.freebsd.org/changeset/base/273396
Log:
unlink("/") fails with EISDIR instead of EBUSY on FreeBSD; test for that
instead
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/l
Author: ngie
Date: Tue Oct 21 18:01:37 2014
New Revision: 273395
URL: https://svnweb.freebsd.org/changeset/base/273395
Log:
Mark osi __unused so this compiles cleanly on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_timer_create.c
Author: ngie
Date: Tue Oct 21 18:00:55 2014
New Revision: 273393
URL: https://svnweb.freebsd.org/changeset/base/273393
Log:
Port t_write to FreeBSD
- Mark the signo variable for the signal handle __unused
- Use limits.h instead of sys/syslimits.h (the latter does not
exist on FreeBSD)
Author: jimharris
Date: Tue Oct 21 18:00:56 2014
New Revision: 273394
URL: https://svnweb.freebsd.org/changeset/base/273394
Log:
ixl: remove i40e_register_x710_int.h
This file is not used by the FreeBSD ixl driver.
Submitted by: Eric Joyner
MFC after:3 days
Deleted:
head/sys/
Author: jmg
Date: Tue Oct 21 17:59:27 2014
New Revision: 273392
URL: https://svnweb.freebsd.org/changeset/base/273392
Log:
it is not cast to a pointer of the specified type, it is cast to the
specified type...
mtod(m, uint8_t) does not work, mtod(m, uint8_t *) does work..
Modified:
hea
Author: ngie
Date: Tue Oct 21 17:58:53 2014
New Revision: 273391
URL: https://svnweb.freebsd.org/changeset/base/273391
Log:
Add missing #include for sys/stat.h for fchmod
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_access.c
Modified: he
Author: ngie
Date: Tue Oct 21 17:57:12 2014
New Revision: 273390
URL: https://svnweb.freebsd.org/changeset/base/273390
Log:
libutil.h is required for fparseln on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c
Modified:
Author: ngie
Date: Tue Oct 21 17:56:06 2014
New Revision: 273389
URL: https://svnweb.freebsd.org/changeset/base/273389
Log:
Port lib/libc/gen/t_siginfo to FreeBSD
- mcontext_t on FreeBSD doesn't have a __gregs field (it's split out on
FreeBSD
into separate fields). In order to avoid mudd
Author: jmg
Date: Tue Oct 21 17:17:40 2014
New Revision: 273388
URL: https://svnweb.freebsd.org/changeset/base/273388
Log:
spell out the arguments..
the + *offsetp does not belong w/ the type, move it outside the .Fn
macro...
Modified:
head/share/man/man9/mbuf.9
Modified: head/share/m
On Tue, Oct 21, 2014 at 07:31:22AM +, Hans Petter Selasky wrote:
> Author: hselasky
> Date: Tue Oct 21 07:31:21 2014
> New Revision: 273377
> URL: https://svnweb.freebsd.org/changeset/base/273377
>
> Log:
> Fix multiple incorrect SYSCTL arguments in the kernel:
>
> - Wrong integer type
Author: bapt
Date: Tue Oct 21 12:52:01 2014
New Revision: 273382
URL: https://svnweb.freebsd.org/changeset/base/273382
Log:
Fix build by marking the new functions as weak
This is a temporary fix
Modified:
head/contrib/libcxxrt/stdexcept.cc
Modified: head/contrib/libcxxrt/stdexcept.cc
=
On Tue, 21 Oct 2014, David Chisnall wrote:
On 19 Oct 2014, at 13:02, Andriy Gapon wrote:
I think that on platforms where an optimized version of fls() is available that
would work faster than this cool piece of bit magic.
Even a lightly optimized naive linear search might work faster. The
Author: bapt
Date: Tue Oct 21 10:19:45 2014
New Revision: 273381
URL: https://svnweb.freebsd.org/changeset/base/273381
Log:
Add support for __cxa_throw_bad_array_new_length in libcxxrt
It is required for use with newer g++49
Differential Revision:https://reviews.freebsd.org/D98
Author: br
Date: Tue Oct 21 09:14:16 2014
New Revision: 273380
URL: https://svnweb.freebsd.org/changeset/base/273380
Log:
Add driver for Micrel KSZ9021 Gigabit Ethernet Transceiver (PHY).
Sponsored by: DARPA, AFRL
Added:
head/sys/dev/mii/micphy.c (contents, props changed)
Modified:
h
On 19 Oct 2014, at 13:02, Andriy Gapon wrote:
> I think that on platforms where an optimized version of fls() is available
> that
> would work faster than this cool piece of bit magic.
If you're lucky, the compiler's idiom recogniser will spot this. You're
generally better off using the built
Author: hselasky
Date: Tue Oct 21 07:49:34 2014
New Revision: 273378
URL: https://svnweb.freebsd.org/changeset/base/273378
Log:
Fix minor typo in currently unused macro.
MFC after:3 days
Modified:
head/sys/sys/sysctl.h
Modified: head/sys/sys/sysctl.h
Author: hselasky
Date: Tue Oct 21 07:31:21 2014
New Revision: 273377
URL: https://svnweb.freebsd.org/changeset/base/273377
Log:
Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.
- Wrong or missing "access" specifier. The "access" specifier
som
Author: kevlo
Date: Tue Oct 21 07:24:58 2014
New Revision: 273376
URL: https://svnweb.freebsd.org/changeset/base/273376
Log:
Add the Intel BayTrail USB device which needs port routing for USB 3.0.
Tested on the BayTrail E3845 platform.
Reviewed by: hselasky
Modified:
head/sys/dev/usb/
Author: neel
Date: Tue Oct 21 07:10:43 2014
New Revision: 273375
URL: https://svnweb.freebsd.org/changeset/base/273375
Log:
Merge projects/bhyve_svm into HEAD.
After this change bhyve supports AMD processors with the SVM/AMD-V hardware
extensions.
More details available here:
http
67 matches
Mail list logo