Displaying 1 50 of 164,177 commits (0.014s)

OpenBSD — lib/libssl/src/crypto/ecdsa ecs_asn1.c

Expand ASN.1 template macros - no change in generated assembly.

OpenBSD — lib/libssl/src/crypto/gost gost_asn1.c

Expand ASN.1 template macros - no change in generated assembly.
Delta File
+144 -22 lib/libssl/src/crypto/gost/gost_asn1.c
+144 -22 1 file

OpenBSD — share/man/man8 daily.8

no need to mention /var/tmp; from thanos tsouanas
Delta File
+3 -5 share/man/man8/daily.8
+3 -5 1 file

OpenBSD — lib/libssl/src/crypto/ts ts_asn1.c

Expand ASN.1 template macros - the generated assembly only differs by
changes to line numbers.
Delta File
+341 -51 lib/libssl/src/crypto/ts/ts_asn1.c
+341 -51 1 file

OpenBSD — lib/libcrypto/man BIO_s_bio.3, lib/libssl/src/doc/ssl SSL_connect.3 SSL_get_error.3

an TLS -> a TLS; from thanos tsouanas

OpenBSD — lib/libssl/src/crypto/asn1 tasn_typ.c x_name.c

Expand ASN1_ITEM_TEMPLATE/ASN1_EX_TEMPLATE_TYPE/ASN1_ITEM_TEMPLATE_END
macros - the generated assembly only differs by changes to line numbers.

OpenBSD — lib/libssl/src/crypto/asn1 tasn_typ.c a_time.c

Expand IMPLEMENT_ASN1_MSTRING macros - the generated assembly only differs
by changes to line numbers.

OpenBSD — sys/dev audio.c

Switch back into counting bytes rather than blocks. We can't just
multiply the block count by the block size to get the bytes count
because they won't wrap correctly.
Delta File
+14 -12 sys/dev/audio.c
+14 -12 1 file

OpenBSD — lib/libsndio sio_sun.c

Fix arithmetic mistake causing errors when there are more xruns on the
record side than on the play side. This almost never happens are record
buffer are much larger than play buffers.
Delta File
+2 -2 lib/libsndio/sio_sun.c
+2 -2 1 file

OpenBSD — usr.bin/sndiod siofile.c

Crank watchdog timeout from 2 to 4 seconds.
Delta File
+2 -2 usr.bin/sndiod/siofile.c
+2 -2 1 file

OpenBSD — usr.bin/sndiod siofile.c

Log when device is disconnected.
Delta File
+7 -1 usr.bin/sndiod/siofile.c
+7 -1 1 file

OpenBSD — usr.bin/sndiod siofile.c

Clear watchdog timer when device is closed, fixes use-after-free in
error code-paths when device is closed before audio is stopped.
Delta File
+2 -1 usr.bin/sndiod/siofile.c
+2 -1 1 file

OpenBSD — lib/libssl/src/ssl t1_lib.c ssl_locl.h

Convert tls1_process_ticket to CBS.

ok miod@ jsing@

OpenBSD — usr.bin/doas parse.y doas.c

Further improve syntax error reporting in doas:

  - teach parser to recover after error, allowing to report many errors
    instead of the first one only;
  - fix remaining error printouts without exact position.

Some ideas were taken from diff sent by dlg@ earlier, thanks!

okay tedu@, dlg@
Delta File
+31 -25 usr.bin/doas/parse.y
+3 -1 usr.bin/doas/doas.c
+2 -1 usr.bin/doas/doas.h
+36 -27 3 files

OpenBSD — lib/libssl/src/ssl t1_lib.c

Convert tls1_process_sigalgs to CBS.

ok miod@ jsing@
Delta File
+14 -5 lib/libssl/src/ssl/t1_lib.c
+14 -5 1 file

OpenBSD — lib/libssl/src/ssl s3_pkt.c

Convert ssl3_get_record to CBS.

ok miod@ jsing@
Delta File
+29 -22 lib/libssl/src/ssl/s3_pkt.c
+29 -22 1 file

OpenBSD — sys/dev/pci if_bnx.c

if we free the mbuf in the rx path, clear the pointer to it so we dont
try and queue it for the stack and cause a use after free.

