Displaying 1 50 of 268,104 commits (0.012s)

FreeBSD — stable/10/etc/mtree BSD.tests.dist, stable/10/lib/libutil Makefile tests

MFC r270180:

r269906:

 Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld with
 MK_TESTS == no

 Phabric: D555
 Approved by: jmmv (mentor, implicit)
 Pointyhat to: ngie

r269904:

 Integrate lib/libutil into the build/kyua

 Remove the .t wrappers

 Rename all of the TAP test applications from test-<test> to
 <test>_test to match the convention described in the TestSuite
 wiki page

 humanize_number_test.c:

 - Fix -Wformat warnings with counter variables
 - Fix minor style(9) issues:

    [12 lines not shown]
Delta File
+4 -0 stable/10/lib/libutil/Makefile
+2 -0 stable/10/etc/mtree/BSD.tests.dist
+0 -0 stable/10/lib/libutil/tests/
+0 -0 stable/10/tools/regression/lib/libutil/
+6 -0 4 files

FreeBSD — stable/10 ObsoleteFiles.inc

MFC r270510

Catch up to gcc 3.3 -> 3.4 upgrade.
Delta File
+196 -0 stable/10/ObsoleteFiles.inc
+196 -0 1 file

FreeBSD — head/sbin/gbde gbde.8

Correct the destroy example.  The -n argument is not needed (and is not
valid).

Reported by:        mwlucas
Reviewed by:        phk
MFC after:        1 week
Delta File
+2 -2 head/sbin/gbde/gbde.8
+2 -2 1 file

FreeBSD — head/sys/dev/vt vt_core.c

vt(4): If the terminal shrinks, make sure the mouse is inside the new area

MFC after:        1 week
Delta File
+13 -2 head/sys/dev/vt/vt_core.c
+13 -2 1 file

FreeBSD — head/sys/dev/fb creator_vt.c, head/sys/dev/vt/hw/fb vt_fb.c

vt(4): Fix mouse cursor handling in vt_fb/creator_vt/ofwfb

There were two issues:
    1. The area given to vt_is_cursor_in_area() was adding the drawable
       area offset, something already handled by this function.
    2. The cursor was shifted on the screen by the offset of this area
       and thus was misplaced or not erased. Furthermore, when reaching
       the bottom or right borders, the cursor was either totally
       removed or not erased correctly.

MFC after:        1 week

FreeBSD — stable/8/sys/dev/sound/usb uaudio.c

MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR:                192755
Delta File
+2 -13 stable/8/sys/dev/sound/usb/uaudio.c
+2 -13 1 file

FreeBSD — stable/9/sys/dev/sound/usb uaudio.c

MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR:                192755
Delta File
+2 -13 stable/9/sys/dev/sound/usb/uaudio.c
+2 -13 1 file

FreeBSD — stable/10/sys/dev/sound/usb uaudio.c

MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR:                192755
Delta File
+2 -13 stable/10/sys/dev/sound/usb/uaudio.c
+2 -13 1 file

FreeBSD — stable/8/lib/libusb libusb.h

MFC r270133:
Add more USB class codes.
Delta File
+8 -0 stable/8/lib/libusb/libusb.h
+8 -0 1 file

FreeBSD — stable/9/lib/libusb libusb.h

MFC r270133:
Add more USB class codes.
Delta File
+8 -0 stable/9/lib/libusb/libusb.h
+8 -0 1 file

FreeBSD — stable/10/lib/libusb libusb.h

MFC r270133:
Add more USB class codes.
Delta File
+8 -0 stable/10/lib/libusb/libusb.h
+8 -0 1 file

FreeBSD — stable/8/sys/netinet/cc cc.c

MFC r269777:
Fix string length argument passed to "sysctl_handle_string()" so that
the complete string is returned by the function and not just only one
byte.

PR:        192544
Delta File
+2 -2 stable/8/sys/netinet/cc/cc.c
+2 -2 1 file

FreeBSD — stable/9/sys/netinet/cc cc.c

MFC r269777:
Fix string length argument passed to "sysctl_handle_string()" so that
the complete string is returned by the function and not just only one
byte.

PR:        192544
Delta File
+2 -2 stable/9/sys/netinet/cc/cc.c
+2 -2 1 file

FreeBSD — stable/10/sys/netinet/cc cc.c

MFC r269777:
Fix string length argument passed to "sysctl_handle_string()" so that
the complete string is returned by the function and not just only one
byte.

PR:        192544
Delta File
+2 -2 stable/10/sys/netinet/cc/cc.c
+2 -2 1 file

