Fix hid_get_data return type in usbhib.3

2019-02-18 Thread Lucas
Hello tech@, I stumbled with this typo while poking around random manpages. After finding it, I ran `grep -Fnr -e int_8t -e int_16t -e int_32t -e int_64t /usr/src` to see if there was other similar typo and just send one patch with all the fixes. Turns out that a comment in line 1012 from

Re: diff: simplify MGETHDR error handling in tcp_output

2019-11-06 Thread Lucas
rlen > MHLEN) { > MCLGET(m, M_DONTWAIT); > if ((m->m_flags & M_EXT) == 0) { > m_freem(m); > m = NULL; > } > - } > - if (m == NULL) { > - error = ENOBUFS; > - goto out; > } > m->m_data += max_linkhdr; > m->m_len = hdrlen; And same here. -Lucas

ssh-keygen.1 fixes regarding new -Y flag

2019-10-19 Thread Lucas
Hello tech@, Find a patch fixing some details in ssh-keygen.1 regarding the new -Y flag for signing and verifying signatures. Precisely: - Include a missing 'returning a zero exit status' in `-Y verify` paragraph. - Don't include `option` in `.Fl I` in ALLOWED SIGNERS section. -Lucas Index

Re: smtpd filters: accept bypass in commit stage

2020-08-25 Thread Lucas
n `mail-from` phase: 15eac9cd3aadddc1 filters session-begin 15eac9cd3aadddc1 filters protocol phase=connect, resume=n, action=proceed 15eac9cd3aadddc1 filters protocol phase=ehlo, resume=n, action=proceed 15eac9cd3aadddc1 filters protocol phase=mail-from, resume=n, action=bypass, filter=ext_relay,

smtpd filters: accept bypass in commit stage

2020-08-24 Thread Lucas
ign`: if I also own lucas@domain.invalid, I don't want smtpd to sign lucas@domain.invalid's emails, just lu...@sexy.is'. This seems possible with `filter-chain`, and technically could be decided in `mail-from` phase, but sadly `bypass` doesn't short-circuit. Second best option is to `bypass` during `com

loongson/macppc default and staff login class limits coherency

2020-05-31 Thread Lucas
rationale for bumping limits in one arch but not the others? For example, default class' datasize-cur in amd64 is only 768MB, despite them being more beefy in general than most of macppc devices, yet this ship a 2048MB datasize-cur. -Lucas PD: is there a easy way in CVS to look at all the affe

Re: userland clock_gettime proof of concept

2020-06-19 Thread Lucas
Hi Paul, I'm just a bystander that likes to read diffs. I can't speak about how the diff fits in the kernel, but I can do some basic checks of correctness. As a matter of syntax, there are quite some places with functions without parameters defined as `f()` instead of `f(void)`. Paul Irofti

ftp(1): handle HTTP 308

2020-12-24 Thread Lucas
http://h.lgv5.net/c/308 Redirected to http://h.lgv5.net/c/200 Trying 78.47.117.79... Requesting http://h.lgv5.net/c/200 480 bytes received in 0.00 seconds (4.66 MB/s) Cheers! -Lucas Index: fetch.c === RCS

Re: ftp(1): handle HTTP 308

2020-12-31 Thread Lucas
Weekly bump Index: fetch.c === RCS file: /home/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.198 diff -u -p -r1.198 fetch.c --- fetch.c 18 Oct 2020 20:35:18 - 1.198 +++ fetch.c 24 Dec 2020 14:03:03 - @@

Re: Faster unhibernate by skipping devices

2021-11-10 Thread Lucas
Since I'm using a snapshot with this, almost everytime I unhibernate I get a "false start": devices start to get enumerated and at one point, the machine reboots and goes back to the POST screen. Most of the time, the second time it boots normally. If it helps, most of the time there are around 8

unwind(8): WIP support using a custom CA