found by maxime villard and brainy
Delta File
+2 -1 sys/dev/pci/if_bnx.c
+2 -1 1 file

OpenBSD — lib/libc/crypt crypt_checkpass.3

call it bcrypt in the man page too
Delta File
+3 -3 lib/libc/crypt/crypt_checkpass.3
+3 -3 1 file

OpenBSD — lib/libc/crypt cryptutil.c

permit "bcrypt" as an alias for "blowfish". this is, after all, what
99% of the world calls it.
allow just "bcrypt" without params to mean auto-tune ("bcrypt,a").
default remains 8 rounds (for now)
ok deraadt
Delta File
+27 -11 lib/libc/crypt/cryptutil.c
+27 -11 1 file

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

sync

OpenBSD — usr.sbin/pkg_add/OpenBSD Paths.pm

change the expansion of %m and %c in installpath during -beta to the
snapshots/ folder

ok phessler@ sthen@
Delta File
+2 -2 usr.sbin/pkg_add/OpenBSD/Paths.pm
+2 -2 1 file

OpenBSD — sys/arch/amd64/amd64 disksubr.c, sys/arch/i386/i386 disksubr.c

Revert attempted GPT code cleanup. Too much code, too little testing.

Requested by deraadt@

OpenBSD — sys/arch/sparc64/stand/ofwboot softraid.c

Missed file in *_data_offset -> *_data_blkno switch.

Found the hardway by benoit@.

OpenBSD — sys/conf newvers.sh

remove -beta tag.  take that as a hint.
Delta File
+3 -3 sys/conf/newvers.sh
+3 -3 1 file

OpenBSD — usr.bin/doas doas.conf.5

tweak previous;
Delta File
+6 -6 usr.bin/doas/doas.conf.5
+6 -6 1 file

OpenBSD — etc changelist, etc/mtree special

add doas.conf to mtree (from Theo Buehler) and changelist. ok phessler@
Delta File
+2 -1 etc/changelist
+2 -1 etc/mtree/special
+4 -2 2 files

OpenBSD — sys/kern subr_pool.c

remove the POOL_NEEDS_CATCHUP macro, it isnt used.

from martin natano
Delta File
+1 -4 sys/kern/subr_pool.c
+1 -4 1 file

OpenBSD — sys/dev/pv pvbus.c pvvar.h

Add the bhyve id to recognize if we're running under this hypervisor.

OK mlarkin@
Delta File
+2 -1 sys/dev/pv/pvbus.c
+2 -1 sys/dev/pv/pvvar.h
+4 -2 2 files

OpenBSD — usr.sbin/httpd server_http.c

The realm in authenticate directive of config file isn't escaped for '"' char.
The diff corrects this problem by using VIS_DQ.

ok reyk@ florian@
Delta File
+10 -3 usr.sbin/httpd/server_http.c
+10 -3 1 file

OpenBSD — usr.sbin/npppd/npppd radius+.c radiusconst.h

Make npppd use libradius(3).  Remove radius+ files.

OpenBSD — usr.sbin Makefile

Build and install radiusd(8) and radiusctl(8) as default.  They still
lack of privsep and man page, they will be fixed soon.

ok deraadt
Delta File
+4 -3 usr.sbin/Makefile
+4 -3 1 file

OpenBSD — sys/arch/i386/i386 mainbus.c

Attach pvbus(4) later just before pci(4).  Same change was done for amd64.
Tested on VMware-GENERIC-i386.

OK mlarkin@
Delta File
+9 -9 sys/arch/i386/i386/mainbus.c
+9 -9 1 file

OpenBSD — include Makefile, lib Makefile

Build and install libradius as default.

ok deraadt
Delta File
+4 -3 lib/Makefile
+3 -3 include/Makefile
+7 -6 2 files

OpenBSD — lib/libc/sys tame.2

Sync with kernel TIOCGWINSZ change.
Delta File
+3 -3 lib/libc/sys/tame.2
+3 -3 1 file

OpenBSD — sys/kern kern_tame.c

Replace TIOCSWINSZ with TIOCGWINSZ in tame(2).

ok deraadt@
Delta File
+2 -2 sys/kern/kern_tame.c
+2 -2 1 file

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

