Displaying 1 50 of 272,649 commits (0.072s)

FreeBSD — projects/building-blocks/etc/root dot.login

Remove the conditional

FreeBSD — projects/building-blocks/share/skel Makefile dot.cshrc

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

FreeBSD — 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

FreeBSD — 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.
Delta File
+11 -5 user/marcel/libvdsk/libvdsk/qcow.c
+11 -5 1 file

FreeBSD — user/marcel/libvdsk/libvdsk vhd.c vmdk.c

Flag VHD and VMDK as writable formats now that the probe seems to work
and seems to respect the flag.

FreeBSD — 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.
Delta File
+24 -4 user/marcel/libvdsk/libvdsk/vdsk.c
+24 -4 1 file

FreeBSD — projects/building-blocks/tools add-optional-obsolete-files-entries.sh

Ignore usr/share/nls

FreeBSD — 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

FreeBSD — 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.
Delta File
+25 -8 stable/10/sys/kern/sys_generic.c
+25 -8 1 file

FreeBSD — head/sys/net if_arcsubr.c if_fddisubr.c

After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
unused varibale under the proper #ifdef.

FreeBSD — 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
Delta File
+1 -1 head/sys/dev/drm2/drm_drv.c
+1 -1 1 file

FreeBSD — 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
Delta File
+2 -0 head/sys/arm/arm/generic_timer.c
+2 -0 1 file

FreeBSD — 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
Delta File
+1 -1 head/sys/arm/arm/generic_timer.c
+1 -1 1 file

FreeBSD — 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
Delta File
+8 -2 head/sys/kern/kern_sig.c
+8 -2 1 file

FreeBSD — 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
Delta File
+15 -4 head/sys/kern/sys_generic.c
+15 -4 1 file

FreeBSD — 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.
Delta File
+1 -17 stable/10/sys/cam/scsi/scsi_xpt.c
+1 -17 1 file

FreeBSD — stable/10/sys/cam/ctl ctl_frontend_iscsi.c

MFC r274840, r274940:
Make iSCSI frontend less chatty while waiting for tasks termination.

FreeBSD — stable/10/sys/cam/ctl ctl.c

MFC r274790: Remove bunch of unused lun variables.
Delta File
+0 -15 stable/10/sys/cam/ctl/ctl.c
+0 -15 1 file

FreeBSD — stable/10/sys/cam/ctl ctl.c

MFC r274789: Reduce race between LUN destruction and request arrival.
Delta File
+5 -3 stable/10/sys/cam/ctl/ctl.c
+5 -3 1 file

FreeBSD — stable/10/sys/cam/ctl ctl.c

MFC r274786: Log errors for absent LUNs too.
Delta File
+3 -5 stable/10/sys/cam/ctl/ctl.c
+3 -5 1 file

FreeBSD — head/sys/contrib/ipfilter/netinet fil.c ip_frag.c

Correctly define constants.

MFC after:        1 week

FreeBSD — projects/building-blocks/usr.bin/vi/catalog Makefile

Use ${.TARGET} instead of hardcoding the name in the dump build rule

FreeBSD — head/sys/net if_ethersubr.c

Fix build broken by r275195.
Delta File
+3 -1 head/sys/net/if_ethersubr.c
+3 -1 1 file

FreeBSD — head/sys/net if_ethersubr.c if_fddisubr.c, head/sys/netinet if_ether.c if_ether.h

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.

FreeBSD — 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.
Delta File
+7 -15 head/sys/net/if_ethersubr.c
+7 -15 1 file

FreeBSD — head ObsoleteFiles.inc

Remove leftovers readline being changed to an internallib
Delta File
+2 -0 head/ObsoleteFiles.inc
+2 -0 1 file

FreeBSD — 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.
Delta File
+15 -3 head/gnu/usr.bin/binutils/Makefile
+15 -3 1 file

FreeBSD — head/contrib/elftoolchain addr2line cxxfilt

Copy elftoolchain binutils replacements from vendor branch

Sponsored by:        The FreeBSD Foundation
Delta File
+0 -0 head/contrib/elftoolchain/addr2line/
+0 -0 head/contrib/elftoolchain/cxxfilt/
+0 -0 head/contrib/elftoolchain/elfcopy/
+0 -0 head/contrib/elftoolchain/libelftc/
+0 -0 head/contrib/elftoolchain/nm/
+0 -0 head/contrib/elftoolchain/size/
+0 -0 head/contrib/elftoolchain/strings/
+0 -0 7 files

FreeBSD — 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.
Delta File
+1 -2 head/sys/boot/i386/boot2/boot2.c
+1 -2 1 file

FreeBSD — 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
Delta File
+11 -17 head/sys/dev/hwpmc/hwpmc_ppc970.c
+11 -17 1 file

FreeBSD — head/share/misc bsd-family-tree

o NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.
Delta File
+28 -24 head/share/misc/bsd-family-tree
+28 -24 1 file

FreeBSD — stable/10/usr.sbin/ctld parse.y

MFC r273770:

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

Sponsored by:        The FreeBSD Foundation
Delta File
+27 -13 stable/10/usr.sbin/ctld/parse.y
+27 -13 1 file

FreeBSD — stable/10/usr.sbin/ctld parse.y 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

FreeBSD — stable/10/share/man/man4 ctl.4

MFC r273690:

Mention VAAI and ODX in ctl(4).

Sponsored by:        The FreeBSD Foundation
Delta File
+8 -2 stable/10/share/man/man4/ctl.4
+8 -2 1 file

FreeBSD — 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

FreeBSD — projects/building-blocks/sys/modules Makefile

Honor MK_AUTOFS

FreeBSD — projects/building-blocks/etc Makefile, projects/building-blocks/etc/rc.d Makefile

Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG

FreeBSD — projects/building-blocks/tools add-optional-obsolete-files-entries.sh

Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression

FreeBSD — 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.

FreeBSD — stable/10/sbin/fsck fsck.c

MFC r274750:
  Use geom attribute "PART::type" to determine partition type and choose
  relevant fsck_xxx utility.
Delta File
+25 -29 stable/10/sbin/fsck/fsck.c
+25 -29 1 file

FreeBSD — projects/building-blocks/usr.sbin/bsdconfig Makefile

Honor MK_EXAMPLES

FreeBSD — projects/building-blocks/usr.sbin/ppp Makefile

Handle MK_RADIUS_SUPPORT in usr.sbin/ppp

FreeBSD — projects/building-blocks/etc Makefile

Only install libmap32.conf if MK_LIB32 != no

FreeBSD — 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

FreeBSD — 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

FreeBSD — 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

FreeBSD — projects/building-blocks/tools/build/mk OptionalObsoleteFiles.inc

Fill in MK_BOOT for amd64

FreeBSD — 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
Delta File
+11 -13 head/sys/dev/hwpmc/hwpmc_mpc7xxx.c
+11 -13 1 file

FreeBSD — head ObsoleteFiles.inc, head/sbin/mdconfig/tests run.pl mdconfig_test.sh

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