Displaying 1 50 of 31,536 commits (0.008s)

DragonFlyBSD — contrib/mdocml config.h, gnu/usr.bin/groff/tmac mdoc.local

4.1 branch.

DragonFlyBSD — share/zoneinfo asia NEWS

Sync zoneinfo database with tzdata2014i from ftp://ftp.iana.org/tz/releases

* asia: Many time stamps have been corrected for Asia/Ho_Chi_Minh
    before 1976. Asia/Phnom_Penh and Asia/Vientiane have been turned
    into links, as they differed from existing zones only for older
    time stamps.

* australasia: Pacific/Fiji will observe DST from 2014-11-02 02:00 to
    2015-01-18 03:00. A new Zone Pacific/Bougainville, for the part
    of Papua New Guinea that plans to switch from UTC+10 to UTC+11 on
    2014-12-28 at 02:00.

* europe: Since Belarus is not changing its clocks even though Moscow is,
    the time zone abbreviation in Europe/Minsk is changing from FET
    to its more-traditional value MSK on 2014-10-26 at 01:00.

* northamerica: Some comment fixes.

As usual, the NEWS file has more details.

DragonFlyBSD — share/zoneinfo asia NEWS

Sync zoneinfo database with tzdata2014i from ftp://ftp.iana.org/tz/releases

* asia: Many time stamps have been corrected for Asia/Ho_Chi_Minh
    before 1976. Asia/Phnom_Penh and Asia/Vientiane have been turned
    into links, as they differed from existing zones only for older
    time stamps.

* australasia: Pacific/Fiji will observe DST from 2014-11-02 02:00 to
    2015-01-18 03:00. A new Zone Pacific/Bougainville, for the part
    of Papua New Guinea that plans to switch from UTC+10 to UTC+11 on
    2014-12-28 at 02:00.

* europe: Since Belarus is not changing its clocks even though Moscow is,
    the time zone abbreviation in Europe/Minsk is changing from FET
    to its more-traditional value MSK on 2014-10-26 at 01:00.

* northamerica: Some comment fixes.

As usual, the NEWS file has more details.

DragonFlyBSD — share/zoneinfo asia NEWS

Sync zoneinfo database with tzdata2014i from ftp://ftp.iana.org/tz/releases

* asia: Many time stamps have been corrected for Asia/Ho_Chi_Minh
    before 1976. Asia/Phnom_Penh and Asia/Vientiane have been turned
    into links, as they differed from existing zones only for older
    time stamps.

* australasia: Pacific/Fiji will observe DST from 2014-11-02 02:00 to
    2015-01-18 03:00. A new Zone Pacific/Bougainville, for the part
    of Papua New Guinea that plans to switch from UTC+10 to UTC+11 on
    2014-12-28 at 02:00.

* europe: Since Belarus is not changing its clocks even though Moscow is,
    the time zone abbreviation in Europe/Minsk is changing from FET
    to its more-traditional value MSK on 2014-10-26 at 01:00.

* northamerica: Some comment fixes.

As usual, the NEWS file has more details.

DragonFlyBSD — contrib/mdocml config.h, etc Makefile.usr

4.0 release candidate tag.

DragonFlyBSD — share/man/man4 upmap.4

upmap.4: Add missing .El
Delta File
+1 -0 share/man/man4/upmap.4
+1 -0 1 file

DragonFlyBSD — gnu/usr.bin/groff/tmac mdoc.local

mdoc.local: Add version 3.9 for .Dx

While here, also add 9.3 for .Fx
Delta File
+2 -0 gnu/usr.bin/groff/tmac/mdoc.local
+2 -0 1 file

DragonFlyBSD — share/man/man4 upmap.4 Makefile

Add a upmap(4)/kpmap(4) manual page.

Submitted-by: Robin Hahling <robin.hahling at gw-computing.net>
Delta File
+182 -0 share/man/man4/upmap.4
+2 -0 share/man/man4/Makefile
+184 -0 2 files

DragonFlyBSD — sys/dev/drm Makefile, sys/dev/drm/radeon Makefile

