summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Drop example variables for updating over csup. These have not functionedgavin2014-06-251-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since r251084. MFC after: 1 week
* | | | | Remove an nunnecessary reference to csup.gavin2014-06-251-1/+1
| | | | |
* | | | | Remove csup(1) and its associated cpasswd(1) tool.gavin2014-06-2564-20672/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the move by the FreeBSD Project away from CVSup as a distribution mechanism, there is no longer a need to keep this in base. Approved by: mux (around a year ago), silence on -hackers X-MFC-after: never
* | | | | Mark send-pr info page as an obsolete filebapt2014-06-251-0/+1
| | | | |
* | | | | xen/virtio: fix balloon drivers to not mark pages as WIREDroyger2014-06-252-68/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent the Xen and VirtIO balloon drivers from marking pages as wired. This prevents them from increasing the system wired page count, which can lead to mlock failing because of hitting the limit in vm.max_wired. In the Xen case make sure pages are zeroed before giving them back to the hypervisor, or else we might be leaking data. Also remove the balloon_{append/retrieve} and link pages directly into the ballooned_pages queue using the plinks.q field in the page struct. Sponsored by: Citrix Systems R&D Reviewed by: kib, bryanv Approved by: gibbs dev/virtio/balloon/virtio_balloon.c: - Don't allocate pages with VM_ALLOC_WIRED. dev/xen/balloon/balloon.c: - Don't allocate pages with VM_ALLOC_WIRED. - Make sure pages are zeroed before giving them back to the hypervisor. - Remove the balloon_entry struct and the balloon_{append/retrieve} functions and use the page plinks.q entry to link the pages directly into the ballooned_pages queue.
* | | | | Add fpu_kern.9 man page to the install.kib2014-06-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | | Add m_pulldown and m_unshare to MLINKS.kevlo2014-06-251-0/+2
| | | | |
* | | | | Fixed an IIC timing issue between the glxiic master and a slave ofdaichi2014-06-251-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | peripheral devices. When transmitting (rx) from slave to master, sometimes nAKC delays. As a result, some slaves fails their transmission. Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> Reviewed by: brix MFC after: 1 week
* | | | | Continue the crusade towards a dev_clone()-free kernel, removing itsdavide2014-06-255-155/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage from dtrace. The dtrace code already uses cdevpriv(9) since FreeBSD 8, so this change should be quite harmless. Reviewed by: markj Approved by: markj MFC after: never
* | | | | Now that vm_map_insert() sets MAP_ENTRY_GROWS_{DOWN,UP} on the stack entriesalc2014-06-251-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that it creates (r267645), we can place the check that blocks map entry coalescing on stack entries in vm_map_simplify_entry() where it properly belongs. Reviewed by: kib
* | | | | Make sure that the sub-makes for unwind.h start from the CURDIRimp2014-06-243-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (/usr/src) tree rather than the OBJDIR (/usr/obj) tree. This fixes broken incremental builds with the canonical MAKESYSPATH workaround of .../share/mk. This is a gross kludge.
* | | | | Unbreak installation of the rtld tests.markj2014-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | X-MFC-With: r267679
* | | | | Catch up with many years of changes:wollman2014-06-241-13/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Document PF_LOCAL as being an alias for PF_UNIX o Document POSIX standardization of this interface using AF_* constants rather than PF_* constants, and note the three particular families which POSIX standardizes. o Note anticipated POSIX standardization of SOCK_CLOEXEC. o Delete from listing protocol families that FreeBSD doesn't support (in some cases, like PF_PUP, has never supported). o Add to listing some current protocol families that have been introduced in the last decade or so. o Document the correspondence of PF_* and AF_* constants. We should probably change the documentation to make the AF_* constants primary, but this commit does not do so. Reviewed by: kevlo@ MFC after: 1 month
* | | | | Apply vendor fixes for big endian support and 20GBps/25GBps link speeds.delphij2014-06-245-26/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many thanks to Emulex for their continued support of FreeBSD! Submitted by: Venkata Duvvuru <VenkatKumar.Duvvuru Emulex.Com> MFC after: 3 days
* | | | | Correct memset size.delphij2014-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Sascha Wildner (swildner at dragonflybsd dot org) Reviewed by: Kashyap Desai <kashyap.desai avagotech.com> MFC after: 2 weeks
* | | | | Clarify the expected usage of I2C 7-bit slave addresses on ioctl(2)loos2014-06-242-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interface. While here add the cross reference to iic(4) on iicbus(4). CR: D210 Suggested by: jmg MFC after: 1 week
* | | | | Fix issues in config parser relating to lun serial numbers.jpaetzel2014-06-242-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this fix some serial numbers needed to be quoted to avoid the config parser bailing out. Submitted by: delphij Sponsored by: iXsystems
* | | | | Fix multiple vulnerabilities in file(1) and libmagic(3).delphij2014-06-245-26/+37
| | | | | | | | | | | | | | | | | | | | | | | | | Security: FreeBSD-SA-14:16.file Approved by: so
* | | | | Document r267639 CTL ABI breakage.mav2014-06-241-0/+5
| | | | |
* | | | | Use existing PHOLD() and PRELE() macros.hselasky2014-06-241-16/+4
| | | | | | | | | | | | | | | | | | | | Submitted by: kib @
* | | | | Remove fixed path as part of suggestion. Three dots are fine for mostimp2014-06-241-2/+3
| | | | | | | | | | | | | | | | | | | | uses. Add a note about a correct workaround.
* | | | | sysctl subsystem uses sxlocks so avoid to setup dynamic sysctl nodesattilio2014-06-241-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before sleepinit() has been fully executed in the SLEEPQUEUE_PROFILING case. Sponsored by: EMC / Isilon storage division
* | | | | Add missing linefeed.gavin2014-06-241-1/+1
| | | | |
* | | | | Put the aesni_cipher_setup() and aesni_cipher_process() functions intokib2014-06-243-94/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the file which is compiled with SSE disabled. The functions set up the FPU context for kernel, and compiler optimizations which could lead to use of XMM registers before the fpu_kern_enter(9) is called or after fpu_kern_leave(9), panic the machine. Discussed with: jmg Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | | Make cpuctl_do_cpuid() and cpuctl_do_cpuid_count() return void.kib2014-06-241-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no error to report. Requested by: attilio Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | | Fix ifname normalization. ifconfig_IF_alias{es,N} did not work if ifname hashrs2014-06-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any of [.-/+]. Spotted by: jhay
* | | | | Provide APIs to directly get 'lowmem' and 'highmem' size directly.neel2014-06-246-21/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the sizes were inferred indirectly based on the size of the mappings at 0 and 4GB respectively. This works fine as long as size of the allocation is identical to the size of the mapping in the guest's address space. However, if the mapping is disjoint then this assumption falls apart (e.g., due to the legacy BIOS hole between 640KB and 1MB).
* | | | | mdoc: remove superfluous paragraph macros.joel2014-06-2322-24/+0
| | | | |
* | | | | With the move away from GNATS, drop the CTM config file for downloadinggavin2014-06-231-8/+0
| | | | | | | | | | | | | | | | | | | | the GNATS database, it will be going away soon.
* | | | | Make nd6_gctimer tunable.ume2014-06-231-0/+2
| | | | | | | | | | | | | | | | | | | | MFC after: 1 week
* | | | | Exclude IPv4 address from doing longest match.ume2014-06-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It prevented DNS based load balancing. MFC after: 1 week
* | | | | Fix markup and grammar.brueffer2014-06-231-5/+5
| | | | |
* | | | | Several small fixes (typos, grammar, mdoc).brueffer2014-06-231-5/+7
| | | | |
* | | | | use .Mt to mark up email addresses consistently (part6)bapt2014-06-2356-84/+84
| | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | | | use .Mt to mark up email addresses consistently (part4)bapt2014-06-2387-111/+105
| | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | | | use .Mt to mark up email addresses consistently (part3)bapt2014-06-23124-213/+184
| | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | | | Add documentation for the fpu_kern(9) interfaces.kib2014-06-231-0/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many thanks to jmg for reviewing the (previous version) of the text and providing grammar and content fixes. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | | Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPUkib2014-06-238-60/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | context into memory for the kernel threads which called fpu_kern_thread(9). This allows the fpu_kern_enter() callers to not check for is_fpu_kern_thread() to get the optimization. Apply the flag to padlock(4) and aesni(4). In aesni_cipher_process(), do not leak FPU context state on error. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | | Use correct names for the flags. MAP_ENTRY_GROWS_* have the samekib2014-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numerical values as MAP_STACK_GROWS_*, but the former is for entries' eflags, while the later for the cow argument of vm_map_insert(). Submitted by: alc
* | | | | Catch up with r186809, correct comments.kevlo2014-06-232-2/+2
| | | | |
* | | | | Restore the check for non-NULL dmatag in sndbuf_free.kan2014-06-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sound drivers that use own buffer management can use sndbuf_setup and not do any busdma allocation, so the driver will end up with the managed buffer but no valid dma map and tag for it. Avoid calling bus_dmamem_free in such cases. Reported by: ache Missed in review by: kan
* | | | | Fix some bugs when fetching probe arguments in i386. Firstly ensure thatmarkj2014-06-233-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the 4 byte-aligned dtrace_invop_callsite can be found and that it immediately follows the call to dtrace_invop(). Secondly, fix some pointer arithmetic to account for differences between struct i386_frame and illumos' struct frame. Finally, ensure that dtrace_getarg() isn't inlined. It works by following a fixed number of frame pointers to the probe site, so inlining breaks it. MFC after: 3 weeks
* | | | | Tidy up fd-related functions called by do_execvemjg2014-06-231-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o assert in each one that fdp is not shared o remove unnecessary NULL checks - all userspace processes have fdtables and kernel processes cannot execve o remove comments about the danger of fd_ofiles getting reallocated - fdtable is not shared and fd_ofiles could be only reallocated if new fd was about to be added, but if that was possible the code would already be buggy as setugidsafety work could be undone MFC after: 1 week
* | | | | Fix a couple of bugs on amd64 when fetching probe arguments beyond themarkj2014-06-231-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first five for probes entered through a UD fault (i.e. FBT probes). Specifically, handle the fact that dtrace_invop_callsite must be 16 byte-aligned and thus may not immediately follow the call to dtrace_invop() in dtrace_invop_start(). Also fetch register arguments and the stack pointer through a struct trapframe instead of a struct reg. PR: 191260 Submitted by: luke.tw@gmail.com MFC after: 3 weeks
* | | | | Change suggestion how to set MAKESYSPATH as broken incremental buildache2014-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | workaround. Magic ".../share/mk" (search directories up to /) does not work for f.e. /usr/src/gnu/lib/libgcc because the path inside is starting from /usr/obj hierarchy and ends up in /usr/share/mk, not in the /usr/src/share/mk where src.opts.mk is. IMHO proper fixing of incremental build is needed urgently.
* | | | | cxgbe(4): Update the bundled T4 and T5 firmwares to versions 1.11.27.0.np2014-06-2212-17172/+18272
| | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Chelsio MFC after: 3 days
* | | | | Merge intermediate OpenBSD v1.25 changes (almost identical to ours)ache2014-06-221-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to reduce diff and bump OpenBSD patch level to v1.26. MFC after: 2 weeks
* | | | | Don't take filedesc lock in fdunshare().mjg2014-06-221-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can read refcnt safely and only care if it is equal to 1. If it could suddenly change from 1 to something bigger the code would be buggy even in the previous form and transitions from > 1 to 1 are equally racy and harmless (we copy even though there is no need). MFC after: 1 week
* | | | | getopt(3): recognize option:: as GNU extension for "optional options".pfg2014-06-223-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ANSIfy a function declaration. While here update the OpenBSD patch level in getopt_long.c as we already have the corresponding change. Obtained from: NetBSD MFC after: 2 weeks
* | | | | With the migration from GNATS to Bugzilla, we no longer need a tool togavin2014-06-222-358/+0
| | | | | | | | | | | | | | | | | | | | | | | | | graph GNATS PR statistics. It would be nice to have a similar tool for the new bug database, but that would likely be a from-scratch rewrite.
OpenPOWER on IntegriCloud