Displaying 1 50 of 516,778 commits (0.076s)

OpenBSD — sys/arch/sparc64/dev cbus.c

Use the pointer to "struct intrhand" as the vintr cookie.
Delta File
+7 -6 sys/arch/sparc64/dev/cbus.c
+7 -6 1 file

OpenBSD — sys/arch/sparc64/sparc64 locore.s

On sun4v, interpret the first data word of a device interrupt message as a
pointer to "struct intrhand" if it is larger than MAXINTNUM.  To be used
with the cookie based "vintr" scheme.
Delta File
+7 -5 sys/arch/sparc64/sparc64/locore.s
+7 -5 1 file

OpenBSD — sys/dev/ic xl.c re.c, sys/dev/pci if_sis.c

rxr ioctl handling.
Delta File
+6 -1 sys/dev/pci/if_sis.c
+6 -1 sys/dev/ic/xl.c
+5 -1 sys/dev/ic/re.c
+17 -3 3 files

OpenBSD — games/quiz/datfiles africa asia

Adjust ordering; from pjanzen

OpenBSD — games/quiz/datfiles elements

Add two new IUPAC elements, and adjust the atomic weights of some.
from pjanzen
Delta File
+9 -7 games/quiz/datfiles/elements
+9 -7 1 file

OpenBSD — libexec/ld.so/powerpc rtld_machine.c

Make the scope of the symbol caching variables added in 1.49 a bit larger so
that these don't get reset for every relocation being processed (oops).
ok guenther@ deraadt@

OpenBSD — usr.sbin/relayd snmp.c

remove a surplus break statement
Delta File
+1 -2 usr.sbin/relayd/snmp.c
+1 -2 1 file

OpenBSD — sys/dev/acpi acpibtn.c

Count how many lids are open, rather than accumulating the values ACPI
gives for true (could be "1", for all we know)
ok mlarkin
Delta File
+12 -13 sys/dev/acpi/acpibtn.c
+12 -13 1 file

OpenBSD — sys/dev/ic xl.c

- Check IFF_RUNNING in xl_intr().

From FreeBSD

- Clear IFF_RUNNING at the top of xl_stop() before freeing resources.

Tested with 3c905C.
Delta File
+6 -3 sys/dev/ic/xl.c
+6 -3 1 file

OpenBSD — usr.bin/ssh servconf.c

Fix crashes in the handling of the sshd config file found with the afl

ok deraadt@ djm@
Delta File
+7 -1 usr.bin/ssh/servconf.c
+7 -1 1 file

OpenBSD — sys/arch/alpha/conf GENERIC RAMDISKBIG, sys/arch/amd64/conf RAMDISK_CD GENERIC

use the correct capitalization for Realtek.

OpenBSD — regress Makefile, regress/share Makefile

Kill old crap that is unbelievably slow and produces hundreds of false
positives.  Fixing it is not worth the hassle; if we want something
like this, it ought to be done in the context of makewhatis(8) and
mandoc.db(5).  As it stands, its only effect is to discourage people
from running our regression suite, which is bad.  I got a report
from daniel@ that part of it even crashes.

OpenBSD — regress/usr.bin/mandoc/mdoc/No punct.out_lint

forgot to add this file; noticed by daniel@

OpenBSD — sys/dev/mii miidevs.h

Delta File
+3 -3 sys/dev/mii/miidevs.h
+3 -3 1 file

OpenBSD — sys/dev/mii rgephy.c rlphy.c

use the correct capitalization for Realtek.

OpenBSD — usr.sbin/smtpd rfc2822.c

some third-party applications generate malformed headers which we can still
parse correctly, do not reject message as malformed in this case
Delta File
+7 -2 usr.sbin/smtpd/rfc2822.c
+7 -2 1 file

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


OpenBSD — sys/dev/usb usbdevs

SILABS CP210X_4(0x10c4:0xea80) is no longer CP210x family.
This is CP2110 USB-HID UART bridge, fixed.

ok by mpi@
Delta File
+2 -2 sys/dev/usb/usbdevs
+2 -2 1 file

OpenBSD — libexec/spamd sync.c grey.c

Delete a bunch of unnecessary #includes
Use <fcntl.h> instead of <sys/{file,fcntl}.h>

ok krw@

OpenBSD — sys/dev/usb uslcom.c

not CP210x family. removed.

ok mpi@
Delta File
+1 -2 sys/dev/usb/uslcom.c
+1 -2 1 file

