CVS: cvs.openbsd.org: src

2023-07-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/08 19:12:04

Modified files:
share/man/man4 : ietp.4 

Log message:
correct spelling
confirmed by Vladimir



CVS: cvs.openbsd.org: src

2023-07-08 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/07/08 15:51:45

Modified files:
usr.bin/make   : main.c 

Log message:
max_processes -> max_jobs in usage();



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 14:38:23

Modified files:
lib/libssl : tls12_record_layer.c 

Log message:
fix comment to unbreak things that care about warnings
ok tb@ krw@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/08 14:14:30

Modified files:
distrib/sets/lists/comp: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2023-07-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/08 14:13:13

Modified files:
lib/libcrypto/man: Makefile 

Log message:
link EVP_MD_meth_new.3 to build



CVS: cvs.openbsd.org: src

2023-07-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/08 14:01:26

Added files:
lib/libcrypto/man: EVP_MD_meth_new.3 

Log message:
Import EVP_MD_meth_new.3 from OpenSSL 1.1.1 head

As usual, this has a lot of room for improvement, but it is better than
nothing at all. It leaves a dangling reference to EVP_MD_CTX_md_data(),
which I leave for schwarze to document. This is a terrible API and the
way it is used in the wild is terrifying.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/07/08 13:41:07

Modified files:
regress/lib/libcrypto/wycheproof: Makefile 

Log message:
Fix whitespace



CVS: cvs.openbsd.org: src

2023-07-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/07/08 12:42:27

Modified files:
usr.bin/make   : make.c 

Log message:
nitpicking: singular of children is child



CVS: cvs.openbsd.org: src

2023-07-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/07/08 12:33:41

Modified files:
regress/lib/libcrypto/wycheproof: Makefile 

Log message:
partial fix for make -j8 (bluhm@ is sitting right next to me and agreeing)
there is a subtler issue with make regress/make all that will be way more
of a headache to sort !



CVS: cvs.openbsd.org: src

2023-07-08 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/07/08 12:10:32

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync perl 5.36.1



CVS: cvs.openbsd.org: src

2023-07-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/07/08 12:02:00

Modified files:
usr.bin/make   : make.1 

Log message:
talk about "jobs" because that's make knows, and mention the heuristics
about the recursive non exploding kitten recursive behavior outside of
BUGS.

okay naddy@, jca@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 10:40:14

Modified files:
lib/libssl : bio_ssl.c d1_srtp.c s3_lib.c ssl_algs.c 
 ssl_asn1.c ssl_cert.c ssl_ciph.c ssl_clnt.c 
 ssl_err.c ssl_init.c ssl_lib.c ssl_methods.c 
 ssl_rsa.c ssl_sess.c ssl_srvr.c ssl_stat.c 
 ssl_txt.c tls12_record_layer.c 
lib/libssl/hidden/openssl: ssl.h 
Added files:
lib/libssl/hidden/openssl: srtp.h tls1.h 

Log message:
Hide all public symbols in libssl

With the guentherizer 9000

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 09:29:04

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/dh: dh_ameth.c dh_asn1.c dh_check.c dh_err.c 
  dh_gen.c dh_key.c dh_lib.c 
Added files:
lib/libcrypto/hidden/openssl: dh.h 

Log message:
Hide symbols in dh

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 09:12:49

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/curve25519: curve25519.c 
Added files:
lib/libcrypto/hidden/openssl: curve25519.h 

Log message:
Hide symbols in curve22519

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/07/08 09:01:09

Modified files:
distrib/miniroot: install.sub 

Log message:
Floppies don't have bioctl(8)

The installer always checks for softraid using it, skip if unavailable.

Apply the usual idiom in encrypt_root() to silence stderr noise.

Do so in do in get_softraid_chunks() as well which is always called in
get_dkdevs_unitialized() and finish_up();  get_softraid_chunks() discards
stderr and both users still do the right thing on bioctl failure/empty
output from get_dkdevs_unitialized(), but there's no point in trying plus
the idiom clarifies how this code is indeed used on floppies.

Found and tested by krw
OK deraadt krw



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 08:56:54

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/modes: cbc128.c ccm128.c cfb128.c ctr128.c 
 gcm128.c ofb128.c xts128.c 
Added files:
lib/libcrypto/hidden/openssl: modes.h 

Log message:
Hide symbols in modes.h

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 08:55:36

Modified files:
lib/libcrypto/modes: cbc128.c ccm128.c cfb128.c ctr128.c 
 gcm128.c modes.h modes_local.h ofb128.c 
 xts128.c 

