summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-17Move the bio(4) cookie into a separate struct and make this struct theJoel Sing
first member of each ioctl data structure. This will allow for future changes to bio(4) status handling.
2012-01-17CONCAT requires at least two disks.Joel Sing
2012-01-17Check the metadata level against the assembly level before proceeding withJoel Sing
any assembly. This avoids a panic when attempting to assemble a RAID 1 (or other) volume as a RAID 0 volume. Also reorder some of the other checks and diagnostics performed during assembly.
2012-01-17Add missing ioctl DNPRINTFs and nuke some rogue commas.Joel Sing
2012-01-17zap trailing whitespace;Jason McIntyre
2012-01-17flesh out the VI COMMANDS section somewhat;Jason McIntyre
diff from Alexis Fouilhe; help/ok sobrado
2012-01-17tweak previous;Jason McIntyre
2012-01-17fix SEE ALSO;Jason McIntyre
2012-01-17syncTheo de Raadt
2012-01-17Allow pkill to use the -l option. This displays which processes have beenlum
signalled using the "Long" format, like pgrep. Original diff from FreeBSD, modified somewhat on tech@, with feedback from nicm@ Man page input from jmc@
2012-01-17Change the exit value on errors to be more 4.4BSD like. Use the sum oflum
errors up to a maximum of 127, then to do not increment anymore, though programme execution continues. Use 127 as a maximum because error codes above this are: 1. bad because of signed bugs in programs. 2. used as the traditional shell $? representation of "kill by signal" where $? = 128 + signal. (from deraadt@ and guenther@ respectively)
2012-01-17Did Richard Stallman suggest the name change AND the new name "mg"? This islum
the only place where I can find a reference to Richard suggesting the name itself, I suspect it is an error. Unfortunately Richard cannot remember. No definitive information from tech@ (yet) Also make some lines wrap better.
2012-01-17Make openat(), pread(), preadv(), pwrite(), and pwritev() cancellationPhilip Guenthe
points. ok fgsch@
2012-01-17Add stpcpy() and stpncpy(), pointless crap that made it into POSIX.Philip Guenthe
Includes friendly linker warning to wake up those dumb enough to use it. Committing for kettenis@, who ran away to the hills after writing it
2012-01-17net_addrcmp() dies. found out to be a horrific function by ericTheo de Raadt
ok guenther
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,Philip Guenthe
particularly the "consume the signal you just sent" hang, and putting the wait queues in userspace. Do cancellation handling in pthread_cond_*wait(), pthread_join(), and sem_wait(). Add __ prefix to thr{sleep,wakeup,exit,sigdivert}() syscalls; add 'abort" argument to thrsleep to close cancellation race; make thr{sleep,wakeup} return errno values via *retval to avoid touching userspace errno.
2012-01-17net_addrcmp() dies. found out to be a horrific function by ericTheo de Raadt
ok guenther
2012-01-17During IPv6 source address selection, give address scope higher priorityStefan Sperling
than the autoconfprivacy bit, as per by RFC3484. Prevents privacy addresses from being erroneously used as source address if the destination address is in a different scope. Privacy addresses are still preferred over other source addresses from the same scope. Problem found by sthen, fix suggested by sperreault; ok sperreault
2012-01-17Avoid ffs fragsize < sector-size when 'a'dding a partition via theKenneth R Westerback
editor. Use logic from calculating fragsize for an auto-allocated partition. Noted when trying to add a small ffs partition to a 4K sector device.
2012-01-16syncTheo de Raadt
2012-01-16Fix a memory leak in pkcs11_rsa_private_encrypt(), reported by Jan Klemkow.Miod Vallat
While there, be sure to buffer_clear() between send_msg() and recv_msg(). ok markus@
2012-01-16Use nsdc to reliably stop nsd.Camiel Dobbelaar
ok ajacoutot sthen
2012-01-16POSIX indicates that some fields should be computed even if notTodd C. Miller
explicitly set. We can compute tm_yday, tm_wday, tm_mon and tm_mday based on the values that were specified if possible. Some logic borrowed from localtime.c. OK espie@ deraadt@
2012-01-16Nuke unused parameter (f) to makebootarea(). Unused since r1.123Kenneth R Westerback
(2008), when '-r' support was removed. Spotted by jsg@ with the assistance of clang.
2012-01-16Pass struct pf_pdesc to pf_walk_option6() and pf_walk_header6() toAlexander Bluhm
make their argument list shorter. Also fix a bug where pf_walk_option6() used the outer header in the pd2 case. ok henning@ mikeb@
2012-01-16Ensure that all disk attach callbacks have completed before attemptingJoel Sing
to locate the root via DUID. ok krw@
2012-01-16mpi_get_ccb and mpi_put_ccb are only called via iopools now, so changeDavid Gwynne
their types to fit the iopools api rather than doing awful typecasts to shove them into iopool_init.
2012-01-16do carp demotion adjustments on syncdev link state change.Mike Belopuhov
this prevents backup to failover back to master immediately after getting link back on carpdev interface if underlying pfsync interface went down as well. instead pfsync will request a bulk update to get new states from the master. sthen and mpf like the idea, ok dlg
2012-01-16import (and fix) net_addrcmp() from libc as a static function.Eric Faurot
It is going to get removed from libc and this file is the only one using it. discussed with deraadt@ guenther@ ok deraadt@
2012-01-16Backout activation of the new apropos(1)/whatis(1)/makewhatis(8).Ingo Schwarze
In its current state, it causes too much slowdown, in particular during system builds, and there are other regressions. That cannot be fixed quickly while it's enabled. Problems pointed out by espie@, backout requested by deraadt@, diff "looks good" to espie@.
2012-01-16update the supported adapters listDavid Gwynne
2012-01-16Document the \-C output format generated by VIS_ALLPhilip Guenthe
ok deraadt@
2012-01-16bpf devices behave similar to raw sockets and never block on write,Philip Guenthe
so always show as writable to poll()/select(). Behavior pointed out by Fernando Gont. ok deraadt@
2012-01-16Fix description for tcp.opening timeout in pf.conf(5).Alexander Bluhm
Issue reported by Felix Rust; ok jmc@
2012-01-15Calling pf_normalize_ip() from pf_setup_pdesc() was bad as theAlexander Bluhm
latter is called from pf packet logging. This resulted in normalization and reassembly of bad packets to be logged. So rearrange the code and move the call to pf_test(). ok henning@
2012-01-15Document early history of a few functions specifically mentioned in 2BSDIngo Schwarze
manuals; however, it turned out all of these actually predate 2BSD. All information from http://minnie.tuhs.org/cgi-bin/utree.pl. ok jmc@ sobrado@
2012-01-15Document what remains of the 2BSD heritage.Ingo Schwarze
All facts found on the CSRG CD 1 in the 2bsd directory. Feedback and ok jmc@, ok sobrado@. Note the large number of 3BSD -> 2BSD changes. Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and added lots of historical information around that time) what happened in this respect, and she answered that she often wrote "appeared in 3BSD" when she was unsure of when a utility was added. Thanks to Kirk and Cynthia for that clarification.
2012-01-15Calculate last position correctly for UTF-8 wide characters, reported byNicholas Marriott
Matthias Lederhofer.
2012-01-15Add ascii_{load,dump}_time() to properly deal with time_t.Charles Longeau
This fixes build warnings for portable smptd. ok eric@ gilles@
2012-01-15Two details improving the quality of the Xenocara mandoc database,Ingo Schwarze
also helping a bit in ports land: 1) Do not skip manuals for section mismatches; use the section where the file is actually located. 2) Always use the file name as an .Nm search key.
2012-01-15add missing sysctl_pipex declarationDavid Hill
ok yasuoka
2012-01-15convert an snprintf to strlcpyDavid Hill
ok mikeb henning
2012-01-15As SiS IDE has the same PCI product id for different revisionsJonathan Gray
with different bugs the host bridge is used to determine which path to take. As pointed out by Chris Cappuccio we need to expand this list to cover newer chips SiS have inflicted on the world. From and tested by Loganaden Velvindron (on SiS 968).
2012-01-15document OpenBSD::md5Marc Espie
2012-01-15Make dhclient use the correct rdomain for all requests for leases, notPeter Hessler
just the first one. from Joel Knight OK krw@
2012-01-15When we only rotate a log file once a month, the "next rotate" outputPeter Hessler
shows the current month, even when that date has passed. Fix to show the correct rotation date. pointed out by jeremy@ OK jeremy@, guenther@, miod@
2012-01-15Document the EXIT STATUS and remove an outdated related comment.Ingo Schwarze
While here, * as usual, the "first appeared" clause requires fixing, and * mention the date of the original implementation, using information from the CSRG archive CD 1. Triggered by a question asked by lum@, feedback and ok jmc@.
2012-01-15When Joerg Wunsch copied most of the text in this file from sysexits.h,Ingo Schwarze
he neglected to copy the Copyright notice as well; so restore the Copyright notice as it was originally set up by Keith Bostic. While here, * correct the BSD release where this file first appeared, * mention the original use case and author, * kill low-level roff(7) tinkering, and * clarify what exactly Joerg copied. ok jmc@
2012-01-14add/fix HISTORY and AUTHORSIngo Schwarze
2012-01-14When moving a message to the corrupt/ directory, give it an alternate nameEric Faurot
if there is already an entry with the same name. ok gilles@ chl@