Displaying 1 50 of 517,561 commits (0.091s)

OpenBSD — sys/crypto siphash.h

openbsd rcisd
Delta File
+1 -0 sys/crypto/siphash.h
+1 -0 1 file

OpenBSD — include siphash.h

$OpenBSD for our rev here
Delta File
+1 -1 include/siphash.h
+1 -1 1 file

OpenBSD — regress/usr.bin/mandoc/mdoc/Bl breakingIt.in breakingIt.out_ascii, usr.bin/mandoc mdoc_macro.c

Fix two issues causing a class of assertion failures found by jsg@ with afl.
1) rew_sub(): Make sure REWIND_MORE is acted upon even when followed by
REWIND_NONE.  This prevents .It from ending up inside other children of .Bl.
2) blk_exp_close(): Only allow extension of .Bl when it has at least
one .It.  Otherwise, a broken child block could be moved in front of
the .Bl, effectively resulting in a .Bl that ended before it began.

OpenBSD — usr.bin/mandoc html.c

resolve some code duplication; no functional change
Delta File
+19 -27 usr.bin/mandoc/html.c
+19 -27 1 file

OpenBSD — sys/arch/octeon/dev if_cnmac.c, sys/ddb db_access.c

Use <sys/endian.h> instead of <machine/endian.h>

ok dlg@ mpi@ bcook@ millert@ miod@

OpenBSD — sys/lib/libkern/arch/sparc64 strlen.S

sync with libc, using brnz,pt instead, should be better
ok kettenis

OpenBSD — regress/sys/net/pf_forward ping6_mtu.py, regress/sys/net/pf_fragment frag.py frag6.py

Use a simpler expression to check the ether type in scapy.  This
makes the fragment tests work on FreeBSD.  From Ilya Bakulin.

OpenBSD — usr.bin/vmstat vmstat.c

no need to kvm the palloc. the pgsize is more correctly accessed via pool.
Delta File
+2 -11 usr.bin/vmstat/vmstat.c
+2 -11 1 file

OpenBSD — usr.bin/awk b.c run.c

Use reallocarray() where suitable
ok millert doug
Delta File
+19 -13 usr.bin/awk/b.c
+3 -3 usr.bin/awk/run.c
+22 -16 2 files

OpenBSD — share/man/man9 route.9, sys/net route.c rtsock.c

Do not report an EDQUOT "Disk quota exceeded" error from the routing
code.  Instead generate an ENOBUFS "No buffer space available" error
at the malloc(9) failure in rt_setgate(9) and propagate it.
OK mpi@
Delta File
+8 -3 share/man/man9/route.9
+5 -5 sys/net/route.c
+3 -5 sys/net/rtsock.c
+16 -13 3 files

OpenBSD — sys/dev/microcode/cyclades cyzfirm2h.c

multiline string literals aren't really a thing. just smush a few strings

OpenBSD — sys/arch/amd64/conf RAMDISK_CD

remove ipw. it wasn't included in generic, but nobody complained,
indicating probably nobody has one of these in amd64 capable hardware.
spotted by krw. ok kettenis krw
Delta File
+1 -2 sys/arch/amd64/conf/RAMDISK_CD
+1 -2 1 file

OpenBSD — sys/crypto sha2.c

make the code look more like libc by changing Transform to take the state
ok millert
Delta File
+83 -87 sys/crypto/sha2.c
+83 -87 1 file

OpenBSD — sys/dev softraid.c softraid_crypto.c

bcopy to memcpy. ok deraadt millert
Delta File
+33 -33 sys/dev/softraid.c
+15 -17 sys/dev/softraid_crypto.c
+48 -50 2 files

OpenBSD — sys/net pf.c if_gif.c, sys/netinet ipsec_output.c ip_ipip.c

unifdef INET in net code as a precursor to removing the pretend option.
long live the one true internet.
ok henning mikeb
Delta File
+1 -81 sys/net/pf.c
+1 -30 sys/netinet/ipsec_output.c
+1 -27 sys/netinet/ip_ipip.c
+1 -24 sys/net/if_gif.c
+1 -21 sys/net/pfkeyv2.c
+1 -19 sys/net/if_bridge.c
+44 -380 46 files not shown
+50 -582 52 files

OpenBSD — usr.bin/mandoc term.c term.h

Enforcing an arbitrary, implementation dependent, undocumented limit
by calling assert() when valid user input exceeds it is a bad idea.
Allocate the terminal font stack dynamically instead of crashing
above 10 entries.  Issue found by jsg@ with afl.

OpenBSD — sys/dev/pci if_ipw.c

Fix tree breakage due to unused variable after last commit.
Delta File
+1 -2 sys/dev/pci/if_ipw.c
+1 -2 1 file