2021-07-20 Thread Lucas
Hi tech@, I decided to give it a shot at specifying a custom CA for DoT validation in unwind(8). Patch at the bottom. Selfish reason for this is that I run my own DoT resolver, using a self-signed certificate. Am able to use unbound to query it, but the lack of support for a custom CA in unwind

Re: unwind(8): WIP support using a custom CA

2021-07-22 Thread Lucas
't understand what that > does. Hint: you opened up the whole filesystem to the resolver process. Before I give up, I'll try with the following approach. It keeps unveil(2) in place, doesn't mess with yacc and it feels a bit more cleaner than the previous one. Thanks for the review anyway. :) -Luca

Re: unwind(8): WIP support using a custom CA

2021-07-22 Thread Lucas
. If anyone has a better way to test that other than "ntpd works", am all ears. I'd really like to see this merged. Comments? -Lucas P.S.: I found a remnant of a previous imsg in the form of IMSG_ADD_DNS, which should be IMSG_REPLACE_DNS. I included it in the patch. Index:

Re: Regularize shift $((OPTIND - 1)) after getopts

2023-08-31 Thread Lucas
f there are no operands; [...] That being said, consistency is always nice, and quite surely $(($OPTIND - 1)) and $((OPTIND - 1)) behaves the same in most sane usages. -Lucas

Fix function names in imsg_init.3

2023-09-28 Thread Lucas
There is no imsg_seek_set_n{32,64}, but imsg_set_n{32,64}. diff refs/heads/master 34767f41b5371661bc7d3b47c3f780279d1bcd9c commit - c7bb30c9e72387bdcf13f2516a8d63c49f7eae54 commit + 34767f41b5371661bc7d3b47c3f780279d1bcd9c blob - 11915f377f9b38df97bd67ca9b1768962a998637 blob +

Re: fw_update lock_db should exit when parent exits

2023-08-22 Thread Lucas
now if there is a better solution to "detect if your parent exited". -Lucas diff /usr/src commit - e425abdca99af75b418563580e5a2e31165f6f10 path + /usr/src blob - 53efe8160238c66dc5628ea8d56e37e42988a9b4 file + usr.sbin/fw_update/fw_update.sh --- usr.sbin/fw_update/fw_update.sh +++ usr.sbi

Re: speaker(4): unhook driver and manpage from build

2022-04-29 Thread Lucas
Something like spkrctl(8). I can probably put that together over the weekend in fact, if patch or GTFO is the norm. [1]: https://pcengines.ch/apu2.htm -Lucas

Introduce spkrcat (was Re: speaker(4): unhook driver and manpage from build)

2022-05-04 Thread Lucas
at currently resides in kernelland. - no code removal from spkr(4) yet: to be done after knowing in where to place spkrcat. Feedback and comments welcome. -Lucas # Copyright (c) 2022 Lucas Gabriel Vuotto # # Permission to use, copy, modify, and distribute this software for any # purp

Re: sysupgrade: apply bsd.re-config(5) to /bsd.upgrade

2022-09-06 Thread Lucas
c/bsd.re-config ]; then config -e -c /etc/bsd.re-config -f /bsd.upgrade >/dev/null fi in here. Given that the script is `set -e` at the very beginning, you can't use && without making the script fail if /etc/bsd.re-config doesn't exists. -Lucas

Re: sysupgrade: apply bsd.re-config(5) to /bsd.upgrade

