summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Double check that we're not testing libc's __guard. Changing ld.so'smatthew2012-08-171-0/+2
| | | | | | __guard symbol to HIDDEN causes dlsym() to return a pointer to libc's __guard instead, which can cause the test to wrongly pass even if ld.so's random data segments are not being initialized properly.
* Fix possible panic while switching from STA mode into hostap/ibss modes.stsp2012-08-171-1/+2
| | | | | | | | | ieee80211_create_ibss() resets the set of supported rates but failed to update the index into the rate set array accordingly. If the rate configured during STA operation didn't belong to the newly configured rate set the system ran into an assertion ("bogus xmit rate %u setup") while trying to create the IBSS. ok fgsch@
* Fix mips64 and powerpc's ld.so syscall implementations by addingmatthew2012-08-172-26/+26
| | | | | | | | | "memory" to the list of clobbered registers for all syscalls that accept a pointer. This prevents GCC from optimizing away memory loads and stores that otherwise appear unused in a function. Issue noted and identified by miod; fix by me. ok miod, mpi
* update to firmware 1.4.55 via freebsd revision 236212.dlg2012-08-172-15026/+15133
|
* add support for "physical devices" on skinny controllers.dlg2012-08-173-20/+204
| | | | | | | | | | | these controllers let you specify disks that should be accessed directly rather than be part of logical volumes. apparently you can plug in things like tape drives too. anyway, physical devices are exposed via a separate scsibus attached to mfi. ok mikeb@
* clarify that -w is used for raw output only (removes the 'not sure' XXXokan2012-08-171-4/+3
| | | | | | comment). ok sthen@, jmc@
* Send client banner immediately, rather than waiting for the server todjm2012-08-172-14/+37
| | | | | move first for SSH protocol 2 connections (the default). Patch based on one in bz#1999 by tls AT panix.com, feedback dtucker@ ok markus@
* print details of which host lines were deleted when usingdjm2012-08-171-5/+17
| | | | "ssh-keygen -R host"; ok markus@
* add some comments about better handling first-KEX-follows notificationsdjm2012-08-171-3/+13
| | | | from the server. Nothing uses these right now. No binary change
* Force a clean shutdown of ControlMaster client sessions when the ~. escapedtucker2012-08-173-4/+7
| | | | | sequence is used. This means that ~. should now work in mux clients even if the server is no longer responding. Found by tedu, ok djm.
* Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we getmatthew2012-08-161-1/+1
| | | | | a reference to the already loaded ld.so instead of loading another instance.
* turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticmatthew2012-08-161-2/+2
|
* Add regression test to check that PIEs work too.matthew2012-08-162-2/+12
|
* display board model and firmware revision like mfi/mfii do; ok dlgmikeb2012-08-161-84/+66
|
* we are past the point where timecounters may disappeartedu2012-08-167-63/+7
| | | | ok miod
* Add a test case to verify ld.so's randomdata section is initializedmatthew2012-08-163-2/+28
| | | | | too, since interpreters will be initialized by a slightly different code path than executables.
* syncderaadt2012-08-1618-18/+18
|
* basic randomdata regression testsmatthew2012-08-168-0/+64
|
* we're not going to loop in rxeof here as well so remove the leftoversmikeb2012-08-161-9/+5
| | | | from brad, ok jsg
* revert previous; wrong diffmikeb2012-08-161-14/+2
|
* mfii_exec_done clears ccb_cookie, so mfii_exec should test that, notdlg2012-08-161-2/+2
| | | | ccb_done.
* fix mfi_poll by having it do delays between loops, and breaking ondlg2012-08-161-35/+47
| | | | | | | timeouts. how embarrassment. implement mfi_exec for doing sync executions of commands in process contexts and cut mfi_mgmt over to it.
* rework mfi_poll so it will do all the completions on a ccb includingdlg2012-08-161-47/+45
| | | | | | | calling the done handler. this makes it consistently complete scsi io with all the proper error checking.
* stop passing mfi_softc around as a member of the ccb, consistently give itdlg2012-08-162-40/+34
| | | | as the first argument to functions. like mfii.
* scrub ccbs when we're about to use them, not when we put them backdlg2012-08-161-8/+16
| | | | | on the free list. ccbs can be reused, so we dont want old state screwing up new commands.
* move the dma syncs for the ccb data into ccb_done, so we can do it oncedlg2012-08-161-24/+10
| | | | rather than put the code everywhere.
* fix up the dma sync for the command frame in mfi_done.dlg2012-08-161-2/+3
|
* remove pool hiwat call. hiwat is less useful than it used to be.tedu2012-08-161-2/+1
| | | | less greedy pools are nicer pools.
* white space, no real changesdlg2012-08-161-22/+22
|
* move completions of ccbs out of the postq mutex. avoids the unlikely butdlg2012-08-161-2/+8
| | | | | still possible deadlock that can occur if a completion starts a polled command.
* replace the SLIST for ccbs with a SIMPLEQ so i can add stuff to the enddlg2012-08-161-7/+7
| | | | of ccb lists.
* send inetd tftpd to the attic.dlg2012-08-163-1091/+0
|
* switch off inetd tftp-proxy and enable the standalone one instead.dlg2012-08-162-6/+6
|
* rewrite the mfii_mgmt path to be a bit more... symmetrical.dlg2012-08-161-153/+133
|
* use Lk for links;jmc2012-08-159-30/+32
|
* use Lk for links;jmc2012-08-1516-92/+63
|
* - use Lk for linksjmc2012-08-152-8/+9
| | | | | | | | | | because i already have a trivial addition in afterboot, to briefly document rc.d(8), i have committed that bit also. that saves me making (even more) trivial changes to this file, however the text was suggested by ingo and i'm still waiting for his reply which, to be fair, has only been a wait of some 30 mins so far. so, the rc.d blurb was requested by ross richardson, suggested by ingo, and probably ok ingo. but if he objects, we can tweak it further.
* use Lk for links;jmc2012-08-158-24/+32
|
* use Lk for links;jmc2012-08-154-12/+12
|
* add mfii(4);jmc2012-08-151-1/+3
|
* (somewhat belatedly) update currency exchange rates;jmc2012-08-151-43/+43
|
* Eivind Evensen reports a working device, but another reader (sorry, mailjmc2012-08-151-3/+2
| | | | | | not to hand!) reports non-working devices. accordingly, remove the note in BUGS asking people to report working devices, but leave the note saying not everything works correctly.
* a little more info on certificate validity;jmc2012-08-151-3/+5
| | | | requested by Ross L Richardson, and provided by djm
* remove trailing whitespace;jmc2012-08-151-3/+3
|
* update the description for ix(4), and add the description for oce(4);jmc2012-08-151-3/+5
|
* tweak previous;jmc2012-08-151-4/+4
|
* remove some unneeded Pp;jmc2012-08-152-5/+3
|
* A couple small but long anticipated changes:matthew2012-08-154-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Link libpthread.so with -znodlopen. Because libpthread overrides the weak symbols in libc, we can't allow it to be dynamically loaded or else libc's weak symbols might have already been resolved by ld.so. (Also, major bump because this is technically a backwards incompat change in behavior, although dlopen()ing libpthread never really worked.) - Link libc.so with -nodefaultlibs -lgcc. This ensures that libc doesn't try to link against itself (which ld.so wouldn't like). - Change GCC 4 to link shared objects with -lpthread and -lc as appropriate, now that there's no issues with doing so. This means that it's no longer necessary to patch software to use -pthread instead of -lpthread. (Ports tree rejoice!) Also, to preemptively answer this question: No, this does not eliminate the need for LD_PRELOAD=libpthread.so. That's a separate issue that won't be resolved until we eliminate libc's weak symbols. Discussed extensively on email and icb over the past few months. ok deraadt
* - remove some redundancy within the sendmail textjmc2012-08-151-9/+3
| | | | | | | | - remove the compat_* text: there's only one left, and the text makes little sense here from Ross Richardson ok schwarze
* Oops, on a.out architectures __cerror() is called _cerror(). Fixmatthew2012-08-151-3/+9
| | | | | | accordingly so vax can build again. ok deraadt