FreeBSD — head/sys/contrib/rdma/krping krping.c, head/sys/dev/cxgb cxgb_osdep.h

- Update the OFED Linux Emulation layer as a preparation for a
hardware driver update from Mellanox Technologies.
- Remove empty files from the OFED Linux Emulation layer.
- Fix compile warnings related to printf() and the "%lld" and "%llx"
format specifiers.
- Add some missing 2-clause BSD copyrights.
- Add "Mellanox Technologies, Ltd." to list of copyright holders.
- Add some new compatibility files.
- Fix order of uninit in the mlx4ib module to avoid crash at unload
using the new module_exit_order() function.

MFC after:        1 week
Sponsored by:        Mellanox Technologies

FreeBSD — projects/lwref ObsoleteFiles.inc Makefile.inc1, projects/lwref/bin/date/tests format_string_test.sh legacy_test.sh

Merge head r269375 through r270708.

FreeBSD — head/sys/dev/vt vt_core.c

vt(4): Recompute the drawable area when the resolution changes

This was only done when the font changed.

MFC after:        1 week
Delta File
+2 -3 head/sys/dev/vt/vt_core.c
+2 -3 1 file

FreeBSD — head/sys/dev/vt vt_core.c

vt(4): Pause the vt_flush() timer when the screen is up-to-date

The timer is restarted whenever a window buffer is marked as dirty or
the mouse cursor moves.

There's still room for improvement. For instance, we should not mark a
window buffer as dirty when this window isn't displayed.

Review:                https://reviews.freebsd.org/D683
Reviewed by:        ray@
Approved by:        ray@
MFC after:        1 week
Delta File
+29 -8 head/sys/dev/vt/vt_core.c
+29 -8 1 file

FreeBSD — head/sys/dev/drm2 drm_fb_helper.c

drm: Don't "taskqueue" vt-switch if under DDB/panic situation

If DDB is active, we can't use a taskqueue thread to switch away from
the X window, because this thread can't run.

Reviewed by:        ray@
Approved by:        ray@
MFC after:        1 week
Delta File
+7 -1 head/sys/dev/drm2/drm_fb_helper.c
+7 -1 1 file

FreeBSD — head/sys/dev/vt vt_core.c vt.h, head/sys/kern subr_terminal.c

vt(4): Add cngrab() and cnungrab() callbacks

They are used when a panic occurs or when entering a DDB session for
instance.

cngrab() forces a vt-switch to the console window, no matter if the
original window is another terminal or an X session. However, cnungrab()
doesn't vt-switch back to the original window currently.

MFC after:        1 week

FreeBSD — projects/arm64/lib/libc/arm64 SYS.h

Add the libc code for syscalls

FreeBSD — projects/arm64/lib/csu/arm64 crt1.c

Start to support the args and env

FreeBSD — head/sys/dev/vt vt_core.c vt.h

vt(4): Implement basic support for KDSETMODE ioctl

With the current implementation, this allows an X11 server to tell
the console it switches a particular window in "graphics mode". This
information is used by the mouse handling code to ignore sysmouse events
in the window taken by the X server: only him should receive those
events.

Reported by:        flo@, glebius@, kan@
Tested by:        flo@
Reviewed by:        kan@
MFC after:        1 week
Delta File
+22 -4 head/sys/dev/vt/vt_core.c
+1 -0 head/sys/dev/vt/vt.h
+23 -4 2 files

FreeBSD — projects/arm64/sys/arm64/arm64 pmap.c

Use pmap_kenter_internal in pmap_qenter to remove an unneeded function
call.

FreeBSD — projects/arm64/sys/arm64/arm64 trap.c vm_machdep.c

Start to support system calls by adding the kernel side. The system
call id is stored in x8 while arguments are passed in registers
x0 to x7.

FreeBSD — projects/arm64/sys/arm64/arm64 exception.S

Save the sp_el0 register when coming from el0, it holds the userland
stack pointer where sp is for the current execution level.

FreeBSD — head/etc rc.subr, head/share/man/man5 rc.conf.5

