Displaying 1 50 of 38,993 commits (0.010s)

DragonFlyBSD — . Makefile_upgrade.inc, sys/cpu/x86_64/include coredump.h

Remove unused <{cpu,machine}/coredump.h> header.

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

vkernel - Sync to recent API changes (3)

* Fix va page offset in returned value.

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

vkernel - Sync to recent API changes (2)

* Refactor uservtophys() to use vm_fault_page().  The pmap
  lookup isn't going to work coupled with the fuword style
  test because the vkernel's copyin/copyout/fuword/etc code
  doesn't fault the underlying page into the pmap.
Delta File
+21 -15 sys/platform/vkernel64/platform/pmap.c
+21 -15 1 file

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

vkernel - Sync to recent API changes

* Add uservtophys() to the vkernel code.  This is a bit of a quick hack
  but it should work.  It won't be efficient, though.

* vkernel compiles again and appears to run ok.

DragonFlyBSD — sys/kern vfs_subr.c

kernel - Fix vclean assertion due to short-cut taken by TMPFS

* Allow a vnode being destroyed to have a dirty VM object.  TMPFS
  doesn't bother to cleanup VM objects when destroying file nodes
  (e.g. when a file that is no longer referenced is removed), and
  can leave dirty pages present in the underlying object.

* Fixes occassional kernel assertions related to tmpfs (that only
  tend to occur with specific use cases).

Reported-by: zrj
Delta File
+3 -0 sys/kern/vfs_subr.c
+3 -0 1 file

DragonFlyBSD — lib/libc/citrus citrus_none.c

libc/citrus: Catch a NULL pointer earlier, check for empty string later.

This fixes a gcc8 warning.

Taken-from: NetBSD (Revisions 1.20-1.22)
Delta File
+3 -2 lib/libc/citrus/citrus_none.c
+3 -2 1 file

DragonFlyBSD — . Makefile.inc1, bin/ed Makefile

Remove the NO_CRYPT build option.

It has been broken for a long time without anyone complaining about and
we don't want to maintain it either.

In-discussion-with: zrj
Delta File
+16 -23 usr.bin/Makefile
+5 -14 sbin/Makefile
+5 -9 lib/Makefile
+1 -13 gnu/lib/Makefile
+3 -6 libexec/Makefile
+1 -6 etc/Makefile
+16 -85 24 files not shown
+47 -156 30 files

DragonFlyBSD — sys/sys indefinite2.h

<sys/indefinite2.h>: Fix header name.

This is never reached (<sys/globaldata.h> comes in via <sys/indefinite.h>
as it seems), but fix anyway.
Delta File
+1 -1 sys/sys/indefinite2.h
+1 -1 1 file

DragonFlyBSD — sys/dev/misc/kbd kbdreg.h, sys/dev/raid/hptmv hptproc.c

kernel: Remove some semicolons at the end of macro definitions.

DragonFlyBSD — sys/dev/netif/iwm if_iwmreg.h, sys/dev/raid/mlx mlx.c

kernel: Remove some unnecessary semicolons.

DragonFlyBSD — sys/cpu/x86_64/include atomic.h, sys/dev/raid/aac aacvar.h

kernel: Remove two final \ in macro definitions.

DragonFlyBSD — sys/conf kern.pre.mk

LTO: Disable safety feature.

No longer can reproduce boot issue in the padlock/padlock_rng codes.
The -flto-partition=one can be supplied together with -flto as needed.
Delta File
+5 -5 sys/conf/kern.pre.mk
+5 -5 1 file

DragonFlyBSD — sys/conf kmod.mk

LTO: Pass CFLAGS to compiler for kernel module linking too.

Forgot to git add it in fa8104330967fab6248da216251a4382b39b1dab.
Linker still could link LTO'ed *.o objects, because ld is invoked by cc
with explicitly passed -plugin option that loads the liblto_plugin.so.
This only slightly changes how LTO is performed on kernel modules.

Note: this will need to be adjusted for clang -flto compatibility
when I will update the clangb version in git module.

Reported-by: dillon
Delta File
+8 -3 sys/conf/kmod.mk
+8 -3 1 file

DragonFlyBSD — contrib/gcc-4.7/gcc c-typeck.c

    gcc47: Backport static initialization acceptance.
    I only backporting these so that failing to accept drm/i915 _MMIO() stuff
    would *not* be used as an argument to remove gcc47 alternative compiler
    from base, just because "oh look it does not compile the i915.ko".
    The gcc47 is likely the last C compiler compilable with C compiler able
    to bootstrap the c++ compiler that is used on x86_64 anymore.
    If anyone has/works on simple C compiler that could boostrap modern gcc,
    you know where I hanging out and I gladly replace gcc47 with it in base.
    It only takes few lines to accept updated drm/i915 "features".
    It still warns with -pedantic:
    /usr/src/sys/dev/drm/i915/intel_pm.c:3925:3: warning: initializer element is not 