Log message:
Hit modes with the loving mallet of knfmt

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/07/08 08:49:55

Modified files:
gnu/usr.bin/perl/t/porting: exec-bit.t 
regress/gnu/usr.bin/perl: Makefile 

Log message:
Fix Perl tests in OpenBSD regress.

Disable Perl test t/porting/exec-bit.t as it only checks permissions.
The x-bit in OpenBSD CVS tree does not match Perl distribution tar.
This is known and accepted.

Set permission of Test-Harness source.sh and source_args.sh to
executable as Perl uses it to test module features.  Stay close to
upstream.  During regress, set the x-bit of the files in obj
directory.  Do not touch src tree, it might be read-only.

discussed with anton@; OK afresh1@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2023/07/08 08:44:43

Modified files:
sys/arch/arm64/dev: aplsmc.c apm.c 
sys/arch/macppc/dev: apm.c 
sys/dev/acpi   : acpi_apm.c 
sys/sys: device.h 

Log message:
Adds request_sleep(), a MI way of sending the machine to sleep in
a safe thread. Support is limited to amd64, i386 and arm64 at the
moment, macppc gets only an empty stub.

feedback from kettenis@
tested by bluhm@
ok phessler@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 08:30:44

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/gost: gost2814789.c gost89_params.c gost_asn1.c 
gost_err.c gostr341001_key.c gostr341194.c 
streebog.c 
Added files:
lib/libcrypto/hidden/openssl: gost.h 

Log message:
Hide symbols in gost.

ok tb@ after some puking in his mouth.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 08:28:15

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/dsa: dsa_asn1.c dsa_err.c dsa_gen.c dsa_key.c 
   dsa_lib.c dsa_meth.c dsa_ossl.c dsa_prn.c 
Added files:
lib/libcrypto/hidden/openssl: dsa.h 

Log message:
hide symbols in dsa

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 08:27:14

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/cmac: cmac.c 
Added files:
lib/libcrypto/hidden/openssl: cmac.h 

Log message:
Hide symbols in cmac

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Andrew Fresh
CVSROOT:/cvs
Module name:src
Changes by: afre...@cvs.openbsd.org 2023/07/08 08:18:37

Modified files:
gnu/usr.bin/perl: AUTHORS Configure INSTALL MANIFEST META.json 
  META.yml Makefile.SH Makefile.bsd-wrapper1 
  README README.haiku README.macosx README.os2 
  README.vms configure.com embed.fnc embed.h 
  gv.c handy.h makedef.pl mg.c op.c patchlevel.h 
  perl.c pp_ctl.c pp_hot.c proto.h sv.c util.c 
gnu/usr.bin/perl/Cross: config.sh-arm-linux 
config.sh-arm-linux-n770 
gnu/usr.bin/perl/Porting: config.sh config_H epigraphs.pod 
  make-rmg-checklist 
  perldelta_template.pod 
  release_managers_guide.pod 
  release_schedule.pod todo.pod 
gnu/usr.bin/perl/dist/Module-CoreList: Changes Makefile.PL 
gnu/usr.bin/perl/dist/Module-CoreList/lib/Module: CoreList.pm 
gnu/usr.bin/perl/dist/Module-CoreList/lib/Module/CoreList: 
   Utils.pm 
gnu/usr.bin/perl/ext/XS-APItest/t: xsub_h.t 
gnu/usr.bin/perl/hints: catamount.sh 
gnu/usr.bin/perl/lib/B: Op_private.pm 
gnu/usr.bin/perl/plan9: config_sh.sample 
gnu/usr.bin/perl/pod: perl.pod perldelta.pod perlexperiment.pod 
  perlhist.pod 
gnu/usr.bin/perl/t/io: defout.t 
gnu/usr.bin/perl/t/op: lexsub.t method.t taint.t write.t 
gnu/usr.bin/perl/t/re: pat_re_eval.t 
gnu/usr.bin/perl/vms: descrip_mms.template 
gnu/usr.bin/perl/win32: GNUmakefile Makefile pod.mak 
Added files:
gnu/usr.bin/perl/pod: perl5360delta.pod 

Log message:
Update to perl 5.36.1

Many small bugfixes

you should commit 5.36.1 bluhm@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2023/07/08 08:09:43

Modified files:
libexec/ld.so  : dlfcn.c loader.c resolve.c 
libexec/ld.so/aarch64: ldasm.S 

Log message:
turn an ifdef'd _dl_printf call into DL_DEB and various whitespace fixes

