Displaying 1 50 of 32,811 commits (0.079s)

DragonFlyBSD — contrib/bmake main.c, usr.bin/bmake Makefile

bmake: Fix clobber error, raise WARNS back to 4
Delta File
+1 -1 contrib/bmake/main.c
+1 -1 usr.bin/bmake/Makefile
+2 -2 2 files

DragonFlyBSD — sys/kern vfs_nlookup.c

kernel - Fix panic in broken chroot case

* If a chroot is broken (e.g. by some process outside the chroot renaming
  a parent directory from inside to outside the chroot), and a process
  within the chroot attempts to '..' past the real root, the system will
  panic on an assertion.  Add a check to detect this case and not panic.

* This patch does not detect other chroot break-out cases.

Reported-by: Balazs Bucsay
Delta File
+22 -3 sys/kern/vfs_nlookup.c
+22 -3 1 file

DragonFlyBSD — share/zoneinfo NEWS asia

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

Changes affecting future time stamps

* Mongolia will start observing DST again this year, from the last Saturday
  in March at 02:00 to the last Saturday in September at 00:00.
  (Thanks to Ganbold Tsagaankhuu.)

* Palestine will start DST on March 28, not March 27.  Also,
    correct the fall 2014 transition from September 26 to October 24.
    Adjust future predictions accordingly.  (Thanks to Steffen Thorsen.)

Changes affecting past time stamps

* The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
    regression.  (Thanks to Stuart Bishop for reporting the problem.)

* Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    The affected zones are: America/Antigua, America/Cayman,
    Pacific/Midway, and Pacific/Saipan.

Changes affecting time zone abbreviations


    [11 lines not shown]

DragonFlyBSD — share/zoneinfo NEWS asia

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

Changes affecting future time stamps

* Mongolia will start observing DST again this year, from the last Saturday
  in March at 02:00 to the last Saturday in September at 00:00.
  (Thanks to Ganbold Tsagaankhuu.)

* Palestine will start DST on March 28, not March 27.  Also,
    correct the fall 2014 transition from September 26 to October 24.
    Adjust future predictions accordingly.  (Thanks to Steffen Thorsen.)

Changes affecting past time stamps

* The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
    regression.  (Thanks to Stuart Bishop for reporting the problem.)

* Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    The affected zones are: America/Antigua, America/Cayman,
    Pacific/Midway, and Pacific/Saipan.

Changes affecting time zone abbreviations


    [11 lines not shown]

DragonFlyBSD — usr.bin/bmake Makefile

bmake(1): lower WARNS from 4 to 2

The latest bmake will not build with gcc50 with WARNS of 4:
--- main.o ---
/usr/src/usr.bin/bmake/../../contrib/bmake/main.c: In function 'Cmd_Exec':
/usr/src/usr.bin/bmake/../../contrib/bmake/main.c:1527:10: error: variable
 'savederr' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
     int  savederr; /* saved errno */
Delta File
+1 -1 usr.bin/bmake/Makefile
+1 -1 1 file

DragonFlyBSD — sys/vfs/hammer hammer_btree.c

sys/vfs/hammer: Fix comment on leaf node elements

- This seems to be an obsolete comment from 47197d71.
  There is nothing special about leaf elements now.
Delta File
+0 -2 sys/vfs/hammer/hammer_btree.c
+0 -2 1 file

DragonFlyBSD — sys/vfs/hammer hammer_btree.c

sys/vfs/hammer: Make use of btree_max_elements()

- Implement btree_node_is_full() using btree_max_elements()
  which had been #if0'd at right below this function.
Delta File
+7 -18 sys/vfs/hammer/hammer_btree.c
+7 -18 1 file

DragonFlyBSD — sys/vfs/hammer2 hammer2_cluster.c hammer2_inode.c

hammer2 - Cluster API cleanup

* Simplify hammer2_cluster_copy() to reduce ref count confusion.  It now
  always refs the underlying chains and the cluster.  The follow-up
  hammer2_cluster_lock() op can then be called with HAMMER2_RESOLVE_NOREF
  to avoid double-refs on the cluster and its underlying chains.