constant [-pedantic]
    /usr/src/sys/dev/drm/i915/intel_pm.c:3925:3: warning: (near initialization for 
'wm0_pipe_reg[0]') [-pedantic]
    /usr/src/sys/dev/drm/i915/intel_pm.c:3926:3: warning: initializer element is not 
constant [-pedantic]
    /usr/src/sys/dev/drm/i915/intel_pm.c:3926:3: warning: (near initialization for 
'wm0_pipe_reg[1]') [-pedantic]
    /usr/src/sys/dev/drm/i915/intel_pm.c:3927:3: warning: initializer element is not 
constant [-pedantic]
    /usr/src/sys/dev/drm/i915/intel_pm.c:3927:3: warning: (near initialization for 
'wm0_pipe_reg[2]') [-pedantic]

    [5 lines not shown]
Delta File
+7 -2 contrib/gcc-4.7/gcc/c-typeck.c
+7 -2 1 file

DragonFlyBSD — usr.bin/tftp tftp.c main.c

tftp(1): Avoid symbol conflict with ncurses.

The usr.bin/tftp/main.c: int trace;
while lib_trace.c: void trace(const unsigned int){};
This breaks -flto -static link against LTO'ed libncurses.a.

Fix it by just renaming: s/trace/tftp_trace/g.
Delta File
+8 -8 usr.bin/tftp/tftp.c
+4 -4 usr.bin/tftp/main.c
+12 -12 2 files

DragonFlyBSD — usr.bin/ftp Makefile

ftp(1): Avoid symbol conflict with ncurses.

The contrib/tnftp/src/ftp_var.h: GLOBAL int trace;
while lib_trace.c: void trace(const unsigned int){};
This breaks -flto -static link against LTO'ed libncurses.a.

Since it is in contrib code, just -Dtrace it.
Delta File
+4 -0 usr.bin/ftp/Makefile
+4 -0 1 file

DragonFlyBSD — games/backgammon/backgammon main.c move.c, games/backgammon/common_source init.c back.h

backgammon(6): Avoid symbol issue with ncurses lib.

The backgammon(6) has: back.k: extern int raw;
while in ncurses tinfo/lib_raw.c: int raw(void){}.

This breaks -flto -static link against LTO'ed libncurses.a.
So just rename backgammon global raw to bgraw.

Just for the fun of it, note that init.c: struct termios bgraw;
NetBSD already have it fixed in games/backgammon/.
Also still not clear how to do with c5e1790f6b.

DragonFlyBSD — sys/conf kmod.mk options, sys/config LINT64

Fix some trailing whitespace in sys/conf and sys/config.

Submitted-by: zrj

DragonFlyBSD — usr.bin/banner banner.c

banner(1): Remove (void) casts.

Forgot about these. Sorry.
Delta File
+2 -2 usr.bin/banner/banner.c
+2 -2 1 file

DragonFlyBSD — games/arithmetic arithmetic.c, games/atc update.c log.c

games: Remove (void) casts.

No functional change.
Delta File
+54 -54 games/wump/wump.c
+33 -33 games/hunt/hunt/display.c
+20 -21 games/number/number.c
+18 -19 games/arithmetic/arithmetic.c
+18 -19 games/quiz/quiz.c
+14 -14 games/hunt/huntd/driver.c
+91 -108 26 files not shown
+248 -268 32 files

DragonFlyBSD — games/fortune/datfiles dragonfly-tips fortunes-o

fortune(6): Add few fortunes.

DragonFlyBSD — games Makefile, games/tetris screen.c scores.c

Bring in OpenBSD's tetris(6).

Will be handy to test upcoming ncurses update.

Taken-from: OpenBSD
Delta File
+488 -0 games/tetris/screen.c
+436 -0 games/tetris/scores.c
+359 -0 games/tetris/tetris.c
+177 -0 games/tetris/tetris.h
+172 -0 games/tetris/tetris.6
+143 -0 games/tetris/input.c
+282 -0 6 files not shown
+2,057 -0 12 files

DragonFlyBSD — etc/mtree BSD.usr.dist, games Makefile

Bring in OpenBSD's boggle(6).

As per README, stuff is addictive!

Pointed-by: Thierry
Taken-from: OpenBSD

DragonFlyBSD — sbin/newfs_hammer2 newfs_hammer2.8

newfs_hammer.8: Fix up the HISTORY section.

Reported-by: kerma (Michael)

DragonFlyBSD — contrib/ncurses/progs dump_entry.c

