Displaying 1 50 of 635,718 commits (0.092s)

NetBSD — sys/arch/hppa/hppa db_disasm.c

Avoid UB (shift of negative number)
Delta File
+8 -8 sys/arch/hppa/hppa/db_disasm.c
+8 -8 1 file

NetBSD — lib/libc/net getnetent.3

Fix endnetent prototype. Fix NULL. New sentence, new line.
Delta File
+24 -32 lib/libc/net/getnetent.3
+24 -32 1 file

NetBSD — sys/dev/pci pcidevs_data.h pcidevs.h

 Regen.
Delta File
+9,868 -9,815 sys/dev/pci/pcidevs_data.h
+24 -2 sys/dev/pci/pcidevs.h
+9,892 -9,817 2 files

NetBSD — sys/dev/pci pcidevs

 Add some Intel Ethernet devices.
Delta File
+15 -1 sys/dev/pci/pcidevs
+15 -1 1 file

NetBSD — sys/modules/ld ld.ioconf Makefile

On the off chance that someone tries to use the modular version of the
ld(4) driver, provide an ld.ioconf file which will declare the global ld_cd

NetBSD — sys/dev/pci pcidevs

 Add some ServerEngines (Emulex) products from OpenBSD.
Delta File
+9 -1 sys/dev/pci/pcidevs
+9 -1 1 file

NetBSD — lib/libc/net getnetent.3

Improve the getnetent(3) man-page

Document return type of setnetent(3) and endnetent(3). Both "void".

Sponsored by <The NetBSD Foundation>
Delta File
+4 -2 lib/libc/net/getnetent.3
+4 -2 1 file

NetBSD — sys/sys fcntl.h

Enable O_NOFOLLOW in the POSIX namespace

This open(2) flag first appeared in FreeBSD and was standarized by POSIX
in the 2008 standard.
Delta File
+2 -2 sys/sys/fcntl.h
+2 -2 1 file

NetBSD — lib/libc/stdio setbuf.3

Markup "stdin".
Delta File
+3 -2 lib/libc/stdio/setbuf.3
+3 -2 1 file

NetBSD — lib/libc/stdio setbuf.3

Make the list of STDBUF values and the list of mode values congruent
in formatting and spelling.
Delta File
+5 -5 lib/libc/stdio/setbuf.3
+5 -5 1 file

NetBSD — lib/libc/stdio setbuf.3

Use semantic markup.
Delta File
+6 -6 lib/libc/stdio/setbuf.3
+6 -6 1 file

NetBSD — share/man/man4 ugen.4

Add missing end quote.
Avoid some punctuation markup.
Delta File
+20 -20 share/man/man4/ugen.4
+20 -20 1 file

NetBSD — share/man/man4 ugen.4

Add description of how to attach ugen to only some of the
interfaces found in a device.
Delta File
+36 -1 share/man/man4/ugen.4
+36 -1 1 file

NetBSD — sys/dev/usb uftdi.c ugen.c

Attach uftdi to each interface found in the device separately.
This allows for other drivers (e.g. ugen) to attach to some of
the other interfaces.

Allow ugen to attach only to some of the interfaces found in a device.
Delta File
+84 -129 sys/dev/usb/uftdi.c
+71 -32 sys/dev/usb/ugen.c
+3 -2 sys/dev/usb/files.usb
+158 -163 3 files

NetBSD — crypto/external/bsd/openssl/lib/libcrypto/arch/sparc ecp_nistz256-sparcv9.S aesfx-sparcv9.S

Backout my over-eager backout - we need this for sparc64 building netbsd32
compat libs, but still lots of #ifdef's missing to make this ready for
usage by sparc.

NetBSD — share/mk bsd.own.mk

Switch sparc back to old openssl - needs more work and testing.
Delta File
+2 -3 share/mk/bsd.own.mk
+2 -3 1 file

NetBSD — crypto/external/bsd/openssl/lib/libcrypto/arch/sparc ecp_nistz256-sparcv9.S aesfx-sparcv9.S

Backout previous "regen" - the regen target in this directory is bogus,
there is no "sparcv9" nor any "vis" in the default CPU targets for
NetBSD/sparc.

NetBSD — share/man/man4 gpio.4

Whitespace improvements. Remove unnecessary Tn.
Delta File
+12 -17 share/man/man4/gpio.4
+12 -17 1 file

NetBSD — lib/libc/stdio setbuf.3

Remove ineffective macros and arguments.
Delta File
+7 -11 lib/libc/stdio/setbuf.3
+7 -11 1 file

NetBSD — share/man/man4 gpio.4

Update to include wbsio as a possible parent for a gpio device.

XXX Should we really list all the possible parents?  Or should we replace
XXX this entire list with a single entry for "gpio* at gpiobus?"
Delta File
+3 -2 share/man/man4/gpio.4
+3 -2 1 file

NetBSD — sys/dev/pci/ixgbe ixgbe.c

Improve a comment about reading EICS register defined write-only by spec.

It seems that is workaround for silicon errata.