* Simplify hammer2_inode_lock_ex() and hammer2_inode_lock_sh().  These
  functions now use hammer2_cluster_lock() instead of rolling their own.

* Focus is now never set until a cluster is locked.  However, continue
  to cache a default focus in the hammer2_inode's embedded cluster.

* Remove some dead code.

DragonFlyBSD — sys/netgraph7/l2tp ng_l2tp.c, sys/netgraph7/netgraph ng_base.c

kernel: Adjust netgraph7 for the mtx_init() change.

DragonFlyBSD — . Makefile_upgrade.inc

make upgrade: Adjust the files to be removed without WANT_INSTALLER.

We create /usr/share/installer unconditionally via mtree(8) so we can
only remove the files in it.
Delta File
+3 -1 Makefile_upgrade.inc
+3 -1 1 file

DragonFlyBSD — usr.sbin/puffs/mount_psshfs mount_psshfs.8

mount_psshfs.8: Fix typo.

DragonFlyBSD — bin/ln ln.c ln.1

ln(1): Sync up with FreeBSD.

* Adds POSIX.1-2008's -L (hardlinks to symbolic links link to the
  symlink target, which stays our default) and -P (hardlinks to
  symbolic links link to the symlink itself) options.

* Adds -F (if the target is a directory, remove it to make the link
  happen) and -w (warns if the source of a symlink does not exist)
  options.

* Some bug fixes I guess. :)

* It also improves the checks for identical files. Our former checks
  were producing kind of confusing results in conjunction with
  'install -C' (i.e., for libraries and includes, if LINKS is used
  from the Makefile) upon repeated installation.
  Reported-by: marino
Delta File
+161 -76 bin/ln/ln.c
+135 -18 bin/ln/ln.1
+67 -31 bin/ln/symlink.7
+1 -2 bin/ln/Makefile
+364 -127 4 files

DragonFlyBSD — sys/platform/pc64/acpica acpi_fadt.c

kernel/acpi: Only check against ACPI 1.0's FADT size as a minimum.

Hyper-V's FADT for example is only 129 bytes long.

Discussed-with: sephe

DragonFlyBSD — sys/kern kern_sensors.c

sensor: sensor_task_schedule() should always be locked
Delta File
+3 -3 sys/kern/kern_sensors.c
+3 -3 1 file

DragonFlyBSD — lib/libstand Makefile

libstand: Rework makefile to avoid repeated building

The change to use i386 headers for x86_64 was like a sledgehammer.
From my investigation, "cpu" is not needed at all, and only four headers
are needed from "machine".  The "cpu" directory is still created so that
if some attempt to "#include <cpu/xxx>" is made, it will fail.

By adding exact header dependencies, we prevent libstand from building
over and over again in quickworld.
Delta File
+12 -6 lib/libstand/Makefile
+12 -6 1 file

DragonFlyBSD — sys/kern kern_lock.c kern_sysctl.c, sys/sys sysctl.h

sysctl: Expose sysctl lock

It will also be used by sysctl centric module like sensor.

DragonFlyBSD — contrib/gdb-7/gdb defs.h, gnu/usr.bin/gdb/gdb Makefile

gdb(1), kgdb(1): Rework makefile to prevent repeated rebuilding

The beforedepends target was done in such a way that caused gdb and
kgdb to rebuild with every quickworld.  This commit rearranges things
so that doesn't happen anymore.

DragonFlyBSD — gnu/usr.bin/cc50 Makefile.inc, gnu/usr.bin/cc50/cc_prep/config dragonfly-native.h

gcc50: Switch final specs to set DT_RUNPATH tag

The system dynamic binaries have always been built with DT_RPATH set
by the linker.  A few years ago the dynamic linker gained DT_RUNPATH
capability but it hasn't been used in base.

How it works is that when the linker is given the -rpath switch, it
will always set DT_RPATH, but if the --enable-new-dtags switch is present,
the linker will also set DT_RUNPATH tag.  The dynamic linker reacts
differently when DT_RUNPATH is present; it will check LD_LIBRARY_PATH
before the rpath in that case.