sure deraadt@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 06:27:52

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/objects: o_names.c obj_dat.c obj_err.c obj_lib.c 
   obj_xref.c 
Added files:
lib/libcrypto/hidden/openssl: objects.h 

Log message:
Hide symbols in objects

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 06:26:45

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/rsa: rsa_asn1.c rsa_chk.c rsa_crpt.c rsa_eay.c 
   rsa_err.c rsa_gen.c rsa_lib.c rsa_meth.c 
   rsa_none.c rsa_oaep.c rsa_pk1.c rsa_pmeth.c 
   rsa_prn.c rsa_pss.c rsa_saos.c rsa_sign.c 
Added files:
lib/libcrypto/hidden/openssl: rsa.h 

Log message:
Hide symbols in rsa

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 06:24:10

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/sha: sha1.c sha256.c sha512.c 
Added files:
lib/libcrypto/hidden/openssl: sha.h 

Log message:
Hide symbols in sha

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 06:21:58

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/bn: bn_add.c bn_blind.c bn_const.c bn_convert.c 
  bn_ctx.c bn_err.c bn_exp.c bn_kron.c bn_lib.c 
  bn_mod.c bn_mod_sqrt.c bn_mont.c bn_mul.c 
  bn_prime.c bn_rand.c bn_shift.c bn_sqr.c 
  bn_word.c 
Added files:
lib/libcrypto/hidden/openssl: bn.h 

Log message:
Hide symbols in bn

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 05:28:04

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/txt_db: txt_db.c 
Added files:
lib/libcrypto/hidden/openssl: txt_db.h 

Log message:
Hide symbols in txt_db

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2023/07/08 05:03:45

Modified files:
libexec/ld.so  : Makefile 

Log message:
zap stray backslash

ok deraadt@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 04:45:57

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/md4: md4_dgst.c md4_one.c 
lib/libcrypto/md5: md5_dgst.c md5_one.c 
Added files:
lib/libcrypto/hidden/openssl: md4.h md5.h 

Log message:
Hide symbols in md4 and md5

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 04:44:00

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/cast: c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c 
lib/libcrypto/idea: i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c 
lib/libcrypto/ocsp: ocsp_asn.c ocsp_cl.c ocsp_err.c ocsp_ext.c 
ocsp_ht.c ocsp_lib.c ocsp_prn.c ocsp_srv.c 
ocsp_vfy.c 
Added files:
lib/libcrypto/hidden/openssl: cast.h idea.h ocsp.h 

Log message:
Hide symbols in cast, idea, and ocsp

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 04:19:19

Modified files:
share/man/man4/man4.riscv64: Makefile 

Log message:
stfpcie(4) and stfpciephy(4)



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 04:18:51

Added files:
share/man/man4/man4.riscv64: stfpciephy.4 

Log message:
stfpciephy(4)



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 04:18:34

Added files:
share/man/man4/man4.riscv64: stfpcie.4 

Log message:
stfpcie(4)



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 04:17:35

Modified files:
share/man/man4/man4.riscv64: stfclock.4 stfpinctrl.4 

Log message:
Mention JH7110.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 04:06:14

Modified files:
sys/arch/riscv64/conf: GENERIC RAMDISK files.riscv64 
Added files:
sys/arch/riscv64/dev: stfpcie.c stfpciephy.c 

Log message:
Add support for the PCIe controller on the JH7110 SoC.

MSIs don't work reliably so these are disabled for now.  The stfpcie(4)
driver is based on preliminary device tree bindings that might still
change.

ok patrick@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 03:13:27

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2023-07-08 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2023/07/08 03:12:28

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

Log message:
Add support for the RK3588 PCIe3 PHY to rkpciephy(4).  The PHY controls
4 lanes that can be routed to 4 of the 5 PCIe controllers in the following
configurations.

Either all 4 lanes go to the x4 controller, then the other 3 controllers
stay disabled.  If those are split, lane 0 goes to the x4 controller and
lane 2 goes to the x2 controller.  Lane 1 now either goes to the x4 one
to build a x2, or it gets routed to a x1 controller.  Lane 3 also either
goes to the x2 one to build a x2, or it gets routed to a x1 controller.

If lanes 1 or lane 3 are configured, they are routed towards the PCIe3 PHY
instead of the Combo PHY.

ok kettenis@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 03:11:51

Modified files:
sys/dev/pci: pcidevs 

Log message:
Add PLDA XpressRICH-AXI PCIe controller