OpenBSD — sys/dev/acpi acpibtn.c acpi.c

If a machine has no _LIDs, then none can be open. This diff fixes a problem
where machines without any _LIDs were going back to sleep after hibernate
due to the recent suspend-if-lid-closed-on-resume diff. Noticed on qemu,
which doesn't have any _LIDs.

discussed with deraadt

OpenBSD — sbin/dhclient dispatch.c dhclient.c

Rename discover_interface() to more meaningful get_hw_address().

Hoist one-time initialization of client identifier out of
get_hw_address() to the one-time initialization code in main().

No intentional functional change.

OpenBSD — distrib/sets/lists/base md.vax

Revert most of 1.686 and fix the remaining discrepancies.
Delta File
+112 -56 distrib/sets/lists/base/md.vax
+112 -56 1 file

OpenBSD — sbin/dhclient bpf.c dispatch.c

Cleanup some struct interface_info fields. Make 'nomedia' a flag. Replace
the two copies of the bpf socket descriptor (rfdesc, wfdesc) with
just one (bfdesc). No need to keep a struct ifreq (ifp) since it's
only used once and can be constructed there and discarded. Nuke
unused 'primary_address' member.

No intentional functional change.

OpenBSD — usr.sbin/iscsid connection.c

TargetPortalGroupTag is a binary 16-bit value so 0 is allowed.
Still not perfect since binary values can also be base64 encoded but
one step closer.
Delta File
+3 -2 usr.sbin/iscsid/connection.c
+3 -2 1 file

OpenBSD — usr.sbin/iscsid initiator.c

Change the error handling a bit to ensure we do not double free the task
by calling conn_task_cleanup() twice (once direct and once via conn_fail()).
The error handling needs some more work but at least this fixes the crash
found by jasper@
Delta File
+7 -4 usr.sbin/iscsid/initiator.c
+7 -4 1 file

OpenBSD — usr.sbin/iscsid pdu.c

Clear the work in progress PDU before calling the task handler.
This ensures that we don't have multiple pointers pointing to the same PDU.
Delta File
+2 -2 usr.sbin/iscsid/pdu.c
+2 -2 1 file

OpenBSD — sys/dev/usb uhub.c

Revert the logic to skip ports which status hasn't changed, it introduces
a regression reported by ajacoutot@.
Delta File
+14 -33 sys/dev/usb/uhub.c
+14 -33 1 file

OpenBSD — sys/dev/usb xhci.c

Be less verbose when opening a pipe and print the endpoint & slot
when submitting a command.  No change for non-XHCI_DEBUG kernel.
Delta File
+14 -25 sys/dev/usb/xhci.c
+14 -25 1 file

OpenBSD — sys/arch/amd64/conf RAMDISK_CD, sys/arch/i386/conf RAMDISK_CD

enable xhci(4) in ramdisks
ok deraadt@

OpenBSD — sys/dev/ic re.c

Move link state handling into re_miibus_statchg().

From FreeBSD

Tested with 8168D / 8168G.
Delta File
+35 -12 sys/dev/ic/re.c
+35 -12 1 file

OpenBSD — usr.bin/less less.1

minor fixes;
Delta File
+5 -4 usr.bin/less/less.1
+5 -4 1 file

OpenBSD — regress/lib/csu Makefile, regress/lib/csu/callbacks Makefile

Add regress for atexit() vs DSO unloading and start on a similar test
for pthread_atfork()

OpenBSD — usr.bin/less less.1 lesskey.1

Improve manpage markup.

- Mark up flags with Fl
- Mark up commands with Cm or Ic
- Replace some double quotes with semantic alternatives
- Fix the incorrectly documented -" option
- Correct broken intra-page references

ok jmc@
Delta File
+423 -197 usr.bin/less/less.1
+37 -30 usr.bin/less/lesskey.1
+460 -227 2 files

OpenBSD — sys/net if.c trunklacp.c

length argument for some free() calls; ok doug
Delta File
+7 -7 sys/net/if.c
+4 -4 sys/net/trunklacp.c
+3 -3 sys/net/bpf.c
+2 -2 sys/net/if_gre.c
+2 -2 sys/net/if_loop.c
+2 -2 sys/net/if_gif.c
+10 -10 5 files not shown
+30 -30 11 files

OpenBSD — bin/pax sel_subs.c

Don't pull in <tzfile.h> just for a number that's hardcoded in the C standard
Delta File
+3 -6 bin/pax/sel_subs.c
+3 -6 1 file