drm/radeon: Handle -fms-extensions better (fixes the clang build).

FreeBSD has since switched to only using it for GCC (which apparently
complains about anonymous unions). In clang, it will enable Microsoft's
__wchar_t type, which (as in FreeBSD) conflicts with our own one.

We actually only need it for gcc44. Our gcc47 builds radeon.ko fine
without it.

DragonFlyBSD — sys/dev/drm Makefile

dev/drm: For now, only build radeon drivers with base compilers

Currently, at least clang35 can't build radeon drivers due to how system
headers are included.  I suspect dports gcc compilers may also have the
same issue.  Until this issue is understood and fixed, limit the building
of radeon modules to the base compilers.
Delta File
+5 -2 sys/dev/drm/Makefile
+5 -2 1 file

DragonFlyBSD — sys/conf bsd.kern.mk, sys/platform/pc32/conf kern.mk

kern.mk: isolate gcc-only flags to gcc compilers (determined by CCVER)

DragonFlyBSD — lib/libstand Makefile

libstand: Isolate gcc-specific flags, avoid native compilations

Only set -mpreferred-stack-boundary when using GCC.  While here, add
a bunch of flags that avoid cpu-specific instructions.  Similar flags
are seen in the boot code.
Delta File
+3 -0 lib/libstand/Makefile
+3 -0 1 file

DragonFlyBSD — sys/boot/pc32 Makefile.inc, sys/boot/pc32/boot0 Makefile

boot/pc32: specify some flags based on CCVER

Some flags are gcc-specific, so only set them if CCVER begins with
the substring "gcc".  Some assembly files can only be built by the
binutils GNU assembler, so define ASSEMBLER flags which CCVER starting
with "clang" will augment.  There is no change for the current base
compilers.

DragonFlyBSD — sys/boot/dloader Makefile

boot/dloader: Remove duplicate CFLAGS

The -ffreestanding flag gets defined by ../pc32/Makefile.inc which
both platforms pull in.  The -m32 flag is defined by ../pc64/Makefile
which only x86_64 pulls in.
Delta File
+1 -2 sys/boot/dloader/Makefile
+1 -2 1 file

DragonFlyBSD — sys/platform/pc64/acpica acpi_wakecode.S

pc64/acpica: specify cmpw in acpi_wakecode.S

The "cmp" instruction is ambiguious in acpi_wakecode.S.  The GNU assembler
should emit an error, but instead it just assumes that the operand is of
a wide type.  The clang assembler does throw an error, so let's explicitly
use "cmpw" to resolve the ambuiguity.

DragonFlyBSD — . Makefile_upgrade.inc

drm1: Remove formatted manual pages via 'make upgrade', too.
Delta File
+11 -0 Makefile_upgrade.inc
+11 -0 1 file

DragonFlyBSD — share/man/man4 Makefile

Remove forgotten backslash.
Delta File
+1 -1 share/man/man4/Makefile
+1 -1 1 file

DragonFlyBSD — . Makefile_upgrade.inc, share/man/man4 Makefile drm.4

Remove remaining drm1 bits

* Remove kernel compilation options and manpages for old drivers

* Make sure make upgrade removes old kernel modules and other
  files

DragonFlyBSD — sys/dev/drm/include/drm drm_pciids.h

drm: Remove unused PCI ids
Delta File
+0 -335 sys/dev/drm/include/drm/drm_pciids.h
+0 -335 1 file

DragonFlyBSD — sys/dev/drm Makefile, sys/dev/drm/mach64 mach64_dma.c mach64_state.c

kernel: Drop drm1 drivers

* They were used for 3D OpenGL acceleration with ancient graphic cards
  from the 1990s to early 2000s

* Mesa removed support for them in August 2011, before its 8.0 release

* No Mesa 7.x version beeing available in dports anymore these drivers
  have become completely useless