CVS: cvs.openbsd.org: src

2023-07-08 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2023/07/08 03:01:30

Modified files:
sys/dev/pci: if_ix.c 

Log message:
Check rx dma map was allocated before trying to free it, so we don't crash
if we ran out of memory while bringing the interface up.

tested by hrvoje, ok kevlo@



CVS: cvs.openbsd.org: src

2023-07-08 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2023/07/08 02:53:26

Modified files:
lib/libradius  : radius.c radius.h radius_attr.c radius_eapmsk.c 
 radius_userpass.c 

Log message:
Tidy up #include lines.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/07/08 02:45:54

Modified files:
usr.bin/libtool/LT: UList.pm 

Log message:
cosmetic clean-up of UList.pm, no signatures yet
remove prototype that's actually unused, since method call



CVS: cvs.openbsd.org: src

2023-07-08 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/07/08 02:38:41

Modified files:
distrib/sets/lists/comp: mi 
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2023-07-08 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2023/07/08 02:37:39

Modified files:
sys/dev/fdt: rkclock.c rkclock_clocks.h 

Log message:
Add some resets for the PCIe controllers on the RK3588.

ok kettenis@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 02:28:23

Modified files:
lib/libcrypto  : Symbols.namespace cpt_err.c cryptlib.c 
 crypto_init.c crypto_lock.c cversion.c 
 ex_data.c malloc-wrapper.c mem_dbg.c 
Added files:
lib/libcrypto/hidden/openssl: crypto.h 

Log message:
Hide symbols in crypto.h

ok jsing@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 02:26:26

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/buffer: buf_err.c buffer.c 
lib/libcrypto/cms: cms_asn1.c cms_att.c cms_enc.c cms_env.c 
   cms_err.c cms_ess.c cms_io.c cms_kari.c 
   cms_lib.c cms_pwri.c cms_sd.c cms_smime.c 
lib/libcrypto/comp: c_rle.c c_zlib.c comp_err.c comp_lib.c 
lib/libcrypto/conf: conf_api.c 
Added files:
lib/libcrypto/hidden/openssl: buffer.h cms.h comp.h conf_api.h 

Log message:
Hide symbols in cms, comp, conf, and buffer

ok jsing@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 02:18:31

Modified files:
sys/arch/riscv64/conf: GENERIC RAMDISK 
sys/dev/fdt: if_dwqe_fdt.c 
sys/dev/mii: miidevs miivar.h ytphy.c 

Log message:
Add support for the Motorcomm YT8521/YT8531 PHYs.  Since these PHYs may
need various board-dependent tweaks, pass the device tree node down
to the PHY driver such that we can look at various properties to make
the necessary tweaks.  Enable ytphy(4) on riscv64.

ok jsing@, patrick@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/07/08 02:15:32

Modified files:
usr.bin/libtool/LT: Library.pm Program.pm Util.pm 
usr.bin/libtool/LT/Mode: Compile.pm Install.pm Link.pm 
usr.bin/libtool/LT/Mode/Link: Library.pm 

Log message:
move everyone besides UList to use v5.36



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 02:13:31

Modified files:
sys/dev/mii: miidevs.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 02:10:27

Modified files:
sys/dev/mii: miidevs.h 

Log message:
Add Motorcomm YT8531.

ok jsing@, patrick@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2023/07/08 02:01:10

Modified files:
sys/arch/amd64/conf: files.amd64 
sys/arch/i386/conf: files.i386 
sys/dev/acpi   : acpi.c 
Added files:
sys/dev/acpi   : acpi_apm.c 

Log message:
Move /dev/apm related acpi code to acpi_apm.c which is only built on
amd64 and i386. This is the first step towards a machine independent
safe sleep API.

tested by yasuoka@ bluhm@
ok deraadt@ kettenis@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:58:25

Modified files:
lib/libcrypto/sha: sha1.c 

Log message:
Remove unused SHA-1 implementation.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:52:25

Modified files:
lib/libcrypto/sha: sha1.c 

Log message:
Remove now unnecessary "do { } while (0)"



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:49:45

Modified files:
lib/libcrypto/sha: sha1.c 

Log message:
Inline HASH_MAKE_STRING macro.

No change to generated assembly.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:43:44

Modified files:
lib/libcrypto/sha: sha1.c 

Log message:
Reorder functions.

No functional change.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:34:34