Revert "bootstrap: Expand BOOTSTRAPPING case to avoid warning."

This reverts commit 6b9ba3e86a05417c2af9786967ec92fc136cffde.

DragonFlyBSD — contrib/ncurses/progs tic.c dump_entry.c, lib/libncurses/include unctrl.h

Revert "Hack-fix buildworld after the ncurses upgrade."

This reverts commit 6d3bd8e3942560036cf2aec0d98a65819c5f3b4c.

DragonFlyBSD — lib/libc/sys umtx.2, share/man/man7 build.7

Fix some typos in manual pages.

DragonFlyBSD — usr.bin/banner banner.1

banner.1: Adjust for 80 columns terminals.
Delta File
+1 -1 usr.bin/banner/banner.1
+1 -1 1 file

DragonFlyBSD — sys/vfs/hammer2 hammer2_cluster.c

kernel/hammer2: Fix compilation without INVARIANTS.

Reported-by: ohum
Delta File
+2 -0 sys/vfs/hammer2/hammer2_cluster.c
+2 -0 1 file

DragonFlyBSD — . Makefile_upgrade.inc

Remove some more old openssl(1) related manual pages and MLINKS.

I had overlooked them in f694fa517c2628d79a49719e25f72134babbdd0c.

Reported-by: zrj
Delta File
+10 -0 Makefile_upgrade.inc
+10 -0 1 file

DragonFlyBSD — usr.bin Makefile, usr.bin/banner chset.c banner.c

Bring in OpenBSD's banner(1).

I find it more pleasing to the eyes than banner(6).

While there, constify array in lpd(8) too.

Taken-from: OpenBSD
Delta File
+1,153 -0 usr.bin/banner/chset.c
+95 -96 usr.sbin/lpr/lpd/lpdchar.c
+157 -0 usr.bin/banner/banner.c
+46 -0 usr.bin/banner/banner.1
+29 -0 usr.bin/banner/banner.h
+7 -0 usr.bin/banner/Makefile
+2 -2 2 files not shown
+1,489 -98 8 files

DragonFlyBSD — share/man/man6 intro.6 Makefile

intro.6: Remove reference to dm(8).

DragonFlyBSD — games Makefile, usr.bin Makefile

banner(6): Move to games/ where it belongs.

I somehow managed to miss this one when prepping the 07917fe88dd.
Now all (6) utilities are really in games/.

Only a single (6) manpage is outside games/
It stays there.
Delta File
+1 -1 games/Makefile
+0 -1 usr.bin/Makefile
+1 -2 2 files

DragonFlyBSD — test/test test123

test - Test commit.
Delta File
+1 -0 test/test/test123
+1 -0 1 file

DragonFlyBSD — usr.bin/sort sort.c coll.c

btools: Strip libmd dep for usr.bin/sort.

Implement SORT_RANDOM option and do not use if BOOTSTRAPPING.
This option is useless for a buildworld/buildkernel.

This allows to have sort(1) that only depends on libc.

DragonFlyBSD — bin/cpdup cpdup.c BACKUPS, bin/cpdup/scripts params

cpdup(1): Whitespace cleanup.

No functional change.

DragonFlyBSD — bin/cpdup Makefile

btools: Strip host lib deps for bin/cpdup.

Disable last libmd.a user in btools.
MD5 functionality (cpdup -m) for buildworld is redundant.
Delta File
+5 -0 bin/cpdup/Makefile
+5 -0 1 file

DragonFlyBSD — usr.bin/sort Makefile

btools: Strip libpthread dep for usr.bin/sort.

This is one in particular was annoying me for long. It has a potential of using
ptreads for sorting speed up. Running parallel sort(1) in various buildworld
places actually can result in less performance on maximum parallel builds due
to interference with other cpu cores and we can not be sure about the state of
host's static libpthread lib. Also, so far I did not noticed any performance
degradation when sort is used without threads support for buildworld purposes.
This utility (in btools case) is compiled statically so bringing whole pthreads
static lib into memory has a bigger penalty then in most cases sorting anyway.
This a single btools/ctools case that depends on -lpthread. Having a slim,
more stable buildings tools is prefered than dubious compilation speed
enhancements for critical buildworld infrastructure.

The libmd.a dependency will be revemoved in separate patch.
Delta File
+4 -1 usr.bin/sort/Makefile
+4 -1 1 file

DragonFlyBSD — . Makefile.inc1

btools: Remove usr.bin/bzip2 from the list.

The bzip2 and its variants are not used during buildworld/buildkernel.
So avoid yet another dependency on host lib (libz2.a).
Only places i could find it referenced were:
  * etc/man.conf - for manpage compression (we only do and trac .gz ones).
  * etc/release  - for compressing the kernel sources (that is outside build
                   and already have a dependencies from DPorts).
