Displaying 1 50 of 640,239 commits (0.090s)

NetBSD — sys/arch/amd64/amd64 machdep.c, sys/arch/i386/i386 machdep.c

Clean up dbregs; remove useless comments, remove arguments from prototypes,
style, add KASSERT and move x86_dbregspl into dbregs.c. No real functional
change.

NetBSD — sys/arch/x86/x86 pmap.c

I realized the changes I made broke the !aslr conf, so enable aslr by
default now rather than later (and rather than adding more ifdefs).

Now the location of the direct map is randomized at boot time in GENERIC.
Delta File
+3 -7 sys/arch/x86/x86/pmap.c
+3 -7 1 file

NetBSD — sys/arch/evbarm/conf ARMADILLO-IOT-G3 CUBOX, sys/arch/evbmips/conf ADM5120-USB

Remove comment mentioning an i386 problem from non-x86 kernel configs.
(they all say BROKEN in the next comment too)

NetBSD — sys/arch/aarch64/include ptrace.h

don't depend endian.
Delta File
+2 -2 sys/arch/aarch64/include/ptrace.h
+2 -2 1 file

NetBSD — usr.bin/calendar/calendars calendar.netbsd

add netbsd 8.0, fix whitespace

NetBSD — sys/dev/hpc/apm apmdev.c

Remove unused variable.
Delta File
+2 -3 sys/dev/hpc/apm/apmdev.c
+2 -3 1 file

NetBSD — sys/arch/i386/i386 cpufunc.S, sys/arch/x86/x86 cpu_rng.c

Forgot to commit a change in i386/cpufunc.S; add rdtsc(), so that it can be
used in cpu_rng. Restore the cpu_rng code back to how it was in my initial
commit.

NetBSD — sys/arch/x86/x86 cpu_rng.c

Unbreak build.   Fake out (ie: remove) rdtsc() which does not
exist on XEN (or not yet anyway).

This change needs to be reverted when a proper solution ic implemented.
Delta File
+7 -1 sys/arch/x86/x86/cpu_rng.c
+7 -1 1 file

NetBSD — sys/arch/aarch64/aarch64 fault.c

return correct signo and code in accordance with return value of uvm_fault.
Delta File
+55 -62 sys/arch/aarch64/aarch64/fault.c
+55 -62 1 file

NetBSD — sys/arch/aarch64/aarch64 pmap.c, sys/arch/aarch64/include cpu.h

    * avoid deadlock. mutex_owned() works only for adaptive lock, therefore we cannot use 
it for spinlock...
    * add more NULL check
    * clear pte when pmap_enter() fails

NetBSD — share/man/man4/man4.x86 Makefile

When files are deleted, they need to be removed from the Makefile
as well ... does none of this ever get tested before it is committed?
Delta File
+2 -2 share/man/man4/man4.x86/Makefile
+2 -2 1 file

NetBSD — etc MAKEDEV.tmpl

Create /dev/ksyms as "440 $g_kmem". This prevents unprivileged users from
reading the kernel symbols. Discussed in January 2018 on tech-kern@,
reported by maya@, tested by tih@.
Delta File
+2 -2 etc/MAKEDEV.tmpl
+2 -2 1 file

NetBSD — sys/arch/amd64/conf GENERIC_KASLR

Remove "no options GPROF", we don't have GPROF in the x86 kernels anymore.
By the way this caused a warning because GPROF is not defflag'ed
correctly...
Delta File
+1 -4 sys/arch/amd64/conf/GENERIC_KASLR
+1 -4 1 file

NetBSD — doc CHANGES

note removal of tpfmt
Delta File
+3 -3 doc/CHANGES
+3 -3 1 file

NetBSD — distrib/sets/lists/man mi, share/man/man4 tprof.4

Remove the tprof_amdpmi.4 and tprof_pmi.4 man pages.

NetBSD — sys/arch/amd64/amd64 machdep.c cpufunc.S, sys/arch/x86/include pmap.h cpu_rng.h

More ASLR. Randomize the location of the direct map at boot time on amd64.
This doesn't need "options KASLR" and works on GENERIC. Will soon be
enabled by default.

The location of the areas is abstracted in a slotspace structure. Ideally
we should always use this structure when touching the L4 slots, instead of
the current cocktail of global variables and constants.

machdep initializes the structure with the default values, and we then
randomize its dmap entry. Ideally machdep should randomize everything at
once, but in the case of the direct map its size is determined a little
later in the boot procedure, so we're forced to randomize its location
later too.

