summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Define _DTRACE_VERSION in sdt.h rather than setting it manually. This ismarkj2014-09-021-1/+1
| | | | | similar to what illumos does, and makes it easier to enable USDT probes in third-party software that doesn't make use of the system makefiles.
* Allow standalone debug for non-default ${PROG} targetsemaste2014-09-021-3/+1
| | | | | | | | | | | | | | This allows WITH_DEBUG_FILES to produce standalone debug for the ELF runtime linker. We previously disabled standalone debug files for bsd.prog.mk consumers that included a non-default ${PROG} target, but this is not required. Consumers that do not support standalone debug are still handled by disabling it for statically linked binaries, and for those that specify a non-default binary format. Sponsored by: DARPA, AFRL
* Add -Wthread-safety to WARNS=6.ed2014-09-011-0/+3
| | | | | | | | | | While there, add a NO_WTHREAD_SAFETY flag that can be used to disable this specific warning flag. Disable it for auditdistd. We can easily patch up auditdistd to have the right annotations to build, but as auditdistd is intended to be portable across other operating systems, it's not worth the effort. Approved by: brueffer@
* Make SOCK_RAW sockets to be truly raw, not modifying received and sentglebius2014-09-011-13/+23
| | | | | | | | | | | | | | packets at all. Swapping byte order on SOCK_RAW was actually a bug, an artifact from the BSD network stack, that used to convert a packet to native byte order once it is received by kernel. Other operating systems didn't follow this, and later other BSD descendants fixed this, leaving us alone with the bug. Now it is clear that we should fix the bug. In collaboration with: Olivier Cochard-Labbé <olivier cochard.me> See also: https://wiki.freebsd.org/SOCK_RAW Sponsored by: Nginx, Inc.
* Allow the iwn(4) fw 100 to be compiled into the kernel and update thebrueffer2014-08-302-3/+7
| | | | relevant manpages.
* Add Alonso Schaich to ports developers. Mentors: makc@, rakuco@alonso2014-08-281-0/+4
| | | | Approved by: rakuco (mentor)
* Use "file -s", so that we can run vmrun.sh against special devices suchrodrigc2014-08-281-2/+2
| | | | | | as /dev/md memory file systems Reviewed by: neel
* Add description of "sysctl_remove_name()" function.hselasky2014-08-282-4/+31
|
* Fix comments on updating tzdata releases.pluknet2014-08-271-3/+3
|
* - Use $local_startup to load rc.conf.d/* scripts.hrs2014-08-271-3/+20
| | | | | | - Document support of rc.conf.d/<dir>/* introduced in r270392. Discussed with: bapt
* Document the new ${LOCALBASE}/etc/rc.conf.d in rc.conf(5)bapt2014-08-261-1/+3
| | | | MFC after: 1 week
* Back-out the references to vt(4) from this man-page. It appears that these2014-08-261-3/+0
| | | | | | | splash support in vt is implemented within the vt driver and does not depend on splash(4). Submitted by: marius@alchemy.franken.de
* Introduce missing definition for LIBTERMCAPWngie2014-08-261-0/+1
| | | | | | | | | Some Makefiles expect this value to exist Approved by: rpaulo (mentor) MFC after: 5 days Phabric: D675 (as part of a larger diff) PR: 192762
* Add references to vt(4) and the configuration files in /usr7share/vt wherese2014-08-269-11/+63
| | | | | | | | | appropriate (i.e. where syscons was already mentioned and vt supports the feature). Comments in defaults/rc.conf are updated to match the contents of the modified man-page rc.conf(5). Reviewed by: pluknet, emaste MFC after: 3 days
* Fix "make checkdpadd" for lib/libc when MK_SSP != nongie2014-08-251-0/+1
| | | | | | | | | | Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in lib/libc when MK_SSP != no Approved by: rpaulo (mentor) MFC after: 3 days Phabric: D675 (as part of a larger diff) PR: 192728
* If the VM was reset via "/sbin/reboot" or "shutdown -r",rodrigc2014-08-251-1/+2
| | | | | | | then it is no longer necessary to "bhyvectl --destroy" the VM when it reboots. Move the "bhyvectl --destroy" outside of the while loop. Reviewed by: neel
* Add comment which describes the exit status codes returned fromrodrigc2014-08-251-0/+8
| | | | | | /usr/sbin/bhyve. These are in src/usr.sbin/bhyve/bhyverun.c. Reviewed by: neel
* Next round of fixes.se2014-08-217-11/+20
| | | | MFC after: 3 days
* Document MAC address selection and setting for atse(4).bz2014-08-211-2/+21
| | | | | | Submitted by: brooks MFC after: 3 days Sponsored by: DARPA/AFRL
* Fix return type of callout_init_rm() and add return type togavin2014-08-201-2/+3
| | | | | | | | callout_deactivate(). PR: 192520 Submitted by: yaneurabeya gmail com MFC after: 3 days
* Another rpund of fixes, after checking keymaps for plausibility and withse2014-08-2032-243/+623
| | | | | | | | | | | | | | | | | | | | | | | several updates to the converter tools. There is now support for hybrid source keymaps, which e.g. use ISO8859-1 (not -15) but still provide an Euro key (on the "E" key). ISO8859-1 currency symbols on other keys are still converted to that character, not the Euro sign. A similar hack was applied to the Japanese keyboards to add the Yen key, that could not be expressed in SYSCONS. Several modifications have been applied after the conversion (removal of unused accents tables, some reformatting, exchange of a few key symbols). The German keymap (de.kbd) is now using deadkeys only for those keys, that behave that way under Windows. There are now ".acc" and ".noacc" variants, which use deadkeys vs. nodeadkeys for all accent keys. I'm still in the process of comparing keymaps that existed in different encodings in SYSCONS. These are generally translated slightly differently, either because of mistakes, or because of different preferences, or due to limitations of the respective encoding. MFC after: 3 days
* Fix conversion errors leading to malformed keymap files.se2014-08-204-80/+83
| | | | MFC after: 3 days
* Add the D-Link DWA-125 rev D1.kevlo2014-08-201-0/+1
| | | | Tested by myself.
* Add recent DragonFly releases.bdrewery2014-08-191-0/+12
| | | | | Submitted by: Zach Crownover <zachary.crownover@gmail.com> MFC after: 1 week
* Regen after r270171bdrewery2014-08-191-0/+3
|
* Regen after r270168bdrewery2014-08-191-4/+1
|
* Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-192-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* Fix a few conversion problems (e.g. when a keymap is derived from ISO8859-1,se2014-08-1813-96/+301
| | | | | | | | | but shall provide an Euro sign - similar for Japanese Yen). The Brazilian keymap "br.kbd" now has accents, by default - the no-accents version has been renamed to "br.noacc.kbd". MFC after: 3 days
* Fix minor problems found while converting to NEWCONS format.se2014-08-184-5/+5
| | | | MFC after: 3 days
* Add Canadian Bilingual keyboardemaste2014-08-183-0/+142
|
* Remove vestiges of previous autofs.trasz2014-08-183-563/+0
| | | | | | Discussed with: alfred@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Rename ca keyboard to ca-fremaste2014-08-183-6/+6
| | | | "ca" will shortly be used for the Canadian Multilingual keyboard.
* Attempt at converting the SYSCONS keymaps to Unicode for use with NEWCONS.se2014-08-1781-326/+11947
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have spent many hours comparing source and destination formats, and hope to have caught the most severe conversion errors. Files were converted with a Perl script which I'll shortly commit to the tools directory. This script is a much enhanced version of the one provided by ray@ and is expected to support the full kbdmap(5) syntax. The naming convention used is: <2-letter country code>.<variant>.kbd Only if there are multiple layouts for different languages: <2-letter country code>-<2-letter language code>.<variant>.kbd In nearly all cases, the keyboards are country specific, only. Currently there is only one case where the language was added ("ch-fr.kbd" for the Swiss-French keyboard layout). I choose to write Unicode character codes as hex numbers. While this increases the diff to the SYSCONS keymap files for the trivial cases (conversion from ISO8859-1), it really helps to verify the more complex cases against a Unicode table (which is indexed by hex numbers). This commit does not cover all files that have been converted, since I need to sort out which ones to use, if there were several with different source encodings to choose from. Review and test of the keymap files is highly desirable before 10.1 is released. I'd also appreciate educated opinions regarding the optimum variant (to be made available as the default for each language). Since there are no NEWCONS keymaps in 10-STABLE, I plan to MFC after the minimum allowed delay of 3 days, to allow at least a few weeks to test and improve what will be in the next release. MFC after: 3 days
* Add a few missing entries and fix entries that are obviously wrong.se2014-08-171-20/+66
| | | | | | | | | | The use of the old ISO language code "iw" for Hebrew was inconsistent and it is replaced by the new language code "he" (which was already used for the keyboard menu entry, but not for the menu heading or the default font). These changes are in preparation of the conversion of this file and the keymap definitions to Unicode for use with NEWCONS.
* Bring in the new automounter, similar to what's provided in most othertrasz2014-08-172-0/+100
| | | | | | | | | | | | | UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation
* Sync list of supported devices in the man page with the driver.gavin2014-08-141-0/+2
| | | | MFC after: 1 week
* Update iwn(4) and iwnfw(4) man pages to reflect all available firmware.gavin2014-08-142-4/+14
| | | | MFC after: 1 week
* Fix euro symbol in copied keymapsemaste2014-08-146-7/+7
| | | | | | | | | These were copied from share/syscons/keymaps/??.iso.kbd. They were not actually ISO 8859-1 as assumed. When interpreted as Unicode they ended up with the generic currency sign (U+00A4) instead of the euro (U+20AC). Reported by: Claude Buisson, tijl@
* Remove trailing whitespaceemaste2014-08-131-18/+18
|
* Make the libbsdstat useful again.adrian2014-08-131-0/+4
|
* Copy country-code .iso syscons keymaps for vt(4)emaste2014-08-139-1/+987
| | | | | | | Existing syscons ISO 8859-1 keymaps (??.iso.kbd) are usable without change as Unicode keymaps for vt(4). Sponsored by: The FreeBSD Foundation
* Make sure the DTrace header files are built before depend and beforerpaulo2014-08-133-2/+7
| | | | | | | | | | | | | | | the build starts. This adds a new variable DHDRS that contains a list of all DTrace header files. Then, we use the beforedepend hook to make sure the heaeder files are built. Introduce a beforebuild dependency (from projects/bmake) based on feedback from Simon J. Gerraty. This lets us generate the header files without running make depend. Reviewed by: sjg, imp MFC after: 3 days
* (belatedly) Document FreeBSD 9.3-Rmarck2014-08-121-15/+16
| | | | | | MFC after: 1 week M misc/bsd-family-tree
* Add Dan Langille (myself) to committers-ports.dot file with mat and wg as ↵dvl2014-08-121-0/+3
| | | | | | mentors. Approved by: wg (mentor)
* Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()gavin2014-08-121-4/+4
| | | | | | Requested by: Malcolm Douglas via freebsd-doc Reviewed by: jhb MFC after: 1 week
* Revert r269839.rpaulo2014-08-111-1/+1
| | | | | | | This doesn't work like I expected and the if clause is never matched. It turns out that the problem with the older make is unrelated. MFC after: 3 days
* Add .d files to the reverse matching pattern in bsd.dep.mk to accountrpaulo2014-08-111-1/+1
| | | | | | | | for source file dependencies. This follows the .y and .l behaviour. MFC after: 3 days
* Fix another typoe in the definition of DTrace SOBJS.rpaulo2014-08-111-1/+1
| | | | MFC after: 3 days
* bsd.dep.mk: use the empty() function with the check for .d files.rpaulo2014-08-111-1/+1
| | | | | | Seems to work better with the old make. MFC after: 3 days
* Fix an error in the dependency of the DTrace object file.rpaulo2014-08-111-1/+1
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud