summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-05suspend/resume support for vr(4); from brynet@gmail.comTheo de Raadt
2012-01-05Teach as(4) about cmpxchg16b on amd64.Mark Kettenis
ok miod@
2012-01-05Prevent integer wrap-around in pmemrange.Ariane van der Steldt
Found by and original fix from Geoff Steckel. While here, switch the assert that prevents this from happening from DEBUG to DIAGNOSTIC. ok thib@, miod@
2012-01-05-execdir only supports the first form of -exec with ; suffix, not the newStuart Henderson
form with {} + suffix; make this clear in the manual. Text suggested by jmc@
2012-01-05update to nginx-1.0.11Robert Nagy
2012-01-05Fix typos in comment (s,exacty,exactly,)Stuart Henderson
2012-01-05memleak on error pathDamien Miller
2012-01-04Fix $OpenBSD tagPhilip Guenthe
2012-01-04Make sure the types of INTPTR_MIN/MAX and UINTPTR_MIN/MAX match the type weMark Kettenis
use for intptr_t and uintptr_t. ok millert@, deraadt@
2012-01-04Fix use after free in cache_lookup() - found by PedroBob Beck
fix is to manipulate the name cache structures before potentially sleeping on a vn_lock(). This avoids the race of the ncp entry being recycled while we are asleep. run in snaps and on ftp.openbsd.org for months ok thib@
2012-01-04Add some sanity checks, set errno accordingly to POSIX and add the namedMartin Pieuchot
semaphore stubs already provided by libpthread. We may move them in their own file in the future when we figure out a real implementation. Discussed with and looks ok to guenther@
2012-01-04Split out the semaphore functions.Martin Pieuchot
ok guenther@
2012-01-04link new semaphore testsMartin Pieuchot
2012-01-04Basic semaphore testsMartin Pieuchot
ok guenther@
2012-01-04Delete some parameter names and extra semicolons that slipped throughPhilip Guenthe
2012-01-04Add support for SiS 1183 SATA. From/tested by Loganaden Velvindron.Jonathan Gray
2012-01-04regenJonathan Gray
2012-01-04SiS 1183 SATA from Loganaden Velvindron, and add 1182 SATA while here.Jonathan Gray
2012-01-04Heads of .It macros in -diag lists are not parsed,Ingo Schwarze
even though .It macros in general are parsed. Fixing a bug reported by deraadt@, based on an incomplete fix by kristaps@, and update the test suite to catch this issue.
2012-01-03To access the ifaddr of an in_ifaddr or in6_ifaddr struct, it isAlexander Bluhm
cleaner to access the first member via ia_ifa instead of casting. No binary change. ok henning@ krw@
2012-01-03When used with socket splicing, tcp_usrreq() might get called withAlexander Bluhm
a socket that has an inp but tp is NULL. The call stack for that is tcp_input() tcp_close() soisdisconnected() sorwakeup() somove() tcp_usrreq(PRU_RCVD). To avoid a NULL dereference, just return in that case. ok henning@
2012-01-03Instead of having two functions pf_free_fragment() and pf_remove_fragment()Alexander Bluhm
doing more or less the same, merge them into one. Just remove fragment entries from the queue in pf_join_fragment() before they are freed. Then pf_remove_fragment() is not needed anymore. ok henning@
2012-01-03C++11 is based on C99, so make sure __ISO_C_VISIBLE gets set to 1999 if theMark Kettenis
value of __cplusplus indicates C++11 support is turned on by the compiler. ok guenther@, millert@
2012-01-03The prototype for pthread_sigmask(2) is supposed to live in <signal.h>Mark Kettenis
instead of <pthread.h>. ok guenther@, millert@
2012-01-03draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted byJason McIntyre
Poul-Henning Kamp, freebsd pr docs/163771; ok sthen
2012-01-03Support .St -isoC-2011 to refer to ISO C11.Ingo Schwarze
From Ulrich Spoerlein, tweaked by kristaps@. Werner Lemberg added the same .St argument to groff today.
2012-01-03- use more consistent markupJason McIntyre
- reformat the list of primaries such that the two -exec items are listed without vertical whitespace seperating them
2012-01-02Add support for "find ... -exec foo {} \+".Pascal Stumpf
From the manpage: If terminated by a plus sign (``+''), the pathnames for which the primary is evaluated are aggregated into sets, and utility will be invoked once per set, similar to xargs(1). If any invocation exits with non-zero exit status, then find will eventually do so as well, but this does not cause find to exit early. The string ``{}'' must appear, and must appear last. Each set is limited to no more than 5,000 pathnames, and is also limited such that the invocation of utility does not exceed ARG_MAX. Code comes from NetBSD, written by John Hawkinson. Tested by eivinde at terraplane dot org and myself for quite some time. ok miod@
2012-01-02Enable arcofi(4), tested on 705 by Tobias Ulmer.Miod Vallat
2012-01-02Do not advertize this device as full-duplex. While I believe the Siemens chipMiod Vallat
itself is, the FIFO engine around doesn't seem to be.
2012-01-02Use the correct multiplier for older SUNIX 406x 8-serial cards. ProblemStuart Henderson
reported and fix tested by sebastia@. naddy@ helped get the ordering right.
2012-01-02regenMark Kettenis
2012-01-02Add SiS 1184 RAID and 1185 AHCI, as found on the SiS 966 chipset.Mark Kettenis
From Loganaden Velvindron.
2012-01-02update currency exchange rates;Jason McIntyre
2012-01-02tweak previous; ok jsingJason McIntyre
2012-01-02Remove more mentions of two stage boot loaders from man page.Kenneth R Westerback
2012-01-02Change last "#if (NUMBOOT == 1)" to "#if NUMBOOT > 0".Kenneth R Westerback
2012-01-02Tweak usage and man page into agreement.Kenneth R Westerback
There's nothing special about -c and -d requiring them to be separated from other flags or specified as mutually exclusive. So just show a single block of flags. Some flag combos are silly but harmless. Move all -B options inside NUMBOOT #if, eliminating confusing duplication of -w and -R usage lines. And some string declaration dancing. Since we only have NUMBOOT = 1, no need to try and finesse output for different values of NUMBOOT. Line shit up.
2012-01-02'-s' hasn't done anything for a couple of years. Garbage collectKenneth R Westerback
it and the associated 'bootxx' variable. Update man page accordingly.
2012-01-01Add the missing EXIT STATUS section and lots of new informationIngo Schwarze
regarding HISTORY and AUTHORS. ok jmc@
2012-01-01Improve/clean up sparc64 installboot:Joel Sing
- Use opendev() like we do for installboot on many other archs. - Use the term bootblock rather than prototype for the first-stage, since we install it verbatim. - Read the bootblock into a zeroed buffer rather than messing around with mmap() and zeroing the end of the space. - Make man page consistent with respect to the first-stage bootblock and second-stage boot program. ok kettenis@ jmc@ (for the man part)
2012-01-01Updates regarding fts_close(3):Ingo Schwarze
1) The close(2) return value and errno are ignored. 2) The errno is set by fchdir(2), not by chdir(2), which has much less potential for errors. 3) Use .Rv -std. While here, remove STANDARDS. Keith Bostic added that hope in 1990 and tweaked the wording in 1993, but it didn't come true since then. ok kettenis@ jmc@
2012-01-01Properly recognize threads in OpenBSD core dumps.Mark Kettenis
2012-01-01copyright++Federico G. Schwindt
2011-12-31Fix thinko in previousMiod Vallat
2011-12-31Properly recognize threads in OpenBSD core dumps.Mark Kettenis
2011-12-31Implement a concatenating discipline for softraid.Joel Sing
Many thanks to Marco Peereboom for his assistance with testing and debugging. Thanks also to Josh Grosse and Chris Jackman for testing.
2011-12-31Fix HISTORY and AUTHORS of another 1BSD utility that i missed at first;Ingo Schwarze
information found on the CSRG archive CDs, 1bsd directory and SCCS files; feedback and ok sobrado@, ok jmc@.
2011-12-31Remove the EXTENSIONS ifdef danse; it might have made sense in the pastAntoine Jacoutot
but user(8) behaviour has become OS specific in time so there's no sense keeping this. We are OpenBSD and we use BSD EXTENSIONS unconditionally. ok miod@ millert@ deraadt@
2011-12-31Add rsu(4) to the sgi GENERICs (but not the RAMDISKs as it requires firmwareMiod Vallat
files to operate); reported to work by Graeme Neilson (firstname, lolux dot net) on sgi@