summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Bring in the new automounter, similar to what's provided in most othertrasz2014-08-1712-1/+150
| | | | | | | | | | | | | 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
* Make the USB and ZFS devd configuration files optional depending on thengie2014-08-151-1/+9
| | | | | | | | | | | values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* Convert devd's client socket to type SOCK_SEQPACKET.asomers2014-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This change consists of two merges from projects/zfsd/head along with the addition of an ATF test case for the new functionality. sbin/devd/tests/Makefile sbin/devd/tests/client_test.c Add ATF test cases for reading events from both devd socket types. r266519: sbin/devd/devd.8 sbin/devd/devd.cc Create a new socket, of type SOCK_SEQPACKET, for communicating with clients. SOCK_SEQPACKET sockets preserve record boundaries, simplying code in the client. The old SOCK_STREAM socket is retained for backwards-compatibility with existing clients. r269993: sbin/devd/devd.8 Fix grammar bug. CR: https://reviews.freebsd.org/rS266519 MFC after: 5 days Sponsored by: Spectra Logic
* Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld withngie2014-08-131-0/+2
| | | | | | | | | MK_TESTS == no Phabric: D555 X-MFC with: r269904 Approved by: jmmv (mentor, implicit) Pointyhat to: ngie
* Integrate lib/libnv into the build/kyuangie2014-08-051-0/+2
| | | | | | | | | Rename all of the TAP test applications from <test> to <test>_test to match the convention described in the TestSuite wiki page Phabric: D538 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* Integrate lib/libmp into the build/kyuangie2014-08-041-0/+2
| | | | | | | | | | | | | - Remove the .t wrapper - Fix -Wreturn-type warnings with clang This change has been tested on amd64/i386 Phabric: D530 Reviewed by: jmmv Approved by: jmmv (co-mentor) MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Like with /usr/lib + /usr/lib/compat, add the optional /usr/lib32/compatpeter2014-08-011-1/+2
| | | | | | | to the ldconfig32 default path. /usr/lib32 is the 32 bit versions of *current* libraries, while old versions should be able to be in /usr/lib32/compat, like with /usr/lib/compat. The separation is meant to keep the compile time default search paths cleaner.
* Add the mtree entry for yacc testsbapt2014-07-171-0/+2
|
* Fix indentationbdrewery2014-07-171-2/+2
|
* units(1): Add basic testseadler2014-07-171-0/+2
| | | | Add some tests to help avoid breaking units
* Remove ia64.marcel2014-07-071-49/+0
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* chown: add a testeadler2014-06-301-0/+2
| | | | | Add a test for the chown utility. This sets up chown(8) to be capable of being tested. As such, only add one test for now as an example.
* Remove example cvsup config files.gavin2014-06-251-2/+0
| | | | MFC after: 1 week
* Unbreak installation of the rtld tests.markj2014-06-241-0/+1
| | | | X-MFC-With: r267679
* Fix ifname normalization. ifconfig_IF_alias{es,N} did not work if ifname hashrs2014-06-241-7/+7
| | | | | | any of [.-/+]. Spotted by: jhay
* Test RTLD's new LD_LIBRARY_PATH_FDS variable.jonathan2014-06-201-0/+1
| | | | | | | | | | | | Test LD_LIBRARY_PATH_FDS by linking a binary that requires a shared library that isn't in any of the usual search paths. Ensure this fails when we don't supply LD_LIBRARY_PATH_FDS or we pass invalid information in it. Ensure it works when we pass the correct directory in various places in the variable. Approved by: rwatson (mentor) MFC after: 3 weeks Sponsored by: DARPA/AFRL
* Stop creating /etc/gnatsgavin2014-06-201-2/+0
|
* Fix address matching rule.hrs2014-06-191-1/+1
| | | | Reported by: jase
* Convert the potential console port over to using 3wire, for i386/amd64.grehan2014-06-172-2/+2
| | | | | | | (This change was already in place for other arches via r262957) Reviewed by: nwhitehorn MFC after: 1 week
* Remove send-pr, the supported interface to submit bugs is now viagavin2014-06-141-1/+0
| | | | | | | | | https://bugs.freebsd.org/submit/ Removing send-pr also removes one more piece of non-BSD-licensed software. Hat: bugmeister MFC after: 3 days
* Put the test suite in its own tests.txz distribution file.jmmv2014-06-101-1/+4
| | | | | | | | | | | | | | Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releases can easily choose to not install it. To make this possible, we need two fixes: - bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we do not recurse into 'tests' subdirectories when we needn't. Otherwise, we end up with some Kyuafiles in base.txz. - etc/Makefile needs to skip installing tests in its 'distribute' target so that a Kyuafile doesn't leak into base.txz. Approved by: gjb
* truncate: Detect integer overflow, fix relative sizes, add tests.jilles2014-06-091-0/+2
| | | | | | | | | | | The change to expand_number (r204654) broke detection of too large sizes and relative sizes ('+'/'-'). Also add some tests. PR: 190735 Submitted by: Kirk Russell MFC after: 1 week
* Move atf-sh from /usr/bin/ to /usr/libexec/jmmv2014-06-061-4/+2
| | | | | | | | | | | | | In r266650, we made libatf-c and libatf-c++ private libraries so that no components outside of the source tree could unintendedly depend on them. This change does the same for the "atf-sh library" by moving the atf-sh interpreter from its public location in /usr/bin/ to the private location in /usr/libexec/. Our build system will ensure that our own test programs use the right binary, but users won't be able to depend on atf-sh by "mistake". Committing this now to ride the UPDATING notice added with r267172 today.
* Install VT support filesemaste2014-06-051-0/+6
| | | | | | They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf. Sponsored by: The FreeBSD Foundation
* Adds the bsnmp module to export the temperature data from lm75 sensors onloos2014-06-011-0/+5
| | | | | | | | | the system. Together with lm75(4) this module allows easy temperature monitoring over SNMP, specially for embedded systems. Manual page reviewed by: brueffer (D128)
* Add missing libexec/bsdconfig subdirectoriesemaste2014-05-301-0/+4
|
* Enable a login console on ttyu0 by default if it is a serial console. Thisnwhitehorn2014-05-302-2/+2
| | | | | | | | | | | prevents surprising effects post-installation on serial-only x86 systems (e.g. bhyve) where the kernel messages will appear, rc scripts will run, and then there will be no login prompt and you will be locked out of the system. Thanks to Devin Teske and Peter Grehan for ideas and testing. With this patch, it may also be possible to unify all or most of the machine-specific ttys files.
* Create /var/unbound/conf.d for additional configuration files.des2014-05-291-0/+2
| | | | | | Ensure that it is used if present. MFH: 3 weeks
* Change libatf-c and libatf-c++ to be private libraries.jmmv2014-05-251-2/+0
| | | | | | | | | | | | | | We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports. As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly. Reviewed by: bapt
* Untabify.hselasky2014-05-241-2/+2
| | | | Found by: jmmv @
* Initial import of character device in userspace support for FreeBSD.hselasky2014-05-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CUSE library is a wrapper for the devfs kernel functionality which is exposed through /dev/cuse . In order to function the CUSE kernel code must either be enabled in the kernel configuration file or loaded separately as a module. Currently none of the committed items are connected to the default builds, except for installing the needed header files. The CUSE code will be connected to the default world and kernel builds in a follow-up commit. The CUSE module was written by Hans Petter Selasky, somewhat inspired by similar functionality found in FUSE. The CUSE library can be used for many purposes. Currently CUSE is used when running Linux kernel drivers in user-space, which need to create a character device node to communicate with its applications. CUSE has full support for almost all devfs functionality found in the kernel: - kevents - read - write - ioctl - poll - open - close - mmap - private per file handle data Requested by several people. Also see "multimedia/cuse4bsd-kmod" in ports.
* Minor changes to force commit these files so new freebsd*.cf files aregshapiro2014-05-222-2/+0
| | | | | | built to use the new sendmail-8.14.9/cf tree. MFC after: 3 days
* Fix warning messages after r252015rea2014-05-201-5/+4
| | | | | | | | | | | $alias used to hold alias number, but now it carries full variable name, so messages were tuned to account for that. Other fixes: - eliminate unneeded double spaces; - tell user where inet/inet6 keywords are expected to be. Reviewed by: hrs MFC after: 1 week
* - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* bybdrewery2014-05-202-0/+5
| | | | | | | | | | default for newsyslog(8). The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to install a default configuration to handle their own log files. MFC after: 2 weeks Relnotes: yes
* Fix an issue in range specification handling when a "-foo" is specified inhrs2014-05-161-2/+2
| | | | ifconfig_IF_aliasN.
* Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF.hrs2014-05-161-7/+10
| | | | | This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it has IFDISABLED nd6 flag at boot time.
* Move old fmake tests into bmake and hook them to the build.jmmv2014-05-141-15/+15
| | | | | | | | | | | | | | | | | | This first step is mostly to prevent the code from rotting even further and to ensure these do not get wiped when fmake's code is removed from the tree. These tests are currently being skipped because they detect the underlying make is not fmake and thus disable themselves -- and the reason is that some of the tests fail, possibly due to legitimate bugs. Enabling them to run against bmake will come separately. Lastly, it would be ideal if these tests were fed upstream but they are not ready for that yet. In the interim, just put them under usr.bin/bmake/ while we sort things out. The existence of a different unit-tests directory within here makes me feel less guilty about this. Change confirmed working with a clean amd64 build.
* Upgrade our copy of llvm/clang to 3.4.1 release. This release containsdim2014-05-121-1/+1
| | | | | | | | | | | | | | | mostly fixes, for the following upstream bugs: http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000 http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165 http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316 http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515 http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762 http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994 http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033 http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326 MFC after: 2 weeks
* Bump the default C-state to Cmax, rather than the kernel defaultadrian2014-05-061-2/+2
| | | | | | | | | of C1. This may not stay through 11.0-RELEASE, but at least having it on by default in -HEAD will expose (more) issues with broken hardware. Note: I have no plans or desire to MFC this to stable/10.
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-067-7/+7
| | | | from the latter.
* Remove the ifconfig test added in rev 263445. After discussion withasomers2014-05-051-2/+0
| | | | | | | | | | | | | | | | | melifaro, we agreed that ifconfig's behavior was not a bug. The main motivation for bin/187551 was to partially resolve kern/187549, but we resolved kern/187549 in a different way instead. ObsoleteFiles.inc etc/mtree/BSD.tests.dist sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Remove /usr/tests/sbin/ifconfig PR: bin/187551 MFC after: 3 days Sponsored by: Spectra Logic
* Fix devfs rules not applied by default for jails.delphij2014-04-301-1/+1
| | | | | Security: FreeBSD-SA-14:07.devfs Security: CVE-2014-3001
* Add placeholder Kyuafiles for various top-level hierarchies.jmmv2014-04-213-0/+44
| | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process.
* when watchdogd is asked to exit nicely (via SIGTERM) it willemax2014-04-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | stop timer. since watchdogd rc.d script is marked as 'shutdown' it will exit (on shutdown) and stop timer. if system happens to hung after watchdogd exited, manual reset is required. when one operates in "lights-out" type of environments and without readily available "remote hands" it could create a problem. this provides ability to override "stop signal" for watchdogd. default behavior is preserved, i.e. watchdogd will still be killed via SIGTERM and timer will be stopped. in order to activate new feature, one needs to put watchdogd_sig_stop="KILL" into /etc/rc.conf and also make sure watchdogd timeout is set to long enough value allowing system to come back online before timeout fires. Obtained from: Netflix MFC after: 1 week
* Always install pkg.conf. Don't depend on MK_PKGBOOTSTRAP.bdrewery2014-04-131-2/+0
| | | | | | | | | This file is used by pkg(8) from ports as well. Someone may choose to not install pkg(7) but still want to consume official packages by building or installing pkg(8) manually. Discussed with: bapt MFC after: 1 day (Working on EN)
* Loosen the processing of *_IF_aliasN vars to be less strict. Previously,dteske2014-04-074-38/+293
| | | | | | | | | | | the first alias had to be _alias0 and processing stopped at the first non- defined variable (preventing gaps). Allowing gaps gives the administrator the ability to group aliases in an adhoc manner and also lifts the requirement to renumber aliases simply to comment-out an existing one. Aliases are processed in numerical ascending order. Discussed on: -rc MFC after: 1 week
* Add atf m4 files from the vendor branch.jmmv2014-04-011-0/+2
| | | | | | | These were originally deleted as "not important" but, actually we need them in place if we want to be able to use autoconf on software that provides atf-based tests. (That includes being able to rebuild autotest from scratch on the Kyua cluster machines, as the automated setup does.)
* Give hint on how to disable the default repository.bdrewery2014-03-301-0/+8
| | | | | Discussed with: bapt MFC after: instantly (preparing EN)
* Update userspace users of hw.bus.devctl_disable.mjg2014-03-261-2/+3
| | | | | | | | This fixes breakage resulting from r263754. Reported by: AN <andy@neu.net> Reviewed by: imp Pointy hat to: me
* Add several ATF tests that deal with multiple fibs. They're described inasomers2014-03-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several different PRs, but the tests share some common code, so I'm committing them together. sbin/ifconfig/tests sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Add fibs_test.sh, which regresses bin/187551 tests/sys/netinet tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile tests/sys/Makefile Add fibs_test.sh, which regresses kern/167947, kern/187552 kern/187549, kern/187550, and kern/187553 etc/mtree/BSD.tests.dist Add newly created directories PR: bin/187551 PR: kern/167947 PR: kern/187552 PR: kern/187549 PR: kern/187550 PR: kern/187553 Discussed with: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
OpenPOWER on IntegriCloud