2022-09-06 Thread Lucas
Klemens Nanni wrote: > Yes I want it to fail, just like reorder_kernel.sh using `set -o errexit' > does with > [ -f /etc/bsd.re-config ] && config -e -c /etc/bsd.re-config -f bsd > > If the config file exists but is invalid, I expect programs using it to fail. Sorry for the noise. I

Re: sysupgrade: apply bsd.re-config(5) to /bsd.upgrade

2022-09-06 Thread Lucas
Klemens Nanni wrote: > On Tue, Sep 06, 2022 at 05:50:31PM +0000, Lucas wrote: > > Sorry for the noise. I wasn't aware that `set -e` only takes into > > consideration the last command in an AND-OR list and not the exit status > > of the AND-OR list itself. > > Wha

/etc/rc.d/iked regression after r1.9

2022-09-03 Thread Lucas
the same approach as in isakmpd rc file: hardcoding a return 0 afterwards. The other alternative is using an if instead of && list, idiom which I prefer, but haven't seen much in these files. -Lucas diff /usr/src commit - a300f670c8e17f72646e4eaedfbfeb3ce01a295f path

ksh, test: test -t file descriptor isn't optional

2022-12-07 Thread Lucas
interactive session 0 $ test -t 1 >&-; echo $? # 1 isn't a TTY because it's closed 1 $ test -t >&-; echo $? 0 bye, Lucas diff 45d281fcfba6e40007d9a498265cdbf711d94ed0 ebffbda379cd24f3bb8c9e43b712b9d699c9980c commit - 45d281fcfba6e40

Re: ksh, test: test -t file descriptor isn't optional

2022-12-17 Thread Lucas
gt; > btw, the easy test for `test -t` being wrong, whether under POSIX compat > or not, is > > $ test -t 1; echo $? # 1 is TTY in an interactive session > 0 > $ test -t 1 >&-; echo $? # 1 isn't a TTY because it's closed > 1 > $ test

Re: acme-client: allow configuring key and cert owner

2022-12-18 Thread Lucas
Stuart Henderson wrote: > On 2022/12/18 03:06, Lucas wrote: > > The following patch expands acme-client config file `domain` blocks to > > allow for a `owner user:group` directive, which allows to get rid of > > customs scripts that "fix" permissions for issued ce

Re: acme-client: allow configuring key and cert owner

2022-12-18 Thread Lucas
Lucas wrote: > Hi tech@, > > The following patch expands acme-client config file `domain` blocks to > allow for a `owner user:group` directive, which allows to get rid of > customs scripts that "fix" permissions for issued certs, mostly needed > in ports land. I don'

acme-client: allow configuring key and cert owner

2022-12-17 Thread Lucas
moved if "fixing" the ownership is desirable. bye, -Lucas diff /usr/src commit - 93aad84f8cf14cfaff5b9cdb67494e561810ddc4 path + /usr/src blob - eb5f19eb298c117c3957faa0ed6ced14972ffaca file + usr.sbin/acme-client/acme-client.conf.5 --- usr.sbin/acme-client/acme-client.conf.5 +++ usr.sbin/

OpenSSH and -current out-of-tree patched for ~C?

2022-11-23 Thread Lucas
Hi tech@, I noticed that ~C stopped working in my -current, from last Saturday, holding the message "commandline disabled". The rest of the ~-escapes work tho, and ~C is no longer present in ~?. Went to check the code, currenlty sitting on Git commit e0b284df3ba7772329d85f200545e3bc5a84d54e only

Re: xonly on amd64: testing wanted

2023-01-19 Thread Lucas
"Theo de Raadt" wrote: > So I'd like to recruit some help from those of you capable of building > your own kernels. Can you apply the following kernel diff, and try the > applications you are used to. A list of applications that fail on some > way would be handy. Be sure to ktrace -di then,

Re: ksh, test: test -t file descriptor isn't optional

2023-05-29 Thread Lucas
Ping. > Hi tech@, > > Both test.1 and ksh.1 (under the non-POSIX compatibility flag) state > that `test -t` will default to test whether fd 1 is a TTY if the > argument is omitted. This isn't the case, and both treat `-t` as the > equivalent of `test -n -t`, ie, test if `-t` is a non-empty

Re: Bail out on "id -R user"

2023-05-29 Thread Lucas
Ping. > According to both usage() and id.1, "id -R" doesn't accept any > positional arguments. This diff makes program behave like that. diff refs/heads/master refs/heads/id-R-usage commit - 55055d619d36cc45f8c6891404c51cd405214e86 commit + 214ec9c042895b8482378b6ee43530ce4ffe9e21 blob -

Re: ksh, test: test -t file descriptor isn't optional

2023-05-30 Thread Lucas
Omar Polo wrote: > sorry for the delay, this is another mail that I meant to take a look > earlier... Thanks for the review, Omar! > > > together with a small > > > rewrite in test_eval TO_FILTT case, as it was a bit too difficult for me > > > to read: it seems that, for legacy reason (haven't

ldd: check read return value to avoid unitialized struct fields [was "ldd: check {,p}read return value consistently"]

2023-07-29 Thread Lucas
Now with a better subject. I was also wondering about the lack of pledge() other than the newly added one. That goes because dlopen() can do anything? Lucas wrote: > Hi, > > I wanted to understand how the pledge execpromises commit worked in ldd > and went to read it,

ldd: check {,p}read return value consistently

2023-07-24 Thread Lucas
d me quite a lot, but the manpage states that, if the file descriptor _is a regular file_ and there are enough bytes, it reads to completion. The check for a being a regular file is already in place, but there is nothing guarding against a short file, so check instead if read == sizeof(ehdr). -L

Re: Zenbleed

2023-07-24 Thread Lucas
mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhidev0 at uhub0 port 5 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2 uhidev0: iclass 3/0 ums0 at uhidev0: 3 buttons, Z dir wsmouse1 at ums0 mux 0 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (b8f88f9185934966.a) swap on sd0b dump on sd0b -Lucas

Re: ldd: check read return value to avoid unitialized struct fields

2023-08-11 Thread Lucas
al behavior. Like this? The int -> size_t promotion can be a different commit or left out. --- commit 7663fd702838ae390515cb9326c2706a57a2983b (ldd-read-rv) from: Lucas date: Fri Aug 11 11:43:32 2023 UTC Check for a full read. Don't use warn when errn

Re: ldd: check read return value to avoid unitialized struct fields

2023-08-10 Thread Lucas
Bump. --- commit 92f58b2a1cd576c3e72303004388ab1e9709e327 (ldd-read-rv) from: Lucas date: Sat Aug 5 16:34:16 2023 UTC Check {,p}read return values consistently Check that read performs a full header read. Explicitly check against -1 for failure

Re: ldd: check read return value to avoid unitialized struct fields

2023-08-10 Thread Lucas
{ELF,program} header was encountered (the warnx)? -Lucas

Re: ldd: check read return value to avoid unitialized struct fields [was "ldd: check {,p}read return

2023-08-04 Thread Lucas
Bump. Lucas wrote: > Now with a better subject. > > I was also wondering about the lack of pledge() other than the newly > added one. That goes because dlopen() can do anything? > > Lucas wrote: > > Hi, > > > > I wanted to understand how the pled

Re: ldd: check read return value to avoid unitialized struct fields

2023-08-05 Thread Lucas
"Theo de Raadt" wrote: > Nope, that is not correct. > > errno is not being cleared. It just happens to be zero. Future > code changes could insert another operation above which would set > errno, and then this would print a report about that error. Although I was being sarcastic with

Re: ldd: check read return value to avoid unitialized struct fields

2023-08-05 Thread Lucas
ay pread? Indeed, thanks for spotting both things. --- commit 92f58b2a1cd576c3e72303004388ab1e9709e327 (ldd-read-rv) from: Lucas date: Sat Aug 5 16:34:16 2023 UTC Check {,p}read return values consistently Check that read performs a full header rea

Re: ldd: check read return value to avoid unitialized struct fields

2023-08-05 Thread Lucas
igger suggestion below, addressing both read and pread. Also promoted size to a size_t, as the multiplication could overflow an int. read < 0 was changed into read == -1 for alignment with read(2). There are an open and wait that could receive the same < 0

Bail out on "id -R user"

2023-05-14 Thread Lucas
According to both usage() and id.1, "id -R" doesn't accept any positional arguments. This diff makes program behave like that. -Lucas diff refs/heads/master refs/heads/id-R-usage commit - 55055d619d36cc45f8c6891404c51cd405214e86 commit + 214ec9c042895b8482378b6ee43530ce4ff

Re: ksh, test: test -t file descriptor isn't optional

2023-05-14 Thread Lucas
Several months bump. Lucas wrote: > Hi tech@, > > Both test.1 and ksh.1 (under the non-POSIX compatibility flag) state > that `test -t` will default to test whether fd 1 is a TTY if the > argument is omitted. This isn't the case, and both treat `-t` as the > equivalent of `tes