This change (to gcc50 only) builds the system with the -rpath flag alone
by for the ctools compiler, but the final compiler's specs include the
--enable-new-dtags switch as well, which affects the building of ports and
all non-system use of the compiler.

DragonFlyBSD — sys/vfs/hammer2 hammer2_cluster.c hammer2_vfsops.c

hammer2 - structuralize the cluster's chain array

* Structuralize hammer2_cluster's chain array, implementing a new
  sub-structure called hammer2_cluster_item.

  This structure represents one of N elements in a cluster node representing
  the same location at each target.  It will also be used to track cache
  coherency state, async locks, and other things.

DragonFlyBSD — sys/vfs/hammer2 hammer2_inode.c hammer2_vnops.c

hammer2 - locking revamp (2)

* Update mutex lock calls to not pass the ident.

DragonFlyBSD — sys/vfs/hammer2 hammer2_ccms.c hammer2_chain.c

hammer2 - locking revamp

* Temporarily remove hammer2_ccms.c from the build and remove the ccms
  container.  The CCMS container will be used again when we get cache
  coherent in, but for now it isn't needed.

* Replace the ccms state lock with a mtx lock and move
  into hammer2_chain_core.

  Note that the mtx lock being used here has abort and async locking
  support and these features will be required by HAMMER2.

* Replace the ccms spin lock with a normal spin lock and move
  into hammer2_chain_core.

* Refactor the OS locking interface to use hammer2_* prefixes for easier
  porting.

* Use a shared spin lock for the ONFLUSH bit update instead of an exclusive
  spin lock.

DragonFlyBSD — sys/dev/disk/iscsi/initiator isc_sm.c iscsivar.h, sys/dev/drm drm_vm.c

kernel - Major mtx lock cleanup

* Integrate the ident into the mtx structure, remove the ident parameter from
  all locking calls.

* Rename some of the functions, shortening them.

* Add a few new functions which hammer2 will use.
Delta File
+53 -20 sys/sys/mutex2.h
+19 -24 sys/kern/kern_mutex.c
+13 -13 sys/sys/mutex.h
+5 -5 sys/dev/disk/iscsi/initiator/isc_sm.c
+2 -3 sys/vfs/nfs/nfs_socket.c
+2 -2 sys/vfs/nfs/nfs_vfsops.c
+13 -13 11 files not shown
+107 -80 17 files

DragonFlyBSD — contrib/bmake job.c README.DRAGONFLY, usr.bin/bmake config.h Makefile

Merge branch 'vendor/GCC50'
∈ John Marino - 5d6e10d1 - 2015-03-22 19:00:55
bmake(1): complete update to version 20141111

The local modification to job.c was returned, but it may no longer be
necessary.  Until that's determined, leave the current behavior in place
though.

DragonFlyBSD — contrib/bmake job.c parse.c

Merge branch 'vendor/BMAKE'
∈ John Marino - bc64155f - 2015-03-22 18:35:10
make(1): Remove local mods to parse.c and job.c

This is in preparation for an upgrade to bmake.
The modification to job.c will return after the merge.
The modification to parse.c has been incorporated upstream

DragonFlyBSD — gnu/usr.bin/cc50 Makefile.version

gcc50: Update to 22 Mar 2015 snapshot (SVN 221572)
Delta File
+1 -1 gnu/usr.bin/cc50/Makefile.version
+1 -1 1 file

DragonFlyBSD — contrib/gcc-5.0 LAST_UPDATED, contrib/gcc-5.0/gcc tree-ssa-coalesce.c ipa-split.c

Update gcc-50 to SVN version 221572

Last Changed Date: 2015-03-22 19:42:52 +0100 (Sun, 22 Mar 2015)

DragonFlyBSD — contrib/bmake make.1 parse.c, contrib/bmake/lst.lib lstMember.c lstRemove.c