ok by msaitoh at n.o.
Delta File
+7 -1 sys/dev/pci/ixgbe/ixgbe.c
+7 -1 1 file

NetBSD — sys/dev/pci/ixgbe ix_txrx.c

 Increment rxr->packets correctly in ixgbe_rxeof() to calculate ITR value
of AIM (Auto Interrupt Moderation) correctly. See also ixgbe.c rev. 1.124.

XXX pullup-8
Delta File
+2 -1 sys/dev/pci/ixgbe/ix_txrx.c
+2 -1 1 file

NetBSD — sys/dev/pci/ixgbe ixgbe.c ixgbe_type.h

- Fix a bug that RX may stall on heavy load on ixg(4) derived from FreeBSD's
 AIM (Auto Interrupt Moderation) bug.
 When I use a machine as a NFS client, sometimes one of queue pairs doesn't
 get any interrupt other than every second tick via ixgbe_local_timer1().
 When the problem occured, the queue pair's hw.ixgM.qN.interrupt_rate is
 always 500000. When this problem occuring, set hw.ixgM.qN.interrupt_rate lower
 than 166667 recover from stall. i.e.:

  sysctl -w hw.ixgM.qN.interrupt_rate=166667 (don't revocer)
  sysctl -w hw.ixgM.qN.interrupt_rate=166666 (recover)

  Relatios between the interrupt_rate and EICR's ITR_INTERVAL field is as
 follows:

 int_rate | EICR[11:0]   | interval in us | recover |
          |(ITR_INTERVAL)| (10G and 1G)   |         |
 ---------+--------------+----------------+---------+
   500000 | 0x008(0)     |              2 |     not |
   166667 | 0x010(1)     |              4 |     not |
   166666 | 0x018(2)     |              6 | recover |

  The reason why int_rate becomes 500000 is that xgbe_tx_eof() doesn't
 increment rxr->packets(*1). Even if we fix rxr->packets' bug, interrupt_rate
 might become greater than 166666 and it might cause stall.


    [19 lines not shown]

NetBSD — lib/libpthread pthread.h

Remove namespace restriction from pthread_condattr_{g,s}etclock(3)

These functions were marked as _NETBSD_SOURCE when introduced to the
sources. In fact they are regular POSIX threading functions available
since the 2001 standard. There is an older mention about alignment with
"IEEE Std 1003.1j-2000".

This corrects usage of these functions when a source code is compiled
with a POSIX namespace option.
Delta File
+1 -3 lib/libpthread/pthread.h
+1 -3 1 file

NetBSD — sys/kern subr_lockdebug.c

Spinkle __predict_false to LOCKDEBUG functions

Panics and lockdebug failures are unlikely to occur normally.
Delta File
+34 -30 sys/kern/subr_lockdebug.c
+34 -30 1 file

NetBSD — lib/libc/stdio setbuf.3

Improve the setbuf(3) man-page

Move historical lines to newly added HISTORY section.
Additional historical notes obtained from OpenBSD.
Delta File
+17 -12 lib/libc/stdio/setbuf.3
+17 -12 1 file

NetBSD — include string.h

Mark in string.h: memccpy(3) and strdup(3) as _POSIX_C_SOURCE >= 2001
Delta File
+3 -2 include/string.h
+3 -2 1 file

NetBSD — sys/dev/isa wbsio.c

Handle watchdog attachment in the wbsio_rescan() function, where we
take care of other children.

ok knakahara@ and yamaguchi@
Delta File
+6 -4 sys/dev/isa/wbsio.c
+6 -4 1 file

NetBSD — sys/dist/pf/net pf.c

It is normal for socket credentials to be missing for incoming sockets,
so don't warn.
Delta File
+3 -8 sys/dist/pf/net/pf.c
+3 -8 1 file

NetBSD — sys/uvm/pmap pmap_tlb.c pmap_tlb.h

convert to use actual __BITMAP_*() macros from <sys/bitops.h>, and make
it possible to override the ASID bitmap length; default to 256 ASIDs as before

XXX NFCI; compile tested only on evbpcc and evbmips, unfortunately didn't
find any combination of port using the MI pmap_tlb.c and working in QEMU
Delta File
+28 -36 sys/uvm/pmap/pmap_tlb.c
+6 -2 sys/uvm/pmap/pmap_tlb.h
+34 -38 2 files

NetBSD — sys/uvm/pmap pmap_tlb.c

a bit of DRY - add macro for initial free ASID count
Delta File
+9 -6 sys/uvm/pmap/pmap_tlb.c
+9 -6 1 file

NetBSD — sys/uvm/pmap pmap_tlb.c pmap_tlb.h

make it possible to not use the icache evcnts

NetBSD — doc CHANGES-6.2

1517
Delta File
+10 -1 doc/CHANGES-6.2
+10 -1 1 file

NetBSD — doc CHANGES-6.1.6

1517
Delta File
+10 -1 doc/CHANGES-6.1.6
+10 -1 1 file

NetBSD — doc CHANGES-6.0.7

1517
Delta File
+10 -1 doc/CHANGES-6.0.7
+10 -1 1 file

NetBSD — sys/arch/amd64/amd64 machdep.c, sys/arch/amd64/include segments.h

Pull up following revision(s) (requested by maxv in ticket #1517):
        sys/arch/amd64/amd64/machdep.c: 1.280 via patch
        sys/arch/amd64/include/segments.h: 1.34 via patch
        sys/arch/i386/i386/machdep.c: 1.800
        sys/arch/i386/include/segments.h: 1.64
        sys/arch/x86/x86/vm_machdep.c: 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

NetBSD — sys/arch/amd64/amd64 machdep.c, sys/arch/amd64/include segments.h

Pull up following revision(s) (requested by maxv in ticket #1517):
        sys/arch/amd64/amd64/machdep.c: 1.280 via patch
        sys/arch/amd64/include/segments.h: 1.34 via patch
        sys/arch/i386/i386/machdep.c: 1.800
        sys/arch/i386/include/segments.h: 1.64
        sys/arch/x86/x86/vm_machdep.c: 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

NetBSD — sys/arch/amd64/amd64 machdep.c, sys/arch/amd64/include segments.h

Pull up following revision(s) (requested by maxv in ticket #1517):
        sys/arch/amd64/amd64/machdep.c: 1.280 via patch
        sys/arch/amd64/include/segments.h: 1.34 via patch
        sys/arch/i386/i386/machdep.c: 1.800
        sys/arch/i386/include/segments.h: 1.64
        sys/arch/x86/x86/vm_machdep.c: 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

NetBSD — share/mk bsd.own.mk

switch sparc to openssl-1.1
Delta File
+4 -2 share/mk/bsd.own.mk
+4 -2 1 file

NetBSD — share/misc acronyms.comp

Add ANR and another ARC acronyms
Delta File
+3 -1 share/misc/acronyms.comp
+3 -1 1 file

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

Add H6 support

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

Add support for H6 USB PHY
Delta File
+19 -10 sys/arch/arm/sunxi/sunxi_usbphy.c
+19 -10 1 file

NetBSD — doc CHANGES-7.0.3

1566
Delta File
+7 -1 doc/CHANGES-7.0.3
+7 -1 1 file

NetBSD — usr.sbin/ypserv/ypserv ypserv_proc.c

Pull up following revision(s) (requested by christos in ticket #1566):
        usr.sbin/ypserv/ypserv/ypserv_proc.c: 1.18
PR/47615: Dr. W. Stukenbrock: Always zero out the result structs in the
svc procs to avoid returning stale request data to the client.
Delta File
+22 -14 usr.sbin/ypserv/ypserv/ypserv_proc.c
+22 -14 1 file

NetBSD — doc CHANGES-7.1.2

1566
Delta File
+7 -1 doc/CHANGES-7.1.2
+7 -1 1 file

NetBSD — usr.sbin/ypserv/ypserv ypserv_proc.c

Pull up following revision(s) (requested by christos in ticket #1566):
        usr.sbin/ypserv/ypserv/ypserv_proc.c: 1.18
PR/47615: Dr. W. Stukenbrock: Always zero out the result structs in the
svc procs to avoid returning stale request data to the client.
Delta File
+22 -14 usr.sbin/ypserv/ypserv/ypserv_proc.c
+22 -14 1 file

NetBSD — doc CHANGES-7.2

1533, 1555, 1556, 1558, 1559, 1564, 1566
Delta File
+84 -1 doc/CHANGES-7.2
+84 -1 1 file

NetBSD — usr.sbin/ypserv/ypserv ypserv_proc.c

Pull up following revision(s) (requested by christos in ticket #1566):
        usr.sbin/ypserv/ypserv/ypserv_proc.c: 1.18
PR/47615: Dr. W. Stukenbrock: Always zero out the result structs in the
svc procs to avoid returning stale request data to the client.
Delta File
+22 -14 usr.sbin/ypserv/ypserv/ypserv_proc.c
+22 -14 1 file

NetBSD — libexec/httpd bozohttpd.c

Pull up following revision(s) (requested by maya in ticket #1564):
        libexec/httpd/bozohttpd.c: 1.87
Use a protocol-agnostic URL (don't degrade HTTPS->HTTP)
Suggested by Travis Paul in PR bin/52958.
Delta File
+2 -2 libexec/httpd/bozohttpd.c
+2 -2 1 file

NetBSD — sys/arch/macppc/dev snapper.c

Pull up following revision(s) (requested by sevan in ticket #1559):
        sys/arch/macppc/dev/snapper.c: 1.42
Fix issue with audio being downpitched, thanks to <nat>
"it seems that snapper_init should be called before audio_attach_mi, as
snapper
init is setting the rate to 44100 after the hardware format has been
configured
by audio_attach_mi.
audio_attach_mi should be the last thing called during an attach of an audio
device so the audio device is ready to be configured when audio_attach_mi is
called."
Resolves PR port-macppc/52949
Delta File
+4 -4 sys/arch/macppc/dev/snapper.c
+4 -4 1 file