Re: pkg_add optional behavior "like syspatch"

2023-07-02 Thread Stuart Henderson
On 2023/07/02 16:49, Solène Rapenne wrote: > On Sun, 2023-07-02 at 15:51 +0200, Marc Espie wrote: > > Use-case: some people want to branch automated installs based on > > whether > > pkg_add -u (or some other variation) actually did something. > > > > As usual we ignore quirks. This adds a flag

Re: missing malloc failure check at /src/lib/libcrypto/asn1/bio_ndef.c

2023-07-02 Thread Theo Buehler
On Sat, Jul 01, 2023 at 11:09:32PM +0200, Илья Шипицин wrote: > I ran analyzer, it shows old findings. am I missing something? or patches > were not yet applied I have only just committed the diff for d1_pkt.c, thanks for the reminder. I will look into the bio_ndef.c soon. As already mentioned,

Re: pkg_add optional behavior "like syspatch"

2023-07-02 Thread Marc Espie
On Sun, Jul 02, 2023 at 06:06:28PM +0100, Stuart Henderson wrote: > On 2023/07/02 16:49, Solène Rapenne wrote: > > On Sun, 2023-07-02 at 15:51 +0200, Marc Espie wrote: > > > Use-case: some people want to branch automated installs based on > > > whether > > > pkg_add -u (or some other variation)

Re: huge pfsync rewrite

2023-07-02 Thread David Gwynne
On Sun, Jul 02, 2023 at 12:44:17PM +0200, Alexandr Nedvedicky wrote: > Hello, > > On Thu, Jun 29, 2023 at 01:48:27PM +1000, David Gwynne wrote: > > On Mon, Jun 26, 2023 at 01:16:40AM +0200, Alexandr Nedvedicky wrote: > > > > > net/if_pfsync.c > > > the diff currently uses two slices

Re: pkg_add optional behavior "like syspatch"

2023-07-02 Thread Marc Espie
On Sun, Jul 02, 2023 at 04:49:41PM +0200, Solène Rapenne wrote: > On Sun, 2023-07-02 at 15:51 +0200, Marc Espie wrote: > > Use-case: some people want to branch automated installs based on > > whether > > pkg_add -u (or some other variation) actually did something. > > > > As usual we ignore

Re: Fwd: [openbsd/src] https://redmine.pfsense.org/issues/14444 (PR #39)

2023-07-02 Thread Aaron Miller
Hi Jonathan, Thank you for contributing! There are a few more steps you'll need to take. Please refer to the last ("Preparing a Diff") section of the FAQ for this: https://www.openbsd.org/faq/faq5.html#Diff It explains how to use your local Git repo to make a diff. For emailing, you'll want

[PATCH] Support PS2 keyboard on chrromebook

2023-07-02 Thread Vladimir 'phcoder' Serbinenko
On, at least, some Chromebook PS/2 protocol is implemented by EC rather than a real PS/2 controller. It works fine except for 2 things: * Unusual layout like multimedia keys instead of F* * Reset command returns garbage (usually last key) This patch attempts to handle later as it stops keyboard

[PATCH] hide processes for fun and profit(1)

2023-07-02 Thread count42
# # To hide the processes, adjust the 'kern.seeotheruids' setting. # echo 'kern.seeotheruids=0' >> /etc/sysctl.conf # # To apply this patch: # doas git clone -b master --depth=1 https://github.com/openbsd/src.git /usr/src # cd /usr/src && doas git apply /tmp/obsd_seeotheruids.diff # cd

[PATCH] Implement ext2 incompat feature 64-bit

2023-07-02 Thread Vladimir 'phcoder' Serbinenko
Hello, all attached patch implements feature 64-bit for ext2. This was enabled implicitly on my Ubuntu and probably on many other systems. Since it's an incompat feature lack of its support prevented the mount altogether. With this patch I was able to load install sets from my Ubuntu partition.

Re: huge pfsync rewrite