Modified files:
lib/libcrypto/des: cbc_cksm.c cfb64ede.c des_enc.c 
   ede_cbcm_enc.c enc_writ.c fcrypt.c fcrypt_b.c 
   ncbc_enc.c pcbc_enc.c qud_cksm.c set_key.c 
   spr.h str2key.c xcbc_enc.c 

Log message:
More style(9).



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:25:43

Modified files:
lib/libcrypto/cast: c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c 
cast.h cast_local.h cast_s.h 

Log message:
Hit cast with the style(9) stick.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 01:22:58

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/ct: ct_b64.c ct_log.c ct_oct.c ct_policy.c 
  ct_prn.c ct_sct.c 
lib/libcrypto/dso: dso_dlfcn.c dso_err.c dso_lib.c dso_null.c 
   dso_openssl.c 
Added files:
lib/libcrypto/hidden/openssl: ct.h dso.h 

Log message:
Hide symbols in dso and ct

ok jsing@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/07/08 01:18:39

Modified files:
sys/arch/amd64/amd64: efi_machdep.c 

Log message:
Toggle IBT off during EFI runtime services calls.

While UEFI 2.10 has a way of indicating that runtime services use the
appropriate ENDBR64 instructions, firmware that's out int the wild doesn't
actually use that yet.  Once the landscape changes we may want to
reconsider toggling IBT off.

ok guenther@, kn@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 01:11:07

Modified files:
lib/libcrypto/des: cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c 
   cfb_enc.c des.h des_enc.c des_local.h 
   ecb3_enc.c ecb_enc.c ede_cbcm_enc.c 
   enc_read.c enc_writ.c fcrypt.c fcrypt_b.c 
   ncbc_enc.c ofb64ede.c ofb64enc.c ofb_enc.c 
   pcbc_enc.c qud_cksm.c rand_key.c set_key.c 
   spr.h str2key.c xcbc_enc.c 

Log message:
Hit the des directory with the loving mallet of knfmt

ok tb@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 01:08:11

Modified files:
lib/libcrypto/sha: sha.h 

Log message:
style(9)



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:52:56

Modified files:
lib/libcrypto/ripemd: ripemd.h rmd_dgst.c rmd_one.c rmdconst.h 

Log message:
Hit ripemd with the style(9) stick.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:50:38

Modified files:
lib/libcrypto/md5: md5.h md5_dgst.c md5_one.c 

Log message:
Hit md5 with the style(9) stick.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:47:26

Modified files:
lib/libcrypto/md4: md4.h md4_dgst.c md4_one.c 

Log message:
Hit md4 with the style(9) stick.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:43:39

Modified files:
lib/libcrypto/ripemd: rmd_dgst.c 
Removed files:
lib/libcrypto/ripemd: rmd_local.h 

Log message:
Inline rmd_local.h in rmd_dgst.c.

rmd_local.h is not really a local header, just another layer of indirection
that cannot be included by anything other than rmd_dgst.c. As such, include
it directly instead.

No change in generated assembly.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:41:45

Modified files:
lib/libcrypto/md5: md5_dgst.c 
Removed files:
lib/libcrypto/md5: md5_local.h 

Log message:
Inline md5_local.h in md5_dgst.c.

md5_local.h is not really a local header, just another layer of indirection
that cannot be included by anything other than md5_dgst.c. As such, include
it directly instead.

No change in generated assembly.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:39:19

Modified files:
lib/libcrypto/md4: md4_dgst.c 
Removed files:
lib/libcrypto/md4: md4_local.h 

Log message:
Inline md4_local.h in md4_dgst.c.

md4_local.h is not really a local header, just another layer of indirection
that cannot be included by anything other than md4_dgst.c. As such, include
it directly instead.

No change in generated assembly.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/07/08 00:36:55

Modified files:
lib/libcrypto/sm3: sm3.c 
Removed files:
lib/libcrypto/sm3: sm3_local.h 

Log message:
Inline sm3_local.h in sm3.c.

sm3_local.h is not really a local header, just another layer of indirection
that cannot be included by anything other than sm3.c. As such, include it
directly instead.

No change in generated assembly.



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 00:13:08

Modified files:
lib/libcrypto  : Symbols.namespace 
lib/libcrypto/sm3: sm3.c 
Added files:
lib/libcrypto/hidden/openssl: sm3.h 

Log message:
Hide symbols in sm3

ok tb@ jsing@



CVS: cvs.openbsd.org: src

2023-07-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2023/07/08 00:04:33

Added files:
lib/libcrypto/hidden/openssl: ecdh.h 

Log message:
unbreak build when namespaced, file was here in my tree but didn't manage
to cvs add