Re: CVS: cvs.openbsd.org: src

2022-07-09 Thread Alexander Hall
On Sat, Jul 09, 2022 at 05:24:44PM -0600, Alexander Hall wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   ha...@cvs.openbsd.org   2022/07/09 17:24:44
> 
> Modified files:
>   usr.sbin/tcpdump: tcpdump.c 
> 
> Log message:
> Explicitly set the default value for Bflag to BPF_FILDROP_PASS
> 
> Technically a nop since the value of the initial constant is 0 anyway
> but we should not rely on that.

This was OK kn@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Alexander Hall
CVSROOT:/cvs
Module name:src
Changes by: ha...@cvs.openbsd.org   2022/07/09 17:24:44

Modified files:
usr.sbin/tcpdump: tcpdump.c 

Log message:
Explicitly set the default value for Bflag to BPF_FILDROP_PASS

Technically a nop since the value of the initial constant is 0 anyway
but we should not rely on that.



CVS: cvs.openbsd.org: src

2022-07-09 Thread Vitaliy Makkoveev
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/07/09 14:57:01

Modified files:
sys/net: if_pppoe.c 

Log message:
Fix the error path of the 'SIOCSIFMTU' pppoe_ioctl() case. Return error
value if the `error' is set instead of continue to sppp_ioctl().

ok bluhm@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2022/07/09 14:52:46

Modified files:
sys/dev/fdt: sxirsb.c 

Log message:
Add suspend/resume support

ok mlarkin@, patrick@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2022/07/09 14:51:39

Modified files:
sys/dev/fdt: if_dwxe.c 

Log message:
Add suspend/resume support.

ok mlarkin@, patrick@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2022/07/09 13:27:56

Modified files:
sys/dev/fdt: psci.c pscivar.h 

Log message:
Add support for calling the CPU_OFF and SYSTEM_SUSPEND functions.
Add a function to check whether SYSTEM_SUSPEND is supported by the
PSCI firmware.

ok patrick@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/07/09 10:44:48

Modified files:
distrib/sets/lists/comp: clang.amd64 clang.arm64 clang.armv7 
 clang.loongson clang.macppc 
 clang.octeon clang.powerpc64 
 clang.riscv64 clang.sparc64 

Log message:
Sync: add llvm-readelf/llvm-readobj



CVS: cvs.openbsd.org: src

2022-07-09 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/07/09 10:25:37

Modified files:
gnu/usr.bin/clang: Makefile 
Added files:
gnu/usr.bin/clang/include/llvm-readobj: Makefile 
gnu/usr.bin/clang/llvm-readobj: Makefile llvm-readelf.1 
llvm-readobj.1 

Log message:
Build and install llvm-readobj, also install it as llvm-readelf

Useful on architectures not actually supported by our ancient binutils
(arm64, powerpc64, riscv64), or on architectures incompletely supported
(eg recent features on amd64).

ok kettenis@ sthen@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/07/09 10:20:22

src/gnu/usr.bin/clang/include/llvm-readobj

Update of /cvs/src/gnu/usr.bin/clang/include/llvm-readobj
In directory cvs.openbsd.org:/tmp/cvs-serv99615/include/llvm-readobj

Log Message:
Directory /cvs/src/gnu/usr.bin/clang/include/llvm-readobj added to the 
repository



CVS: cvs.openbsd.org: src

2022-07-09 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/07/09 10:20:22

src/gnu/usr.bin/clang/llvm-readobj

Update of /cvs/src/gnu/usr.bin/clang/llvm-readobj
In directory cvs.openbsd.org:/tmp/cvs-serv99615/llvm-readobj

Log Message:
Directory /cvs/src/gnu/usr.bin/clang/llvm-readobj added to the repository



CVS: cvs.openbsd.org: src

2022-07-09 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2022/07/09 08:47:42

Modified files:
regress/lib/libcrypto/asn1: asn1api.c 

Log message:
Check that ASN1_{INTEGER,ENUMERATED}_get(NULL) return 0 as documented.



CVS: cvs.openbsd.org: src

2022-07-09 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2022/07/09 08:46:43

Modified files:
lib/libcrypto/asn1: a_int.c a_enum.c 

Log message:
Make ASN1_{INTEGER,ENUMERATED}_get() return 0 on NULL again

This is the documented behavior which got lost in the recent rewrite.

Mismatch of documentation and reality pointed out by schwarze

ok jsing



CVS: cvs.openbsd.org: src

2022-07-09 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2022/07/09 07:13:34

Modified files:
lib/libcrypto/man: ASN1_INTEGER_get.3 

Log message:
Document ASN1_INTEGER_get_uint64(3), ASN1_INTEGER_get_int64(3),
ASN1_INTEGER_set_uint64(3), ASN1_INTEGER_set_int64(3),
ASN1_ENUMERATED_get_int64(3), and ASN1_ENUMERATED_set_int64(3)
recently provided by tb@.

Even though Dr. Steven Henson also documented these functions in OpenSSL,
the text over there is excessively verbose, repetitive, very badly ordered,
and incomplete, so i chose to instead write this patch from scratch,
also adding some precision in a few places.



CVS: cvs.openbsd.org: src

2022-07-09 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2022/07/09 06:48:21

Modified files:
sys/kern   : kern_event.c sys_pipe.c 
sys/net: bpf.c bpfdesc.h 
sys/sys: eventvar.h pipe.h 

Log message:
Unwrap klist from struct selinfo as this code no longer uses selwakeup().

OK jsg@



CVS: cvs.openbsd.org: src

2022-07-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2022/07/09 03:25:52

Modified files:
sys/arch/arm64/arm64: vm_machdep.c 

Log message:
Consistently use uint64_t.