summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-04add missing .Vt macrosIngo Schwarze
2015-05-04Use the right index when expanding/collapsing tree, from Thomas Adam.Nicholas Marriott
2015-05-04Fix clipping bug in float to fixed point conversion, causingAlexandre Ratchov
audible glitches when samples smaller than the quantification step are converted.
2015-05-04urtwn(4) man page updates for RTL8188EU support.Stefan Sperling
Patch by Mikhail <mp39590@gmail.com>, based on FreeBSD r264912 by kevlo.
2015-05-04Add support for RTL8188EU chips to urtwn(4).Stefan Sperling
Patch by Mikhail <mp39590@gmail.com>, based on FreeBSD r264912 by kevlo. Tested with 8188EU (TP-Link TL-WN725N). No regression on 8188CUS. There are performance problems with 8188EU devices, cause unknown. These will hopefully be resolved soon. ok mpi@
2015-05-04When writing a value to a field, don't read past the end of the source valueJonathan Matthew
if the field is bigger. Fixes crashes seen on HP bc2500 blades with MP kernels. ok kettenis@
2015-05-04Use ether_input() as default input packet handler and do the necessaryMartin Pieuchot
m_adj(9) to keep bridge(4) working while other pseudo-drivers are converted to if_input(). Tested by mxb <mxb AT alumni DOT chalmers DOT se>, thanks! ok henning@
2015-05-04reduce the scope of things that include uvm_swap_encrypt.h.David Gwynne
uvm_meter.c needs it to route the sysctl, uvm_swap.c needs it to use the functionality, and uvm_swap_encrypt.c needs it to for obvious reasons. userland sysctl already includes it explicitely. everything else doesnt and shouldnt care. ok miod@
2015-05-04Document usbd_open_pipe(9) and friends, from Sean Levy with some tweaks.Martin Pieuchot
2015-05-04Use the size of the buffer not the pointer in a call to mem_free().Jonathan Gray
ok miod@ and guenther@ who both pointed out this argument is unused.
2015-05-04use the size of the buffer not the pointer in resume_randomness()Jonathan Gray
ok djm@ miod@ deraadt@
2015-05-04Print irq informations in pckbc_set_inputhandler().Martin Pieuchot
ok miod@
2015-05-04Remove pattern length argument from match_pattern_list(),Damien Miller
we only ever use it for strlen(pattern). Prompted by hanno AT hboeck.de pointing an out-of-bound read error caused by an incorrect pattern length found using AFL and his own tools. ok markus@
2015-05-04Fix some misuse of the | operator. In particular | has higherJonathan Gray
precedence than ?: ok guenther@ krw@ miod@
2015-05-04Clarify that hibernate_resume must be called with interrupts enabled.Mike Larkin
2015-05-04Specify regression test host keys so that this test will work withoutDarren Tucker
SUDO (because it can't read the real host keys) and in -portable on systems where sshd hasn't been installed yet (because the keys don't exist yet).
2015-05-04Use diff w/out -u for better portabilityDarren Tucker
2015-05-03Preserve times to nanosecond precision instead of just microsecond.Philip Guenther
Prefer to set attributes by fd for regular files, and not follwing symlinks for others. ok brynet@ millert@
2015-05-03Implement byte ranges.Florian Obser
From Sunil Nimmagadda <sunil At nimmagadda DOT net> OK benno@
2015-05-03S was misplaced in r1.89, the optarg that was removed was actually neededGilles Chehade
by R, so reintroduce it in the proper place. spotted and diff by Sunil Nimmagadda
2015-05-03smtpd enqueue -S does not take an argument, fix optstring accordinglyGilles Chehade
fix by Nathanael Rensen
2015-05-03Remove subsections and start documentation of autoinstall only installerRobert Peichaer
features. Feedback and OK jmc@ "Reads ok" krw@
2015-05-03struct usave is unused, and eproc is gone; delete the former andPhilip Guenther
stop referencing them in comments
2015-05-03add missing CISS_UNLOCK_SCRATCH/splx callsJonathan Gray
ok krw@
2015-05-03Make sure we don't leak bytes from malloced memory in the padding of structPhilip Guenther
dirent. (The memset in previous commit was both wrong and insufficient.) problem with memset noted by brad@ and jsg@ ok millert@
2015-05-03Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default.Philip Guenther
Correct old style entries so nothing has to be done for the admin. diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks!
2015-05-02fix build with option DEBUGMiod Vallat
2015-05-02Die, damned distracting red space.Kenneth R Westerback
2015-05-02de-castify strtonum to make it consistent again.Florian Obser
Pointed out by bluhm@; no object change. OK bluhm@, krw@
2015-05-02Use IPV6_MAXHLIM instead of 255; pointed out by bluhm@Florian Obser
No object change.
2015-05-02A ttl of 0 is valid. While here use MAXTTL instead of 255.Florian Obser
Input bluhm@, OK krw@
2015-05-02add missing splx callsJonathan Gray
ok krw@
2015-05-02add missing splx callsJonathan Gray
ok miod@
2015-05-02Hoist common assignments out of a series of if/if-else statementsKenneth R Westerback
in get_token(). Simplifies code and shrinks future diff. No intentional functional change.
2015-05-02Fix obvious problems with relayd config reload.Claudio Jeker
- fix a TAILQ corruption because of a use after free - do not reinit the SSL engine since that fails OK sthen, benno
2015-05-02Correct switch between current and previous line buffers whenKenneth R Westerback
encountering a carriage return in the input. Found by jsg@ a long time ago in a respository far, far away.
2015-05-02rework hppa mutexes.David Gwynne
this is largely based on src/sys/arch/alpha/alpha/mutex.c r1.14 and src/sys/arch/sgi/sgi/mutex.c r1.15 always and explicitely record which cpu owns the lock (or NULL if noone owns it). improve the mutex diagnostics/asserts so they operate on the mtx_owner field rather than mtx_lock. previously the asserts would assume the lock cpu owns the lock if any of them own the lock, which blows up badly. hppa hasnt got good atomic cpu opcodes, so this still relies on ldcws to serialise access to the lock. while im here i also shuffled the code. on MULTIPROCESSOR systems instead of duplicating code between mtx_enter and mtx_enter_try, mtx_enter simply loops on mtx_enter_try until it succeeds. this also provides an alternative implementation of mutexes on !MULTIPROCESSOR systems that avoids interlocking opcodes. mutexes wont contend on UP boxes, theyre basically wrappers around spls. we can just do the splraise, stash the owner as a guard value for DIAGNOSTIC and return. similarly, mtx_enter_try on UP will never fail, so we can just call mtx_enter and return 1. tested by and ok kettenis@ jsing@
2015-05-02add missing splx callsJonathan Gray
2015-05-02No more pf_rules ipsec_rules.Antoine Jacoutot
2015-05-02Drop pf_rules and ipsec_rules from rc.conf(5); it shouldn't have been madeAntoine Jacoutot
tweakable: there's no real point and these files support the 'include' option so one can always get its config from whatever path... especially useful when testing a new ruleset. man page inputs from schwarze@ ok halex@ schwarze@ rpe@ deraadt@
2015-05-02statue [sic] day in netherlands antilles becomes kingdom day in the netherlands;Jason McIntyre
thanks paul de weerd for pointers
2015-05-02Use strtonum() when parsing argument list, as ping(8) does. GiveKenneth R Westerback
or take a cast. Tweak error messages to also be consistant with ping(8). Change lower bound of '-h' to 0 from -1 at the request of florian@. Tweaks and suggestions from, ok florian@
2015-05-01- king's birthday now celebrated in the netherlands; from einfach jemandJason McIntyre
ok, though not neccessarily endorsed, from/by otto tim van der molen further requested it be "king's day" and the removal of antilles while here i've used an article (*the* netherlands), here and in another example
2015-05-01mdoc_valid_post() may indirectly call roff_node_unlink() which mayIngo Schwarze
set ROFF_NEXT_CHILD, which is desirable for the final call to mdoc_valid_post() - in case the target itself gets deleted, the parse point may need this adjustment - but not for the intermediate calls - if intermediate nodes get deleted, that mustn't clobber the parse point. So move setting ROFF_NEXT_SIBLING to the proper place in rew_last(). This fixes the assertion failure in jsg@'s afl test case 108/Apr27.
2015-05-01Convert to if_input(), ok miod@Martin Pieuchot
2015-05-01Setting the "last" member of struct roff_node was done at an extremelyIngo Schwarze
weird place. Move it to the obviously correct place. Surprisingly, this didn't cause any misformatting in the test suite or in any base system manuals, but i cannot believe the code was really correct for all conceivable input, and it would be very hard to verify. At the very least, it cannot have worked for man(7).
2015-05-01Minor bug fix: When .Pp rewinds .Nm, rewind the whole block,Ingo Schwarze
not just the body. In some unusual edge cases, this caused the .Pp to become a sibling of the .Nm body inside the .Nm block.
2015-05-01Convert to if_input(), ok miod@Martin Pieuchot
2015-05-01regenJonathan Gray
2015-05-01Correct some E5 v2 ids and add E5 v2 R2PCIE.Jonathan Gray
From Hrvoje Popovski.