summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-01Change Elf64 types and structs to match the System V ABI specification.Jonathan Gray
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@
2019-12-01Explain how ipcomp can be enabled.tobhe
ok reyk@
2019-12-01Simplify sets directory check and creation (/home/_syspatch).Antoine Jacoutot
It can now be a symlink. ok naddy@ solene@ kn@
2019-12-01revert exec_elf.h rev 1.85Jonathan Gray
committed by mistake as part of an unrelated change
2019-12-01grow i386 cd ramdisk a little bitTheo de Raadt
2019-12-01this hexdump tie-in is incorrect, disable for nowTheo de Raadt
2019-12-01syncTheo de Raadt
2019-12-01Remove unused test program.Visa Hankala
OK deraadt@
2019-11-30temporarily neuter the syscall-callfrom check as a few peopleTheo de Raadt
haven't crossed over the ABI break as easily as expected.
2019-11-30Sigh, fix i386 msyscall() case to permission the correct address range.Theo de Raadt
2019-11-30- no -r optionJason McIntyre
- man page is bgpd, not openbgpd ok deraadt
2019-11-30cardbus(4): tsleep(9) -> tsleep_nsec(9); ok jca@cheloha
2019-11-30pckbc(4): tsleep(9) -> tsleep_nsec(9); ok jca@cheloha
2019-11-30onewire(4), owtemp(4): tsleep(9) -> tsleep_nsec(9); ok jca@cheloha
2019-11-30utwitch(4): tsleep(9) -> tsleep_nsec(9); ok jca@cheloha
2019-11-30make sure we only pass normalized timevals for the next resolver interval;Otto Moerbeek
ok florian@
2019-11-30The message sent in config_setmode starts the handshake in the ikev2 processtobhe
and thus must be sent last. ok reyk@
2019-11-30Log loaded SPIs and flows.tobhe
ok patrick@
2019-11-30unveil(2) /dev with read permissions since it's the only directory usbdevs(8)Ricardo Mestre
will read from OK kn@
2019-11-30pcidump(8) only opens devices in O_RDONLY from /dev, and additionally writes aRicardo Mestre
`romfile' if -r is used, but since I'm only unveiling after that file is actually opened there's no need to unveil it as well. OK deraadt@ kn@
2019-11-30After fork(2) the pledge(2) in the parent proc can be reduced toRicardo Mestre
"stdio rpath sendfd" so that it can call {l,}stat/open and sendfd for imsg_* in order to send fds to the child proc which is already pledged by recvfd to receive them OK brynet@ deraadt@
2019-11-30Move kernel locking inside the sleep machinery. This enables callingVisa Hankala
rwsleep(9) with PCATCH and rw_enter(9) with RW_INTR without the kernel lock. In addition, now tsleep(9) with PCATCH should be safe to use without the kernel lock if the sleep is purely time-based. Tested by anton@, cheloha@, chris@ OK anton@, cheloha@
2019-11-30Not being able to create a resolver is not a fatal condition in unwind,Florian Obser
there might be others still working. Make sure check_resolver() handles this correctly.
2019-11-30tweak the Nd lines for a bit of consistency;Jason McIntyre
ok markus
2019-11-30Test inet6 netmask and non-contiguous netmask in ifconfig(8).Alexander Bluhm
2019-11-30ifconfig(8) did silently ignore the netmask parameter for inet6 andAlexander Bluhm
interpreted only prefixlen. Also accept netmask for IPv6. This is consistent to our man page and the route(8) command. OK benno@
2019-11-30Add create-vdisk commandkn
Analogue to amd64's vmctl create, this command creates sparse disk image files of the given size. This is less error prone than creating full files with dd(1), but comes with other caveats - still, it is worth having around. Further refinements yet to come; vmctl and ldomctl should also behave more alike in the future, as briefly discussed with kettenis and deraadt.
2019-11-30Document new flag and output arrangement betterTheo de Raadt
2019-11-30syncTheo de Raadt
2019-11-30Tweak rpki-client to create all 4 output file formats from a singleTheo de Raadt
compute, based upon flags. OpenBGPD compatible format by default if no options, to integrate with bgpd.conf and bgpctl reload. Adapt mtree and stuff. This will receive further refactoring... ok benno job
2019-11-30Revert previous - the stability was not as improved as we had thought andMike Larkin
we ended up accidentally breaking vmctl. This will need more thought. ok ori@
2019-11-29Use X509_STORE_CTX_set_flags() instead of doing the same thing by handClaudio Jeker
in a much more complicated way. OK benno@
2019-11-29Fix size of reserved bytes section in xsave header.mortimer
ok guenther@ kettenis@
2019-11-29Sort relative relocations (and relocations against the same symbol) by offsetPhilip Guenther
to optimize the cache and UVM faulting behavior ok kettenis@
2019-11-29Add uvm_objfree function to free all pages in a uvm_obj in one go.Bob Beck
Use this in the buffer cache to free all the pages from a buffer, resulting in a considerable speedup when throwing away pages from the buffer cache. Lots of work done with mlarkin and kettenis ok kettinis@ deraadt@
2019-11-29Change the default security level for incoming IPsec flows fromtobhe
isakmpd and iked to REQUIRE. Filter policy violations earlier. ok sashan@ bluhm@
2019-11-29Improve support for the RK3399's eMMC in sdhc(4). Fix the compatiblePatrick Wildt
check for the quirk that makes sure we don't try to change the voltage to anything else. Configure the eMMC Core's clock, register ourselves as clock driver for rkemmcphy(4) to use, and enable the PHY. Tested by kurt@ ok kettenis@
2019-11-29Add rkemmcphy(4), a driver for the RK3399's eMMC PHY.Patrick Wildt
2019-11-29Make rkgrf(4) behave like a simplebus(4) so we can attach driversPatrick Wildt
to its subnodes, which are some PHYs. Tested by kurt@ ok kettenis@
2019-11-29Add support for the RK3399's eMMC clock to rkclock(4).Patrick Wildt
Tested by kurt@ ok kettenis@
2019-11-29Move p_sleeplocks and p_limit into the "zero on create" section of structPhilip Guenther
proc, so they don't need to be explicitly initialized in thread_new() suggested by anton@ ok kettenis@
2019-11-29Eliminate the sketchy use of ps_mainproc here by making unveil_add_vnode()Philip Guenther
take a struct proc* instead of a struct process*, and vice versa making unveil_lookup() take a process* instead of a proc*. ok beck@
2019-11-29Add an element to the marks array to store the virtual address of theMark Kettenis
entry point. ok mlarkin@, deraadt@
2019-11-29Move kcov(4)'s p_kd into the "zero on create" section to simplify fork codePhilip Guenther
ok anton@
2019-11-29correct order of region bits for -a case: rwxSepcTheo de Raadt
2019-11-29As additional paranoia, make a copy of system ld.so into obj/ld.so.backupTheo de Raadt
We don't want to CLEANFILES this one. On occasion this comes in useful.
2019-11-29Restore the previous behaiviour of not checking the crl for the mft.Sebastian Benoit
Added back by accident when readding CRL checks. ok claudio@
2019-11-29Split out the code that removes a page from uvm objects and clears the flagsMark Kettenis
into a separate uvm_pageclean() function and call it from uvm_pagefree(). ok mpi@, guenther@, beck@
2019-11-29remove two items from the todo listSebastian Benoit
2019-11-29... and fix the compile.Sebastian Benoit