summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Integrate lib/libutil into the build/kyuangie2014-08-1314-95/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove the .t wrappers Rename all of the TAP test applications from test-<test> to <test>_test to match the convention described in the TestSuite wiki page humanize_number_test.c: - Fix -Wformat warnings with counter variables - Fix minor style(9) issues: -- Header sorting -- Variable declaration alignment/sorting in main(..) -- Fit the lines in <80 columns - Fix an off by one index error in the testcase output [*] - Remove unnecessary `extern char * optarg;` (this is already provided by unistd.h) Phabric: D555 Approved by: jmmv (mentor) MFC after: 2 weeks Obtained from: EMC / Isilon Storage Division [*] Submitted by: Casey Peel <cpeel@isilon.com> [*] Sponsored by: EMC / Isilon Storage Division
* Port date/bin/tests to ATFngie2014-08-134-92/+94
| | | | | | | | | Phabric: D545 Approved by: jmmv (mentor) Submitted by: keramida (earlier version) MFC after: 2 weeks Sponsored by: Google, Inc Sponsored by: EMC / Isilon Storage Division
* Convert bin/sh/tests to ATFngie2014-08-1316-82/+128
| | | | | | | | | | | | | The new code uses a "test discovery mechanism" to determine what tests are available for execution The test shell can be specified via: kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh Sponsored by: EMC / Isilon Storage Division Approved by: jmmv (mentor) Reviewed by: jilles (maintainer)
* Minor style tweaks.pfg2014-08-131-7/+7
| | | | | Obtained from: OpenBSD (CVS rev. 1.7) MFC after: 3 days
* 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
* Fix typo when displaying the HPET timer unit number.neel2014-08-131-1/+2
|
* Minor cleanup:neel2014-08-131-9/+6
| | | | | | | | - Set 'pirq_cold' to '0' on the first PIRQ allocation. - Make assertions stronger. Reviewed by: jhb CR: https://phabric.freebsd.org/D592
* Truncate the ctfmerge command line, like we do with SYSTEM_LD.imp2014-08-121-1/+2
|
* Fix a typo in a comment: s/interprete/interpret/gjb2014-08-121-1/+1
| | | | | | Submitted by: Sam Fourman Jr. MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Correct a comment brought over from amd64. i386 doesn't use longjhb2014-08-121-8/+1
| | | | mode.
* Complete the usr.bin/yacc kyua integration work I originallyngie2014-08-123-43/+52
| | | | | | | | | | | | | | | | | | | | | | | | | submitted via r268811 - Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc - Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
* (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)
* According to opie code and even direct mention in opie(4) challenge bufferache2014-08-121-1/+1
| | | | | | | size must be OPIE_CHALLENGE_MAX + 1, not OPIE_CHALLENGE_MAX Reviewed by: des MFC after: 1 week
* Change SCTP sysctl from auth_disable to auth_enable. This istuexen2014-08-123-22/+18
| | | | consistent with other similar sysctl variable used in SCTP.
* Fix broken pointer overflow check ns_name_unpack()ume2014-08-121-2/+3
| | | | | | | | | | | | | | Many compilers may optimize away the overflow check `msg + l < msg', where `msg' is a pointer and `l' is an integer, because pointer overflow is undefined behavior in C. Use a safe precondition test `l >= eom - msg' instead. Reference: https://android-review.googlesource.com/#/c/50570/ Requested by: pfg Obtained from: NetBSD (CVS rev. 1.10)
* 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
* Update our stub resolver to final version of libbind.ume2014-08-1241-253/+1068
| | | | Obtained from: ISC
* Bring the md5 functions into libc for internal use only.ume2014-08-122-0/+6
| | | | | It is required to support ID randomization for our stub resolver.
* - Fix radix tree memory leakage when unloading modules using radixhselasky2014-08-121-20/+64
| | | | | | | | | | | | | | trees. This happens because the logic inserting items into the radix tree is allocating empty radix levels, when index zero does not contain any items. - Add proper error case handling, so that the radix tree does not end up in a bad state, if memory cannot be allocated during insertion of an item. - Add check for inserting NULL items into the radix tree. - Add check for radix tree getting too big. MFC after: 1 week Sponsored by: Mellanox Technologies
* Add support for the SCTP_AUTH_SUPPORTED and SCTP_ASCONF_SUPPORTEDtuexen2014-08-1215-164/+395
| | | | | | socket options. Add also a sysctl to control the support of ASCONF. MFC after: 1 week
* Turn off kern.geom.part.mbr.enforce_chs by default.ae2014-08-122-3/+3
|
* Remove duplicate entry.ae2014-08-121-7/+0
|
* Revision r269457 removed the Giant around mount and unmount code, butkib2014-08-121-2/+6
| | | | | | | | | | | | | | | | | | r269533, which was tested before r269457 was committed, implicitely relied on the Giant to protect the manipulations of the softdepmounts list. Use softdep global lock consistently to guarantee the list structure now. Insert the new struct mount_softdeps into the softdepmounts only after it is sufficiently initialized, to prevent softdep_speedup() from accessing bare memory. Similarly, remove struct mount_softdeps for the unmounted filesystem from the tailq before destroying structure rwlock. Reported and tested by: pho Reviewed by: mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Add sysctl and loader tunable kern.geom.part.mbr.enforce_chs that is setae2014-08-122-1/+17
| | | | | | | | by default. It can be used to disable automatic alignment to CHS geometry, that GEOM_PART_MBR does. Reviewed by: wblock MFC after: 1 week
* Update sqlite-3.7.17 -> 3.8.5peter2014-08-1216-35912/+43882
|
* 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
* Update serf-1.3.6 -> 1.3.7peter2014-08-1127-192/+652
|\ | | | | | | | | | | Update subversion-1.8.9 -> 1.8.10 Security: CVE-2014-3504, CVE-2014-3522, CVE-2014-3528
| * Import svn-1.8.10peter2014-08-1123-151/+497
| |
| * Vendor import svn-1.8.9peter2014-05-2744-1482/+2225
| |
| * Vendor import svn-1.8.8peter2014-02-2057-354/+953
| |
| * Import subversion-1.8.5peter2013-11-2516-110/+101
| |
| * Import svn-1.8.4, which includes fixes for both security and mergepeter2013-11-1167-626/+1303
| | | | | | | | handling.
| * Import subversion-1.8.1 into vendor staging area.peter2013-07-2882-1019/+2428
| |
| * Import svn-1.8.0 finalpeter2013-06-186-7/+7
| |
* | add myself as opencrypto maintainer as I'm doing some work in thejmg2014-08-111-1/+2
| | | | | | | | | | | | area... Note that documentation is requires for commits to what I maintain...
* | Fix a typo.jhb2014-08-111-1/+1
| | | | | | | | | | PR: 192294 Submitted by: Conrad Meyer <conrad.meyer@isilon.com>
* | Change {_,}pmap_allocpte() so that they look for the flag PMAP_ENTER_NOSLEEPalc2014-08-111-20/+11
| | | | | | | | | | | | | | | | | | instead of M_NOWAIT/M_WAITOK when deciding whether to sleep on page table page allocation. (The same functions in the i386/xen and mips pmap implementations already use PMAP_ENTER_NOSLEEP.) X-MFC with: r269728 Sponsored by: EMC / Isilon Storage Division
* | Similar to r250143, optimize MODULES_OVERRIDE such that SUBDIR isn'tngie2014-08-111-3/+3
| | | | | | | | | | | | | | | | | | automatically defined if MODULES_OVERRIDE is defined Approved by: jmmv (mentor) Reviewed by: imp Phabric: D578 Sponsored by: EMC / Isilon Storage Division
* | In arm/release.sh, continue if 'xdev-links' target failsgjb2014-08-111-1/+1
| | | | | | | | | | | | | | where the target is not valid (stable/10), instead of doing per-branch evaluation on if xdev-links needs to be invoked. Sponsored by: The FreeBSD Foundation
* | Add otp-shaache2014-08-111-0/+3
| | | | | | | | MFC after: 1 week
* | blkfront: add support for unmapped IOroyger2014-08-111-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using unmapped IO is really beneficial when running inside of a VM, since it avoids IPIs to other vCPUs in order to invalidate the mappings. This patch adds unmapped IO support to blkfront. The following tests results have been obtained when running on a Xen host without HAP: PVHVM 3165.84 real 6354.17 user 4483.32 sys PVHVM with unmapped IO 2099.46 real 4624.52 user 2967.38 sys This is because when running using shadow page tables TLB flushes and range invalidations are much more expensive, so using unmapped IO provides a very important performance boost. Sponsored by: Citrix Systems R&D Tested by: robak MFC after: 1 week PR: 191173 dev/xen/blkfront/blkfront.c: - Add and announce support for unmapped IO.
* | Move KASSERT into locked region.glebius2014-08-111-2/+1
| | | | | | | | Submitted by: kib
* | Remove dependence on source tree options. Move all kernel moduleimp2014-08-1114-29/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options into kern.opts.mk and change all the places where we use src.opts.mk to pull in the options. Conditionally define SYSDIR and use SYSDIR/conf/kern.opts.mk instead of a CURDIR path. Replace all instances of CURDIR/../../etc with STSDIR, but only in the affected files. As a special compatibility hack, include bsd.owm.mk at the top of kern.opts.mk to allow the bare build of sys/modules to work on older systems. If the defaults ever change between 9.x, 10.x and current for these options, however, you'll wind up with the host OS' defaults rather than the -current defaults. This hack will be removed when we no longer need to support this build scenario. Reviewed by: jhb Differential Revision: https://phabric.freebsd.org/D529
* | Last '/' for program name, not first oneache2014-08-111-1/+1
| | | | | | | | MFC after: 1 week
* | Link otp-sha1 to match real challenge prompt, not otp-shaache2014-08-111-2/+2
| | | | | | | | MFC after: 1 week
OpenPOWER on IntegriCloud