NetBSD — bin/sh expand.c syntax.c

First pass at fixing some of the more arcane pattern matching
possibilities that we do not currently handle all that well.

This mostly means (for now) making sure that quoted pattern
magic characters (as well as quoted sh syntax magic chars)
are properly marked, so they remain known as being quoted,
and do not turn into pattern magic.   Also, make sure that an
unquoted \ in a pattern always quotes whatever comes next
(which, unlike in regular expressions, includes inside []
matches),
Delta File
+26 -10 bin/sh/expand.c
+6 -4 bin/sh/syntax.c
+5 -4 bin/sh/parser.c
+37 -18 3 files

NetBSD — external/bsd/libproc/dist proc_bkpt.c, external/bsd/libproc/dist/tests proc_test.c

unbreak aarch64

NetBSD — sys/arch/aarch64/include ptrace.h

flip the byte order
Delta File
+2 -2 sys/arch/aarch64/include/ptrace.h
+2 -2 1 file

NetBSD — sys/dev/usb if_urtwn.c, sys/net80211 ieee80211_netbsd.c ieee80211_ioctl.c

State save:
  urtwn: ifp->if_softc points to a vap, not the urtwn softc, fix code for this.
         add missing routines, need to get them filled out correctly.
  80211: Add back some NetBSD ioctls, start working on the sysctl tree.

NetBSD — tests/bin/sh t_patterns.sh

Several improvements to this test...

In the filename expansion test, don't insist on testing cases
of [^a] anything not an a) (etc) - while almost all shells allow
^ there (as in regular expressions) this is not standard sh/glob syntax
(! is used for that, not ^).  Use of ^ as first char after '[' in a []
match has unspecified behaviour.   So, check if the shell being
tested supports ^ used this way before running the tests of ^ in [].
This makes no difference at all when testing the NetBSD sh which
does allow ^ for that use case.

Fix an obvious (in hindsight) stupidity in the case pattern tests
(a cut/paste/forget-to-fix type error).

Many cleanups, including some additional sub-tests, for the var
substring matching (just a couple of actual fixes to the tests).
(This was the last added, and least polished part - still is.)

This makes no difference to the filename expansion tests (11 of 167
still fail), the fix reduces the failing case match tests from
14 of 261 to 13 of 261.   For var substring tests, the failure
has changed from 6 of 87 to 8 of 99.   (Some) Fixes to sh will appear
soon.

For comparison, using this version of the test, dash passes all case

    [8 lines not shown]
Delta File
+84 -73 tests/bin/sh/t_patterns.sh
+84 -73 1 file

NetBSD — sys/dev/usb if_axen.c

Andrius V in PR kern/53461: add support for D-Link DUB-1312
Delta File
+4 -3 sys/dev/usb/if_axen.c
+4 -3 1 file

NetBSD — sys/dev/usb usbdevs_data.h usbdevs.h

Regen
Delta File
+2,732 -2,729 sys/dev/usb/usbdevs_data.h
+3 -2 sys/dev/usb/usbdevs.h
+2,735 -2,731 2 files

NetBSD — sys/dev/usb usbdevs

Andrius V in Pr kern/53461: add D-Link DUB-1312
Delta File
+2 -1 sys/dev/usb/usbdevs
+2 -1 1 file

NetBSD — usr.sbin/ypserv/ypinit ypinit.sh

PR bin/53458

Bring this script a little up to date - make it work with modern /bin/sh
(avoid HOSTNAME as a random variable) clean up trailing spaces on lines,
use $( ) instead of `` ...
Delta File
+15 -15 usr.sbin/ypserv/ypinit/ypinit.sh
+15 -15 1 file

NetBSD — lib/libc/arch/aarch64/sys ptrace.S

fix a bug. no need postincrement here.

NetBSD — share/man/man4 ddb.4

Improve wording.
Delta File
+3 -3 share/man/man4/ddb.4
+3 -3 1 file

NetBSD — share/man/man4 ddb.4, sys/ddb db_command.c

 Add "show socket" command written by Hiroki SUENAGA. It prints usage of
system's socket buffers.

NetBSD — sys/arch/aarch64/aarch64 fault.c

avoid double-fault caused by reading the instruction when panic
Delta File
+13 -8 sys/arch/aarch64/aarch64/fault.c
+13 -8 1 file

NetBSD — doc/roadmaps ports

throw in drmkms, mention riscv work by zmcgrew
Delta File
+16 -3 doc/roadmaps/ports
+16 -3 1 file

