summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-31use #function rather than @function on armTheo de Raadt
ok guenther
2015-08-31syncTheo de Raadt
2015-08-31Also add ALTEXIT_{STRONG,WEAK} to hppa64, copied from hppa. Document'em tooPhilip Guenther
ok deraadt@
2015-08-31Add ALTEXIT_{STRONG,WEAK} to support wrapping of functions using ALTENTRY.Philip Guenther
Fix memmove with that ok deraadt@
2015-08-31add -I${LIBCSRCDIR}/hidden to handle _glibc_ churnTheo de Raadt
2015-08-31Add efifb(4) man page.YASUOKA Masahiko
ok deraadt
2015-08-31Enable efifb(4).YASUOKA Masahiko
ok deraadt kettenis
2015-08-31Add framework for resolving (pun intended) libc namespace issues, usingPhilip Guenther
wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
2015-08-31spaces snuck inTheo de Raadt
2015-08-31KNFTheo de Raadt
2015-08-30rename a variable "err" to "error"Theo de Raadt
2006-10-10Preliminary userland bits for OpenBSD/landisk, many things coming fromMiod Vallat
NetBSD.
2015-08-30Path from $TMUX does not need to be global anymore.Nicholas Marriott
2015-08-30Login shell can be a client flag, and move the exec code into client.c.Nicholas Marriott
2015-08-30Event base does not need to be global.Nicholas Marriott
2015-08-30warnx(3) has an implicit \n at the end.Florian Obser
pointed out by deraadt@
2015-08-30Drop leading, internal, and trailing blank characters in \o (overstrike)Ingo Schwarze
escape sequences; that's cleaner for all output modes, and it's required to prevent the PostScript/PDF formatter from dying on assertions. Bug found by jsg@ with afl.
2015-08-30Ignore setuid/setgid settings from a compress/gzip file; original CSRGTheo de Raadt
code. Found by trondd exercising coverage of tame in gzip. ok guenther millert kettenis
2015-08-30Tell user to Put quotes around ${bootcmd} when saving it. AvoidsMatthieu Herrb
stopping at the first ';' (command separator). ok miod@
2015-08-30If an .Fo macro lacks its mandatory argument, don't die on an assertion.Ingo Schwarze
Bug found by jsg@ with afl.
2015-08-30Clean up getaddrinfo(3) calls to make them look like the canonicalFlorian Obser
example from the man page. While there was nothing wrong this pattern makes it easier to figure that out. While here be more paranoid how much we memcpy(3). Looks clean to deraadt@
2015-08-30Remove RH0 support, it was deprecated in RFC 5095 some time ago andFlorian Obser
you couldn't send packets anyway since our stack drops them unconditionally. reasoning is sound to deraadt@, OK mpi@
2015-08-30Automatically perform traces upon panic. Shrink message aboutTheo de Raadt
reporting bugs to pointing at http://www.openbsd.org/ddb.html, because vertical space becomes more precious. ok beck krw kettenis
2015-08-30Don't try to attach efifb(4) on non-UEFI boots.Mark Kettenis
ok miod@, deraadt@
2015-08-30In readgptlabel() avoid pointless conversions from sector countsKenneth R Westerback
to daddr_t counts and back again. And rename 'part_blkno' to 'sector' to mirror readdoslabel() changes and make code clearer. Reads ok to jsing@ and kettenis@. Tested by bmercer@ as part of larger diff.
2015-08-30syncTheo de Raadt
2015-08-30The pmap_pmap_pool pool will never be used in interrupt context, so pass theMark Kettenis
PR_WAITOK flag to pmap_init and pass NULL as the pool allocator.
2015-08-30The pmap_pool pool will never be used in interrupt context, so pass theMark Kettenis
PR_WAITOK flag to pmap_init and pass NULL as the pool allocator.
2015-08-30simple check of -h option. More deviously, check that option/parameterMarc Espie
handling actually works correctly.
2015-08-30Some style nits and dead assignments.Nicholas Marriott
2015-08-30Eliminate a couple of extraneous DL_SECTOBLK() calls.Kenneth R Westerback
The disklabel is either 0 bytes into a 512-byte disk sector, or 512 bytes into a larger disk sector. The address of the disk sector read is irrelevant. Pointed out by jsing@ I think. ok deraadt@
2015-08-30Use a global table for domains instead of building a list at run time.Martin Pieuchot
As a side effect there's no need to run if_attachdomain() after the list of domains has been built. ok claudio@, reyk@
2015-08-30Provide remaining arch with END() macro for setting calculated size onPhilip Guenther
symbols in ASM ok deraadt@ mpi@
2015-08-30Modify kernel to prepare boot from UEFI.YASUOKA Masahiko
- Add new boot arg "bios_efi_info_t" to pass the paramters from UEFI - Make bios(4) and acpi(4) be able to probe with the parameters from UEFI - Add efifb(8). It uses the framebuffer from UEFI and it will work as a backend of wsdisplay(4) and wsfb (X11 video driver). Disabled by the kernel config for this moment input and ok kettenis
2015-08-30Enable xhci(4) now that it attaches correctly on my G5.Martin Pieuchot
2015-08-30Map the whole config1 space based on the size read from theMartin Pieuchot
device-tree. With this change, supplementary PCIe cards are now properly detected. This should prevents the kernel from faulting when reading unmapped PCI addresses as reported by Donovan Watteau on ppc@. ok kettenis@
2015-08-30Add the number of midi ports to the card description, and use it toAlexandre Ratchov
prevent cards with no midi connectors from attaching midi(4) devices.
2015-08-30Use nanosleep instead of sleep to avoid the extra layer and simplify laterPhilip Guenther
symbol hiding ok w/tweak deraadt@
2015-08-30For *chmod, allow S_ISTXT in tame mode. I am evaluating what toTheo de Raadt
do about S_ISUID and SISGID... maybe we should mask them and allow the operation to happen?
2015-08-30size for free(); ok krwTheo de Raadt
2015-08-30Keep track of a length for free() in error paths. Be careful,Theo de Raadt
because the nfsm_strsiz() macro sneakily modifies a parameter! ok beck
2015-08-30Track rom size, for free()Theo de Raadt
2015-08-29correct size for free()Theo de Raadt
2015-08-29Remove some old prototypes and unused functions.Nicholas Marriott
2015-08-29If we have to reparse the text line because we spring an input line trap,Ingo Schwarze
we must not escape breakable hyphens yet, or mparse_buf_r() in read.c will complain and replace the escaped hyphens with question marks. Bug found in ocserv(8) following a report from Kurt Jaeger <pi at FreeBSD>.
2015-08-29struct args_entry can go into arguments.c.Nicholas Marriott
2015-08-29fix ugly indents; no harmful macros harmedTheo de Raadt
2015-08-29Parse and ignore the escape sequences \, and \/ (italic corrections).Ingo Schwarze
Actually using these is very stupid because they are groff extensions and other roff(7) implementations typically print unintended characters at the places where they are used. Nevertheless, some manuals contain them, for example ocserv(8). Problem reported by Kurt Jaeger <pi at FreeBSD>.
2015-08-29SHO movedTheo de Raadt
2015-08-29remove duplicate entry for GRUStuart Henderson