Re: installer: disk crypto: crank KDF rounds to hardware based default

2023-08-14 Thread Lucas
ds on password change if `-r` is omitted, which is not ideal imo. What about the following to keep the previous amount of rounds if its bigger than the automatic estimate? -Lucas diff refs/heads/master 758422c5a8c4e618082a6dc3dc0f268ed05e9cd9 commit - d4b9d4747036fa562b886f23a67e486ba94

Re: Documentation for Realtek 8188* devices

2013-11-14 Thread Jean Lucas
On Nov 14, 2013 7:30 PM, Dmitrij D. Czarkoff czark...@gmail.com wrote: Hello! I'm strugling to find any documentation for RTL8188* wireless devices (including those already supported in urtwn driver). I wrote to Realtek, but no responce followed. My problem is that I have a

RTL8723AS-VAU

2013-11-19 Thread Jean Lucas
Hi tech@, Driver/help request: RTL8723AS-VAU either in urtwn or new driver. Found on: Lenovo IdeaPad Yoga 13 port 2 addr 3: high speed, power 500 mA, config 1, GW-USValue-EZ(0x7811), GW-USValue-EZ(0x7392), rev 2.00, iSerialNumber 00e04c01 - note serial number urtwn0 port 3 addr

ULTIMAS VACANTES! Charla gratuita de marketing digital