GPT appears to create broken spoofed labels for empty disks (at least vnd,
maybe related to the small size of such media)

OpenBSD — usr.bin/doas parse.y doas.conf.5

Implement quoting support in doas.conf. Now you can pass environment
variables and arguments with almost any values.

As a bonus, doas will now point to exact place where syntax error occured
most of times; there is some room for improvement, though.

okay tedu@
Delta File
+86 -31 usr.bin/doas/parse.y
+17 -3 usr.bin/doas/doas.conf.5
+103 -34 2 files

OpenBSD — sys/dev audio.c

Represent the current stream position in blocks rather than bytes
just because it's simpler this way. No behaviour change.
Delta File
+12 -12 sys/dev/audio.c
+12 -12 1 file

OpenBSD — usr.bin/tail reverse.c

Fix memory leak when tail -r is used with anything but regular files.

ok schwarze@
Delta File
+14 -8 usr.bin/tail/reverse.c
+14 -8 1 file

OpenBSD — usr.bin/doas doas.c

Small tweaks:

 - whitespace on empty line;
 - use getuid() consistently.

okay tedu@
Delta File
+4 -5 usr.bin/doas/doas.c
+4 -5 1 file

OpenBSD — usr.bin/openssl ca.c

Revert ca.c r1.7 - BN_to_ASN1_INTEGER() only allocates an ASN.1 integer
when it is not passed a reference to one. In this case, it is passed a
reference to an ASN.1 integer that is part of the X509 ASN.1 data
structure. Freeing this causes bad things to happen, since it is used and
then freed later on.

Found the hard way by kinichiro inoguchi.
Delta File
+2 -6 usr.bin/openssl/ca.c
+2 -6 1 file

OpenBSD — usr.bin/doas doas.conf.5

tweak previous; ok zhuk
Delta File
+6 -9 usr.bin/doas/doas.conf.5
+6 -9 1 file

OpenBSD — sbin/ifconfig ifconfig.c

process_mpw_commands should not go to install-media ifconfig
Delta File
+3 -1 sbin/ifconfig/ifconfig.c
+3 -1 1 file

OpenBSD — usr.bin/doas doas.c

one whitespace out of place
Delta File
+2 -2 usr.bin/doas/doas.c
+2 -2 1 file

OpenBSD — sys/kern kern_tame.c

Slam signal handlers harder in tame_fail(), found by semarie.
Also delete some prototype KTRACE code which is not headed in the
right direction.
Delta File
+8 -19 sys/kern/kern_tame.c
+8 -19 1 file

OpenBSD — sys/kern kern_exec.c

memory leak in execve with systrace, plus some unreachable code
spotted by Maxime Villard
ok guenther millert
Delta File
+3 -3 sys/kern/kern_exec.c
+3 -3 1 file

OpenBSD — etc moduli, usr.bin/ssh/moduli-gen moduli.2048 moduli.1536

Generate new moduli.

OpenBSD — sys/arch/amd64/amd64 mainbus.c

pvbus(4) was attaching too early, it has to wait for identifycpu.
Problem found on GENERIC by mlarkin.

OK mlarkin@
Delta File
+9 -9 sys/arch/amd64/amd64/mainbus.c
+9 -9 1 file

OpenBSD — libexec/security security

When reading untrusted user files, don't risk blocking, such that
users can't mount a DOS attack against security(8), and for additional
safety against race attacks, make sure they are regular files after
opening and before actually reading them.

Issue originally hinted at by Sevan Janiyan <venture37 at
geeklan dot com dot uk> based on a NetBSD commit message,
then commented on by tedu@, problem finally confirmed by guenther@,
who also provided feedback on the actual patch.
Delta File
+6 -3 libexec/security/security
+6 -3 1 file

OpenBSD — sys/dev/pv pvbus.c vmt.c

Switch pvbus(4) to fully dynamic autoconf - drivers don't have to be
listed in pvbus.c anymore and are defined by the config only.

OK mlarkin@ sf@
Delta File
+19 -17 sys/dev/pv/pvbus.c
+6 -3 sys/dev/pv/vmt.c
+1 -2 sys/dev/pv/pvvar.h
+26 -22 3 files