OpenBSD — sys/dev/pci if_ipw.c if_ipwvar.h

Change scan and auth+assoc workq entries to taskq entries.

Identical diff originally and independently developed by blambert@.
Delta File
+10 -8 sys/dev/pci/if_ipw.c
+4 -1 sys/dev/pci/if_ipwvar.h
+14 -9 2 files

OpenBSD — sys/dev vmt.c

shuffle function declarations a bit;  stylistic changes only.
Delta File
+34 -34 sys/dev/vmt.c
+34 -34 1 file

OpenBSD — lib/libc/hash sha2.c

be like the kernel and only unroll if not small
Delta File
+4 -2 lib/libc/hash/sha2.c
+4 -2 1 file

OpenBSD — sys/dev vmt.c

No need to include sys/types.h when sys/param.h is already included.
While here, sort includes a bit. No functional change.
Delta File
+4 -4 sys/dev/vmt.c
+4 -4 1 file

OpenBSD — distrib/sets/lists/base md.alpha md.amd64, distrib/sets/lists/comp mi


OpenBSD — lib/libc/hash sha2.c

i386 unrolling blows up the media in a big way, due to -Os for
ramdisk libc builds.  there has to be a better way without #ifdef's
in gross places, but I don't see it yet.
Delta File
+2 -2 lib/libc/hash/sha2.c
+2 -2 1 file

OpenBSD — sys/arch/zaurus/dev zaurus_apm.c

oops, forgot rndvar.h
Delta File
+2 -1 sys/arch/zaurus/dev/zaurus_apm.c
+2 -1 1 file

OpenBSD — etc services

Add rdp/rfb/vnc.
no objection from deraadt@
Delta File
+3 -1 etc/services
+3 -1 1 file

OpenBSD — libexec/ld.so Makefile

place the afterinstall: target correctly for static-only architectures
Delta File
+4 -5 libexec/ld.so/Makefile
+4 -5 1 file

OpenBSD — sys/arch/loongson/dev apm.c

oops, forgot rndvar.h
Delta File
+2 -1 sys/arch/loongson/dev/apm.c
+2 -1 1 file

OpenBSD — usr.sbin/pstat pstat.c

don't print vnodes if we didn't read them
Delta File
+3 -1 usr.sbin/pstat/pstat.c
+3 -1 1 file

OpenBSD — usr.sbin/pstat pstat.c

1. -T (totalflag) requires nlist too.
2. If we can't read a vnode, there's no way LIST_NEXT is going to be
3. set numvnodes before looping in case we return early.
getting better, but still not all fixed
Delta File
+5 -4 usr.sbin/pstat/pstat.c
+5 -4 1 file

OpenBSD — sys/dev/isa lm78_isa.c

Use taskq rather than workq to remove unwanted alias.

ok mikeb kettenis (for earlier version)
Delta File
+9 -4 sys/dev/isa/lm78_isa.c
+9 -4 1 file

OpenBSD — sys/arch/luna88k/cbus cbus.c pcex.c, sys/arch/luna88k/conf files.luna88k

Move cbus.c, cbusvar.h, and pcex.c to new 'cbus' directory, to gather
'C-bus' device drivers in it.

More devices on cbus(4) will be added, hopefully :-)

ok miod@

OpenBSD — sbin/pfctl parse.y, share/man/man5 pf.conf.5

Support source-hash and random with tables and dynifs; not just pools.
This finally allows to use source-hash for dynamic loadbalancing, eg.
"rdr-to <hosts> source-hash", instead of just round-robin and least-states.

An older pre-siphash version of this diff was tested by many people.

OK tedu@ benno@
Delta File
+49 -18 sys/net/pf_lb.c
+14 -20 sbin/pfctl/parse.y
+6 -10 share/man/man5/pf.conf.5
+7 -1 sys/net/pfvar.h
+76 -49 4 files

OpenBSD — sys/net pf_lb.c

Comment is no longer true, remove it.
Delta File
+1 -4 sys/net/pf_lb.c
+1 -4 1 file

OpenBSD — sys/sys hash.h

remove hash.h. no longer needed. ok reyk
Delta File
+0 -128 sys/sys/hash.h
+0 -128 1 file

OpenBSD — sys/ddb db_structinfo.c

Remove an unused sys/hash.h include from db_structinfo.c
(this file is only compiled with "option DDB_STRUCT").

ok guenther@
Delta File
+1 -2 sys/ddb/db_structinfo.c
+1 -2 1 file

OpenBSD — sys/dev/acpi atk0110.c

lonely bcopy called me by name
Delta File
+2 -2 sys/dev/acpi/atk0110.c
+2 -2 1 file