Update to bmake-20141111 on the vendor branch
Delta File
+172 -54 contrib/bmake/make.1
+129 -19 contrib/bmake/parse.c
+142 -2 contrib/bmake/mk/ChangeLog
+81 -24 contrib/bmake/mk/dirdeps.mk
+68 -29 contrib/bmake/FILES
+96 -0 contrib/bmake/mk/cython.mk
+848 -323 56 files not shown
+1,536 -451 62 files

DragonFlyBSD — sys/dev/acpica/acpi_thinkpad acpi_thinkpad.c, sys/dev/acpica/aibs atk0110.c

sensor: Allocate task w/ M_WAITOK

And now sensor_task_register() will not fail.

DragonFlyBSD — sys/kern kern_sensors.c

sensor: Create task thread through SYSINIT
Delta File
+20 -12 sys/kern/kern_sensors.c
+20 -12 1 file

DragonFlyBSD — sys/dev/netif/iwn/fw/iwn100 Makefile, sys/dev/netif/iwn/fw/iwn105 Makefile

kernel/iwn: Properly build 3 missing firmwares (100, 105, 135).

DragonFlyBSD — share/man/man4 inet.4 unix.4, sys/netinet in.h

Add sa_family_t definitions to <netinet/in.h> and <sys/un.h> too.

As required by POSIX.

Also use sa_family_t in structs sockaddr_un, sockaddr_in and
sockaddr_in6.

DragonFlyBSD — sys/dev/acpica acpi.c

kernel/acpi: Use ACPI_FULL_INITIALIZATION (no functional change).
Delta File
+1 -1 sys/dev/acpica/acpi.c
+1 -1 1 file

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c

drm/i915: Sync i915_gem_phys_pwrite() with Linux 3.11
Delta File
+2 -2 sys/dev/drm/i915/i915_gem.c
+2 -2 1 file

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c

drm/i915: Sync i915_gem_object_put_pages_gtt() with Linux 3.11
Delta File
+26 -15 sys/dev/drm/i915/i915_gem.c
+26 -15 1 file

DragonFlyBSD — sbin/hammer cmd_show.c hammer.c

sbin/hammer: Expand hammer show directive to lo:objid:rectype:key:tid

- Make hammer show command take rectype:key:tid as an optional part
  of the search directive in addition to the existing part lo:objid.

- Unspecified fields are handled as wildcard.