2010-05-18 Thread Lucas Siplivan
Publicidad: TALLER GRATUITO PARA EMPRESAS NUEVAS TENDENCIAS DE MARKETING EN INTERNET, LA WEB 2.0 - ULTIMAS VACANTES - CIERRE DE INSCRIPCION: MIERCOLES 19/05/2010 13:30 Hs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sepa csmo convertir

Charla gratuita de marketing digital

2010-06-02 Thread Lucas Siplivan
Publicidad: SEMINARIO TALLER GRATUITO NUEVAS TENDENCIAS DE MARKETING EN INTERNET, LA WEB 2.0 CIERRE DE INSCRIPCION: MARTES 01/06/2010 16 Hs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sepa csmo convertir usuarios en clientes Participe

Re: [PLEASE TEST] acpi(4): acpi_sleep(): tsleep(9) -> tsleep_nsec(9)

2020-03-17 Thread Lucas Raab
t; > I've been running with this since November without apparent issue... > But this driver impacts many people, so I think I need more tests. > > Cheers, > > Scott > No problems so far on a Thinkpad X1C7 Lucas

Re: [PATCH} efifb support for wsmoused + smaller fonts

2020-05-25 Thread Lucas Raab
/25 14:17:58; author: fcambus; state: Exp; lines: +3 -3; > commitid: hL9P1vyWGBp5FHhE; > Revert back to using previous values for EFIFB_WIDTH and EFIFB_HEIGHT, > as raising them expose an issue which breaks inteldrm on large screen > resolutions. > > Reported by chris@, an

document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Lucas Raab
wasn't sure if that warranted its own section a la SUBST_CMD-sub). Thanks, Lucas diff /usr/src commit - 2933f00289463a6d1923d1b9cc5e5c1c5c697ece path + /usr/src blob - 00ec6c3f81fcf03ea69eabe8de1741a6e562 file + share/man/man5/bsd.port.mk.5 --- share/man/man5/bsd.port.mk.5 +++ share/man/man5

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Lucas Raab
On Fri, Sep 08, 2023 at 02:49:56PM -0600, Anthony J. Bentley wrote: > Lucas Raab writes: > > +Use when a port requires no enforcement of indirect branch targets. Use > > New sentence, new line. > > > +.Ev USE_NOBTCFI-${MACHINE_ARCH} > > +to apply to specifi

