SVNews

NOTE: This service is experimental and subject to change! Use at your own risk!

Year:   Month: - or - Filter committers: - or -
Filter paths:
Include diffs if smaller than lines.

2014 - 11 - 29   (today)
01:58:52 - r275227
( 3 minutes ago)
by ngie
Affects: 
(4 files)
/projects/building-blocks/share/mk/src.opts.mk
/projects/building-blocks/tools/build/*
/projects/building-blocks/usr.bin/Makefile
Make ee(1) optional via MK_EE
01:55:59 - r275226
( 6 minutes ago)
by ngie
Affects:  /projects/building-blocks/tools/build/options/WITHOUT_VI
Implement mdoc cross references
01:53:55 - r275225
( 8 minutes ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Fill in MK_VI == no
01:53:27 - r275224
( 8 minutes ago)
by ngie
Affects:  /projects/building-blocks/Makefile.inc1
/projects/building-blocks/usr.bin/vi/Makefile
share/termcap requires ex from usr.bin/vi in order to compile, and since usr.bin
comes after share in SUBDIR in Makefile.inc1, the build will fail when vi is not
installed on the build host

Run build-tools for usr.bin/vi and install ex, etc to WORLDTMP to enable
building
share/termcap on hosts that don't have nvi installed on them
00:45:09 - r275223
(1 hour 16 minutes ago)
by bapt
Affects: 
(38 files)
/head/contrib/libucl/*
/head/lib/libucl/Makefile
/head/share/mk/src.libnames.mk
Update libucl to latest version

While here correctly link libucl to libm and register the dependency on libm
for static building
00:34:47 - r275222
(1 hour 27 minutes ago)
by bapt
Affects:  /vendor/libucl/20141129
Tag import of libucl 20141129
00:33:10 - r275221
(1 hour 28 minutes ago)
by bapt
Affects: 
(47 files)
/vendor/libucl/dist/*
Update libucl to latest version
2014 - 11 - 28   (yesterday)
22:08:50 - r275220
(3 hours 53 minutes ago)
by ngie
Affects:  /projects/building-blocks/etc/root/dot.login
Remove the conditional
22:07:16 - r275219
(3 hours 54 minutes ago)
by ngie
Affects: 
(9 files)
/projects/building-blocks/share/skel/*
Install skeleton files based on the values of MK_MAIL and MK_TCSH

Customize according to MK_GAMES and MK_VI, in particular comment out lines
that would change behavior

Change dot.cshrc and dot.profile to not check for /usr/games/fortune based
on the new behavior in customizing the files
22:03:35 - r275218
(3 hours 58 minutes ago)
by bapt
Affects:  /head/usr.sbin/cron/Makefile.inc
/head/usr.sbin/fifolog/Makefile.inc
Readd Makefile.inc that were used to include upper level Makefile.inc and
set (among other things) the destination where the binary should be installed
21:09:50 - r275217
(4 hours 52 minutes ago)
by marcel
Affects:  /user/marcel/libvdsk/libvdsk/qcow.c
Code the probe a bit better so that it isn't a memory leak. Also mark
the format as writable.
21:08:23 - r275216
(4 hours 53 minutes ago)
by marcel
Affects:  /user/marcel/libvdsk/libvdsk/vhd.c
/user/marcel/libvdsk/libvdsk/vmdk.c
Flag VHD and VMDK as writable formats now that the probe seems to work
and seems to respect the flag.
21:04:28 - r275215
(4 hours 57 minutes ago)
by marcel
Affects:  /user/marcel/libvdsk/libvdsk/vdsk.c
Make a mutable copy of the libvdsk_formats linker set so that we can
white-out the formats we probed as we re-iterate over the set with
different probe flags.
20:48:53 - r275214
(5 hours 13 minutes ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
Ignore usr/share/nls
20:39:35 - r275213
(5 hours 22 minutes ago)
by cy
Affects: 
(2 files)
/stable/10/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
MFC r274744.

Set the current vnet inside the ioctl handler for ipfilter.

Without this fix, the vnet was NULL and would crash.
This fix is similar to what was done inside the ioctl handler for PF.

Tested by:
   (1) Boot a kernel with "options VIMAGE" enabled
   (2) Type:

   echo "map lo0 from 10.0.0.0/24 to ! 10.0.0.0/24 -> 127.0.0.1/32" >
/etc/ipnat.rules ; service ipnat onerestart

PR: 176992
Differential Revision: https://reviews.freebsd.org/D1191
19:21:46 - r275212
(6 hours 40 minutes ago)
by hselasky
Affects: 
(2 files)
/stable/10/sys/kern/sys_generic.c
MFC r274017, r274088 and r275205:

Provide an on-stack temporary buffer for small IOCTL requests.
Avoiding a memory allocation per IOCTL request can give a significant
speedup for applications which heavily rely on IOCTLs.
14:51:49 - r275211
(11 hours 10 minutes ago)
by bz
Affects:  /head/sys/net/if_arcsubr.c
/head/sys/net/if_fddisubr.c
/head/sys/net/if_fwsubr.c
After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
unused varibale under the proper #ifdef.
13:25:57 - r275210
(12 hours 36 minutes ago)
by dim
Affects: 
(79 files)
/projects/clang350-import/*
Merge ^/head r275118 through r275209.
12:14:59 - r275209
(13 hours 47 minutes ago)
by rea
Affects:  /head/sys/dev/drm2/drm_drv.c
DRM2: fix off-by-one overflow in ioctl processing

Call to the driver-specific ioctl used to process ioctl number
that will lead to the out-of-bounds access to the ioctl handler
array.

PR:             193367
Approved by:    kib
MFC after:      1 week
11:49:26 - r275208
(14 hours 12 minutes ago)
by andrew
Affects:  /head/sys/arm/arm/generic_timer.c
Some device tree configurations place the generic timer under the root
of the tree and not under simplebus. Update the driver to handle this.

Submitted by:   Julien Grall <julien.grall AT linaro.org>
MFC after:      1 week
11:45:53 - r275207
(14 hours 16 minutes ago)
by andrew
Affects:  /head/sys/arm/arm/generic_timer.c
We don't use the hypervisor interrupt, make it optional in the device tree.

Submitted by:   Julien Grall <julien.grall AT linaro.org>
MFC after:      1 week
10:20:00 - r275206
(15 hours 42 minutes ago)
by kib
Affects:  /head/sys/kern/kern_sig.c
Assert the state of the process lock and sigact mutex in
kern_sigprocmask() and reschedule_signals().

Discussed with: rea
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
09:32:07 - r275205
(16 hours 29 minutes ago)
by hselasky
Affects:  /head/sys/kern/sys_generic.c
Style changes:
- Move two IOCTL related defines to the top of the C-file
- Add more comments describing the recently added IOCTL small size and
small align macros
09:23:15 - r275204
(16 hours 38 minutes ago)
by mav
Affects: 
(2 files)
/stable/10/sys/cam/scsi/scsi_xpt.c
MFC r274756:
Remove residual xpt_release_device() call left after r272406 cleanup.

Excessive release here could trigger use-after-free condition and kernel
panic on LUN 0 disconnect.
08:56:37 - r275203
(17 hours 5 minutes ago)
by mav
Affects: 
(2 files)
/stable/10/sys/cam/ctl/ctl_frontend_iscsi.c
MFC r274840, r274940:
Make iSCSI frontend less chatty while waiting for tasks termination.
08:54:43 - r275202
(17 hours 7 minutes ago)
by mav
Affects: 
(2 files)
/stable/10/sys/cam/ctl/ctl.c
MFC r274790: Remove bunch of unused lun variables.
08:53:44 - r275201
(17 hours 8 minutes ago)
by mav
Affects: 
(2 files)
/stable/10/sys/cam/ctl/ctl.c
MFC r274789: Reduce race between LUN destruction and request arrival.
08:52:38 - r275200
(17 hours 9 minutes ago)
by mav
Affects: 
(2 files)
/stable/10/sys/cam/ctl/ctl.c
MFC r274786: Log errors for absent LUNs too.
04:07:06 - r275199
(21 hours 54 minutes ago)
by cy
Affects:  /head/sys/contrib/ipfilter/netinet/fil.c
/head/sys/contrib/ipfilter/netinet/ip_frag.c
Correctly define constants.

MFC after:      1 week
2014 - 11 - 27   (2 days ago)
23:42:32 - r275198
(1 day 2 hours ago)
by ngie
Affects:  /projects/building-blocks/usr.bin/vi/catalog/Makefile
Use ${.TARGET} instead of hardcoding the name in the dump build rule
23:10:03 - r275197
(1 day 2 hours ago)
by melifaro
Affects:  /head/sys/net/if_ethersubr.c
Fix build broken by r275195.
23:06:25 - r275196
(1 day 2 hours ago)
by melifaro
Affects: 
(12 files)
/head/sys/*
Do not return unlocked/unreferenced lle in arpresolve/nd6_storelladdr -
  return lle flags IFF needed.
Do not pass rte to arpresolve - pass is_gateway flag instead.
21:29:19 - r275195
(1 day 4 hours ago)
by melifaro
Affects:  /head/sys/net/if_ethersubr.c
Do not try to copy header to @dst and than back to ethernet in case of
pseudo_AF_HDRCMPLT:

we copy media header from mbuf to 'struct sockaddr' @dst in bpf_movein, so
mbuf already contains valid info.
20:24:58 - r275194
(1 day 5 hours ago)
by bapt
Affects:  /head/ObsoleteFiles.inc
Remove leftovers readline being changed to an internallib
20:22:46 - r275193
(1 day 5 hours ago)
by emaste
Affects:  /head/gnu/usr.bin/binutils/Makefile
Put each SUBDIR on a separate line

This makes it easier to review or merge changes that modify some subset
of SUBDIRs.
20:12:13 - r275192
(1 day 5 hours ago)
by emaste
Affects: 
(7 files)
/head/contrib/elftoolchain/*
Copy elftoolchain binutils replacements from vendor branch

Sponsored by:   The FreeBSD Foundation
18:43:44 - r275191
(1 day 7 hours ago)
by rdivacky
Affects:  /head/sys/boot/i386/boot2/boot2.c
Revert part of r275059. Comparing unsigned 8 bit value
against -'0' is always false so the conditional block is
optimized away.
18:41:14 - r275190
(1 day 7 hours ago)
by jhibbits
Affects:  /head/sys/dev/hwpmc/hwpmc_ppc970.c
Fix hwpmc sampling for ppc970 (G5-class) processors.

With this, hwpmc sampling now works on these processors.

MFC after:      3 weeks
Relnotes:       yes
14:54:17 - r275189
(1 day 11 hours ago)
by maxim
Affects:  /head/share/misc/bsd-family-tree
o NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.
10:51:10 - r275188
(1 day 15 hours ago)
by trasz
Affects:  /stable/10
I've merged r273770 in a right directory, but committed in a wrong one.
Fix it (hopefully).

Sponsored by:   The FreeBSD Foundation
10:48:06 - r275187
(1 day 15 hours ago)
by trasz
Affects:  /stable/10/usr.sbin/ctld/parse.y
MFC r273770:

Fix build after previous commit.  While here, improve error messages.

Sponsored by:   The FreeBSD Foundation
10:45:55 - r275186
(1 day 15 hours ago)
by trasz
Affects: 
(3 files)
/stable/10/usr.sbin/ctld/parse.y
/stable/10/usr.sbin/ctld/token.l
MFC r273768:

Remove the distinction between strings and numbers from ctld(8) yacc parser.
This fixes problems with passing strings that look like numbers to clauses
that expect strings; previously it caused syntax errors and had to be worked
by user, using quotes.  The workaround introduced in r267833 is no longer
neccessary.

Sponsored by:   The FreeBSD Foundation
10:31:11 - r275185
(1 day 15 hours ago)
by trasz
Affects: 
(2 files)
/stable/10/share/man/man4/ctl.4
MFC r273690:

Mention VAAI and ODX in ctl(4).

Sponsored by:   The FreeBSD Foundation
09:53:17 - r275184
(1 day 16 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Populate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add
minimal bits to MK_LIB32
09:50:12 - r275183
(1 day 16 hours ago)
by ngie
Affects:  /projects/building-blocks/sys/modules/Makefile
Honor MK_AUTOFS
09:42:40 - r275182
(1 day 16 hours ago)
by ngie
Affects: 
(8 files)
/projects/building-blocks/*
Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG
09:40:36 - r275181
(1 day 16 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression
09:17:42 - r275180
(1 day 16 hours ago)
by n_hibma
Affects:  /head/tools/tools/nanobsd/nanobsd.sh
clean_build is not always done (*), so move the mkdir to the first step
that needs it and is always done: make.conf build.

(*) In our build environment we actually never do a clean build unless
instructed to do so, to make sure we do not accidentally delete the
built world when on a tight schedule.
08:41:31 - r275179
(1 day 17 hours ago)
by ae
Affects: 
(2 files)
/stable/10/sbin/fsck/fsck.c
MFC r274750:
  Use geom attribute "PART::type" to determine partition type and choose
  relevant fsck_xxx utility.
08:31:20 - r275178
(1 day 17 hours ago)
by ngie
Affects:  /projects/building-blocks/usr.sbin/bsdconfig/Makefile
Honor MK_EXAMPLES
07:56:28 - r275177
(1 day 18 hours ago)
by ngie
Affects:  /projects/building-blocks/usr.sbin/ppp/Makefile
Handle MK_RADIUS_SUPPORT in usr.sbin/ppp
07:49:25 - r275176
(1 day 18 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/Makefile
Only install libmap32.conf if MK_LIB32 != no
07:33:50 - r275175
(1 day 18 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
Until I teach bsd.*.mk to accept NO_ROOT, make this script only accept root
users
07:26:20 - r275174
(1 day 18 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/mtree/BSD.root.dist
Remove /etc/X11 entry from BSD.root.dist

- FreeBSD hasn't packaged X11 with the distro since 8.x
- X.org hasn't required xorg.conf [in /etc/X11] for some time now
- X.org should work with ${LOCALBASE}/etc/X11
- This path should be included in the X.org package manifest
07:19:36 - r275173
(1 day 18 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
/projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Ignore boot and remove from MK_BOOT additions done in previous commit
07:17:32 - r275172
(1 day 18 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Fill in MK_BOOT for amd64
06:42:34 - r275171
(1 day 19 hours ago)
by jhibbits
Affects:  /head/sys/dev/hwpmc/hwpmc_mpc7xxx.c
Fix hwpmc sampling for MPC74xxx (G4) processors.

With this, hwpmc sampling now works correctly on these processors.

MFC after:      3 weeks
Relnotes:       yes
06:04:00 - r275170
(1 day 19 hours ago)
by ngie
Affects: 
(6 files)
/head/ObsoleteFiles.inc
/head/sbin/mdconfig/tests/*
Convert sbin/mdconfig/tests from prove format tests to ATF format tests

As a side effect...
1. The tests now checks for the root user before continuing with kyua, which is
   more visible than the test being skipped with the TAP protocol
2. The tests work with devices that aren't /dev/md0 by caching the device
   attached during the test to a file, and later use the cached information to
   detach the device in the cleanup routine
3. The tests no longer require perl to run

MFC after: 1 week
PR: 191191
Sponsored by: EMC / Isilon Storage Division
06:00:27 - r275169
(1 day 20 hours ago)
by dchagin
Affects: 
(1209 files)
/user/dchagin/lemul/*
MFH
04:23:00 - r275168
(1 day 21 hours ago)
by ngie
Affects:  /projects/building-blocks/lib/Makefile
/projects/building-blocks/lib/libpam/modules/modules.inc
Fix typos: MK_RADIUS -> MK_RADIUS_SUPPORT
04:19:01 - r275167
(1 day 21 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Populate MK_CUSE, MK_NETGRAPH, MK_NETGRAPH_SUPPORT, and MK_RADIUS_SUPPORT
04:16:47 - r275166
(1 day 21 hours ago)
by ngie
Affects: 
(5 files)
/projects/building-blocks/*
Implement MK_RADIUS_SUPPORT to make libradius and assorted support optional
04:01:39 - r275165
(1 day 22 hours ago)
by ngie
Affects:  /projects/building-blocks/include/Makefile
Honor MK_ATM, MK_CUSE, and MK_NETGRAPH_SUPPORT

Shuffle around conditionals so they're better sorted
03:59:57 - r275164
(1 day 22 hours ago)
by ngie
Affects:  /projects/building-blocks/share/mk/src.opts.mk
Implement knobs for MK_NETGRAPH_SUPPORT
02:15:35 - r275163
(1 day 23 hours ago)
by emaste
Affects:  /head/lib/libc/net/base64.c
ANSIfy b64_pton
01:37:01 - r275162
(2 days ago)
by kevlo
Affects:  /head/usr.bin/dc/stack.c
Init array field in the proper place.

Obtained from:  OpenBSD
00:39:01 - r275161
(2 days 1 hour ago)
by dim
Affects:  /projects/clang350-import/contrib/llvm/patches/patch-17-llvm-r222856-libapr-miscompile.diff
Add patch file for r275160.
00:33:31 - r275160
(2 days 1 hour ago)
by dim
Affects:  /projects/clang350-import/contrib/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Pull in r222856 from upstream llvm trunk (by David Majnemer):

  Revert "Added inst combine transforms for single bit tests from Chris's note"

  This reverts commit r210006, it miscompiled libapr which is used in who
  knows how many projects.

  A test has been added to ensure that we don't regress again.

This fixes a miscompilation in libapr, which caused problems in svnlite.
00:27:39 - r275159
(2 days 1 hour ago)
by ae
Affects:  /head/sys/netipsec/xform.h
Remove ip4_input() declaration. It was removed in r275133.

MFC after:      1 month
00:10:59 - r275158
(2 days 1 hour ago)
by ngie
Affects:  /projects/building-blocks/share/man/man4/Makefile
Honor MK_NETGRAPH for netgraph manpages
00:10:16 - r275157
(2 days 1 hour ago)
by ngie
Affects:  /projects/building-blocks/share/examples/Makefile
Honor MK_NETGRAPH for netgraph components
00:02:42 - r275156
(2 days 1 hour ago)
by ngie
Affects:  /projects/building-blocks/sys/modules/Makefile
Only build iscsi/iscsi_initiator if MK_ISCSI != no
2014 - 11 - 26   (3 days ago)
23:57:12 - r275155
(2 days 2 hours ago)
by dim
Affects:  /projects/clang350-import/contrib/llvm/patches/patch-14-llvm-r215352-aarch64-dyn-loader.diff
/projects/clang350-import/contrib/llvm/patches/patch-15-llvm-r216571-dynamiclib-usability.diff
/projects/clang350-import/contrib/llvm/patches/patch-16-clang-r221900-freebsd-aarch64.diff
Add patch files for r275152, r275153 and r275154.
23:54:23 - r275154
(2 days 2 hours ago)
by dim
Affects:  /projects/clang350-import/contrib/llvm/tools/clang/lib/Basic/Targets.cpp
Pull in r221900 from upstream clang trunk (by Ed Maste):

  Hook up FreeBSD AArch64 support

  Patch from Andrew Turner.
23:53:35 - r275153
(2 days 2 hours ago)
by dim
Affects:  /projects/clang350-import/contrib/llvm/include/llvm/Support/DynamicLibrary.h
Pull in r216571 from upstream llvm trunk (by Zachary Turner):

  Fix some semantic usability issues with DynamicLibrary.

  This patch allows invalid DynamicLibrary instances to be
  constructed, and fixes the const-correctness of the isValid()
  method.

  No functional change.

This is needed for supporting the upgrade to a newer LLDB snapshot.
23:52:59 - r275152
(2 days 2 hours ago)
by dim
Affects:  /projects/clang350-import/contrib/llvm/include/llvm/Support/ELF.h
/projects/clang350-import/contrib/llvm/lib/Object/ELF.cpp
Pull in r215352 from upstream llvm trunk (by Tim Northover):

  AArch64: add support for dynamic-loader relocations

  LLD needs them, and it's good to be able to print them properly when
  our object dumpers encounter them.

  Patch by Daniel Stewart.

This is needed for supporting the upgrade to a newer LLDB snapshot.
23:28:16 - r275151
(2 days 2 hours ago)
by dim
Affects:  /projects/clang350-import/sys/conf/Makefile.arm
Since for clang 3.5.0 ARM EHABI is now the default, the -mllvm
-arm-enable-ehabi flag is no longer supported.  Use it only for older
versions of clang.
23:07:54 - r275150
(2 days 2 hours ago)
by ngie
Affects:  /projects/building-blocks/sys/modules/Makefile
Move hyperv/vmm under MK_HYPERV/MK_BHYVE, respectively
23:02:22 - r275149
(2 days 2 hours ago)
by gjb
Affects:  /svnadmin/conf/approvers
Remove commented entries for stable/ branches that will
not have any additional releases.

Approved by:    re (implicit)
Sponsored by:   The FreeBSD Foundation
23:01:16 - r275148
(2 days 3 hours ago)
by gjb
Affects:  /svnadmin/conf/approvers
Turn releng/10.1 over to secteam.

Approved by:    re (implicit)
Sponsored by:   The FreeBSD Foundation
22:41:51 - r275147
(2 days 3 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/rc.d/Makefile
/projects/building-blocks/share/man/man4/Makefile
/projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
- Fill in MK_LEGACY_CONSOLE == no and SYSCONS == no
- Don't install syscons(4)
- Don't install the moused or syscons rc.d scripts if MK_LEGACY_CONSOLE == no
22:27:31 - r275146
(2 days 3 hours ago)
by ngie
Affects:  /projects/building-blocks/usr.sbin/Makefile.amd64
/projects/building-blocks/usr.sbin/Makefile.i386
Followup to r275144 -- don't traverse down usr.sbin/zzz if ACPI/APM are disabled
22:26:22 - r275145
(2 days 3 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
- Fix egrep -> grep typo introduced in previous commit
- Do depth-first search on OLD_DIRS so the list is logically sorted
21:53:53 - r275144
(2 days 4 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Installing zzz(8) doesn't make sense when both ACPI and APM are disabled
21:32:12 - r275143
(2 days 4 hours ago)
by ngie
Affects:  /projects/building-blocks/share/man/man4/Makefile
Add missing line continuation
21:18:52 - r275142
(2 days 4 hours ago)
by ngie
Affects: 
(6 files)
/projects/building-blocks/include/Makefile
/projects/building-blocks/share/*
/projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries
21:17:32 - r275141
(2 days 4 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
- Handle OLD_LIBS properly by looking for versioned .so's
- Filter out /usr/libdata and /usr/libdata/pkgconfig from OLD_DIRS
20:56:08 - r275140
(2 days 5 hours ago)
by emaste
Affects:  /head/sys/sys/pmc.h
Increase default and maximum callchain depths

Bump the default from 16 to 32, to accommodate kernel flamegraphs.
Bump the maximum from 32 to 128, to accommodate deep user stacks.

Reviewed by:    gnn
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1203
20:44:54 - r275139
(2 days 5 hours ago)
by gjb
Affects:  /head/share/man/man5/src.conf.5
Regen src.conf(5) after r275138.

Sponsored by:   The FreeBSD Foundation
20:43:09 - r275138
(2 days 5 hours ago)
by gjb
Affects: 
(4 files)
/head/tools/build/options/*
Whitespace cleanup to fix rendering nits in
src.conf(5).

Sponsored by:   The FreeBSD Foundation
20:34:05 - r275137
(2 days 5 hours ago)
by adrian
Affects:  /head/sys/dev/usb/controller/ehci_pci.c
Add PCI ID for Intel Lynx Point LP controller.

PR:             kern/195398
Submitted by:   grembo
Obtained from:  DragonflyBSD
MFC after:      1 week
20:19:36 - r275136
(2 days 5 hours ago)
by alfred
Affects: 
(4 files)
/head/sys/dev/*
/head/sys/kern/subr_bus.c
/head/sys/sys/bus.h
Make igb and ixgbe check tunables at probe time.

This allows one to make a kernel module to tune the
number of queues before the driver loads.

This is needed so that a module at SI_SUB_CPU can set
tunables for these drivers to take.  Otherwise getenv
is called too early by the TUNABLE macros.

Reviewed by: smh
Phabric: https://reviews.freebsd.org/D1149
18:03:25 - r275135
(2 days 7 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/DataFormatters/NSArray.cpp
/projects/clang350-import/contrib/llvm/tools/lldb/source/lldb.cpp
Remove additional platform-specific LLDB code
18:02:22 - r275134
(2 days 7 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp
Revert LLDB changes for Clang/LLVM 3.5 API compatibility

This reverts the following upstream revisions:

      SVN      git
    214335  59a1f270
    214340  42f16b1e
17:44:49 - r275133
(2 days 8 hours ago)
by ae
Affects: 
(4 files)
/head/ObsoleteFiles.inc
/head/sys/netipsec/*
Do not use xform_ipip as decapsulation fallback.

xform_ipip was used as fallback with low priority for IPIP
encapsulated packets that were decrypted. In some cases
it can decapsulate packets, that it shouldn't. This leads to situations,
when wrong configurations are magically working. Also it can propagate
wrong ingress interface and this can break security.

Now we redesigned the IPSEC code and IPIP encapsulation is called directly
from ipsec_output, and decapsulation is done in the ipsec_input with m_striphdr.

Differential Revision:  https://reviews.freebsd.org/D1220
MFC after:      1 month
Sponsored by:   Yandex LLC
17:40:03 - r275132
(2 days 8 hours ago)
by emaste
Affects: 
(27 files)
/projects/clang350-import/lib/clang/*
/projects/clang350-import/usr.bin/clang/lldb/Makefile
Update build for LLDB snapshot at upstream rev 216948

Sponsored by:   DARPA, AFRL
17:32:20 - r275131
(2 days 8 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/lldb.cpp
Remove LLDB platform support not currently of interest to us
17:29:01 - r275130
(2 days 8 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h
/projects/clang350-import/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h
Update paths for FreeBSD build infrastructure

This same change was applied upstream in a later verison.
17:24:12 - r275129
(2 days 8 hours ago)
by emaste
Affects: 
(2 files)
/projects/clang350-import/contrib/llvm/tools/lldb/source/Host/posix/HostInfoPosix.cpp
There is no Python in the FreeBSD base system
17:22:37 - r275128
(2 days 8 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/DataFormatters/NSArray.cpp
Avoid need for AppleObjCRuntime on FreeBSD

Since it is unlikely to provide much value to us, just #if 0 it away

Sponsored by:   DARPA, AFRL
17:09:58 - r275127
(2 days 8 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp
/projects/clang350-import/contrib/llvm/tools/lldb/source/Expression/IRExecutionUnit.cpp
/projects/clang350-import/contrib/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp
Revert LLDB changes for Clang/LLVM 3.5 API compatibility

This reverts the following upstream revisions:

     SVN       git
    214501  26d6f063
    215969  a083c0db
    216603  ee9cd340
    216810  f534f503

Sponsored by:   DARPA, AFRL
16:48:12 - r275126
(2 days 9 hours ago)
by emaste
Affects: 
(648 files)
/projects/clang350-import/contrib/llvm/tools/lldb/include/lldb/*
/projects/clang350-import/contrib/llvm/tools/lldb/source/*
/projects/clang350-import/contrib/llvm/tools/lldb/tools/*
Update LLDB snapshot to upstream r216948 (git 50f7fe44)

This is approximately "LLDB 3.5" although with a little bit of skew,
and will go along with the Clang 3.5 import.

Sponsored by:   DARPA, AFRL
16:23:32 - r275125
(2 days 9 hours ago)
by emaste
Affects:  /projects/clang350-import/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp
/projects/clang350-import/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp
Revert Clang 3.4 API compatibility changes

Re-apply previously reverted changes to restore LLDB to parity with
the last update as of upstream revision 202189. This is the first step
an LLDB update to correspond with the Clang 3.5 import and re-applies
the following upstream revisions:

      SVN      git
    199408  3ad0a1a1
    199689  05be72c3
    200085  9ad47a93

Sponsored by:   DARPA, AFRL
16:05:01 - r275124
(2 days 9 hours ago)
by mav
Affects:  /head/sys/dev/isp/isp_freebsd.c
Fix WWNN/WWPN generation for virtual channels.

MFC after:      1 week
15:03:21 - r275123
(2 days 10 hours ago)
by mav
Affects:  /head/sys/dev/isp/isp.c
Fix incorrect check, blocking MULTIID functionality.

MFC after:      1 week
14:36:04 - r275122
(2 days 11 hours ago)
by dim
Affects: 
(222 files)
/projects/clang350-import/*
After some horrible wrestling with Subversion's worthless merge
implementation, merge ^/head r275078 through r275117.

Note that all the extraneous mergeinfo is there because Subversion
created it.  I'll hopefully be able to remove it again when merging back
to head.
14:10:00 - r275121
(2 days 11 hours ago)
by kib
Affects: 
(15 files)
/head/sys/*
The process spin lock currently has the following distinct uses:

- Threads lifetime cycle, in particular, counting of the threads in
  the process, and interlocking with process mutex and thread lock.
  The main reason of this is that turnstile locks are after thread
  locks, so you e.g. cannot unlock blockable mutex (think process
  mutex) while owning thread lock.

- Virtual and profiling itimers, since the timers activation is done
  from the clock interrupt context.  Replace the p_slock by p_itimmtx
  and PROC_ITIMLOCK().

- Profiling code (profil(2)), for similar reason.  Replace the p_slock
  by p_profmtx and PROC_PROFLOCK().

- Resource usage accounting.  Need for the spinlock there is subtle,
  my understanding is that spinlock blocks context switching for the
  current thread, which prevents td_runtime and similar fields from
  changing (updates are done at the mi_switch()).  Replace the p_slock
  by p_statmtx and PROC_STATLOCK().

The split is done mostly for code clarity, and should not affect
scalability.

Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
14:09:04 - r275120
(2 days 11 hours ago)
by kib
Affects:  /head/sys/kern/kern_sig.c
Fix SA_SIGINFO | SA_RESETHAND handling. The sysent' sv_sendsig()
method needs pre-reset state of the ps_siginfo to correctly construct
signal frame.

Move sigdflt() call after the sv_sendsig() invocation in postsig().
Simultaneously extract common code from trapsignal() and postsig()
into new helper postsig_done().

Submitted by:   rea
MFC after:      1 week
14:01:27 - r275119
(2 days 12 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS

Convention in the file is that .a files be added to OLD_FILES and versioned
.so's
be added to OLD_LIBS
13:56:54 - r275118
(2 days 12 hours ago)
by mav
Affects:  /head/sys/dev/isp/isp_freebsd.c
/head/sys/dev/isp/isp_freebsd.h
Some microoptimizations.

MFC after:      1 month
13:26:12 - r275117
(2 days 12 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
Ignore LIBPRIVATEDIR when suggesting directories to prune
13:25:09 - r275116
(2 days 12 hours ago)
by ngie
Affects: 
(5 files)
/projects/building-blocks/*
Add MK_TIMED option for optionally building usr.sbin/timed, et al
12:54:58 - r275115
(2 days 13 hours ago)
by ngie
Affects:  /projects/building-blocks/include/protocols/Makefile
/projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Account for /usr/include/protocols/r{outed,whod}.h with their respective build
knobs
12:49:37 - r275114
(2 days 13 hours ago)
by ngie
Affects:  /projects/building-blocks/include/protocols/Makefile
Fix some accidentally inverted logic
12:46:23 - r275113
(2 days 13 hours ago)
by ngie
Affects:  /user/ngie/optional-require
Create another branch for dealing with optional requirements in rc.d
12:25:00 - r275112
(2 days 13 hours ago)
by mav
Affects:  /head/sys/dev/isp/isp_library.c
Make isp_find_pdb_by_*() search for targets in portdb in reverse order.

Records with target_mode == 1 are allocated from the end of portdb, so it
seems logical to start search from the end not traverse whole array.

MFC after:      1 month
11:41:12 - r275111
(2 days 14 hours ago)
by glebius
Affects: 
(683 files)
/projects/sendfile/*
Merge head r258543 through r275110.
10:58:08 - r275110
(2 days 15 hours ago)
by hselasky
Affects:  /head/sys/dev/usb/quirk/usb_quirk.c
/head/sys/dev/usb/usbdevs
Add new USB quirk.

MFC after:      1 week
PR:             195372
09:51:38 - r275109
(2 days 16 hours ago)
by hselasky
Affects: 
(5 files)
/head/contrib/ofed/libmlx4/src/*
Add support for 64-byte CQE size.

Sponsored by:   Mellanox Technologies
MFC after:      3 days
09:43:31 - r275108
(2 days 16 hours ago)
by hselasky
Affects: 
(4 files)
/stable/9/contrib/ofed/librdmacm/examples/build
/stable/9/contrib/ofed/librdmacm/examples/rping.c
/stable/9/contrib/ofed/usr.lib/Makefile.inc
MFC r273774:
Make some infiniband example utilities easily buildable:
- Add new Makefiles.
- Add more include directories when building.
- Fixed a printf() formatting string.

Sponsored by:   Mellanox Technologies
09:37:35 - r275107
(2 days 16 hours ago)
by hselasky
Affects: 
(4 files)
/stable/10/contrib/ofed/librdmacm/examples/build
/stable/10/contrib/ofed/librdmacm/examples/rping.c
/stable/10/contrib/ofed/usr.lib/Makefile.inc
MFC r273774:
Make some infiniband example utilities easily buildable:
- Add new Makefiles.
- Add more include directories when building.
- Fixed a printf() formatting string.

Sponsored by:   Mellanox Technologies
08:44:05 - r275106
(2 days 17 hours ago)
by ngie
Affects: 
(21 files)
/projects/building-blocks/*
Conditionalize a number of components in the tree

- bootparamd
- bootpd
- finger/fingerd
- ftp/ftpd
- hastctl/hastd
- iscsid, et al
- rbootd
- talk/talkd
- tcpd, et al
- tftp/tftpd

Add src.conf entries for the various components and do a best effort
at adding components to tools/build/mk/OptionalObsoleteFiles.inc
08:14:30 - r275105
(2 days 17 hours ago)
by bapt
Affects:  /head/share/mk/bsd.libnames.mk
Remove MINUSLPAM the LIBADD framework handles static dependencies just fine
08:12:21 - r275104
(2 days 17 hours ago)
by bapt
Affects:  /head/release/picobsd/tinyware/login/Makefile
/head/release/picobsd/tinyware/oinit/Makefile
/head/release/picobsd/tinyware/passwd/Makefile
Convert to LIBADD
08:09:44 - r275103
(2 days 17 hours ago)
by bapt
Affects:  /head/lib/libpam/libpam/tests/Makefile
Convert to LIBADD
06:54:17 - r275102
(2 days 19 hours ago)
by ngie
Affects:  /projects/building-blocks/Makefile.inc1
Don't try and build 32-bit versions of hyperv / bhyve
04:23:21 - r275101
(2 days 21 hours ago)
by mav
Affects: 
(11 files)
/head/sys/dev/*
Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.

MFC after:      1 week
03:38:12 - r275100
(2 days 22 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
MK_HYPERV:
  Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS
02:59:37 - r275099
(2 days 23 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/pam.d/Makefile
/projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
or MK_TELNET == no, respectively
02:46:48 - r275098
(2 days 23 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/rc.d/Makefile
/projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set
02:37:00 - r275097
(2 days 23 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Missed the bsnmp config file
02:20:25 - r275096
(2 days 23 hours ago)
by delphij
Affects:  /head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
Revert r273060 per discussion with avg@ as we need to make L2ARC
aware of 4K devices and this one is not the right fix anyway.
00:58:36 - r275095
(3 days 1 hour ago)
by marcel
Affects: 
(4 files)
/user/marcel/libvdsk/libvdsk/*
Add qcow.c, vhd.c and vmdk.c for adding support for QCOW, VHD and VMDK
(resp.). These formats return nothing but errors, but help to test the
probe logic.
It's generally good to be able to detect a format, even if support for
it is not present. It avoids treating the file as a raw disk.
00:48:07 - r275094
(3 days 1 hour ago)
by np
Affects: 
(5 files)
/stable/8/sys/dev/cxgbe/common/common.h
/stable/8/sys/dev/cxgbe/t4_main.c
MFC r274724:
cxgbe(4): figure out the max payload size and save it for later.
00:47:36 - r275093
(3 days 1 hour ago)
by np
Affects: 
(4 files)
/stable/9/sys/dev/cxgbe/common/common.h
/stable/9/sys/dev/cxgbe/t4_main.c
MFC r274724:
cxgbe(4): figure out the max payload size and save it for later.
00:44:48 - r275092
(3 days 1 hour ago)
by np
Affects: 
(3 files)
/stable/10/sys/dev/cxgbe/common/common.h
/stable/10/sys/dev/cxgbe/t4_main.c
MFC r274724:
cxgbe(4): figure out the max payload size and save it for later.
00:13:51 - r275091
(3 days 1 hour ago)
by ngie
Affects:  /projects/building-blocks/libexec/rpc.rusersd/Makefile
Remove deadcode
00:06:21 - r275090
(3 days 1 hour ago)
by marcel
Affects: 
(4 files)
/user/marcel/libvdsk/libvdsk/*
Rewrite the raw disk support as a file format. This involves:
1.  Defining a structure to represent a file format,
2.  Implement an ordered probe to match formats to opened files,
3.  Move calls to preadv(2), pwritev(2) and fsync(2) in the API functions
    into the format-specific methods,
4.  Change the API functions into thin wrappers around the methods.

The ordered probe combines priority with capability. The priority is
based on the presence and location of metadata. The capabilities
are for writing and support for device special files. The intend is
to have the raw format probe as a last resort as ithere's no metadata
associated with the format.
2014 - 11 - 25   (4 days ago)
23:01:01 - r275089
(3 days 3 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/add-optional-obsolete-files-entries.sh
Add script I'm using to add entries to OptionalObsoleteFiles.inc
22:45:35 - r275088
(3 days 3 hours ago)
by bapt
Affects:  /head/tools/tools/mwl/mwlstats/Makefile
/head/tools/tools/npe/npestats/Makefile
Convert to LIBADD
22:43:17 - r275087
(3 days 3 hours ago)
by bapt
Affects:  /head/kerberos5/lib/libkrb5/Makefile
Remove now useless USEPRIVATELIB
22:39:59 - r275086
(3 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Remove all remnant ugly LD<lbname> but atf one until the aft framework knows
about LIBADD
22:38:16 - r275085
(3 days 3 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Add more MK_BSNMP == no entries for things not caught due to custom
settings in $SRCCONF
22:37:27 - r275084
(3 days 3 hours ago)
by bapt
Affects:  /head/tools/tools/ath/athaggrstats/Makefile
/head/tools/tools/ath/athstats/Makefile
/head/tools/tools/net80211/wlanstats/Makefile
Convert to LIBADD
22:25:13 - r275083
(3 days 3 hours ago)
by bapt
Affects: 
(12 files)
/head/secure/*
Reduce overlinking
The framework now ensure by itself that pthread is added to the link chain
as the last component if linked to kerberos hence avoid with out any explicit
addition prevent issue like CVE-2014-8475
22:17:31 - r275082
(3 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Register the explicit (pthread) and implicit (for static) dependencies for
kerberos
22:16:43 - r275081
(3 days 3 hours ago)
by dteske
Affects: 
(15 files)
/stable/9/*
Revert revisions 275047, 275051, and 275056.
Oops, dpv(1,3) requires dialog-1.2-20130923 or higher (which I
introduced to HEAD via r255852 prior to the creation of the
stable/10 branch; however it never got merged to stable/9 so
we can't have dpv in stable/9).

Brief summary of reverted revisions:
r275047: Add dpv(1,3)/figpar(3)
r275051: Fixes
r275056: Enable compilation of dpv(1,3)

Pointy-hat:     me
22:10:31 - r275080
(3 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Defines the libssh dependencies
21:43:51 - r275079
(3 days 4 hours ago)
by bapt
Affects: 
(9 files)
/head/usr.bin/svn/*
Convert svn to LIBADD reduce overlinking
21:43:01 - r275078
(3 days 4 hours ago)
by dim
Affects: 
(560 files)
/projects/clang350-import/*
r274961 through r275075
21:18:18 - r275077
(3 days 4 hours ago)
by bapt
Affects: 
(53 files)
/head/gnu/*
/head/libexec/*
/head/secure/*
Convert to LIBADD
Reduce overlinking
21:16:44 - r275076
(3 days 4 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Define missing libraries to be able to convert gnu, cddl and secure to LIBADD
21:08:31 - r275075
(3 days 4 hours ago)
by dim
Affects:  /projects/clang350-import/sys/boot/pc98/boot2/Makefile
Similar to r274977, use the correct combination of flags to get the pc98
boot2 below the limit.
21:03:04 - r275074
(3 days 4 hours ago)
by emaste
Affects:  /vendor/lldb/lldb-r216948
Tag LLDB r216948
21:01:08 - r275073
(3 days 5 hours ago)
by jamie
Affects: 
(5 files)
/head/lib/libjail/*
/head/usr.sbin/jail/*
In preparation for using clang's -Wcast-qual:

Use __DECONST (instead of my own attempted re-invention) for the iov
parameters to jail_get/set(2).  Similarly remove the decost-ish hack
from execvp's argv, except the __DECONST is only added at very end.

While I'm at it, remove an unused variable and fix a comment typo.
21:00:58 - r275072
(3 days 5 hours ago)
by emaste
Affects: 
(827 files)
/vendor/lldb/dist/include/lldb/*
/vendor/lldb/dist/source/*
/vendor/lldb/dist/tools/*
Import LLDB as of upstream SVN r216948 (git 50f7fe44)

This corresponds with the branchpoint for the 3.5 release.
A number of files not required for the FreeBSD build have been removed.

Sponsored by:   DARPA, AFRL
20:59:22 - r275071
(3 days 5 hours ago)
by delphij
Affects:  /head/lib/libc/gen/syslog.c
Reinstitate send() after syslogd restarts.

In r228193 the test of CONNPRIV have been moved to before the _usleep
and send in vsyslog().  When syslogd restarts, this would prevent the
message being logged after the disconnect/connect dance for
scenario #1.

PR:             194751
Submitted by:   Peter Creath <pjcreath+freebsd gmail com>
Reviewed By:    glebius
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D1227
19:45:28 - r275070
(3 days 6 hours ago)
by ngie
Affects:  /projects/building-blocks/lib/Makefile
Don't build/install lib/libvmmapi if MK_BHYVE == no

Suggested by: grehan
19:38:23 - r275069
(3 days 6 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/mk/OptionalObsoleteFiles.inc
Fill in entries for MK_BSNMP == no
19:37:55 - r275068
(3 days 6 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/rc.d/Makefile
Only install etc/rc.d/bsnmpd if MK_BSNMP == yes
19:20:25 - r275067
(3 days 6 hours ago)
by ngie
Affects: 
(7 files)
/projects/building-blocks/share/*
/projects/building-blocks/tools/build/*
/projects/building-blocks/usr.sbin/Makefile.amd64
Make building/installing bhyve optional via MK_BHYVE on amd64

Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)
19:17:12 - r275066
(3 days 6 hours ago)
by ngie
Affects:  /projects/building-blocks/tools/build/options/WITH_HYPERV
Add an additional src.conf doc snippet for WITH_HYPERV
19:13:03 - r275065
(3 days 6 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Sort libraries definitions

Reported by:    bjk
19:07:31 - r275064
(3 days 6 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Remove duplicated krb5

Reported by:    markj
19:01:49 - r275063
(3 days 7 hours ago)
by ngie
Affects:  /projects/building-blocks/share/mk/src.opts.mk
/projects/building-blocks/usr.sbin/Makefile.i386
Make src.opts.mk the source of truth for whether or not to build hyperv

In particular, according to several Makefiles it can only be built/run on
amd64 and i386/i386. It isn't supported on i386/pc98
18:58:40 - r275062
(3 days 7 hours ago)
by rdivacky
Affects:  /head/sys/boot/i386/boot2/boot2.c
Fix style(9).

Suggested by: jkim
18:53:17 - r275061
(3 days 7 hours ago)
by rdivacky
Affects:  /head/sys/boot/i386/boot2/boot2.c
Fix style(9).

Suggested by: jkim
18:39:37 - r275060
(3 days 7 hours ago)
by emaste
Affects:  /head/lib/libc/net/base64.c
Fix b64_pton output buffer overrun test for exact-sized buffer

b64_pton would sometimes erroneously fail to decode a base64 string into
a precisely sized buffer. The overflow check was a little too greedy.

Reported by:    Ted Unangst on freebsd-hackers@
Reviewed by:    loos, trasz
Obtained from:  OpenBSD
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1218
18:35:47 - r275059
(3 days 7 hours ago)
by rdivacky
Affects:  /head/sys/boot/i386/boot2/boot2.c
Shrink boot2 by a couple more bytes.

Reviewed by:    jhb
Tested by:      me, dim
17:53:35 - r275058
(3 days 8 hours ago)
by mav
Affects: 
(7 files)
/head/sys/cam/ctl/*
Coalesce last data move and command status for read commands.

Make CTL core and block backend set success status before initiating last
data move for read commands.  Make CAM target and iSCSI frontends detect
such condition and send command status together with data.  New I/O flag
allows to skip duplicate status sending on later fe_done() call.

For Fibre Channel this change saves one of three interrupts per read command,
increasing performance from 126K to 160K IOPS.  For iSCSI this change saves
one of three PDUs per read command, increasing performance from 1M to 1.2M
IOPS.

MFC after:      1 month
Sponsored by:   iXsystems, Inc.
17:33:22 - r275057
(3 days 8 hours ago)
by sbruno
Affects:  /head/sys/mips/conf/WZR-HPAG300H
/head/sys/mips/conf/WZR-HPAG300H.hints
Add support for Buffalo WZR-HP-AG300H atheros MIPS router.

Special thanks to Nicholas Esborn for the loaner router to get this
target bootstrapped.

Review:  D777
Reviewed by:    adrian
Sponsored by:   Nicholas Esborn <nick@desert.net>
17:08:15 - r275056
(3 days 8 hours ago)
by dteske
Affects:  /stable/9/lib/Makefile
/stable/9/usr.bin/Makefile
Similar to r274192: Enable dpv(1,3): Introduced [disabled] via r275047.
This is a direct commit to stable/9 because stable/10 and above use a
better dependency calculation routine (versus simple ordering).

Thanks to:      ngie, ian, jelischer, shurd, bapt
17:07:56 - r275055
(3 days 8 hours ago)
by marcel
Affects: 
(5 files)
/user/marcel/libvdsk/bhyve/*
/user/marcel/libvdsk/bhyveload/bhyveload.c
/user/marcel/libvdsk/libvdsk/*
Change the prototypes of vdsk_readv() and vdsk_writev() so that they
don't return the amount read or written with -1 indicating an error,
but rather just return the error. We don't support partial reads or
partial writes, so trying to be like the quirky POSIX interface is
just quirky.

Rename the functions by dropping the v suffix. We're less like preadv
and pwritev now than before and we don't have the non-iovec variants
to distinguish from.
16:57:27 - r275054
(3 days 9 hours ago)
by bapt
Affects: 
(163 files)
/head/usr.sbin/*
Convert usr.sbin to LIBADD
Reduce overlinking
16:53:22 - r275053
(3 days 9 hours ago)
by br
Affects:  /head/sys/conf/files
/head/sys/conf/files.amd64
/head/sys/conf/files.i386
o Add Virtio MMIO bus driver to config
o Move Virtio-related to common config file
16:51:06 - r275052
(3 days 9 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Defined the needed library to convert usr.sbin to LIBADD
16:45:40 - r275051
(3 days 9 hours ago)
by dteske
Affects: 
(13 files)
/stable/9/*
MFC r274120, r274121, r274123, r274146, r274192, r274203, r274209,
r274226, r274270, and r274851: dpv(1,3)/figpar(3) fixes after r275047

Thanks to:      ngie, ian, jelischer, shurd, bapt
16:24:31 - r275050
(3 days 9 hours ago)
by br
Affects:  /head/sys/arm/altera/socfpga/files.socfpga
/head/sys/arm/conf/SOCKIT-BERI
/head/sys/conf/files
Add new devices to the config.
16:06:19 - r275049
(3 days 9 hours ago)
by br
Affects:  /head/sys/arm/altera/socfpga/socfpga_machdep.c
/head/sys/boot/fdt/dts/arm/socfpga-sockit-beri.dts
/head/sys/dev/beri/virtio/virtio.h
o Add PIO and vtblk mmio device info to the tree
o Add FPGA memory window to static dev mappings
o Fix whitespace
15:58:59 - r275048
(3 days 10 hours ago)
by br
Affects:  /head/sys/dev/beri/virtio/virtio.c
/head/sys/dev/beri/virtio/virtio.h
/head/sys/dev/beri/virtio/virtio_block.c
Add BERI-specific virtio block backend device driver.
This part intended to operate on ARM side in heterogeneous
(ARM/BERI) system on crystal.
15:49:51 - r275047
(3 days 10 hours ago)
by dteske
Affects: 
(10 files)
/stable/9/*
MFC r274116:

Add new libraries/utilities for data throughput visualization.
dpv(3): dialog progress view library
dpv(1): stream data from stdin or multiple paths with dialog progress view
figpar(3): configuration file parsing library

MFC r274124: Temporarily _disable_ compilation of dpv(1,3)

NB: MFC broken into two halves (first half to bring in the new dirs so
mergeinfo can be properly recorded on them -- the second half of MFC).

Reviews:        D714
Relnotes:       New libdpv/libfigpar and dpv(1) utility
Reviewed by:    jelischer, shurd
Discussed at:   MeetBSD California 2014 Vendor/Dev Summit
Discussed on:   -current
Thanks to:      ngie, ian, jelischer, shurd, bapt
15:24:05 - r275046
(3 days 10 hours ago)
by avg
Affects:  /head/sys/sys/callout.h
whitespace and cosmetic changes in callout_reset family of macros

- add parentheses around macro parameters for consistent style
- remove redundant parentheses around an expression
- use tab before a line continuation symbol

Differential Revision:  https://reviews.freebsd.org/D1161 (partial)
Reviewed by:    markj
MFC after:      1 week
15:21:21 - r275045
(3 days 10 hours ago)
by avg
Affects:  /head/share/man/man9/Makefile
/head/share/man/man9/timeout.9
/head/sys/sys/callout.h
callout(9): add sbt flavors of callout_schedule

Differential Revision:  https://reviews.freebsd.org/D1161 (partial)
Reviewed by:    jhb, markj
MFC after:      1 week
15:09:34 - r275044
(3 days 10 hours ago)
by pluknet
Affects:  /head/lib/libc/net/getifaddrs.3
Fix ifa_data description.

PR:             176583
Discussed with: glebius
MFC after:      1 week
Sponsored by:   Nginx, Inc.
14:40:38 - r275043
(3 days 11 hours ago)
by bapt
Affects:  /head/usr.bin/Makefile
Readd protect(2) removed by mistake

Reported by:    emaste
14:29:10 - r275042
(3 days 11 hours ago)
by bapt
Affects: 
(100 files)
/head/usr.bin/*
Convert to usr.bin/ to LIBADD
Reduce overlinking
14:28:15 - r275041
(3 days 11 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Defines all the libraries needed for usr.bin
13:47:53 - r275040
(3 days 12 hours ago)
by dteske
Affects: 
(17 files)
/stable/10/*
MFC r274116:

Add new libraries/utilities for data throughput visualization.
dpv(3): dialog progress view library
dpv(1): stream data from stdin or multiple paths with dialog progress view
figpar(3): configuration file parsing library

MFC r274120, r274121, r274123, r274124, r274144, r274146, r274159, r274192,
r274203, r274209, r274226, r274270, and r274851: Fixes following r274116

Reviews:        D714
Relnotes:       New libdpv/libfigpar and dpv(1) utility
Reviewed by:    jelischer, shurd
Discussed at:   MeetBSD California 2014 Vendor/Dev Summit
Discussed on:   -current
Thanks to:      ngie, ian, jelischer, shurd, bapt
13:29:13 - r275039
(3 days 12 hours ago)
by dim
Affects: 
(8 files)
/stable/*
MFC r274900:

Fix the following -Werror warnings from clang 3.5.0, while building
bsnmpd's snmp_hostres module:

usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: error: absolute
value function 'abs' given an argument of type 'const long' but has parameter
of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
        str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600);
                          ^
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:204:20: note: use function
'labs' instead
        str[9] = (u_char)(abs(tm->tm_gmtoff) / 3600);
                          ^~~
                          labs
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: error: absolute
value function 'abs' given an argument of type 'const long' but has parameter
of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
        str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60);
                            ^
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c:205:22: note: use function
'labs' instead
        str[10] = (u_char)((abs(tm->tm_gmtoff) % 3600) / 60);
                            ^~~
                            labs

Since tm::tm_gmtoff is a long, use labs(3) instead.
13:12:45 - r275038
(3 days 12 hours ago)
by dim
Affects: 
(6 files)
/stable/10/usr.sbin/rtadvd/rtadvd.c
/stable/8/usr.sbin/rtadvd/rtadvd.c
/stable/9/usr.sbin/rtadvd/rtadvd.c
MFC r274898:

Fix the following -Werror warnings from clang 3.5.0, while building
usr.sbin/rtadvd:

usr.sbin/rtadvd/rtadvd.c:1291:7: error: taking the absolute value of unsigned
type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                    abs(preferred_time - pfx->pfx_pltimeexpire) >
rai->rai_clockskew) {
                    ^
usr.sbin/rtadvd/rtadvd.c:1291:7: note: remove the call to 'abs' since unsigned
values cannot be negative
                    abs(preferred_time - pfx->pfx_pltimeexpire) >
rai->rai_clockskew) {
                    ^~~
usr.sbin/rtadvd/rtadvd.c:1324:7: error: taking the absolute value of unsigned
type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                    abs(valid_time - pfx->pfx_vltimeexpire) >
rai->rai_clockskew) {
                    ^
usr.sbin/rtadvd/rtadvd.c:1324:7: note: remove the call to 'abs' since unsigned
values cannot be negative
                    abs(valid_time - pfx->pfx_vltimeexpire) >
rai->rai_clockskew) {
                    ^~~
2 errors generated.

These warnings occur because both preferred_time and pfx_pltimeexpire
are uint32_t's, so the subtraction expression is also unsigned, and
calling abs() is a no-op.

However, the intention was to look at the absolute difference between
the two unsigned quantities.  Introduce a small static function to
clarify what we're doing, and call that instead.

Reviewed by:    hrs
Differential Revision: https://reviews.freebsd.org/D1197
13:06:48 - r275037
(3 days 12 hours ago)
by glebius
Affects:  /projects/sendfile/sys/kern/uipc_syscalls.c
- Provide better code to calculate npages and rhpages.
- Put a comment explaining logic behind rhpages.

Sponsored by:   Netflix
Sponsored by:   Nginx, Inc.
12:58:21 - r275036
(3 days 13 hours ago)
by dim
Affects: 
(4 files)
/stable/10/contrib/binutils/gas/config/tc-arm.c
/stable/9/contrib/binutils/gas/config/tc-arm.c
MFC r274856:

Avoid undefined behaviour in gas's rotate_left() macro for n == 0.
Otherwise, clang can effectively remove the first iteration of the for
loops where this macro is invoked, and as a result, "cmp r0, #99" fails
to assemble.

Obtained from:  joerg at netbsd
12:52:00 - r275035
(3 days 13 hours ago)
by jhb
Affects:  /head/sys/i386/i386/machdep.c
MFamd64: Check for invalid flags in the machine context in sigreturn()
and setcontext().
12:45:32 - r275034
(3 days 13 hours ago)
by dim
Affects: 
(8 files)
/stable/*
MFC r274847:

Fix the following -Werror warnings from clang 3.5.0, while building
usr.bin/locate:

usr.bin/locate/locate/util.c:249:29: error: taking the absolute value of
unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                            MAXPATHLEN, abs(i) < abs(htonl(i)) ? i : htonl(i));
                                                 ^
usr.bin/locate/locate/util.c:249:29: note: remove the call to 'abs' since
unsigned values cannot be negative
                            MAXPATHLEN, abs(i) < abs(htonl(i)) ? i : htonl(i));
                                                 ^~~
usr.bin/locate/locate/util.c:274:32: error: taking the absolute value of
unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                            MAXPATHLEN, abs(word) < abs(htonl(word)) ? word :
                                                    ^
usr.bin/locate/locate/util.c:274:32: note: remove the call to 'abs' since
unsigned values cannot be negative
                            MAXPATHLEN, abs(word) < abs(htonl(word)) ? word :
                                                    ^~~

The problem is that ntohl() always returns an unsigned quantity.  In
this case, it's expected to be cast back to a signed integer, but to
stop complaints about abs() we just store it into an integer, and don't
call ntohl() again.

Reviewed by:    ngie
Differential Revision: https://reviews.freebsd.org/D1196
12:44:18 - r275033
(3 days 13 hours ago)
by jhb
Affects:  /head/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c
Only pass 6 arguments to the 'run' function on amd64.  amd64's
makecontext on FreeBSD only supports a maximum of 6 arguments.  This
fixes the setcontext_link test on amd64.

PR:             194828
12:22:29 - r275032
(3 days 13 hours ago)
by mav
Affects:  /head/sys/cam/ctl/scsi_ctl.c
Decouple datamove/done logic from CTL status set.
12:19:05 - r275031
(3 days 13 hours ago)
by dim
Affects: 
(4 files)
/stable/10/contrib/libarchive/cpio/cpio.c
/stable/9/contrib/libarchive/cpio/cpio.c
MFC r274846:

Fix the following -Werror warning from clang 3.5.0, while building
usr.bin/cpio on amd64 (or any arch with 64-bit time_t):

contrib/libarchive/cpio/cpio.c:1143:6: error: absolute value function 'abs'
given an argument of type 'long' but has parameter of type 'int' which may
cause truncation of value [-Werror,-Wabsolute-value]
        if (abs(mtime - now) > (365/2)*86400)
            ^
contrib/libarchive/cpio/cpio.c:1143:6: note: use function 'labs' instead
        if (abs(mtime - now) > (365/2)*86400)
            ^~~
            labs
1 error generated.

This is because time_t is a long on amd64. To avoid the warning, just
copy the equivalent test from a few lines before, which is used in the
Windows case, and which is type safe.

Reviewed by:    emaste
Differential Revision: https://reviews.freebsd.org/D1198
11:23:12 - r275030
(3 days 14 hours ago)
by bapt
Affects: 
(64 files)
/head/sbin/*
Convert sbin/ to LIBADD
Reduce overlinking
11:22:28 - r275029
(3 days 14 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Define libipf internal library
11:15:40 - r275028
(3 days 14 hours ago)
by bapt
Affects: 
(8 files)
/head/bin/*
Convert bin/ to LIBADD, reduce overlinking allow to build all components as
static
11:14:42 - r275027
(3 days 14 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Fix recursive problem with libedit dependency, if you depends on ncursesw and
not on itself
11:13:21 - r275026
(3 days 14 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Add a definition for libxo
11:08:58 - r275025
(3 days 14 hours ago)
by bapt
Affects:  /head/lib/libsqlite3/Makefile
Fix typo
11:07:26 - r275024
(3 days 14 hours ago)
by bapt
Affects: 
(55 files)
/head/lib/*
Convert libraries to use LIBADD
While here reduce a bit overlinking
11:07:03 - r275023
(3 days 14 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Define compiler_rt and ssp_nonshared libraries
09:57:42 - r275022
(3 days 16 hours ago)
by bapt
Affects: 
(47 files)
/head/kerberos5/*
Convert kerberos to LIBADD and reduce overlinking of the kerberos binaries and
libraries
09:54:05 - r275021
(3 days 16 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
libvers and libsl are internal libraries
09:47:15 - r275020
(3 days 16 hours ago)
by des
Affects:  /head/lib/libc/net/nsdispatch.c
The fallback flag in nsdispatch prevents the fallback implementation of
getgroupmembership() from invoking the correct backend in the compat case.
Replace it with a nesting depth counter so it only blocks one level (the
first is the group -> group_compat translation, the second is the actual
backend).  This is one of two bugs that break getgrouplist() in the compat
case, the second being that the backend's own getgroupmembership() method
is ignored.  Unfortunately, that is not easily fixable without a redesign
of our nss implementation (which is also needed to implement the +@group
syntax in /etc/passwd).

PR:             190055
MFC after:      1 week
08:39:46 - r275019
(3 days 17 hours ago)
by ngie
Affects: 
(6 files)
/projects/building-blocks/*
Make inetd optional via MK_INETD
08:04:32 - r275018
(3 days 17 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/rc.d/Makefile
Don't install othermta unless MK_MAIL == yes
07:47:44 - r275017
(3 days 18 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Fix make depends with libnetbsd
07:30:26 - r275016
(3 days 18 hours ago)
by ngie
Affects: 
(4 files)
/projects/building-blocks/share/mk/src.opts.mk
/projects/building-blocks/tools/build/*
/projects/building-blocks/usr.sbin/Makefile
Make bsdinstall(8) and sade(8) optional components via MK_BSDINSTALL=yes
07:14:16 - r275015
(3 days 18 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/Makefile
The shift; shift needs to be moved outside the .if ${MK_OPENSSL} conditional
07:13:31 - r275014
(3 days 18 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Add definitions of kerberos libraries
07:12:32 - r275013
(3 days 18 hours ago)
by ngie
Affects:  /projects/building-blocks/etc/Makefile
Don't create symlinks for nls/openssl unless the respective options are set
07:01:38 - r275012
(3 days 19 hours ago)
by markj
Affects:  /head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c
Adjust some checks missed in r274637, now that pi_rname can be NULL.

Additionally fix a misparenthesization in the same check, noticed while
fixing the first bug. This bug only appears to cause problems if the same
USDT probe appears twice within a static function.

X-MFC-With:     r274637
06:43:17 - r275011
(3 days 19 hours ago)
by markj
Affects:  /head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c
The module load address always needs to be included when setting the dm_*_va
fields of dt_module_t. Previously, this was only done on architectures where
kernel modules have type ET_REL; this change fixes that. As a result, symbol
name resolution in the stack() action now works properly for kernel modules
on i386.

Reported by:    Shrikanth Kamath <shrikanth07@gmail.com>
Tested by:      Shrikanth Kamath
Discussed with: avg
MFC after:      2 weeks
06:15:00 - r275010
(3 days 19 hours ago)
by jhibbits
Affects:  /head/sys/dev/usb/controller/ohci_pci.c
Add Apple Intrepid USB controller ID.

MFC after:      2 weeks
06:11:05 - r275009
(3 days 19 hours ago)
by mav
Affects:  /head/sys/cam/ctl/ctl.c
/head/sys/cam/ctl/ctl_backend_ramdisk.c
Use ctl_set_success() instead of direct inlining.

MFC after:      1 week
05:57:12 - r275008
(3 days 20 hours ago)
by marcel
Affects:  /user/marcel/libvdsk/libvdsk/vdsk.c
/user/marcel/libvdsk/libvdsk/vdsk.h
Remove the unused vdsk_read().
05:53:39 - r275007
(3 days 20 hours ago)
by marcel
Affects:  /user/marcel/libvdsk/bhyveload/bhyveload.c
Change the only user of vdsk_read() to vdsk_readv(). This simplifies
the interface at virtually no cost.
05:25:12 - r275006
(3 days 20 hours ago)
by ngie
Affects:  /head/MAINTAINERS
Remove cokane@ from MAINTAINERS for 3dfx(4)/tdfx(4) because their email
addresses on file bounce (see r252463 for more details)

Reviewed by: accounts (dhw)
05:14:39 - r275005
(3 days 20 hours ago)
by ngie
Affects:  /projects/building-blocks
Start "Lego" project as coined by jkh in talk at MeetBSD California 2014

The goal of this project will be to tease out some of the optional/replaceable
components in the tree, so it allows power users, appliance vendors, etc to
use FreeBSD more as a foundation for a custom OS distribution

The initial commit is based off of ^/head @ r274983
03:50:31 - r275004
(3 days 22 hours ago)
by emaste
Affects: 
(21 files)
/head/lib/*
/head/libexec/rtld-elf/rtld.c
/head/sys/*
Revert r274772: it is not valid on MIPS

Reported by:    sbruno
02:58:39 - r275003
(3 days 23 hours ago)
by kevlo
Affects:  /head/sys/contrib/dev/ral/Makefile
Add missing headers needed by write().
01:12:57 - r275002
(4 days ago)
by bapt
Affects:  /head/usr.sbin/nmtree/Makefile
Fix the fix
00:51:49 - r275001
(4 days 1 hour ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
libevent is an internallib
00:28:27 - r275000
(4 days 1 hour ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
libatf-c++ exposes libatf-c abi hence we need to explicit link to atf-c if
atf-c++ is requested
00:12:25 - r274999
(4 days 1 hour ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Do not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined
00:07:56 - r274998
(4 days 1 hour ago)
by delphij
Affects:  /head/usr.sbin/nmtree/Makefile
Fix build.
00:01:53 - r274997
(4 days 2 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Define special case for atf which libraries names are different from their
declaration
2014 - 11 - 24   (5 days ago)
23:58:04 - r274996
(4 days 2 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
s/cft/ctf
23:29:56 - r274995
(4 days 2 hours ago)
by bapt
Affects:  /head/usr.bin/demandoc/Makefile
Forgot to convert demandoc along with mandoc
22:35:32 - r274994
(4 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Fix typo
22:32:18 - r274993
(4 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Fix dependencies in case of building statically
22:29:16 - r274992
(4 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Avoid code duplication by directly adding _INSTALLLIBS and _PRIVATELIBS into
_LIBRARIES

Reported by:    emaste
22:17:35 - r274991
(4 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Each time something links to sqlite3 it should link to pthread
22:15:30 - r274990
(4 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
/head/usr.sbin/makefs/Makefile
Convert makefs to LIBADD

Add definition of libnetbsd in src.libnames.mk
22:12:27 - r274989
(4 days 3 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
/head/usr.bin/mandoc/Makefile
Convert mandoc to LIBADD

While here remove the ugly LDMANDOC
21:51:43 - r274988
(4 days 4 hours ago)
by ae
Affects:  /head/sys/netinet6/nd6.c
Skip L2 addresses lookups for p2p interfaces.

Discussed with: melifaro
Sponsored by:   Yandex LLC
21:49:40 - r274987
(4 days 4 hours ago)
by rpaulo
Affects: 
(8 files)
/head/contrib/mdocml/lib.in
/head/lib/*
/head/share/mk/bsd.libnames.mk
Import libgpio.

This is a thin wrapper around the kernel interface which should make
it easier to write GPIO applications.  gpioctl(8) will be converted to
use this library in a separate commit.

Differential Revision:  https://reviews.freebsd.org/D1183
Reviewed by:    adrian, loos
Discussed on:   arm@, embedded@
Relnotes:       yes
21:49:01 - r274986
(4 days 4 hours ago)
by brd
Affects:  /head/usr.sbin/pw/Makefile
Convert to LIBADD.

Reviewed by:    bapt
21:39:28 - r274985
(4 days 4 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Correctly specify -L for internal and private libs
21:31:08 - r274984
(4 days 4 hours ago)
by bapt
Affects:  /head/share/mk/src.libnames.mk
Implement LIBADD

LIBADD will automatically set DPADD and LDADD when needed including their
dependencies, LIBADD automatically handles private and internal libs so that
the end user Makefile does not have to care about it.

This allows to reduce overlinking on the base system leaving the framework get
the dependencies properly.

It also allows to built components binaries statically.

To use it:

Replace:
DPADD=  ${LIBARCHIVE} ${LIBSSL}
LDADD=  -larchive -lssl

by:
LIBADD= archive ssl

Differential Revision:  https://reviews.freebsd.org/D1209
Reviewed by:    brooks imp
20:57:20 - r274983
(4 days 5 hours ago)
by dim
Affects: 
(14 files)
/projects/clang350-import/contrib/llvm/lib/*
/projects/clang350-import/contrib/llvm/tools/clang/lib/Frontend/Rewrite/*
Cleanup upstream build infrastructure files that we don't use.
20:54:48 - r274982
(4 days 5 hours ago)
by dim
Affects:  /projects/clang350-import/lib/clang/clang.build.mk
/projects/clang350-import/lib/clang/libclangrewritefrontend/Makefile
Disable the ObjC rewriter modules, since according to rdivacky these are
only used by Xcode.  This shaves off some compilation time.
20:20:00 - r274981
(4 days 5 hours ago)
by dim
Affects:  /projects/clang350-import/sys/sys/param.h
Tentatively bump __FreeBSD_version for the import of llvm/clang 3.5.0.
20:18:14 - r274980
(4 days 5 hours ago)
by dim
Affects:  /projects/clang350-import/ObsoleteFiles.inc
/projects/clang350-import/tools/build/mk/OptionalObsoleteFiles.inc
Update ObsoleteFiles.inc and OptionalObsoleteFiles.inc for the import of
llvm/clang 3.5.0.
20:10:12 - r274979
(4 days 5 hours ago)
by dim
Affects: 
(19 files)
/projects/clang350-import/*
Merge ^/head r274961 through r274978.
20:07:09 - r274978
(4 days 5 hours ago)
by dim
Affects:  /head/lib/libc/tests/ssp/Makefile
For now, disable using -fsanitize=bounds for the libc ssp tests, when
using clang 3.5.0, until the runtime support (via compiler-rt) is added.
Otherwise, this would lead to link errors about missing support
libraries.
20:01:05 - r274977
(4 days 6 hours ago)
by dim
Affects:  /projects/clang350-import/share/mk/bsd.sys.mk
/projects/clang350-import/sys/boot/i386/boot2/Makefile
/projects/clang350-import/sys/boot/i386/boot2/boot2.c
Ensure boot2 stays below the limit, by applying a patch from Roman
Divacky which shrinks the code, and by using the custom llvm option to
disable the Global Value Numbering optimization pass.
19:55:45 - r274976
(4 days 6 hours ago)
by jhb
Affects:  /head/sys/kern/subr_bus.c
/head/sys/sys/bus.h
Add a bus_get_domain() wrapper around BUS_GET_DOMAIN().  Use this to add
a new per-device '%domain' sysctl node that returns the NUMA domain a
device is associated with if it is associated with one.

Note that this API is still a WIP and might change before 11.0 actually
ships.

Differential Revision:  https://reviews.freebsd.org/D930
Reviewed by:    kib, adrian
19:50:01 - r274975
(4 days 6 hours ago)
by dim
Affects:  /projects/clang350-import/etc/mtree/BSD.include.dist
Update BSD.include.dist for clang 3.5.0.
19:47:59 - r274974
(4 days 6 hours ago)
by dim
Affects: 
(15 files)
/projects/clang350-import/usr.bin/clang/*
Update llvm and clang binary Makefiles.
19:46:35 - r274973
(4 days 6 hours ago)
by dim
Affects: 
(51 files)
/projects/clang350-import/lib/clang/*
Update llvm and clang library Makefiles.
19:37:11 - r274972
(4 days 6 hours ago)
by dim
Affects: 
(16 files)
/projects/clang350-import/lib/clang/include/*
Update llvm and clang include files.
18:43:37 - r274971
(4 days 7 hours ago)
by dim
Affects: 
(128 files)
/projects/clang350-import/contrib/llvm/patches/*
Cleanup patch set, and update README.TXT.  Add three new patches.
18:34:11 - r274970
(4 days 7 hours ago)
by jhb
Affects:  /head/sys/kern/kern_descrip.c
Properly initialize the capability rights for vnodes exported to procstat
that aren't for file descriptors (cwd, jdir, tracevp, etc.).

Submitted by:   Mikhail <mp@lenta.ru>
18:11:16 - r274969
(4 days 7 hours ago)
by dim
Affects: 
(799 files)
/projects/clang350-import/contrib/llvm/tools/clang/*
Merge clang 3.5.0 release from ^/vendor/clang/dist, resolve conflicts,
and preserve our customizations, where necessary.
17:02:24 - r274968
(4 days 8 hours ago)
by dim
Affects: 
(2157 files)
/projects/clang350-import/contrib/llvm/*
Merge llvm 3.5.0 release from ^/vendor/llvm/dist, resolve conflicts, and
preserve our customizations, where necessary.
16:12:11 - r274967
(4 days 9 hours ago)
by ian
Affects:  /head/sys/dev/ffec/if_ffec.c
Add busdma sync ops before reading and after modifying the descriptor rings.

This was previously working by accident because BUSDMA_COHERENT_MEMORY has
always been set to strongly-ordered on arm.  Now we're moving towards
normal-uncacheable (what might be called write-combining on other platforms)
and using the proper sync ops will be more important.  Of course, that
opens the question of just what is the "proper" sync op for shared
concurrent dma access as opposed to accesses where the handoff of control
of the memory has well-defined sequence points that match the available
busdma sync operations.
14:00:27 - r274966
(4 days 12 hours ago)
by philip
Affects:  /head/sys/net/if_tap.c
Add a sysctl `net.link.tap.deladdrs_on_close' to configure whether tap
should delete configured addresses and routes when the interface is
closed.  Default is enabled (preserve current behaviour).

MFC after:      1 week
13:02:39 - r274965
(4 days 12 hours ago)
by trasz
Affects:  /head/etc/defaults/rc.conf
/head/etc/rc.d/automount
Make it possible to specify flags for autofs daemons in rc.conf.

MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
12:53:56 - r274964
(4 days 13 hours ago)
by ae
Affects:  /head/ObsoleteFiles.inc
Add ip_gre.h to ObsoleteFiles.inc.

Sponsored by:   Yandex LLC
12:39:50 - r274963
(4 days 13 hours ago)
by glebius
Affects:  /projects/sendfile/sys/kern/uipc_syscalls.c
Even if application specified zero readahead, but current sendfile_swapin()
run is limited by socket space, not by the "nbytes" argument, do readahead.

Sponsored by:   Netflix
Sponsored by:   Nginx, Inc.
11:37:27 - r274962
(4 days 14 hours ago)
by mav
Affects: 
(9 files)
/head/sys/cam/ctl/*
Replace home-grown CTL IO allocator with UMA.

Old allocator created significant lock congestion protecting its lists
of preallocated I/Os, while UMA provides much better SMP scalability.
The downside of UMA is lack of reliable preallocation, that could guarantee
successful allocation in non-sleepable environments.  But careful code
review shown, that only CAM target frontend really has that requirement.
Fix that making that frontend preallocate and statically bind CTL I/O for
every ATIO/INOT it preallocates any way.  That allows to avoid allocations
in hot I/O path.  Other frontends either may sleep in allocation context
or can properly handle allocation errors.

On 40-core server with 6 ZVOL-backed LUNs and 7 iSCSI client connections
this change increases peak performance from ~700K to >1M IOPS!  Yay! :)

MFC after:      1 month
Sponsored by:   iXsystems, Inc.
11:16:52 - r274961
(4 days 14 hours ago)
by dim
Affects:  /projects/clang350-import
Create a branch for working on the clang 3.5.0 import.
09:31:38 - r274960
(4 days 16 hours ago)
by brueffer
Affects:  /head/usr.bin/elfdump/elfdump.c
Limit descriptors and enter capability mode.

Differential:   D1009
Reviewed by:    jonathan, pjd
MFC after:      2 weeks
Relnotes:       yes
09:16:19 - r274959
(4 days 16 hours ago)
by dim
Affects:  /vendor/clang/clang-release_350-r216957
Tag clang tags/RELEASE_350/final r216957 (effectively, 3.5.0 release).
09:15:30 - r274958
(4 days 16 hours ago)
by dim
Affects: 
(4088 files)
/vendor/clang/dist/*
Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0
release):
https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_350/final@216957
09:13:04 - r274957
(4 days 16 hours ago)
by dim
Affects:  /vendor/llvm/llvm-release_35-r216957
/vendor/llvm/llvm-release_350-r216957
Use a "more correct" name for the llvm 3.5.0 release tag.
09:10:00 - r274956
(4 days 16 hours ago)
by dim
Affects:  /vendor/llvm/llvm-release_35-r216957
Tag llvm tags/RELEASE_350/final r216957 (effectively, 3.5.0 release).
09:08:18 - r274955
(4 days 16 hours ago)
by dim
Affects: 
(6968 files)
/vendor/llvm/dist/*
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0
release):
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_350/final@216957
08:13:44 - r274954
(4 days 17 hours ago)
by trasz
Affects:  /head/usr.sbin/ctld/ctl.conf.5
Remove the pidfile clause from the ctl.conf example.  Why do everyone
just copy/paste this line into their configs, it's beyond me.

MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
08:13:21 - r274953
(4 days 17 hours ago)
by bapt
Affects: 
(7 files)
/head/gnu/usr.bin/binutils/*
Fix rendering of manpages with mandoc(1)
08:09:50 - r274952
(4 days 17 hours ago)
by trasz
Affects: 
(2 files)
/stable/10/usr.sbin/ctld/ctl.conf.5
MFC r273585:

Improve ctld.conf example.

Sponsored by:   The FreeBSD Foundation
08:06:29 - r274951
(4 days 17 hours ago)
by trasz
Affects: 
(2 files)
/stable/10/usr.sbin/ctld/ctl.conf.5
MFC r273470:

Fix ctl.conf example to use proper paths to ZVOLs.

Sponsored by:   The FreeBSD Foundation
08:04:40 - r274950
(4 days 17 hours ago)
by trasz
Affects: 
(2 files)
/stable/10/usr.sbin/ctld/ctl.conf.5
MFC r273467:

Comment out parts about iSER; it's not implemented.

Sponsored by:   The FreeBSD Foundation
07:59:44 - r274949
(4 days 18 hours ago)
by trasz
Affects: 
(4 files)
/stable/10/usr.sbin/ctld/ctld.c
/stable/10/usr.sbin/ctld/ctld.h
/stable/10/usr.sbin/ctld/login.c
MFC r273584:

Make the initiator-name and initiator-portal checks a little nicer.

Sponsored by:   The FreeBSD Foundation
07:57:20 - r274948
(4 days 18 hours ago)
by glebius
Affects:  /head/sys/vm/vnode_pager.c
We already have "int i" in this scope.

Submitted by:   alc
07:57:18 - r274947
(4 days 18 hours ago)
by trasz
Affects: 
(2 files)
/stable/10/usr.sbin/ctld/login.c
MFC 273583:

Tidy up the login code; no functional changes.

Sponsored by:   The FreeBSD Foundation
02:36:43 - r274946
(4 days 23 hours ago)
by gjb
Affects:  /projects/release-vmimage/release/tools/vmimage.subr
Fix indentation nit.

Sponsored by:   The FreeBSD Foundation
02:34:01 - r274945
(4 days 23 hours ago)
by gjb
Affects:  /projects/release-vmimage/release/tools/vmimage.subr
In vm_extra_install_packages(), only bootstrap pkg(8)
if VM_EXTRA_PACKAGES is empty.

In vm_extra_pre_umount(), cleanup downloaded packages
if pkg(8) was bootstrapped earlier.

Inspired by:    cperciva
Sponsored by:   The FreeBSD Foundation
01:59:08 - r274944
(5 days ago)
by kevlo
Affects:  /stable/9/lib/libc/stdio/open_memstream.3
MFC r273760:
Fix prototypes.
01:56:33 - r274943
(5 days ago)
by kevlo
Affects: 
(2 files)
/stable/10/lib/libc/stdio/open_memstream.3
MFC r273760:
Fix prototypes.
01:25:19 - r274942
(5 days ago)
by grehan
Affects: 
(2 files)
/stable/10/sys/boot/common/load_elf.c
MFC r274407

  Fix incorrect reading of 32-bit modinfo by 64-bit loaders.

  The various structures in the mod_metadata set of a FreeBSD kernel and
  modules contain pointers. The FreeBSD loader correctly deals with a
  mismatch in loader and kernel pointer size (e.g. 32-bit i386/ppc
  loader, loading 64-bit amd64/ppc64 kernels), but wasn't dealing with
  the inverse case where a 64-bit loader was loading a 32-bit kernel.
01:13:58 - r274941
(5 days ago)
by ian
Affects:  /head/sys/arm/include/cpuconf.h
The arm PJ4B cpu is armv7 architecture, not v6.

If this feels like deja vu... the last time this was fixed in this file
only ARM_MMU_V6 was fixed, this time it's ARM_ARCH_V6 (and this time I
searched for other occurrances of pj4b in here).
00:59:51 - r274940
(5 days 1 hour ago)
by mav
Affects:  /head/sys/cam/ctl/ctl_frontend_iscsi.c
Read cs_outstanding_ctl_pdus before incrementing it for NEXUS RESET task.

This removes extra log noise on idle connection termination.

MFC after:      1 week
00:47:04 - r274939
(5 days 1 hour ago)
by mav
Affects: 
(9 files)
/stable/10/usr.sbin/ctld/*
MFC r273635, r273793, r274797: Add basic iSNS client to the iSCSI target.

This makes ctld(8) register its iSCSI targets and portals on configured
iSNS servers to allow initiators find them without active discovery.

Fetching of allowed initiators from iSNS is not implemented now, so target
ACLs still should be configured manually.

Relnotes:       Yes
Sponsored by:   iXsystems, Inc.
00:34:49 - r274938
(5 days 1 hour ago)
by bapt
Affects:  /head/gnu/usr.bin/binutils/as/as.1
Fix rendering with mandoc
00:02:15 - r274937
(5 days 1 hour ago)
by ian
Affects:  /head/sys/conf/files.arm
/head/sys/conf/options.arm
Add ARMV6 as an arm option.  This will cause obscure magic in config(8)
to automatically set the armv6 option when MACHINE_ARCH is armv6.  That
allows replacing ever-growing lists of cpu names as options to compile
a given file with the using either "optional armv6" or "optional !armv6".
2014 - 11 - 23   (6 days ago)
23:58:47 - r274936
(5 days 2 hours ago)
by ian
Affects:  /head/usr.sbin/config/mkmakefile.c
Fix the negation (!) operator so that it binds only to the word that
immediately follows it, which means 'not' has to be reset every time an
option word or device name is processed.
23:56:01 - r274935
(5 days 2 hours ago)
by bapt
Affects:  /head/gnu/usr.bin/binutils/ld/ld.1
Fix rendering with mandoc
23:55:04 - r274934
(5 days 2 hours ago)
by bapt
Affects:  /head/gnu/usr.bin/binutils/strip/strip.1
Fix rendering with mandoc
23:35:16 - r274933
(5 days 2 hours ago)
by bapt
Affects:  /head/lib/libc/sys/mount.2
Ta is only allowed with Bl -column not in Bl -item
23:17:18 - r274932
(5 days 2 hours ago)
by bapt
Affects:  /head/usr.bin/lex/lex.1
Workaround help2man defficiency that prevents mandoc from rendering
23:07:21 - r274931
(5 days 2 hours ago)
by grehan
Affects:  /head/sys/amd64/vmm/vmm.c
Change the lower bound for guest vmspace allocation to 0 instead of
using the VM_MIN_ADDRESS constant.

HardenedBSD redefines VM_MIN_ADDRESS to be 64K, which results in
bhyve VM startup failing. Guest memory is always assumed to start
at 0 so use the absolute value instead.

Reported by:    Shawn Webb, lattera at gmail com
Reviewed by:    neel, grehan
Obtained from:  Oliver Pinter via HardenedBSD
https://github.com/HardenedBSD/hardenedBSD/commit/23bd719ce1e3a8cc42fc8317b1c7c6d9e74dcba0
MFC after:      1 week
22:28:46 - r274930
(5 days 3 hours ago)
by bapt
Affects:  /head/gnu/usr.bin/groff/tmac/Makefile
/head/tools/build/mk/OptionalObsoleteFiles.inc
/head/usr.bin/mandoc/Makefile
Install mdoc(7) and man(7) from mdoc instead of the one from groff
22:16:43 - r274929
(5 days 3 hours ago)
by bapt
Affects:  /head/usr.bin/clang/clang/clang.1
Regenerate the manpage in mdoc(7) format using pod2mdoc

Now mandoc can render the manpage properly
22:09:05 - r274928
(5 days 3 hours ago)
by br
Affects:  /head/sys/mips/include/cache_mipsNN.h
Correct the functions declaration.
22:01:43 - r274927
(5 days 4 hours ago)
by bapt
Affects:  /head/contrib/llvm/tools/lldb/docs/lldb.1
Fix an error (case on a .Nm) preventing mandoc from rendering the manpage
Fix mandoc warnings: extrat space at end of lines
21:37:33 - r274926
(5 days 4 hours ago)
by ian
Affects:  /head/sys/dev/mpt/mpt.c
Squelch a (bogus) used before init warning when building with gcc.
21:00:00 - r274925
(5 days 5 hours ago)
by joel
Affects: 
(13 files)
/head/*
Misc mdoc fixes:

- Remove superfluous paragraph macros.
- Remove/fix empty or incorrect macros.
- Sort sections into conventional order.
- Terminate quoted strings properly.
- Remove EOL whitespace.
19:13:17 - r274924
(5 days 6 hours ago)
by ian
Affects:  /head/usr.sbin/config/main.c
Consider the negation operator (!) to be a word even if it is not followed
by whitespace.  This allows "optional !foo" which is what most programmers
are naturally going to tend to do as opposed to "optional ! foo".
18:32:21 - r274923
(5 days 7 hours ago)
by glebius
Affects:  /head/sys/vm/swap_pager.c
\n at end of panicstr is redundant.

Submitted by:   alc
18:31:55 - r274922
(5 days 7 hours ago)
by dim
Affects:  /head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c
Fix the following -Werror warning from clang 3.5.0, while building the
ath kernel module:

sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: error: taking the absolute
value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) {
                    ^
sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs'
#define abs(_a)         __builtin_abs(_a)
                        ^
sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: note: remove the call to
'__builtin_abs' since unsigned values cannot be negative
sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs'
#define abs(_a)         __builtin_abs(_a)
                        ^
1 error generated.

This warning occurs because both lp[0] and target are unsigned, so the
subtraction expression is also unsigned, and calling abs() is a no-op.

However, the intention was to look at the absolute difference between
the two unsigned quantities.  Introduce a small static function to
clarify what we're doing, and call that instead.

Reviewed by:    adrian
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D1212
17:47:12 - r274921
(5 days 8 hours ago)
by melifaro
Affects:  /projects/routing/sys/net/route.c
Finish r274335#2: put RT_LOCK_DESTROY() back.
17:45:50 - r274920
(5 days 8 hours ago)
by melifaro
Affects:  /projects/routing/sys/net/rt_nhops.c
Do not try to unlock lle which is not locked.
This is not a proper fix, proper one is on the way.
16:40:33 - r274919
(5 days 9 hours ago)
by melifaro
Affects:  /projects/routing/sys/netinet/in.c
Fix r274855: use proper unlock method.
16:27:31 - r274918
(5 days 9 hours ago)
by hselasky
Affects:  /head/sys/dev/sound/usb/uaudio.c
Don't use the synchronization endpoint unless referenced by the
isochronous endpoint descriptor used for the data transfers, hence the
synchronization feature might not be supposed to be supported [yet].
This makes seamless playback synced with the USB HOST clock work with
the DN32-USB module for Midas audio systems and possibly other similar
products from Klark Teknik.

MFC after:      1 week
15:38:06 - r274917
(5 days 10 hours ago)
by melifaro
Affects: 
(10 files)
/projects/routing/sys/net/*
/projects/routing/sys/netinet/*
/projects/routing/sys/netinet6/*
Do more fine-grained lltable locking: use table runtime lock as rare
as we can.
12:15:28 - r274916
(5 days 13 hours ago)
by melifaro
Affects: 
(4 files)
/projects/routing/sys/net/*
/projects/routing/sys/netinet/in.c
/projects/routing/sys/netinet6/in6.c
* Add lltable llt_hash callback
* Move lltable items insertions/deletions to generic llt code.
12:05:49 - r274915
(5 days 13 hours ago)
by glebius
Affects: 
(6 files)
/projects/sendfile/lib/libprocstat/udf.c
/projects/sendfile/sys/kern/kern_resource.c
/projects/sendfile/sys/sys/*
Merge head r258543 through r274914.
12:01:52 - r274914
(5 days 14 hours ago)
by glebius
Affects: 
(9 files)
/head/sys/*
Merge from projects/sendfile:

o Provide a new VOP_GETPAGES_ASYNC(), which works like VOP_GETPAGES(), but
  doesn't sleep. It returns immediately, and will execute the I/O done handler
  function that must be supplied as argument.
o Provide VOP_GETPAGES_ASYNC() for the FFS, which uses vnode_pager.
o Extend pagertab to support pgo_getpages_async method, and implement this
  method for vnode_pager.

Reviewed by:    kib
Tested by:      pho
Sponsored by:   Netflix
Sponsored by:   Nginx, Inc.
10:26:28 - r274913
(5 days 15 hours ago)
by glebius
Affects:  /head/lib/libprocstat/udf.c
Do not include buf.h.
08:37:08 - r274912
(5 days 17 hours ago)
by glebius
Affects:  /projects/sendfile/sys/vm/swap_pager.c
/projects/sendfile/sys/vm/vm_pager.h
Consistently use function type without asterisk.
08:25:44 - r274911
(5 days 17 hours ago)
by mjg
Affects:  /head/sys/kern/kern_resource.c
/head/sys/sys/racct.h
/head/sys/sys/resourcevar.h
ifdef RACCT ui_racct_foreach and struct uidinfo's ui_racct

Change racct_ create and destroy to macros evaluating to nothing without RACCT
so that their callers passing ui_racct don't have to be ifdefed.
08:17:46 - r274910
(5 days 17 hours ago)
by glebius
Affects:  /projects/sendfile/sys/vm/swap_pager.c
/projects/sendfile/sys/vm/vm_pager.h
/projects/sendfile/sys/vm/vnode_pager.c
Various style(9) changes.

Submitted by:   kib
04:17:39 - r274909
(5 days 21 hours ago)
by mav
Affects: 
(3 files)
/stable/10/usr.sbin/ctld/chap.c
/stable/10/usr.sbin/iscsid/chap.c
MFC r274328:
Make both iSCSI initiator and target support base64 encoded CHAP data.

While all tested initiators and targets use hex-encoded CHAP data, RFC also
allows base64 encoding there, and Microsoft certificaition tool uses it.
01:08:42 - r274908
(6 days ago)
by glebius
Affects: 
(198 files)
/projects/sendfile/*
Merge head r258543 through r274907.
01:02:19 - r274907
(6 days ago)
by glebius
Affects:  /head/sys/ufs/ufs/ufsmount.h
buf.h is not needed here, and pollutes when ufsmount.h is included
from userland code.

Sponsored by:   Nginx, Inc.
01:01:14 - r274906
(6 days 1 hour ago)
by glebius
Affects:  /head/sys/ufs/ffs/ffs_suspend.c
/head/sys/ufs/ufs/ufs_acl.c
/head/sys/ufs/ufs/ufs_gjournal.c
Include required files directly instead of pollution via ufs/ufsmount.h.

Sponsored by:   Nginx, Inc.
00:30:32 - r274905
(6 days 1 hour ago)
by bapt
Affects:  /head/usr.bin/man/man.sh
Fix comments
00:12:27 - r274904
(6 days 1 hour ago)
by mjg
Affects:  /head/sys/kern/kern_descrip.c
filedesc: plug a test for impossible condition in fgetvp_rights
00:08:43 - r274903
(6 days 1 hour ago)
by bapt
Affects:  /head/usr.bin/man/man.sh
Fix typo
00:08:22 - r274902
(6 days 1 hour ago)
by sjg
Affects: 
(6 files)
/projects/bmake/pkgs/pseudo/hosttools/*
/projects/bmake/pkgs/pseudo/universe/*
Leverage dirdeps.mk by tweaking _DIRDEP_USE_LEVEL
so we can have a 2nd stage of dependencies computed in parallel.

Reviewed by: marcel
00:08:04 - r274901
(6 days 1 hour ago)
by bapt
Affects:  /head/usr.bin/man/man.sh
Change man(1) to use mandoc to render manpages

man(1) now first test the manpage to run with mandoc to make sure it can be
rendered.
In case groff cannot be found (because base has been built WITHOUT_GROFF) it
recommands to install groff from the packages

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 55 ms, 327 revisions printed. Current time is 2014-11-29 02:02:05. All times are in UTC/GMT.