2023-07-02 Thread Alexandr Nedvedicky
Hello, On Thu, Jun 29, 2023 at 01:48:27PM +1000, David Gwynne wrote: > On Mon, Jun 26, 2023 at 01:16:40AM +0200, Alexandr Nedvedicky wrote: > > > net/if_pfsync.c > > the diff currently uses two slices (PFSYNC_NSLICES). is there a plan to > > scale it up? the slice can be simply

Re: lo(4) loopback LRO and TSO

2023-07-02 Thread Alexander Bluhm
anyone? On Fri, Jun 23, 2023 at 06:06:16PM +0200, Alexander Bluhm wrote: > Hi, > > Claudio@ mentioned the idea to use TSO and LRO on the loopback > interface to transfer TCP faster. > > I see a performance effect with this diff, but more importantly it > gives us more test coverage. Currently

Re: lo(4) loopback LRO and TSO

2023-07-02 Thread Claudio Jeker
On Sun, Jul 02, 2023 at 02:28:17PM +0200, Alexander Bluhm wrote: > anyone? Was not able to test yet but I like the diff. Right now this is a noop since LRO is not on by default for lo(4). Because of that OK claudio@ > On Fri, Jun 23, 2023 at 06:06:16PM +0200, Alexander Bluhm wrote: > > Hi, > >

LibreSSL: Use of hardware enclaves to protect TLS keys

2023-07-02 Thread Julius Chrobak
Hello, I would like to keep the TLS server private key in a hardware enclave, such as Intel SGX. I found a solution - TaLoS (https://github.com/lsds/TaLoS), which is a fork of LibreSSL. Have you considered merging TaLoS or implementing something along these lines in LibreSSL? Thank you and

pkg_add optional behavior "like syspatch"

2023-07-02 Thread Marc Espie
Use-case: some people want to branch automated installs based on whether pkg_add -u (or some other variation) actually did something. As usual we ignore quirks. This adds a flag (-DSYSPATCH_LIKE) which governs the behavior. Code is fairly self-explanatory. I had no better idea for the flag name

vmctl: fixup id. name for termination

2023-07-02 Thread Jasper Lievisse Adriaanse
Hi, It seems there is an inconsistency when it comes to terminating a VM by id or name (4/web point to the same VM here): before: % vmctl stop 4 stopping vm: requested to shutdown vm 4 % vmctl stop web stopping vm web: failed: Invalid argument Here's a diff which moves the checks out of the

Re: vmctl: fixup id. name for termination

2023-07-02 Thread Dave Voutila
Jasper Lievisse Adriaanse writes: > Hi, > > It seems there is an inconsistency when it comes to terminating a VM by > id or name (4/web point to the same VM here): > > before: > % vmctl stop 4 > stopping vm: requested to shutdown vm 4 > % vmctl stop web > stopping vm web: failed: Invalid

Re: pkg_add optional behavior "like syspatch"

2023-07-02 Thread Solène Rapenne
On Sun, 2023-07-02 at 15:51 +0200, Marc Espie wrote: > Use-case: some people want to branch automated installs based on > whether > pkg_add -u (or some other variation) actually did something. > > As usual we ignore quirks. This adds a flag (-DSYSPATCH_LIKE) > which governs the behavior. Code is

Re: lo(4) loopback LRO and TSO

2023-07-02 Thread Jan Klemkow
On July 2, 2023 2:33:41 PM GMT+02:00, Claudio Jeker wrote: >On Sun, Jul 02, 2023 at 02:28:17PM +0200, Alexander Bluhm wrote: >> anyone? > >Was not able to test yet but I like the diff. >Right now this is a noop since LRO is not on by default for lo(4). >Because of that OK claudio@ The diff

Re: all platforms, kernel: remove __HAVE_CLOCKINTR symbol

2023-07-02 Thread Mike Larkin
On Sat, Jul 01, 2023 at 08:35:47PM -0500, Scott Cheloha wrote: > Every platform made the clockintr switch six months ago or more. The > __HAVE_CLOCKINTR symbol is now redundant and can be removed. > > ok? > makes sense if every platform defines it all the time. > Index: ./ddb/db_command.c >