Delta File
+1 -1 Makefile.inc1
+1 -1 1 file

DragonFlyBSD — . Makefile_upgrade.inc, lib/libncurses/libpanel Makefile

ncurses: Privatize the last public header.

Just move it with rest of privatized ncurses headers. Only user in base is
usr.sbin/installer/dfuife_curses/ and include path is already handled there.
As of this moment we are sure that none of private ncurses bits are used for
bootstrapping the world (non-interactive make/shell scripts redirected to
file should not care about colors anyway or try to format the layout).

No functional change.

DragonFlyBSD — . Makefile.inc1, bin/csh Makefile

btools: Remove /bin/csh from the list.

Our buildworld infrastructure does not use it (/bin/sh is used).
The csh is quite a complicated shell (ncurses, crypto deps).
One place less to trip while upgrading to newer releases.
This should simplify all the private libs handling.
Delta File
+1 -17 bin/csh/Makefile
+1 -1 Makefile.inc1
+2 -18 2 files

DragonFlyBSD — bin/sh Makefile

btools: Do not link with LIBEDIT for bin/sh.

The -DNO_HISTORY already disables all libprivate_edit functionality and
libncurses is only a dep for libedit. Simply remove extra dependencies.
Keeps btools slim and cleaner.
Delta File
+1 -19 bin/sh/Makefile
+1 -19 1 file

DragonFlyBSD — . Makefile.inc1, share/terminfo Makefile

ncurses: Hook in fully bootstrapped tic_next.

This hopefully will allow for better future bootstraps better and w/o hacks.
Problem with tic(1) is his special knowledge through <progs.priv.h> header.
Because it is not a standard application (that uses only public headers) we
simply cannot expect to just compile three new main sources sources + link
with previously built libncurses.a from older release. Also, tic(1) during
buildworld builds terminfo binary database for the *new* ncurses lib version
and not for the *old* one. So full bootstrap is in order.

Note, share/terminfo database can still be built by a world installed tic(1).
Delta File
+3 -23 usr.bin/tic/Makefile
+10 -9 share/terminfo/Makefile
+1 -1 Makefile.inc1
+14 -33 3 files

DragonFlyBSD — lib/libncurses Makefile.sources Makefile, lib/libncurses/libncurses Makefile

ncurses: Add hostprog variant of tic.

Tic(1) uses some of internal bits of ncurses implementation.
  * For now include a basic set of libncurses.
  * Link this tic with wide version of ncurses.
  * Adjust sources a bit for future reference.

DragonFlyBSD — lib/librecrypto Makefile.inc

libcrypto: Remove unused old version and date in Makefile.inc.
Delta File
+0 -3 lib/librecrypto/Makefile.inc
+0 -3 1 file

DragonFlyBSD — lib/libncurses Makefile.sources Makefile.inc, lib/libncurses/libpanel Makefile

ncurses: Move in panel handling to Makefile.sources.

While there, install panel.h header only from a single place.
Previously it was installing it from both libpanel and libpanelw.
The libpanelw lib is currently unused in the world tree, while the
libpanel is only used by installer.

No functional change.

DragonFlyBSD — sys/kern vfs_default.c, sys/sys vnode.h

kernel - Fix mtime for deferred writes from mmap R+W

* When a program modifies a file via a shared R+W mmap and does not
  msync() it, the pages do not get synchronized to the filesystem until
  potentially up to 30 seconds later.  Our filesystems then record a
  mtime as-of when that synchronization occurs rather than when the
  modification was made to the pages.

* We cannot easily determine when the modification was made, but we do
  track close()'s on file pointers that were opened writable.  So what
  we do is record the timestamp as of the last close() of a file pointer
  that was opened for writing.  Then later on we pages are synchronizded,
  we use this timestamp for any mtime update.  It isn't perfect, but its
  better than it was before.

* This is not a perfect fix.  The mtime really needs to be updated at the
  time of the close() in this situation as well, but it will fix 'make'
  related issues for files that are modified with mmap rather than
  write() (aka such as ld.gold appears to do).

Reported-by: zrj

DragonFlyBSD — lib/libncurses Makefile.sources Makefile.inc, lib/libncurses/libncurses Makefile

ncurses: Separate generators and sources list.

Keeps everything concentrated outside libncurses lib.
Add a bit of source sorting too.

No functional change, just moving stuff around.

DragonFlyBSD — lib/libncurses Makefile.inc, lib/libncurses/libncurses Makefile

ncurses: Do not use LIB_SUFFIX.

In preparations for update.

While there, remove two unused variables.

DragonFlyBSD — . Makefile_upgrade.inc, usr.bin/openssl Makefile.man Makefile

Remove various old openssl(1) related manual pages.