summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to BIND version 9.8.1. Release notes at:dougb2011-09-03215-8395/+12076
|\ | | | | | | | | | | | | | | https://deepthought.isc.org/article/AA-00446/81/ or /usr/src/contrib/bind9/ Approved by: re (kib)
| * Add pkcs11 and unit to the list of things to remove from configure.indougb2011-09-011-2/+3
| | | | | | | | Make a line more copy-pastable
| * Vendor import of BIND 9.8.1dougb2011-09-01212-8394/+12063
| |
| * Update for 9.8.1dougb2011-09-011-0/+7
| |
* | Forgot this nit in r221107.des2011-09-031-1/+1
| | | | | | | | Approved by: re (kib)
* | Fix the NFS servers so that they can do a Lookup of "..",rmacklem2011-09-032-0/+2
| | | | | | | | | | | | | | which requires that ni_strictrelative be set to 0, post-r224810. Tested by: swills (earlier version), geo dot liaskos at gmail.com Approved by: re (kib)
* | - Fix NULL pointer dereference when a packet of uneven size is beingstas2011-09-021-1/+4
| | | | | | | | | | | | | | transmitted. Approved by: re (kib) MFC after: 3 days
* | Restore behavior of the autoboot_delay="-1" boot menu setting to thejh2011-09-022-6/+11
| | | | | | | | | | | | | | | | | | pre-r222417 state. The behavior was essentially reversed in r222417 which can cause confusion. PR: 159775 Submitted by: Devin Teske Approved by: re (kib)
* | Wording, grammar and markup cleanup.brueffer2011-09-021-26/+38
| | | | | | | | | | | | PR: 159948 Submitted by: Ben Kaduk <kaduk@mit.edu> Approved by: re (kib)
* | This patch adds automatic detection of USB mass storage deviceshselasky2011-09-0211-34/+149
| | | | | | | | | | | | | | | | | | | | | | | | which does not support the no synchronize cache SCSI command. The __FreeBSD_version version macro has been bumped and external kernel modules needs to be recompiled after this patch. Approved by: re (kib) MFC after: 1 week PR: usb/160299
* | Remove an incorrect apostrophe.brueffer2011-09-021-1/+1
| | | | | | | | | | | | | | PR: 160267 Submitted by: Warren Block <wblock@wonkity.com> Approved by: re (kib) MFC after: 1 week
* | Fix a little typo and get rid of a cryptic description by aligning therse2011-09-021-2/+2
| | | | | | | | | | | | text to the remaining description. Approved by: re
* | Correct several issues in the integration of POSIX shared memory objectsrwatson2011-09-028-28/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and the new setmode and setowner fileops in FreeBSD 9.0: - Add new MAC Framework entry point mac_posixshm_check_create() to allow MAC policies to authorise shared memory use. Provide a stub policy and test policy templates. - Add missing Biba and MLS implementations of mac_posixshm_check_setmode() and mac_posixshm_check_setowner(). - Add 'accmode' argument to mac_posixshm_check_open() -- unlike the mac_posixsem_check_open() entry point it was modeled on, the access mode is required as shared memory access can be read-only as well as writable; this isn't true of POSIX semaphores. - Implement full range of POSIX shared memory entry points for Biba and MLS. Sponsored by: Google Inc. Obtained from: TrustedBSD Project Approved by: re (kib)
* | Add support for alternative break-to-debugger support on the Xen console.rwatson2011-09-021-1/+9
| | | | | | | | | | | | | | | | This should help debug boot-time hangs experienced in 9.0-BETA. MFC after: 3 weeks Tested by: sbruno Approved by: re (kib)
* | Clear the mountprog variable after each mountfs() call so that mountprogjhb2011-09-021-0/+5
| | | | | | | | | | | | | | | | | | options don't leak over into subsequent mounts listed in /etc/fstab. While here, fix a memory leak in debug mode. Reported by: rank1seeker @ gmail Approved by: re (kib) MFC after: 1 week
* | Fix a bug in ichwd(4) which prevents it from beig enabled if the newdelphij2011-09-021-4/+3
| | | | | | | | | | | | | | | | | | timeout is the same timeout. Submitted by: Dmitrij Tejblum <tejblum yandex-team.ru> PR: kern/139604 MFC after: 2 weeks Approved by: re (kib)
* | Expose more variables from coretemp(4) via sysctl:delphij2011-09-021-60/+157
| | | | | | | | | | | | | | | | | | | | | | - tjmax - Tj(max) value from the CPU - delta - current delta reading - resolution - sensor resolution in Celsius - throttle_log - whether a #PROCHOT was asserted since last reset Submitted by: Mark Johnston <markjdb gmail.com> (mostly) MFC after: 1 month Approved by: re (kib)
* | Fix the check in dircheck() on namlen.delphij2011-09-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of namlen is copied from on-disk d_namlen, which is a 8-bit unsigned integer which can never exceed MAXNAMLEN (255) so the test is always true. Moreover, UFS does not allow d_namelen being zero. Change namlen from u_int to u_int8_t, and replace the unneeded test with a useful test. PR: bin/160339 Submitted by: Eugene Grosbein <eugen grosbein.pp.ru> MFC after: 2 weeks Approved by: re (kib)
* | Fix alignment assumptions.marius2011-09-022-6/+4
| | | | | | | | | | | | PR: 160289 Approved by: re (kib) MFC after: 3 days
* | Move the logic to parse volume cache commands out into a separate functionjhb2011-09-022-119/+159
| | | | | | | | | | | | | | | | | | and use a loop so that multiple cache commands can be strung together on the command line into a single update to the volume's properties. Reviewed by: bz Approved by: re (kib) MFC after: 1 week
* | Cosmetic cleanup: remove #define LIBMEMSTAT used to prevent a nestedpluknet2011-09-021-1/+0
| | | | | | | | | | | | | | | | include of opt_vmpage.h from vm/vm_page.h. opt_vmpage.h was retired before 7.0 together with options PQ_NOOPT. Approved by: re (kib) MFC after: 3 days
* | Import additional bugfix for reading and extracting makefs-createdmm2011-09-021-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ISO images with tar. Vendor revision 3648 (merge of 3647): Additional fix to issue 168 because the change of r3642 was not sufficient. - Make sure "CL" entry appear after its "RE" entry which the "CL" entry should be connected with. - Give consideration to the case that the top level "RE" entry has already been exposed outside before its tree. Approved by: re (kib) Obtained from: libarchive (release/2.8, svn rev 3648) MFC after: 3 days
* | Swap FTP paths to be MACHINE/MACHINE_ARCH instead of MACHINE_ARCH/MACHINE.nwhitehorn2011-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | This follows what the output of make targets looks like, and reduces the number of directories needed on the FTP server, since we now have only one architecture with multiple machine types (i386, which has i386 and pc98), but 3 machines with 9 architectures between them (powerpc, mips, and arm). Requested by: kensmith, bz Approved by: re(kensmith)
* | Ready for 9.0-BETA2.kensmith2011-08-281-1/+1
| | | | | | | | Approved by: re (implicit)
* | Make sure RPC calls over UDP return RPC_INTR status is the process hasart2011-08-281-2/+5
| | | | | | | | | | | | | | | | | | | | been interrupted in a restartable syscall. Otherwise we could end up in an (almost) endless loop in clnt_reconnect_call(). PR: kern/160198 Reviewed by: rmacklem Approved by: re (kib), avg (mentor) MFC after: 1 week
* | Since r221218 rman_manage_region(9) actually honors rm_start and rm_endmarius2011-08-281-2/+2
| | | | | | | | | | | | | | | | which may cause problems when these contain garbage so zero the range descriptors embedding the rmans when allocating them. Approved by: re (kib) MFC after: 3 days
* | Remove broken link to supported wifi cards. There doesn't appear tobrueffer2011-08-282-8/+2
| | | | | | | | | | | | | | | | | | be an equivalent list anywhere else. PR: 157778 Submitted by: Ted Mittelstaedt <tedm@mittelstaedt.us> Approved by: re (blackend) MFC after: 1 week
* | Bump shared libraries version numbers in preparation for 9.0.kib2011-08-2811-7/+33
| | | | | | | | | | | | | | | | This time, only libraries which ABI has been changed compared to stable/8, are bumped. ABI analysis done by: Gleb Kurtsou Approved by: re (kensmith)
* | When an interface address route is removed from the system, anotherqingli2011-08-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | route with the same prefix is searched for as a replacement. The current code did not bypass routes that have non-operational interfaces. This patch fixes that bug and will find a replacement route with an active interface. PR: kern/159603 Submitted by: pluknet, ambrisko at ambrisko dot com Reviewed by: discussed on net@ Approved by: re (bz) MFC after: 3 days
* | Correct some old manpage removal entries.brueffer2011-08-271-3/+3
| | | | | | | | Approved by: re (kib)
* | Add support for alternative break-to-debugger to syscons(4). While mostrwatson2011-08-272-0/+7
| | | | | | | | | | | | | | | | | | | | keyboards allow console break sequences (such as ctrl-alt-esc) to be entered, alternative break can prove useful under virtualisation and remote console systems where entering control sequences can be difficult or unreliable. MFC after: 3 weeks Approved by: re (bz)
* | Remove information and MLINK for MULTI_DRIVER_MODULE().brueffer2011-08-273-8/+3
| | | | | | | | | | | | | | | | The macro was removed in r121129 almost 8 years ago. PR: 150244 Submitted by: Gireesh Nagabhushana <dngireesh@avrita.com> Approved by: re (kib)
* | Fix memory leaks in error cases.brueffer2011-08-271-0/+3
| | | | | | | | | | | | | | PR: 159011 Submitted by: Henning Petersen <henning.petersen@t-online.de> Approved by: re (kib) MFC after: 1 week
* | Follow up to r225203 refining break-to-debugger run-time configurationrwatson2011-08-2712-43/+8
| | | | | | | | | | | | | | | | | | | | | | | | improvements: (1) Implement new model in previously missed at91 UART driver (2) Move BREAK_TO_DEBUGGER and ALT_BREAK_TO_DEBUGGER from opt_comconsole.h to opt_kdb.h (spotted by np) (3) Garbage collect now-unused opt_comconsole.h MFC after: 3 weeks Approved by: re (bz)
* | When adding IPv6 fwd support to ipfw in r225044 these two files werebz2011-08-272-0/+2
| | | | | | | | | | | | | | | | | | not committed. Initialize next_hop6 to align with the IPv4 code. PR: bin/117214 MFC after: 3 weeks X-MFC with: r225044 Approved by: re (kib)
* | Attempt to make break-to-debugger and alternative break-to-debugger morerwatson2011-08-2610-155/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessible: (1) Always compile in support for breaking into the debugger if options KDB is present in the kernel. (2) Disable both by default, but allow them to be enabled via tunables and sysctls debug.kdb.break_to_debugger and debug.kdb.alt_break_to_debugger. (3) options BREAK_TO_DEBUGGER and options ALT_BREAK_TO_DEBUGGER continue to behave as before -- only now instead of compiling in break-to-debugger support, they change the default values of the above sysctls to enable those features by default. Current kernel configurations should, therefore, continue to behave as expected. (4) Migrate alternative break-to-debugger state machine logic out of individual device drivers into centralised KDB code. This has a number of upsides, but also one downside: it's now tricky to release sio spin locks when entering the debugger, so we don't. However, similar logic does not exist in other device drivers, including uart. (5) dcons requires some special handling; unlike other console types, it allows overriding KDB's own debugger selection, so we need a new interface to KDB to allow that to work. GENERIC kernels in -CURRENT will now support break-to-debugger as long as appropriate boot/run-time options are set, which should improve the debuggability of BETA kernels significantly. MFC after: 3 weeks Reviewed by: kib, nwhitehorn Approved by: re (bz)
* | Enable the puc(4) driver on amd64 and i386 in GENERIC. This allowsjhb2011-08-262-8/+2
| | | | | | | | | | | | | | | | | | devices supported by puc(4) to work "out of the box" since puc.ko does not work "out of the box". Reviewed by: marcel Approved by: re (kib) MFC after: 1 week
* | - Replace references to sio(4) with uart(4) instead.jhb2011-08-261-9/+4
| | | | | | | | | | | | | | | | - We no longer use the same data structure in as NetBSD in pucdata.c. - ppc(4) has had a puc(4) attachment for a while now. Approved by: re (blackend) MFC after: 3 days
* | Fix format strings for KTR_STATE in 4BSD ad ULE schedulers.delphij2011-08-262-4/+4
| | | | | | | | | | | | | | Submitted by: Ivan Klymenko <fidaj@ukr.net> PR: kern/159904, kern/159905 MFC after: 2 weeks Approved by: re (kib)
* | Fix the manpage section number, thus unbreaking the hardware notes build. (1)brueffer2011-08-262-1/+5
| | | | | | | | | | | | | | Also hook up vxge(4) to the build. Submitted by: simon (1) Approved by: re (blackend)
* | Make NKPT a kernel option on amd64 so that it can be set to a non-defaultjhb2011-08-263-0/+10
| | | | | | | | | | | | | | | | value from kernel config files. Reviewed by: alc Approved by: re (kib) MFC after: 1 week
* | Delay the recursive decrement of pr_uref when jails are made invisiblejamie2011-08-261-26/+5
| | | | | | | | | | | | | | | | | | | | | | but not removed; decrement it instead when the child jail actually goes away. This avoids letting the counter go below zero in the case where dying (pr_uref==0) jails are "resurrected", and an associated KASSERT panic. Submitted by: Steven Hartland Approved by: re (bz) MFC after: 1 week
* | Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn'tcognet2011-08-261-1/+1
| | | | | | | | | | | | | | used anyway, and it breaks the build, since sys/ptrace.h now includes <machine/reg.h> Approved by: re
* | Fix path to the handbook and provide a hint about how to install it if itnwhitehorn2011-08-261-2/+4
| | | | | | | | | | | | was not added at installation time. Approved by: re (blackend)
* | Auto-generate hardware notes for vxge(4).brueffer2011-08-252-0/+3
| | | | | | | | Approved by: re (kib)
* | Fix an error in the generation of the manpage after r225177.attilio2011-08-251-1/+2
| | | | | | | | | | | | | | | | Sponsored by: Sandvine Incorporated Submitted by: jkim Approved by: re (bz) MFC after: 3 weeks X-MFC: r225177
* | Fix a deficiency in the selinfo interface:attilio2011-08-2516-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a selinfo object is recorded (via selrecord()) and then it is quickly destroyed, with the waiters missing the opportunity to awake, at the next iteration they will find the selinfo object destroyed, causing a PF#. That happens because the selinfo interface has no way to drain the waiters before to destroy the registered selinfo object. Also this race is quite rare to get in practice, because it would require a selrecord(), a poll request by another thread and a quick destruction of the selrecord()'ed selinfo object. Fix this by adding the seldrain() routine which should be called before to destroy the selinfo objects (in order to avoid such case), and fix the present cases where it might have already been called. Sometimes, the context is safe enough to prevent this type of race, like it happens in device drivers which installs selinfo objects on poll callbacks. There, the destruction of the selinfo object happens at driver detach time, when all the filedescriptors should be already closed, thus there cannot be a race. For this case, mfi(4) device driver can be set as an example, as it implements a full correct logic for preventing this from happening. Sponsored by: Sandvine Incorporated Reported by: rstone Tested by: pluknet Reviewed by: jhb, kib Approved by: re (bz) MFC after: 3 weeks
* | Clarify the behaviour of sigwait() on signal interruption, and notekib2011-08-252-2/+20
| | | | | | | | | | | | the difference between sigwait() and sigtimedwait()/sigwaitinfo(). Approved by: re (bz)
* | Use the correct byte order for the ip_divert(4) mbuf tag port metabz2011-08-251-1/+2
| | | | | | | | | | | | | | information in pf(4). Submitted by: Yaocl (chunlinyao gmail.com), forum post 145106 Approved by: re (kib)
* | Increase the defaults for the maximum socket buffer limit,bz2011-08-254-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and the maximum TCP send and receive buffer limits from 256kB to 2MB. For sb_max_adj we need to add the cast as already used in the sysctl handler to not overflow the type doing the maths. Note that this is just the defaults. They will allow more memory to be consumed per socket/connection if needed but not change the default "idle" memory consumption. All values are still tunable by sysctls. Suggested by: gnn Discussed on: arch (Mar and Aug 2011) MFC after: 3 weeks Approved by: re (kib)
OpenPOWER on IntegriCloud