- Use $local_startup to load rc.conf.d/* scripts.
- Document support of rc.conf.d/<dir>/* introduced in r270392.

Discussed with:        bapt
Delta File
+16 -17 head/etc/rc.subr
+20 -3 head/share/man/man5/rc.conf.5
+36 -20 2 files

FreeBSD — projects/amd64_xen_pv/sys/amd64/xen exception.S

Flag on stack frame that segment registers have been saved.

This now completes FreeBSD/Xen pv bringup for UP.

Next steps (open list):
- Optimise current call paths.
  (exception.S, amortise across multiple hypercalls etc.)
- SMP
- vet exception.S (and others) for security.
- Bring codebase as close to native as possible, and merge
  as much code as possible with native and pvhvm.
- Merge to -current

Approved by:        gibbs(implicit)

FreeBSD — stable/10/sys/amd64/include vmm.h

MFC 270438
  Change __inline style to be consistent with FreeBSD usage,
  and also fix gcc build.

PR:        192880
Delta File
+4 -4 stable/10/sys/amd64/include/vmm.h
+4 -4 1 file

FreeBSD — stable/10/sys/ufs/ufs ufs_vnops.c

MFC r270204:
Do not busy the UFS mount point inside VOP_RENAME().
Delta File
+0 -9 stable/10/sys/ufs/ufs/ufs_vnops.c
+0 -9 1 file

FreeBSD — stable/10/sys/ufs/ffs ffs_vfsops.c

MFC r270203:
Correct the test for condition to suspend UFS filesystem during unmount.

FreeBSD — stable/10/sys/amd64/include vmparam.h

MFC r270202:
Increase max number of physical segments on amd64 to 63.

FreeBSD — head/sys/compat/freebsd32 freebsd32_misc.c syscalls.master

Fix handling of the third argument for fcntl(2).  The native syscall
uses long for arg, which needs translation.

Discussed with and tested by:        mjg
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week

FreeBSD — stable/9/release release.sh

MFC r270455, r270457:

r270455:
  Set OSREL and UNAME_r in release/release.sh when building
  ports to prevent ports build failures from killing the
  release build.

r270457:
  Wrap a long line.

Sponsored by:        The FreeBSD Foundation
Delta File
+7 -2 stable/9/release/release.sh
+7 -2 1 file

FreeBSD — head/sys/amd64/vmm vmm_instruction_emul.c

Implement the 0x2B SUB instruction, and the OR variant of 0x81.

Found with local APIC accesses from bitrig/amd64 bsd.rd, 07/15-snap.

Reviewed by:        neel
MFC after:        3 days

FreeBSD — stable/10/release release.sh, stable/10/release/arm release.sh

MFC r270417, r270418, r270455, r270457:

r270417:
  Fix arm build breakage when building stable/10 on
  head/.

r270418:
  Also export UNAME_r to fix arm builds.

r270455:
  Set OSREL and UNAME_r in release/release.sh when building
  ports to prevent ports build failures from killing the
  release build.

r270457:
  Wrap a long line.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/libexec/rtld-elf rtld.c

Remove stray newline.
Delta File
+1 -1 head/libexec/rtld-elf/rtld.c
+1 -1 1 file

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/errata article.xml

Fix the stable/10 errata/article.xml to conform to
FDP style conventions (as best as possible).

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/readme article.xml

Fix the stable/10 hardware/article.xml to conform to
FDP style conventions.
Fix a few rendering issues, while here.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/readme article.xml

Bump copyright year.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/readme article.xml

Update the readme/article.xml to reflect send-pr(1) is
deprecated, and direct to Bugzilla.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/hardware article.xml

Fix the stable/10 hardware/article.xml to conform to
FDP style conventions.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/errata article.xml

Fix a typo: s/sytem/system/

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/hardware article.xml

Fix alphabetical sorting with alc(4) addition.

Move atp(4) driver under 'Pointing Devices', added
to 'Keyboards' by mistake.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/share/man/man5 rc.conf.5

Document the new ${LOCALBASE}/etc/rc.conf.d in rc.conf(5)

MFC after:        1 week
Delta File
+3 -1 head/share/man/man5/rc.conf.5
+3 -1 1 file

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/hardware article.xml

Add the following to the hardware notes:
 - aacraid(4)
 - alc(4)
 - ath_hal(4)
 - atp(4)
 - cxgbe(4)
 - hptnr(4)

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/etc/pam.d README

Fix xref, pam(8) -> pam(3)

PR:                193045
Submitted by:        rsimmons0 gmail com
MFC after:        3 days
Delta File
+1 -1 head/etc/pam.d/README
+1 -1 1 file

FreeBSD — head/etc rc.subr

Allow to configure services from ${LOCALBASE}/etc/rc.conf.d

Reviewed by:        bdrewery
MFC after:        1 week
Relnotes:        yes
Delta File
+4 -0 head/etc/rc.subr
+4 -0 1 file

FreeBSD — head/usr.sbin/mailwrapper mailwrapper.c mailwrapper.8

Allow mailwrapper to use mailer.conf from localbase (respecting LOCALBASE env var if set)

Phabric:        https://reviews.freebsd.org/D412
Reviewed by:        bdrewery
MFC after:        2 weeks
Relnotes:        yes