Delta File
+0 -11,645 sys/dev/drm/mga/mga_ucode.h
+0 -1,776 sys/dev/drm/mach64/mach64_dma.c
+0 -1,680 sys/dev/drm/r128/r128_state.c
+0 -1,167 sys/dev/drm/mga/mga_dma.c
+0 -1,165 sys/dev/drm/savage/savage_state.c
+0 -1,136 sys/dev/drm/mga/mga_state.c
+1 -9,371 34 files not shown
+1 -27,940 40 files

DragonFlyBSD — sbin/reboot reboot.c

reboot - Mask SIGTERM to fix a self-immolation issue

* reboot is getting SIGTERM'd, possibly from its parent shell, before
  it can finish telling the system to reboot.  Mask this signal as well.

* But possibly exposed by earlier SMP work that could result in the
  signal getting in front of the final system call to reboot.

Submitted-by: YONETANI Tomokazu
Delta File
+2 -0 sbin/reboot/reboot.c
+2 -0 1 file

DragonFlyBSD — sbin/reboot reboot.c

reboot - Mask SIGTERM to fix a self-immolation issue

* reboot is getting SIGTERM'd, possibly from its parent shell, before
  it can finish telling the system to reboot.  Mask this signal as well.

* But possibly exposed by earlier SMP work that could result in the
  signal getting in front of the final system call to reboot.

Submitted-by: YONETANI Tomokazu
Delta File
+2 -0 sbin/reboot/reboot.c
+2 -0 1 file

DragonFlyBSD — usr.bin/tip Makefile.inc, usr.bin/tip/libacu unidialer.c t3000.c

tip(1): Raise WARNS to 2 and fix all corresponding warnings.

Also ansify, use -std=gnu99 like everywhere else and do some more
cleanups.
Delta File
+72 -66 usr.bin/tip/libacu/unidialer.c
+94 -27 usr.bin/tip/tip/tip.h
+28 -47 usr.bin/tip/tip/cmds.c
+27 -43 usr.bin/tip/tip/tip.c
+34 -34 usr.bin/tip/libacu/t3000.c
+17 -44 usr.bin/tip/tip/acutab.c
+244 -280 26 files not shown
+516 -541 32 files

DragonFlyBSD — sys/dev/drm/include/linux delay.h

drm: msleep() must not sleep forever

* In some cases, the msleep() implementation called tsleep() with a
  timeout value of zero, making the calling thread sleep forever.

* Ensure tsleep() is always called with a minimal timeout value of
  one tick to avoid this situation.
Delta File
+2 -1 sys/dev/drm/include/linux/delay.h
+2 -1 1 file

DragonFlyBSD — secure/lib/libcrypto Makefile.inc, secure/lib/libcrypto/man ASN1_STRING_length.3 ASN1_STRING_new.3

openssl: Update version/date in the manual pages.

DragonFlyBSD — secure/lib/libcrypto Makefile.inc, secure/lib/libcrypto/man ASN1_STRING_length.3 ASN1_STRING_new.3

openssl: Update version/date in the manual pages.

DragonFlyBSD — share/misc bsd-family-tree

bsd-family-tree: Sync with FreeBSD (for Mac OS X 10.10).
Delta File
+4 -1 share/misc/bsd-family-tree
+4 -1 1 file

DragonFlyBSD — . Makefile_upgrade.inc, crypto/openssl/crypto constant_time_locl.h

Local adjustments for OpenSSL-1.0.1j.

DragonFlyBSD — . Makefile_upgrade.inc, crypto/openssl/crypto constant_time_locl.h

Local adjustments for OpenSSL-1.0.1j.

DragonFlyBSD — crypto/openssl CHANGES README.DELETED, crypto/openssl/apps s_client.c

    Merge branch 'vendor/OPENSSL'
∈ Sascha Wildner - 34440c39 - 2014-10-22 18:27:43
Import OpenSSL-1.0.1j.

* Fixes for CVE-2014-3513, CVE-2014-3566, CVE-2014-3567 and
  CVE-2014-3568.

DragonFlyBSD — crypto/openssl CHANGES README.DELETED, crypto/openssl/apps s_client.c

Import OpenSSL-1.0.1j.

