aboutsummaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Rename the dtrace-* man pages to dtrace_* for consistency with otherMark Johnston2015-07-058-38/+38
| | | | | | | subsection man pages (e.g. geom_*, mac_*, snd_*). Notes: svn path=/head/; revision=285186
* Document the locking context for the directly dispatched callouts.Konstantin Belousov2015-07-051-2/+4
| | | | | | | | | | Cross-reference timeout(9). Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=285173
* Move nvlist documentation to the FreeBSD Kernel Developer's sections.Mariusz Zaborski2015-07-042-0/+754
| | | | | | | Approved by: pjd (mentor) Notes: svn path=/head/; revision=285129
* Add support for TEST_METADATAJulio Merino2015-07-041-5/+16
| | | | | | | | | | | | | | | | | | Allow Makefiles to define generic metadata settings that apply to all test programs defined by a Makefile. The generic TEST_METADATA variable extends the per-test program settings already supported via TEST_METADATA.<program>. This feature will be useful to easily apply some settings to all programs in a directory. In particular, Kyua 0.12 will support parallel execution of test programs and a bunch of them will need to be tagged as is_exclusive to indicate that they cannot be run in parallel with anything else due to their side-effects. It will be reasonable to set this setting on whole directories. MFC after: 1 week Notes: svn path=/head/; revision=285119
* Add missing shebangJulio Merino2015-07-041-0/+1
| | | | | | | | | | | | | | Plain test programs are not preprocessed by the build system (as opposed to ATF test cases, which automatically gain a shebang pointing at atf-sh), so we must take care of providing the shebang ourselves. I'm not sure why this was not causing problems with Kyua 0.11, but the upcoming 0.12 release chokes on this particular issue. MFC after: 1 week Notes: svn path=/head/; revision=285118
* Make ctl(4) appear in "man -k iscsi" results.Edward Tomasz Napierala2015-07-031-2/+2
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285100
* Minor update to the proto(4) man page:Marcel Moolenaar2015-07-031-18/+55
| | | | | | | | 1. We now support ISA devices 2. DMA support has been added Notes: svn path=/head/; revision=285099
* more word smithing wrt the crd_inject field...John-Mark Gurney2015-07-031-5/+7
| | | | | | | | We've already defined IV earlier, so no need to expand it a second time here... Notes: svn path=/head/; revision=285070
* update the documentation of the _IV_ flags... _IV_PRESENT doesn'tJohn-Mark Gurney2015-07-031-11/+10
| | | | | | | | | | | mean what you think it should... This will be fixed in the future with a flag rename, but document what the flag really does and make the _IV_ flags clear what their presents (or lack there of) means... Reviewed by: gnn, eri (both earlier version) Notes: svn path=/head/; revision=285065
* Set MACHINE_CPU to arm64 when building for arm64. This is needed by theAndrew Turner2015-07-021-1/+3
| | | | | | | | | | ports tree as they check this value in a number of ports. PR: 201259 Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=285036
* add units to the length and count so that it's clear what theyJohn-Mark Gurney2015-06-301-2/+9
| | | | | | | | are measured in... Gems like: "len is the length of the buffer." aren't useful in man pages. Notes: svn path=/head/; revision=284967
* Add missing DTrace scripts that exist in the source tree to the Makefile forHiren Panchasara2015-06-301-2/+4
| | | | | | | | | | | | | install. While here, sort the list. Differential Revision: D2950 Submitted by: Jason Wolfe <j at nitrology.com> Reviewed by: gnn, markj, hiren Sponsored by: Limelight Networks Notes: svn path=/head/; revision=284964
* Updated random(4) boot/shutdown scripting.Mark Murray2015-06-302-29/+51
| | | | | | | | | | Fix the man pages as well. Differential Revision: https://reviews.freebsd.org/D2924 Approved by: so (delphij) Notes: svn path=/head/; revision=284960
* Huge cleanup of random(4) code.Mark Murray2015-06-303-173/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GENERAL - Update copyright. - Make kernel options for RANDOM_YARROW and RANDOM_DUMMY. Set neither to ON, which means we want Fortuna - If there is no 'device random' in the kernel, there will be NO random(4) device in the kernel, and the KERN_ARND sysctl will return nothing. With RANDOM_DUMMY there will be a random(4) that always blocks. - Repair kern.arandom (KERN_ARND sysctl). The old version went through arc4random(9) and was a bit weird. - Adjust arc4random stirring a bit - the existing code looks a little suspect. - Fix the nasty pre- and post-read overloading by providing explictit functions to do these tasks. - Redo read_random(9) so as to duplicate random(4)'s read internals. This makes it a first-class citizen rather than a hack. - Move stuff out of locked regions when it does not need to be there. - Trim RANDOM_DEBUG printfs. Some are excess to requirement, some behind boot verbose. - Use SYSINIT to sequence the startup. - Fix init/deinit sysctl stuff. - Make relevant sysctls also tunables. - Add different harvesting "styles" to allow for different requirements (direct, queue, fast). - Add harvesting of FFS atime events. This needs to be checked for weighing down the FS code. - Add harvesting of slab allocator events. This needs to be checked for weighing down the allocator code. - Fix the random(9) manpage. - Loadable modules are not present for now. These will be re-engineered when the dust settles. - Use macros for locks. - Fix comments. * src/share/man/... - Update the man pages. * src/etc/... - The startup/shutdown work is done in D2924. * src/UPDATING - Add UPDATING announcement. * src/sys/dev/random/build.sh - Add copyright. - Add libz for unit tests. * src/sys/dev/random/dummy.c - Remove; no longer needed. Functionality incorporated into randomdev.*. * live_entropy_sources.c live_entropy_sources.h - Remove; content moved. - move content to randomdev.[ch] and optimise. * src/sys/dev/random/random_adaptors.c src/sys/dev/random/random_adaptors.h - Remove; plugability is no longer used. Compile-time algorithm selection is the way to go. * src/sys/dev/random/random_harvestq.c src/sys/dev/random/random_harvestq.h - Add early (re)boot-time randomness caching. * src/sys/dev/random/randomdev_soft.c src/sys/dev/random/randomdev_soft.h - Remove; no longer needed. * src/sys/dev/random/uint128.h - Provide a fake uint128_t; if a real one ever arrived, we can use that instead. All that is needed here is N=0, N++, N==0, and some localised trickery is used to manufacture a 128-bit 0ULLL. * src/sys/dev/random/unit_test.c src/sys/dev/random/unit_test.h - Improve unit tests; previously the testing human needed clairvoyance; now the test will do a basic check of compressibility. Clairvoyant talent is still a good idea. - This is still a long way off a proper unit test. * src/sys/dev/random/fortuna.c src/sys/dev/random/fortuna.h - Improve messy union to just uint128_t. - Remove unneeded 'static struct fortuna_start_cache'. - Tighten up up arithmetic. - Provide a method to allow eternal junk to be introduced; harden it against blatant by compress/hashing. - Assert that locks are held correctly. - Fix the nasty pre- and post-read overloading by providing explictit functions to do these tasks. - Turn into self-sufficient module (no longer requires randomdev_soft.[ch]) * src/sys/dev/random/yarrow.c src/sys/dev/random/yarrow.h - Improve messy union to just uint128_t. - Remove unneeded 'staic struct start_cache'. - Tighten up up arithmetic. - Provide a method to allow eternal junk to be introduced; harden it against blatant by compress/hashing. - Assert that locks are held correctly. - Fix the nasty pre- and post-read overloading by providing explictit functions to do these tasks. - Turn into self-sufficient module (no longer requires randomdev_soft.[ch]) - Fix some magic numbers elsewhere used as FAST and SLOW. Differential Revision: https://reviews.freebsd.org/D2025 Reviewed by: vsevolod,delphij,rwatson,trasz,jmg Approved by: so (delphij) Notes: svn path=/head/; revision=284959
* o DragonFly 4.2.0 added.Maxim Konovalov2015-06-301-1/+2
| | | | Notes: svn path=/head/; revision=284946
* Delete the refernce to VLAN handling being disabled by default. This isSean Bruno2015-06-291-5/+0
| | | | | | | | | | no longer the case. PR: 118693 MFC after: 3 days Notes: svn path=/head/; revision=284933
* Fix issues that kept some of the examples from actually working.Christian Brueffer2015-06-291-3/+3
| | | | | | | | | PR: 144534 Submitted by: Nicolas Edel MFC after: 1 week Notes: svn path=/head/; revision=284929
* Make the system queue header file fully usable within C++ programs byHans Petter Selasky2015-06-282-29/+78
| | | | | | | | | | | | | | | | | | | | adding macros to define class lists. This change is backwards compatible for all use within C and C++ programs. Only C++ programs will have added support to use the queue macros within classes. Previously the queue macros could only be used within structures. The queue.3 manual page has been updated to describe the new functionality and some alphabetic sorting has been done while at it. Differential Revision: https://reviews.freebsd.org/D2745 PR: 200827 (exp-run) MFC after: 2 weeks Notes: svn path=/head/; revision=284915
* Steve KArgl's commit bit taken in at his own requestMatthew Seaman2015-06-281-1/+1
| | | | | | | | With hat: core-secretary Approved by: core Notes: svn path=/head/; revision=284903
* Make all shared library a relative symlinkBaptiste Daroussin2015-06-272-1/+3
| | | | | | | | | | | | | This makes sysroot usable for cross building, it also removes the need for _SHLIBDIRPREFIX (keeps its definition since picobsd uses it and I have no time to test it) Differential Revision: https://reviews.freebsd.org/D2920 Submitted by: imp, adrian Tested by: adrian Notes: svn path=/head/; revision=284898
* Sort the cpu architectures by name rather than a combination ofAndrew Turner2015-06-251-7/+7
| | | | | | | | | | alphabetical order and appending new architectures to the end of the list. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=284815
* ALTQ FAIRQ discipline import from DragonFLYErmal Luçi2015-06-241-1/+6
| | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2847 Reviewed by: glebius, wblock(manpage) Approved by: gnn(mentor) Obtained from: pfSense Sponsored by: Netgate Notes: svn path=/head/; revision=284777
* Mention that using ports/net/malo-firmware-kmod to install the firmware.Kevin Lo2015-06-241-25/+7
| | | | Notes: svn path=/head/; revision=284749
* Fix generation of src.conf.5Simon J. Gerraty2015-06-222-1/+96
| | | | | | | | Since makeman turns all options on, we need to guard somethings from make(showconfig) Notes: svn path=/head/; revision=284708
* Appy := to dependent opts once value determined.Simon J. Gerraty2015-06-221-0/+1
| | | | | | | This is needed to fix output from 'make showconfig' Notes: svn path=/head/; revision=284705
* Simplify code to install manpages and it symlinksBaptiste Daroussin2015-06-211-39/+19
| | | | | | | | Use the bmake's .for multi variable loops to simplify and make the code more readable Notes: svn path=/head/; revision=284685
* Simplify symlinks on include files by using bmake's multivariable .for loopsBaptiste Daroussin2015-06-211-9/+4
| | | | Notes: svn path=/head/; revision=284684
* Expand sysctls descriptions for iscsi(4) and ctl(4).Edward Tomasz Napierala2015-06-212-5/+17
| | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2876 Reviewed by: wblock@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=284682
* Deal with MAKEOBJDIRPREFIXSimon J. Gerraty2015-06-201-0/+12
| | | | | | | | | MAKEOBJDIRPREFIX does not really fit our model. Use it to set OBJROOT to about where user expects and set MAKEOBJDIR to do what we want. Notes: svn path=/head/; revision=284650
* The barriers, provided by _acq and _rel atomics, are acquire andKonstantin Belousov2015-06-201-3/+7
| | | | | | | | | | | | | release barriers, not read and write barriers. They fence all memory accesses from the respective side, not limited by the kind of operation. Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=284646
* Use .CURDIR in soelim's include path instead of SRCDIRBaptiste Daroussin2015-06-201-1/+1
| | | | | | | | This fixes build when a user has defined SRCDIR in make.conf as required by some ports Notes: svn path=/head/; revision=284620
* Readd merge.awk forgotten while importing the old vi documentation directly intoBaptiste Daroussin2015-06-202-4/+24
| | | | | | | | | | the tree. Do not rely on SRCDIR to find the merge.awk script but use .CURDIR Fix a long standing bug making the generated documents never including the index Notes: svn path=/head/; revision=284619
* Fix markups and change e.g./eg. to e.g.,.Xin LI2015-06-193-13/+15
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=284611
* Fix markups.Xin LI2015-06-191-4/+5
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=284610
* Back out contested change until dispute is resolved. This proved to beWarner Losh2015-06-191-6/+5
| | | | | | | more contentious than I expected. Notes: svn path=/head/; revision=284608
* Document kern.cam.ada.legacy_aliases, while I'm there also fix some typos.Xin LI2015-06-191-5/+15
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=284607
* Move include of make.conf back to its old position.Simon J. Gerraty2015-06-195-60/+80
| | | | | | | | | | | | This means moving include of local.sys.mk and src.sys.mk too. Introduce new includes to take the early slot, for the purpose of being able to influence toolchains and the like. Differential Revision: D2860 Reviewed by: imp Notes: svn path=/head/; revision=284598
* Document title should be in CAPS.Christian Brueffer2015-06-181-2/+2
| | | | Notes: svn path=/head/; revision=284558
* Remove EOL whitespace.Christian Brueffer2015-06-183-8/+8
| | | | Notes: svn path=/head/; revision=284557
* Restructure memory allocation in bhyve to support "devmem".Neel Natu2015-06-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | devmem is used to represent MMIO devices like the boot ROM or a VESA framebuffer where doing a trap-and-emulate for every access is impractical. devmem is a hybrid of system memory (sysmem) and emulated device models. devmem is mapped in the guest address space via nested page tables similar to sysmem. However the address range where devmem is mapped may be changed by the guest at runtime (e.g. by reprogramming a PCI BAR). Also devmem is usually mapped RO or RW as compared to RWX mappings for sysmem. Each devmem segment is named (e.g. "bootrom") and this name is used to create a device node for the devmem segment (e.g. /dev/vmm/testvm.bootrom). The device node supports mmap(2) and this decouples the host mapping of devmem from its mapping in the guest address space (which can change). Reviewed by: tychon Discussed with: grehan Differential Revision: https://reviews.freebsd.org/D2762 MFC after: 4 weeks Notes: svn path=/head/; revision=284539
* Bump date.Warner Losh2015-06-171-1/+1
| | | | | | | Submitted by: Xin Li Notes: svn path=/head/; revision=284528
* Update style.9 to reflect consensus on developer's mailing listWarner Losh2015-06-171-4/+5
| | | | | | | | | allowing redundant braces. Differential Revision: https://reviews.freebsd.org/D2842 Notes: svn path=/head/; revision=284527
* new dependsSimon J. Gerraty2015-06-162-2/+0
| | | | Notes: svn path=/head/; revision=284481
* Normally a staging conflict causes an error.Simon J. Gerraty2015-06-161-2/+11
| | | | | | | | When bootstrapping different options, it is handy to be able to make those warnings. Notes: svn path=/head/; revision=284478
* Remove old fmake. It wasn't built by default for some time. Users thatWarner Losh2015-06-161-1/+0
| | | | | | | | | | really need it can find it in the devel/fmake port or pkg install fmake. Note: This commit is orthogonal to the question 'can we fmake buildworld'. Differential Revision: https://reviews.freebsd.org/D2840 Notes: svn path=/head/; revision=284464
* Deshallify.Sergey Kandaurov2015-06-151-1/+1
| | | | Notes: svn path=/head/; revision=284434
* Register libpanel into the available librariesBaptiste Daroussin2015-06-151-0/+2
| | | | Notes: svn path=/head/; revision=284431
* Skip MAKE_PRINT_VAR_ON_ERROR unless we are doing META_MODESimon J. Gerraty2015-06-151-0/+2
| | | | | | | with all the recursion in normal build it is too much noise. Notes: svn path=/head/; revision=284430
* do not include src.opts.mk from hereSimon J. Gerraty2015-06-151-2/+0
| | | | Notes: svn path=/head/; revision=284420
* Ensure TESTSDIR is defined before bsd.test.mk is .include'dEnji Cooper2015-06-151-0/+4
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=284408