OpenBSD — bin/pax file_subs.c tables.c

Use PATH_MAX from <limits.h> instead of MAXPATHLEN from <sys/param.h>
Eliminate a couple unneeded #includes
Delta File
+3 -4 bin/pax/file_subs.c
+3 -4 bin/pax/tables.c
+2 -2 bin/pax/pax.h
+8 -10 3 files

OpenBSD — bin/pax pax.c tty_subs.c

Don't leak the fds for "." and the tty to the compression process
Delta File
+2 -2 bin/pax/pax.c
+2 -2 bin/pax/tty_subs.c
+4 -4 2 files

OpenBSD — usr.bin/openssl openssl.1

Mention the -no_tls1_[12] options
Delta File
+10 -6 usr.bin/openssl/openssl.1
+10 -6 1 file

OpenBSD — usr.bin/systat iostat.c swap.c, usr.bin/vmstat vmstat.c

<sys/buf.h> isn't actually needed here

ok tedu@

OpenBSD — sys/sys msg.h sem.h

We now get <sys/cdefs.h> via <sys/ipc.h>
Only pull <sys/queue.h> into the kernel namespacem

ok deraadt@
Delta File
+3 -4 sys/sys/msg.h
+3 -3 sys/sys/sem.h
+1 -2 sys/sys/shm.h
+7 -9 3 files

OpenBSD — sys/arch/amd64/amd64 vector.S cpu.c, sys/arch/i386/i386 locore.s

Make sure the direction bit is cleared on entry to the kernel by syscall
or interrupt, as specified by the ABIs.  Our current gcc doesn't assume
this bit of the ABI, but future compilers may and some ASM can be
simplified by assuming it.

in snaps for a bit

OpenBSD — lib/libc/gen fts.c

Merge from FreeBSD:
r246641 | jilles | 2013-02-10 15:09:15 -0800 (Sun, 10 Feb 2013) | 8 lines

fts: Use O_DIRECTORY when opening name that might be changed by attacker.

There are uncommon cases where fts_safe_changedir() may be called with a
non-NULL name that is not "..". Do not block or worse if an attacker put (a
(symlink to) a fifo or device where a directory used to be.

MFC after:      1 week

r241010 | jilles | 2012-09-27 15:05:54 -0700 (Thu, 27 Sep 2012) | 9 lines

libc/fts: Use O_CLOEXEC for internal file descriptors.

Because fts keeps internal file descriptors open across calls, making such
descriptors close-on-exec helps not only multi-threaded applications but
also single-threaded applications.

In particular, this prevents passing a temporary file descriptor for saving
the current directory to processes created via find -exec.


    [3 lines not shown]
Delta File
+8 -6 lib/libc/gen/fts.c
+8 -6 1 file

OpenBSD — share/man/man4/man4.sparc eccmemctl.4


OpenBSD — distrib/sets/lists/man mi

Delta File
+2 -0 distrib/sets/lists/man/mi
+2 -0 1 file

OpenBSD — share/man/man4/man4.sparc memreg.4 eccmemctl.4

Boiler-plate manpage for memreg(4/sparc) as well.

OpenBSD — sys/arch/sparc/sparc pmap.c

the per-cpu storage page does not need to be executable in this
fashion.  Anyways, we don't do MP here yet, so #ifdef it all away.
with miod
Delta File
+5 -2 sys/arch/sparc/sparc/pmap.c
+5 -2 1 file

OpenBSD — sys/arch/sparc/sparc locore.s

Be more careful draining the error register and reenabling traps in the sun4m
NMI handler; apparently ROSS modules depend upon this to behave correctly.
From NetBSD
Delta File
+7 -2 sys/arch/sparc/sparc/locore.s
+7 -2 1 file

OpenBSD — share/man/man4/man4.sparc eccmemctl.4 Makefile, sys/arch/sparc/conf files.sparc SUN4M

Driver for the ECC memory controller found on some sun4m (ss20), so that
recoverable memory errors no longer panic the kernel.
From NetBSD but the manual page.

OpenBSD — sys/arch/amd64/include hibernate_var.h, sys/arch/i386/i386 acpi_wakecode.S

Previous diff changed the location of the ACPI S3/S4 trampoline, which has
a common #defined location for both i386 and amd64. This diff fixes i386 to

Also fix a tab/space issue in amd64 hibernate_var.h

discussed with deraadt