OpenBSD — sys/dev/ic xl.c pckbc.c

another handful of bcopy -> memcpy because there is no overlap
Delta File
+7 -7 sys/dev/ic/xl.c
+5 -5 sys/dev/ic/pckbc.c
+4 -4 sys/dev/ic/mfi.c
+2 -2 sys/dev/ic/qla.c
+2 -2 sys/dev/ic/osiop.c
+2 -2 sys/dev/ic/qlw.c
+4 -4 2 files not shown
+26 -26 8 files

OpenBSD — sys/kern kern_proc.c kern_event.c

start retiring the nointr allocator. specify PR_WAITOK as a flag as a
marker for which pools are not interrupt safe. ok dlg
Delta File
+13 -13 sys/kern/kern_proc.c
+5 -5 sys/kern/kern_event.c
+5 -5 sys/kern/kern_descrip.c
+5 -5 sys/kern/vfs_subr.c
+4 -5 sys/kern/sysv_sem.c
+3 -3 sys/kern/kern_sig.c
+19 -21 7 files not shown
+54 -57 13 files

OpenBSD — sys/dev/cardbus cardslot.c

if you really must look inside the pool to decide if you've called
pool_init already, the pr_size field is the least worst field to peek at.
Delta File
+2 -2 sys/dev/cardbus/cardslot.c
+2 -2 1 file

OpenBSD — sys/net pfvar.h, sys/netinet ip_carp.h

add messages to #error so we know what's what (and so unifdef doesn't poop)
Delta File
+2 -2 sys/net/pfvar.h
+2 -2 sys/netinet/ip_carp.h
+4 -4 2 files

OpenBSD — regress/usr.bin/mandoc/char/unicode input.out_lint input.out_ascii, usr.bin/mandoc preconv.c

Rewrite the low-level UTF-8 parser from scratch.
It accepted invalid byte sequences like 0xc080-c1bf, 0xe08080-e09fbf,
0xeda080-edbfbf, and 0xf0808080-f08fbfbf, produced valid roff Unicode
escape sequences from them, and the algorithm contained strong
defenses against any attempt to fix it.

This cures an assertion failure in the terminal formatter caused
by sneaking in ASCII 0x08 (backspace) by "encoding" it as an (invalid)
multibyte UTF-8 sequence, found by jsg@ with afl.

As a bonus, the new algorithm also reduces the code in the function
by about 20%.

OpenBSD — sys/dev/ic re.c

Make use of m_defrag() in re_encap().
Delta File
+14 -5 sys/dev/ic/re.c
+14 -5 1 file

OpenBSD — sys/dev rnd.c

rename buffer to digest, more clear. ok deraadt
Delta File
+6 -7 sys/dev/rnd.c
+6 -7 1 file

OpenBSD — usr.bin/openssl openssl.1

CA.sh and CA.pl are gone
Delta File
+2 -7 usr.bin/openssl/openssl.1
+2 -7 1 file

OpenBSD — usr.bin/openssl openssl.1

Sync message digest algorithms with the ones actually implemented in
"openssl dgst".

feedback/ok jmc@
Delta File
+29 -9 usr.bin/openssl/openssl.1
+29 -9 1 file

OpenBSD — sys/crypto sha2.c

convert bcopy/zero to memcpy. ok deraadt djm
Delta File
+29 -24 sys/crypto/sha2.c
+29 -24 1 file

OpenBSD — sys/kern subr_pool.c

timestamp empty pages, and only free them if theyve been idle for at least
a second.

this basically brings back the functionality that was trimmed in r1.53,
except this version uses ticks instead of very slow hardware clock reads.

ok tedu@
Delta File
+8 -2 sys/kern/subr_pool.c
+8 -2 1 file

OpenBSD — sys/kern subr_pool.c

the last commit changed LIST_INSERT_HEAD to TAILQ_INSERT_TAIL cos the
latter is cheaper, but i forgot to change the thing that pulls pages off
those lists to match the change in direction. the page lists went from LIFO
to FIFO.

this changes pool_update_curpage to use TAILQ_LAST so we go back to LIFO.

pointed out by and ok tedu@
Delta File
+3 -3 sys/kern/subr_pool.c
+3 -3 1 file

OpenBSD — sys/dev/pci if_vmx.c

Rearrange mostly vmxnet3_init() to look like other Ethernet drivers.

ok reyk@
Delta File
+22 -12 sys/dev/pci/if_vmx.c
+22 -12 1 file

OpenBSD — sys/dev rnd.c

sha512 produces enough output, we can simplify extraction by not looping.
ok deraadt djm
Delta File
+32 -33 sys/dev/rnd.c
+32 -33 1 file