OpenBSD cvs log

created 2019-12-03T13:31:57Z
begin 2019-12-01T00:00:00Z
end 2019-12-02T00:00:00Z
path src/sys
commits 10

date 2019-12-01T03:48:48Z
author visa
files src/sys/arch/alpha/stand/boot/Attic/test.c log diff annotate
message Remove unused test program.

OK deraadt@

date 2019-12-01T04:49:29Z
author deraadt
files src/sys/arch/octeon/stand/rdboot/Makefile log diff annotate
message this hexdump tie-in is incorrect, disable for now

date 2019-12-01T10:25:50Z
author jsg
files src/sys/sys/exec_elf.h log diff annotate
message revert exec_elf.h rev 1.85

committed by mistake as part of an unrelated change

date 2019-12-01T13:10:51Z
author jsg
files src/sys/sys/exec_elf.h log diff annotate
message Change Elf64 types and structs to match the System V ABI specification.

Change Elf64_Half from a uint32_t type to a uint16_t type. The size of
structs do not change as the previous uses of Elf64_Half become
Elf64_Word (uint32_t).

Remove Elf64_Quarter as 16 bit values now use Elf64_Half.
Replace Elf_Byte use with unsigned char.
Change some uses of Elf64_Xword to Elf64_Addr (both uint64_t).

Corrects behaviour with libelf where the file size of a symtab section
came back as 26 not 24 as libelf determines this by the size of a the
involved types not the size of the struct in exec_elf.h. As a result
libelf's elf_getdata() returned ELF_E_SECTION due to the size of the
section not being a multiple of the file size of the section type.
This occurred with the new runtime linker for radeon shaders in
Mesa 19.2.

Sync description of Elf32 and Elf64 types in elf(5) with FreeBSD and
adjust types in structs mentioned.

ok guenther@ deraadt@

date 2019-12-01T15:41:43Z
author krw
files src/sys/scsi/ch.c log diff annotate
message Don't overwrite original error returned by scsi_do_mode_sense().

date 2019-12-01T16:26:10Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
message Make prototype and implementation signatures the same by removing
'const' from the only two 'const int' instances.

date 2019-12-01T16:56:26Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
message Tweak variable names to be consistent with 'pg_code' and 'pg_length'
field names in sense mode structs.

date 2019-12-01T18:17:31Z
author naddy
files src/sys/kern/kern_exec.c log diff annotate
message comply with POSIX and make execve() return EACCES for directories
ok millert@ deraadt@

date 2019-12-01T21:12:42Z
author jca
files src/sys/netinet/in.c log diff annotate
message Don't require a valid sa_len for a bunch of IPv4 "get" ioctls

Same fix as for the IPv6 case. Fixes a regression in ports/net/openvpn
spotted by landry@, ok bluhm@

date 2019-12-01T21:14:13Z
author fcambus
files src/sys/dev/pci/auvia.c log diff annotate
message Add sizes for free() in auvia(4).

OK mpi@