Re: document USE_NOBTCFI in bsd.port.mk

2023-09-08 Thread Lucas Raab
On Fri, Sep 08, 2023 at 03:22:32PM -0600, Anthony J. Bentley wrote: > Lucas Raab writes: > > +writes a wrapper script to ${WRKDIR}/bin/ld in > > Use: > > .Pa ${WRKDIR}/bin/ld > > I see it's wrong elsewhere in the manpage, but let's not introduce another. >

Re: M1 Macmini lost hw.cpuspeed

2022-10-25 Thread Lucas Raab
was done. > > > > Now the question is when did you install OpenBSD? If you have a > > directory called M1N1 on your msdos partition with the file BOOT.BIN > > in it, this will be fairly easy to fix. Download > > > > https://cdn.asahilinux.org/os/uefi-only-20220717-1.zip > > > > unzip it and copy esp/m1n1/boot.bin to your msdos partition. Maybe > > make a copy of the old file first (and leave it in that directory) > > just in case. > > > > If not, fixing this will be a little bit more involved, and I need to > > figure out instructions. I'm pretty sure this is the case for tb@. > > > > Cheers, > > > > Mark > > Hi, > > the instructions worked for me, thanks! > > -Otto > Same here, thanks! Lucas

Re: hidmt: clickpad detection

2022-09-18 Thread Lucas Raab
ss > harm to err on this side. > > Tests and OKs would be welcome. Not qualified to give an OK, but I've been running this for the past few days on a second gen Framework and double/triple click works as expected. Lucas

27 Mar 2014 amd64 snapshot

2014-03-28 Thread Michael W. Lucas
. Can ping proxy by hostname. Host currently running: OpenBSD gepetto.lodden.com 5.5 GENERIC#224 amd64 # ls -la /bsd -rw-r--r-- 1 root wheel 11259291 Jan 17 11:18 /bsd tcpdump on proxy shows no packets arriving from host during install process. Proxy error? -- Michael W. Lucas - mwlu

Re: 27 Mar 2014 amd64 snapshot

2014-03-28 Thread Michael W. Lucas
, but tried http this time. On Fri, Mar 28, 2014 at 11:28:50AM -0600, Bob Beck wrote: Does your proxy do http? no ftp protocol in new installers - we're killing it with fire. On Fri, Mar 28, 2014 at 9:30 AM, Michael W. Lucas mwlu...@michaelwlucas.com wrote: Hi, Trying to upgrade

Re: 27 Mar 2014 amd64 snapshot

2014-04-01 Thread Michael W. Lucas
On Fri, Mar 28, 2014 at 07:07:42PM +, Stuart Henderson wrote: On 2014/03/28 13:53, Michael W. Lucas wrote: Yep. Lots of users going through proxy. Ran tcpdump on the proxy. The only packets that arrived from the OpenBSD host were my pings. It appeared that the installer wasn't

Re: 27 Mar 2014 amd64 snapshot

2014-04-01 Thread Michael W. Lucas
triggers in my environment. I have tried specifying proxy as hostname and as IP in the upgrade script. The host doesn't try to contact the proxy at all. I'll poke at it some more, see if I can identify the edge case I'm hitting. Thanks, ==ml -- Michael W. Lucas - mwlu...@michaelwlucas.com

Re: Making time_t deal with the coming epoch

2012-04-01 Thread Michael W. Lucas
); + if (tv.tv_sec = END_13BAKTUN) + return; + } /* Update the UTC timestamps used by the get*() functions. */ /* XXX shouldn't do this here. Should force non-`get' versions. */ -- Michael W. Lucas http://www.MichaelWLucas.com/, http

Re: Do you want to do any manual network configuration?