* Fixes for CVE-2014-3513, CVE-2014-3566, CVE-2014-3567 and
  CVE-2014-3568.

* Additional DigestInfo checks.

DragonFlyBSD — usr.bin/tip/libacu hayes.c v3451.c, usr.bin/tip/tip cmds.c value.c

tip(1): Fix various warnings and errors emitted by clang

The most serious were void/return mismatches, but clang also complained
about ambiguous brackets and mis-matching printf formats.  It also didn't
like one particular K&R-formatted function, but I'm not sure why not.

DragonFlyBSD — share/mk bsd.cpu.mk

Really set default binutils to version 2.24

The last update of binutils missed changing the default in bsd.cpu.mk,
which means all the bootstrap and other tools were built with binutils
2.22 instead of 2.24.  This oversight is rectified now.
Delta File
+3 -3 share/mk/bsd.cpu.mk
+3 -3 1 file

DragonFlyBSD — sys/boot Makefile README, sys/boot/common reloc_elf.c load_elf.c

boot: remove sparc, powerpc, ia64 code and references

While I'm here, remove the practically blank README.  Apparently this was
on Matt's "To-Do" list, but that was 4 years ago so I don't think it's
going to get done.

DragonFlyBSD — sbin/routed input.c

routed - Apply FreeBSD-SA-14:21.routed

* Apply patch to fix null-pointer DOS.
Delta File
+4 -0 sbin/routed/input.c
+4 -0 1 file

DragonFlyBSD — lib/csu/i386 Makefile.csu, lib/csu/x86_64 Makefile.csu

csu: Remove $CFLAGS from intermediate object targets

These makefile case from FreeBSD, but the flags were called $ACFLAGS,
not $CFLAGS, and they are empty by default.  I noticed clang's
assembler screaming about unused flags and then noticed this mistake.

DragonFlyBSD — etc/defaults compilers.conf, libexec/customcc cc.sh Makefile

customcc: Improve wrapper script efficiency and capabilities

The wrapper script had some deficies, such as:
 * awk called every invocation
 * cc and gcc treated the same
 * c++ and g++ treated the same
 * evals for variables not used
 * every invocation of c++ or g++ called cc -dumpmachine
 * g++ hardcoded to dports include scheme
 * no support for "CC" or "gcov" (both defined by base compilers)

The update addresses these by:
 * awk eliminated by pushing INCOPT definition to defaults/compilers.conf
 * cc -dumpmachine eliminated during creation of defaults/compilers.conf
   It was only used for dports gcc, so with the assumption that the dports
   compiler matches the uname information (a decent assumption), this
   was predefined, yet overridable by /etc/compilers.conf
 * cc is treated separately from gcc
 * CC and c++ are treated the same but separately from g++
 * by wrapper default, gcc and g++ refer to base gcc4.7, but the default
   compilers.conf sets them to the same as the specified dports gcc
 * Support for clang, clang++, clang-cpp, CC, and gcov was added
 * Support for base clang, clang++, and clang-cpp was added in
   anticipation of bringing clang into base.
 * variables are only evaluated if used.

    [9 lines not shown]

DragonFlyBSD — sys/kern subr_rman.c, sys/platform/pc64/x86_64 nexus.c

kernel - Fix int/long truncation problem in rman_reserve_resource()

* Use ulmin/ulmax instead of min/max in three places, fixing a 32-bit
  truncation problem when setting up memory resources that caused our
  48-core opteron to panic.

* An earlier commit adjusting count values to be more correct revealed
  the bug.

* Fixes booting the kernel on our 48-core opteron w/128G of ram.

DragonFlyBSD — games/morse morse.c morse.6, share/man/man4 led.4 acpi_thinkpad.4

kernel: FWIW, add FreeBSD's led(4) framework.

It's not big and some ACPI code can utilize it.

Also add -l to morse(6) to output in led(4) compatible format.

Thanks to Markus Pfeiffer and Johannes Hofmann for testing and
finding issues.

Taken-from: FreeBSD

