Updates for elf(5)

2021-04-01 Thread George Brown
In revision 1.35 EI_BRAND was removed in conjunction with EI_OSABI and EI_ABIVERSION being added, but it looks like this has not been reflected in elf(5). The only place EI_BRAND appears in OpenBSD's current source tree is this man page, as such I think it's worth removing. For a quick comparison

Re: Clarifications about ELF(5)

2021-02-27 Thread George Brown
> On Sat, Feb 27, 2021 at 07:26:42PM +0000, George Brown wrote: > > > hi. diff committed, with one change: we did not add "must" (just removed > > > "usually"). > > > > > > jmc > > > > Thanks Jason. Though browsing cvsweb

Clarifications about ELF(5)

2021-02-27 Thread George Brown
> hi. diff committed, with one change: we did not add "must" (just removed > "usually"). > > jmc Thanks Jason. Though browsing cvsweb it seems the commit did include the "must" not sure if the decision changed after sending your mail or the wrong diff got applied?

Clarifications about ELF(5)

2021-02-27 Thread George Brown
Binaries without a .note.openbsd.ident section fail to execute. This note section is mentioned in the ELF man page as follows. > .note This section holds information in the note section format >described below. This section is of type SHT_NOTE. No >attribute types

Does rpki-client need to unveil(NULL, NULL)?

2019-12-04 Thread George Brown
After pledge is immediately called without the unveil promise so this seems redundant. diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index f05ec1c5837..53ee4223371 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1498,8 +1498,6 @@ main(int

Re: less -S does not "truncate" lines

2019-07-20 Thread George Brown
Hi Ingo, Yes the usage of "truncate" and "chop" are unfortunate. I agree positive language is always better. Many thanks, George

less -S does not "truncate" lines

2019-07-20 Thread George Brown
When viewing a file with "less -S" that has lines longer than $COLUMNS said lines are simply not wrapped. The contents of said lines is still available, one simply needs to scroll horizontally. I would have expected the contents displayed within less to be as if I had run something like "cut -c

Remove commented out pledge in tsort

2017-11-12 Thread George Brown
Removes commented out pledge with whitelist, this is the only instance I found of this grep'ing through base. diff --git usr.bin/tsort/tsort.c usr.bin/tsort/tsort.c index 5caa733f4..cc1cba164 100644 --- usr.bin/tsort/tsort.c +++ usr.bin/tsort/tsort.c @@ -879,7 +879,6 @@ parse_args(int argc, char

Mention start, stop, restart, reload, and check in rcctl.8

2017-09-15 Thread George Brown
Arguably these options are fairly obvious but I was prompted by the fact that "check" is not mentioned in the man page and this differs from the nomenclature of "status" often used in other systems. This is the first time I've sent a diff so I've gone for minimal change only mentioning these in