NetBSD — doc/roadmaps networking

phil is working on wifi, thanks phil!
Delta File
+2 -2 doc/roadmaps/networking
+2 -2 1 file

NetBSD — doc/roadmaps desktop

Nouveau is now in a release, hurray.
Delta File
+1 -11 doc/roadmaps/desktop
+1 -11 1 file

NetBSD — doc/roadmaps ports

Remove completed items. Go everyone!
Delta File
+5 -38 doc/roadmaps/ports
+5 -38 1 file

NetBSD — sys/arch/arm/sunxi sunxi_emac.c

Print ethernet address at attach
Delta File
+3 -2 sys/arch/arm/sunxi/sunxi_emac.c
+3 -2 1 file

NetBSD — lib/libc_vfp vfpdf.S vfpsf.S

The fpu mode for VFP2 instructions is still just vfp.
Delta File
+2 -2 lib/libc_vfp/vfpdf.S
+2 -2 lib/libc_vfp/vfpsf.S
+4 -4 2 files

NetBSD — sys/arch/aarch64/aarch64 trap.c

fix printf format.
Delta File
+3 -3 sys/arch/aarch64/aarch64/trap.c
+3 -3 1 file

NetBSD — sys/arch/aarch64/aarch64 trap.c fault.c, sys/arch/aarch64/include machdep.h

    Implement TRAP_SIGDEBUG for aarch64...
    ptraced programs die with:
    data_abort_handler, 257: pid 199.1 (a.out): signal 11 (trap 0x82000006) @pc 0, addr 
0x0, error=Instruction Abort (EL0)

NetBSD — usr.bin/unzip unzip.c

Ignore malformed directory entries as created by Dropbox ("/").
Delta File
+9 -2 usr.bin/unzip/unzip.c
+9 -2 1 file

NetBSD — share/man/man9 boothowto.9

Remove trailing whitespace.
Delta File
+2 -2 share/man/man9/boothowto.9
+2 -2 1 file

NetBSD — share/misc bsd-family-tree

Add 8.0 release date in history table (but no "graphical" representation
yet).
Delta File
+2 -1 share/misc/bsd-family-tree
+2 -1 1 file

NetBSD — sys/ufs/ffs ffs_alloc.c

Avoid using magic numbers for arguments of workqueue_create (NFC)
Delta File
+3 -3 sys/ufs/ffs/ffs_alloc.c
+3 -3 1 file

NetBSD — sys/arch/arm/sunxi sun4i_emac.c, sys/arch/dreamcast/dev/g2 if_mbe_g2.c

Be consistent among ethernet drivers on the convention for printing ethernet
addresses.

NFC

NetBSD — sys/ufs/ffs ffs_vfsops.c

ffs_superblock_validate - check fs_old_size too.

Now I can mount OpenWindows Version 3 CD from 1991.
Delta File
+3 -3 sys/ufs/ffs/ffs_vfsops.c
+3 -3 1 file

NetBSD — sbin/restore restore.8

Remove superfluous macro.
Delta File
+1 -2 sbin/restore/restore.8
+1 -2 1 file

NetBSD — usr.sbin/tprof tprof.8 tprof.c

Various improvements to man page. Sync usage.
Delta File
+6 -8 usr.sbin/tprof/tprof.8
+3 -3 usr.sbin/tprof/tprof.c
+9 -11 2 files

NetBSD — crypto/external/bsd/openssh/dist ssh-agent.1

Fix Dd argument.

NetBSD — share/man/man4 drm.4

Remove superfluous macros.
Delta File
+4 -7 share/man/man4/drm.4
+4 -7 1 file

NetBSD — share/man/man9 radio.9

Various improvements.
Delta File
+21 -17 share/man/man9/radio.9
+21 -17 1 file

NetBSD — common/lib/libc/arch/i386/atomic atomic.S

On Xen, always alias _atomic_cas_64 to _atomic_cas_cx8. AFAIK Xen doesn't
support CPUs that don't support cx8.
i386 XENPAE_DOMU boots again.

NetBSD — sys/dev/usb xhci.c xhcireg.h

 Read xHCI 1.1's HCCPARAMS2 registar and print it with aprint_debug_dev().
e.g.: xhci0: hcc2=0x7d<ETC,CIC,LEC,CTC,FSC,U3C>
Delta File
+20 -3 sys/dev/usb/xhci.c
+11 -1 sys/dev/usb/xhcireg.h
+31 -4 2 files