2012-04-19 Thread Michael W. Lucas
the $600 the FF got. Perhaps Theo will use part of the proceeds to buy Henning a beer. Shutting up now. ==ml -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Latest book: SSH Mastery http://www.michaelwlucas.com/nonfiction/ssh-mastery mwlu

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-15 Thread Michael W. Lucas
a pro sysadmin, so I can't claim to be running a server farm or anything like that. -- Michael W. Lucas - mwlu...@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/

err with multiple TLS sites but one OCSP?

2017-01-27 Thread Michael W. Lucas
: 91:45:61:55:69:e9:75:51:8f:e2:82:6a:dd:ec:bc:bd:3c:2c: 92:43:f7:d9:65:1d:60:14:91:e0:b0:2b:46:25:49:35:74:99: 71:a3:c0:d0:91:66:29:7e:01:1b:35:f1:2e:40:dc:f3:4d:98: 69:40:6f:46 == ... ==ml -- Michael W. LucasTwitter @mwlauthor

Re: err with multiple TLS sites but one OCSP?

2017-01-27 Thread Michael W. Lucas
On Fri, Jan 27, 2017 at 02:50:29PM -0500, Michael W. Lucas wrote: > On Fri, Jan 27, 2017 at 06:49:06PM +, Stuart Henderson wrote: > > That looks like a web server bug, it shouldn't return a staple > > in that case. What software are you using for that? > > > &g

Re: err with multiple TLS sites but one OCSP?

2017-01-27 Thread Michael W. Lucas
On Fri, Jan 27, 2017 at 09:53:25PM +, Bob Beck wrote: >On Fri, Jan 27, 2017 at 14:12 Michael W. Lucas > Or a misconfiguration. ? show configs Configs follow. # cat /etc/httpd.conf include "/etc/sites/www3.conf" include "/etc/sites/www4.conf" www3.conf:

Re: err with multiple TLS sites but one OCSP?

2017-01-27 Thread Michael W. Lucas
hael W. LucasTwitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/

relayd crash using DNS-sanitizing protocol

2017-02-21 Thread Michael W. Lucas
ing this program? Or is this a real crash? Thanks, ==ml -- Michael W. LucasTwitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/

relayd man page example doesn't parse

2017-02-27 Thread Michael W. Lucas
actions, nothing to do Am I missing something obvious here? Or did something else break? Thanks, ==ml -- Michael W. LucasTwitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/

tls_config_parse_protocols vs httpd in snapshot

2017-01-05 Thread Michael W. Lucas
lsv1.0 Instead, I get: httpd -n /etc/httpd.conf:16: invalid tls protocols ==ml -- Michael W. Lucas - mwlu...@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/

Re: regarding OpenSSL License change

2017-03-24 Thread Michael W. Lucas
It's very simple. Four words. "Silence is not consent." Not in contracts. Not in sex. And not in licensing. ==ml -- Michael W. LucasTwitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/

-current relayd TLS interception and SNI?

2017-03-03 Thread Michael W. Lucas
protocol wtf forward to destination } -- Am I screwing up here? Or is it a real bug? Thanks, ==ml -- Michael W. LucasTwitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/

Re: mg backup directory (bump)

2017-07-06 Thread Lucas Gabriel Vuotto
Bump. Emacs gets HOME from environment here. I think that getting it from pw entry is more correct, but I can make a patch to behave like emacs if needed. On 19/05/17 14:11, Lucas Gabriel Vuotto wrote: > Previous patch shall be ignored, as it was an ugly hack. Below is a pa

Re: mg backup directory

2017-05-12 Thread Lucas Gabriel Vuotto
_PATH_MG_STARTUP"%s/.mg" #define_PATH_MG_TERM "%s/.mg-%s" On 13/05/17 01:25, Lucas Gabriel Vuotto wrote: > Hi tech@, > > mg(1)'s backup-to-home-directory writes backup files to `~/.mg.d' > according to the manpage. In order to e

mg backup directory