- rectype:key:tid all have lower priority than existing lo:objid
  (in actual filesystem's btree implementation) so these new fields
  give hammer show command extra conditions on btree search given
  that higher priority fields lo:objid do match.
Delta File
+142 -34 sbin/hammer/cmd_show.c
+3 -4 sbin/hammer/hammer.c
+2 -2 sbin/hammer/hammer.h
+147 -40 3 files

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

drm: Implement set_page_dirty()
Delta File
+7 -0 sys/dev/drm/include/linux/mm.h
+7 -0 1 file

DragonFlyBSD — sys/kern kern_sensors.c

sensor: Function renaming and remove unnecessary comment.
Delta File
+6 -17 sys/kern/kern_sensors.c
+6 -17 1 file

DragonFlyBSD — sys/kern kern_sensors.c, sys/sys sensors.h

sensor: Remove the NOSYSCTL8HACK ifndef test

NOSYSCTL8HACK is always not defined on DragonFly.
Delta File
+0 -23 sys/kern/kern_sensors.c
+0 -4 sys/sys/sensors.h
+0 -27 2 files

DragonFlyBSD — sys/kern kern_sensors.c

sensor: Staticize internal global variables
Delta File
+20 -16 sys/kern/kern_sensors.c
+20 -16 1 file

DragonFlyBSD — sys/kern kern_sensors.c

sensor: volatile is unnecessary for running

This fields are changed/checked w/ lock held.
Delta File
+1 -1 sys/kern/kern_sensors.c
+1 -1 1 file

DragonFlyBSD — sys/kern kern_sensors.c

sensors: Staticize internal functions
Delta File
+19 -18 sys/kern/kern_sensors.c
+19 -18 1 file

DragonFlyBSD — sys/kern kern_sensors.c

sensor: Utilize LOCK_INITIALIZER

The cmpset for lock initialization is _not_ safe (it requires at least
3 states and a spin loop, which is obviously an overkill when compared
w/ LOCK_INITIALIZER).
Delta File
+2 -6 sys/kern/kern_sensors.c
+2 -6 1 file

DragonFlyBSD — sys/sys lock.h

lock: Add LOCK_INITIALIZER
Delta File
+9 -0 sys/sys/lock.h
+9 -0 1 file

DragonFlyBSD — sbin/hammer cmd_show.c hammer.c

sbin/hammer: Add filter mode when lo:objid directive is used

- This commit is expansion to the commit e7f926a5 and edcc8136.
  These commits make hammer show command search and print btree
  elements that match lo:objid using '*' mark, but go back to
  normal iteration once it hits matched elements. This commit
  gives options to the way it filters unmatched elements.

- Using the arg "filter" after the directive makes it continue
  filtering without going back to normal iteration. This makes
  it only show nodes that have matched elements.

- Using the arg "nofilter" after the directive makes it not to
  filter from the beginning (same as when lo:objid directive is
  not specified except that this does print '*' for those that
  match lo:objid).

- Not specifying any arg after the directive works the same as
  it did before.

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c

drm/i915: Sync i915_gem_shmem_pread() with Linux 3.11
Delta File
+4 -19 sys/dev/drm/i915/i915_gem.c
+4 -19 1 file

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

drm: Add linux/swap.h
Delta File
+37 -0 sys/dev/drm/include/linux/swap.h
+37 -0 1 file

DragonFlyBSD — sys/sys sensors.h

sensor: Minor white space and style cleanup
Delta File
+9 -7 sys/sys/sensors.h
+9 -7 1 file

DragonFlyBSD — sbin/hammer cmd_show.c

    sbin/hammer: Make hammer show properly print '*' for elements that match directive
    
    - hammer show command (running with lo:objid directive specified)
      goes back to normal iteration once it matches the directive as
      explained in e7f926a5, however it should not do 'search = NULL;'.
      This commit adds a field btree_search::normal to do it right.
    
    - The problem with 'search = NULL;' is that when there are many files
      in a directory (e.g. dragonfly bsd source), different leaf nodes
      of the same depth could happen to have inodes and dirents with the
      same lo:objid. In this case it prints '*' only for matched records
      located under the first leaf node because by the time it comes to
      the second leaf node the pointer has been set to NULL and
      NULL won't print '*' (see line 169 and 174 of cmd_show.c).
    
    - In the following example it is expected that both leaf node 29
      and 30 print '*' for its records that match 00000001:00000001036af6f7,
      but the result is it only prints for those under leaf node 29.
      This commit does that right.
    
      show 800000005b14d000 lo 00000001 obj_id 00000001036af6f7 depth 0
      <snip>
           NODE 800000005b04e000 cnt=37 p=800000005b14e000 type=I depth=2 mirror 
00000001040192b0 fill=z8:182=92% {
      G------ ELM  0 L lo=00000001 obj=000000010354f711 rt=01 key=0000000000000000 ot=00

    [7 lines not shown]
Delta File
+6 -4 sbin/hammer/cmd_show.c
+6 -4 1 file

DragonFlyBSD — etc/sendmail Makefile

etc/sendmail: Fix installation of the /etc/mail/Makefile.

The way this was done led to problems when doing 'make install' and
'make clean' from etc/mail. The generated Makefile would overwrite
the shipped Makefile (upon install) or the shipped Makefile would
delete itself (upon clean).

Use FILESNAME_... which is meant for this kind of stuff.

Reported-by: tkusumi
Delta File
+3 -9 etc/sendmail/Makefile
+3 -9 1 file

DragonFlyBSD — sys/sys unistd.h

<sys/unistd.h>: Use __BSD_VISIBLE instead of !_POSIX_SOURCE.
Delta File
+0 -2 sys/sys/unistd.h
+0 -2 1 file