DragonFlyBSD — etc/periodic/daily 440.status-mailq, libexec/dma dma.c

dma(8): Better integration with our periodic scripts.

* Make dma(8) accept the -Ac option when run as 'mailq'. Also make it
  run as 'hoststat' and 'purgestat' (does nothing in this case).

* Adjust the 440.status-mailq daily periodic script to also check for
  "Mail queue is empty", which is dma(8)'s corresponding text.

Note: We really should be suppressing the checking of the submit queue
      automatically if mailer.conf is set up for dma(8) but I'm not
      sure yet what's the best way.

Reported and tested by Max Herrgard <herrgard at gmail.com>.

DragonFlyBSD — etc/rc.d nfsd

rc.d/nfsd: Add shutdown keyword so as it's stopped at shutdown.
Delta File
+1 -0 etc/rc.d/nfsd
+1 -0 1 file

DragonFlyBSD — share/man/man7 vkernel.7

Add ifmedia(4) reference to vkernel.7 (which is vke's manual page too).
Delta File
+1 -0 share/man/man7/vkernel.7
+1 -0 1 file

DragonFlyBSD — libexec/dma dma.c

dma(8): Fix some comment typos.
Delta File
+3 -3 libexec/dma/dma.c
+3 -3 1 file

DragonFlyBSD — sys/dev/virtual/vkernel/net if_vke.c

vkernel: Add rudimentary media support to if_vke
Delta File
+70 -3 sys/dev/virtual/vkernel/net/if_vke.c
+70 -3 1 file

DragonFlyBSD — sys/platform/vkernel64/platform pmap.c

vkernel - Enhance panic message for freeing held page table page

* Adjust the 'freeing held page table page' to say 'freeing held pt page'
  and also include a bunch of pointer and other information.

DragonFlyBSD — sys/vm vm_map.c

kernel - Add /dev/upmap and /dev/kpmap and sys/upmap.h (4)

* Properly remove pte entries for VM_MAPTYPE_UKSMAP mappings.  This maptype
  will have a NULL object.

* Fixes a vkernel panic, probably fixes a page leak in real kernels.
Delta File
+2 -0 sys/vm/vm_map.c
+2 -0 1 file

DragonFlyBSD — lib/libusb libusb20.3, share/man/man7 environ.7

Sort SEE ALSO in libusb20.3 and environ.7

DragonFlyBSD — usr.sbin/acpi/acpiconf acpiconf.8

acpiconf.8: Remove duplicate SEE ALSO.
Delta File
+0 -1 usr.sbin/acpi/acpiconf/acpiconf.8
+0 -1 1 file

DragonFlyBSD — sys/dev/virtual/vkernel/net if_vke.c

vkernel - Support BPF for if_vke.

* if_vke now supports tcpdump in both directions instead of just one
  direction.

DragonFlyBSD — lib/libc Makefile.inc, lib/libc/gen setproctitle.c

kernel - Add /dev/upmap and /dev/kpmap and sys/upmap.h (3)

* Add upmap->invfork.  When a vforked child is trying to access the upmap
  prior to exec we must still access the parent's map and not the child's,
  which means that the stored PID will be incorrect.

  To fix this issue we add the invfork field which allows userland to
  determine whether this is a vforked child accessing the parent's map.
  If it is, getpid() will use the system call.

* Fix a bug where a vfork()d child creates p->p_upmap for itself but then
  maps it into the parent's address space as a side effect of a getpid()
  or other call.  When this situation is detected, /dev/upmap will use
  the parent's p_upmap and not the child's, and also properly set the
  invfork flag.

* Implement system call overrides for getpid(), setproctitle(), and
  clock_gettime() (*_FAST and *_SECOND clock ids).  When more than 10 calls
  are made to one of these functions the new libc upmap/kpmap support is
  activated.  /dev/upmap and /dev/kpmap will be memory-mapped into the
  address space and further accesses will run through the maps instead of
  making system calls.

  This will obviously reduce overhead for these calls by a very significant
  multiplier.

    [5 lines not shown]