2017-05-12 Thread Lucas Gabriel Vuotto
Hi tech@, mg(1)'s backup-to-home-directory writes backup files to `~/.mg.d' according to the manpage. In order to expand the tilde, it uses a custom function (expandtilde, fileio.c:700) which uses the pw entry for the user name returned by getlogin(2). This can lead to an undesired result if mg

Re: mg backup directory

2017-05-26 Thread Lucas Gabriel Vuotto
On 26/05/17 12:38, Florian Obser wrote: On Fri, May 19, 2017 at 02:11:22PM -0300, Lucas Gabriel Vuotto wrote: Previous patch shall be ignored, as it was an ugly hack. Below is a patch that is simpler and fixes expandtilde instead, so it fixes the problem in other situations (writing files

Re: mg backup directory

2017-05-19 Thread Lucas Gabriel Vuotto
) { plen = strlcpy(path, pw->pw_dir, sizeof(path)); if (plen == 0 || path[plen - 1] != '/') { On 13/05/17 01:32, Lucas Gabriel Vuotto wrote: Sorry, space got mangled in previous email. Index: fileio.c === RCS file: /

Re: ksh(1): don't output invalid UTF-8 characters

2017-05-19 Thread Lucas Gabriel Vuotto
Hi, On 19/05/17 03:42, Anton Lindqvist wrote: > Hi, > I did submit this problem[1] earlier but with an incomplete analysis and > fix. Here's a second attempt. > > This does only occur when running ksh with emacs mode under tmux. How to > re-produce: > > 1. Run ksh under tmux. > > 2. Input the

Re: mg backup directory

2017-06-07 Thread Lucas Gabriel Vuotto
bump because I forgot to CC florian@ On 26/05/17 18:11, Lucas Gabriel Vuotto wrote: On 26/05/17 12:38, Florian Obser wrote: On Fri, May 19, 2017 at 02:11:22PM -0300, Lucas Gabriel Vuotto wrote: Previous patch shall be ignored, as it was an ugly hack. Below is a patch that is simpler

gre(4): remove linkX from example

2017-11-30 Thread Lucas Gabriel Vuotto
Hi tech@, According rev 1.45, linkX in gre(4) is a deprecated style and isn't documented in ifconfig(8) (couldn't find it ever was, but I'm not to used to cvs so I couldn't search properly). This removes linkX from the example in the manpage. Cheers. Index: share/man/man4/gre.4

Re: simple pledge for xeyes(1)

2023-09-08 Thread Lucas de Sena
zation). It should be done > at > least after calling XtAppInitialize(3). > > It will be the main limitation for a tool like `abstain`. pledge(2) should be > called *after* initialization, and not at the beginning of the program. I also think that. If we pledge(2) after initializing the connection to the X Server, we can drop the "unix" and "inet" promises. Lucas de Sena

Re: Removing syscall(2) from libc and kernel

2023-10-27 Thread Lucas Gabriel Vuotto
On Fri, Oct 27, 2023 at 09:36:25AM -0600, Theo de Raadt wrote: > Index: sys/arch/m88k/m88k/trap.c > === > RCS file: /cvs/src/sys/arch/m88k/m88k/trap.c,v > diff -u -p -u -r1.128 trap.c > --- sys/arch/m88k/m88k/trap.c 2 Aug 2023

Re: posix_spawn(3): explain that handling NULL envp is an extension

2023-06-26 Thread Lucas de Sena
On 2023-06-26, Marc Espie wrote: > Note that a NULL environment is undefined behavior according to POSIX. > If you read the OpenGroup description, it very clearly states that > envp is a pointer to a NULL terminated array. > > Does GNU/Linux at least document that passing a NULL pointer means no

posix_spawn(3): explain that handling NULL envp is an extension

2023-06-25 Thread Lucas de Sena
The manual already describes how posix_spawn(3) behaves when passing it a NULL envp, but does not make it clear that it is an OpenBSD extension: > If envp is NULL, the environment is passed unchanged from the parent > process. That differs from GNU/Linux, for example, where a NULL envp gives the