summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Prefer NULL over 0 for pointerskevlo2012-10-093-3/+3
|
* Add support for bmake. This includes:marcel2012-10-066-4/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
* Update to include WITH_BMAKE.marcel2012-10-061-2/+11
|
* Add bmake to the build and allow it to be installed as make(1) insteadmarcel2012-10-061-0/+1
| | | | | | | | of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
* A step in resolving mess with byte ordering for AF_INET. After this change:glebius2012-10-061-4/+3
| | | | | | | | | | | | | | | | | | | - All packets in NETISR_IP queue are in net byte order. - ip_input() is entered in net byte order and converts packet to host byte order right _after_ processing pfil(9) hooks. - ip_output() is entered in host byte order and converts packet to net byte order right _before_ processing pfil(9) hooks. - ip_fragment() accepts and emits packet in net byte order. - ip_forward(), ip_mloopback() use host byte order (untouched actually). - ip_fastforward() no longer modifies packet at all (except ip_ttl). - Swapping of byte order there and back removed from the following modules: pf(4), ipfw(4), enc(4), if_bridge(4). - Swapping of byte order added to ipfilter(4), based on __FreeBSD_version - __FreeBSD_version bumped. - pfil(9) manual page updated. Reviewed by: ray, luigi, eri, melifaro Tested by: glebius (LE), ray (BE)
* Implement SATA revision (speed) control for legacy SATA controller formav2012-10-021-2/+8
| | | | | | | both boot (via loader tunables) and run-time (via `camcontrol negotiate`). Tested to work at least on NVIDIA MCP55 chipset. H/w provided by: glebius
* Indicate (loudly) that ports csup is going away.eadler2012-10-011-6/+13
| | | | | | | While here clarify some other portions. Approved by: cperciva (implicit) MFC after: 3 days
* mdoc: remove superfluous paragraph macro.joel2012-09-301-1/+0
|
* Give a clue how to force tcpdump(8) to interpret correctly CARP packets.glebius2012-09-291-1/+15
|
* The drbr(9) API appeared to be so unclear, that most drivers inglebius2012-09-282-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tree used it incorrectly, which lead to inaccurate overrated if_obytes accounting. The drbr(9) used to update ifnet stats on drbr_enqueue(), which is not accurate since enqueuing doesn't imply successful processing by driver. Dequeuing neither mean that. Most drivers also called drbr_stats_update() which did accounting again, leading to doubled if_obytes statistics. And in case of severe transmitting, when a packet could be several times enqueued and dequeued it could have been accounted several times. o Thus, make drbr(9) API thinner. Now drbr(9) merely chooses between ALTQ queueing or buf_ring(9) queueing. - It doesn't touch the buf_ring stats any more. - It doesn't touch ifnet stats anymore. - drbr_stats_update() no longer exists. o buf_ring(9) handles its stats itself: - It handles br_drops itself. - br_prod_bytes stats are dropped. Rationale: no one ever reads them but update of a common counter on every packet negatively affects performance due to excessive cache invalidation. - buf_ring_enqueue_bytes() reduced to buf_ring_enqueue(), since we no longer account bytes. o Drivers handle their stats theirselves: if_obytes, if_omcasts. o mlx4(4), igb(4), em(4), vxge(4), oce(4) and ixv(4) no longer use drbr_stats_update(), and update ifnet stats theirselves. o bxe(4) was the most correct driver, it didn't call drbr_stats_update(), thus it was the only driver accurate under moderate load. Now it also maintains stats itself. o ixgbe(4) had already taken stats from hardware, so just - drop software stats updating. - take multicast packet count from hardware as well. o mxge(4) just no longer needs NO_SLOW_STATS define. o cxgb(4), cxgbe(4) need no change, since they obtain stats from hardware. Reviewed by: jfv, gnn
* Add a COMPILER_FEATURES variable that is set in bsd.compiler.mk.brooks2012-09-262-1/+33
| | | | | | | | | When the compiler is clang add c++11 to COMPILER_FEATURES. When the compiler supports c++11, default to building libc++. This will not impact the compliation of programs, but will make it easier for users with clang compiled systems to test libc++ by passing -stdlib=libc++ to their c++ compliations.
* Minor man page cleanup -- fix grammar, markup fixes, and start eachbjk2012-09-241-8/+9
| | | | | | sentence on a new line. Approved by: hrs (mentor)
* Document ipv6 hook, present there for ages.mav2012-09-241-1/+3
| | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* Remove some duplicated advice.eadler2012-09-221-9/+3
| | | | | | | | | | | While here increase the suggested sizes for the partition as "make universe" takes a lot more space than mentioned. Reviewed by: gavin Approved by: gjb MFC after: 3 days X-MFC-With: r240728
* Make the example a bit more pretty.pjd2012-09-221-5/+6
|
* Remove references to brelse and bremfree, which don't actually exist.kevlo2012-09-201-2/+0
|
* Redo r240386 providing more correct information.glebius2012-09-201-12/+10
|
* mdoc: remove superfluous paragraph macro.joel2012-09-201-1/+0
|
* Rewrite portions of development.7 to make senseeadler2012-09-201-250/+41
| | | | | | | in the world of subversion. Approved by: gjb MFC after: 2 weeks
* Add Intel RdRand.obrien2012-09-191-3/+8
|
* Regen for r240690zeising2012-09-191-1/+7
| | | | Approved by: joel (mentor)
* Do not install pf related man pages if WITHOUT_PF is set.zeising2012-09-192-5/+16
| | | | | | PR: bin/171767 Submitted by: zeising Approved by: joel (mentor), glebius
* Provide kernel compile time option to make pf(4) default rule to drop.glebius2012-09-181-1/+11
| | | | | | | | This is important to secure a small timeframe at boot time, when network is already configured, but pf(4) is not yet. PR: kern/171622 Submitted by: Olivier Cochard-LabbИ <olivier cochard.me>
* Add UQ_UMS_IGNORE quirk.hselasky2012-09-171-0/+2
| | | | | | | Wrap two long lines. Some minor spelling correction. PR: usb/171721
* Update release(7) to reflect changes from r240586 and r240587:gjb2012-09-171-32/+13
| | | | | | | | | | | | | | - Remove cvs(1) references. - Remove CVS* environment references. - Add default entries for the default SVNROOT for the Ports Collection, and Documentation Project. - While here, update 'SGML-based documentation' to 'XML-based', since the recent SGML->XML conversion. - Update an example providing SVNROOT environment usage. Reminded by: nwhitehorn MFC After: 1 week X-MFC-With: r240586, r240587
* Remove trailing whitespace.joel2012-09-161-1/+1
|
* Add section describing existing filtering points.melifaro2012-09-161-18/+13
| | | | | | Document byteorder behavior in AF_INET[6] hooks in new section. MFC after: 2 weeks
* - Add myself as a new src committer.peterj2012-09-161-1/+5
| | | | | | | - Sort jhb's mentees - Add grog's (ex-)mentor Approved by: jhb (co-mentor), grog (co-mentor)
* Add myself, and show gabor@ as my mentor.ebrandi2012-09-151-0/+2
| | | | Approved by: gabor (mentor)
* siginfo(3): Document TRAP_DTRACE signal code.jilles2012-09-141-0/+2
| | | | MFC after: 1 week
* siginfo(3): Document SI_LWP signal code.jilles2012-09-141-2/+14
| | | | | | | Describe SI_LWP as being generated by pthread_kill() because thr_kill() is a private undocumented function. MFC after: 1 week
* siginfo(3): Document SI_USER and SI_KERNEL signal codes.jilles2012-09-141-2/+23
| | | | MFC after: 1 week
* Correct double "the the"eadler2012-09-141-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* Bump date missed in r202756eadler2012-09-142-2/+2
| | | | | | | PR: docs/171624 Submitted by: bdrewery Approved by: gabor MFC after: 3 days
* o Create directory sys/netpfil, where all packet filters shouldglebius2012-09-147-0/+4805
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reside, and move there ipfw(4) and pf(4). o Move most modified parts of pf out of contrib. Actual movements: sys/contrib/pf/net/*.c -> sys/netpfil/pf/ sys/contrib/pf/net/*.h -> sys/net/ contrib/pf/pfctl/*.c -> sbin/pfctl contrib/pf/pfctl/*.h -> sbin/pfctl contrib/pf/pfctl/pfctl.8 -> sbin/pfctl contrib/pf/pfctl/*.4 -> share/man/man4 contrib/pf/pfctl/*.5 -> share/man/man5 sys/netinet/ipfw -> sys/netpfil/ipfw The arguable movement is pf/net/*.h -> sys/net. There are future plans to refactor pf includes, so I decided not to break things twice. Not modified bits of pf left in contrib: authpf, ftp-proxy, tftp-proxy, pflogd. The ipfw(4) movement is planned to be merged to stable/9, to make head and stable match. Discussed with: bz, luigi
* Belatedly add myselfeadler2012-09-141-0/+2
| | | | MFC after: 3 days
* Minor mdoc fix.joel2012-09-131-4/+4
|
* Introduce a new make variable COMPILER_TYPE that specifies whatbrooks2012-09-133-15/+35
| | | | | | | | | | | | | | | | | | | | type of compiler is being used (currently clang or gcc). COMPILER_TYPE is set in the new bsd.compiler.mk file based on the value of the CC variable or, should it prove informative, by running ${CC} --version and examining the output. To avoid negative performance impacts in the default case and correct value for COMPILER_TYPE type is determined and passed in the environment of submake instances while building world. Replace adhoc attempts at determining the compiler type by examining CC or MK_CLANG_IS_CC with checks of COMPILER_TYPE. This eliminates bootstrapping complications when first setting WITH_CLANG_IS_CC. Sponsored by: DARPA, AFRL Reviewed by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>, imp, linimon (with some modifications post review) MFC after: 2 weeks
* Document the *_chroot, *_user, *_group and *_nice knobs for services startedivoras2012-09-131-0/+16
| | | | | | by rcng. Reviewed by: wblock, dougb
* Implement LIST_PREV().ed2012-09-122-3/+24
| | | | | | | | | | | | | | | | | | | | | | | Regular LISTs have been implemented in such a way that the prev-pointer does not point to the previous element, but to the next-pointer stored in the previous element. This is done to simplify LIST_REMOVE(). This macro can be implemented without knowing the address of the list head. Unfortunately this makes it harder to implement LIST_PREV(), which is why this macro was never here. Still, it is possible to implement this macro. If the prev-pointer points to the list head, we return NULL. Otherwise we simply subtract the offset of the prev-pointer within the structure. It's not as efficient as traversing forward of course, but in practice it shouldn't be that bad. In almost all use cases, people will want to compare the value returned by LIST_PREV() against NULL, so an optimizing compiler will not emit code that does more branching than TAILQs. While there, make the code a bit more readable by introducing __member2struct(). This makes STAILQ_LAST() far more readable. MFC after: 1 month
* Add MK_KDUMP.obrien2012-09-121-0/+2
|
* Document conditions for IP_SENDSRCADDR socket option.glebius2012-09-121-4/+18
| | | | Obtained from: r167342 commit message
* Add references to VFS_SET(9) and VOP_VPTOFH(9)kevlo2012-09-121-0/+2
|
* - Add myself to calendar.freebsdjhale2012-09-111-0/+3
| | | | | | - Add my mentor relationships to committers-ports.dot Approved by: makc (mentor)
* acpi.4: machdep.cpu_idle_hlt no longer existsavg2012-09-111-2/+6
| | | | MFC after: 1 week
* Follow up to doc r39516:eadler2012-09-111-1/+1
| | | | | | | | Update the Vendor Relations Team information to reflect that incoming email is now handled by core@ and the Foundation. Reviewed by: gjb MFC after: 3 days
* hrs has yet to create clones of himselfeadler2012-09-101-1/+1
| | | | | MFC after: 3 days X-MFC-With: r240318, r240294
* Update a few more teams and hats with new members.eadler2012-09-101-18/+3
| | | | | | Remove explicit re${arch} teams as they are not listed anywhere else. MFC after: 3 days X-MFC-With: r240294
* Keep this file relatively up to date (taken from f.b.o/adminstration)eadler2012-09-101-7/+8
| | | | MFC after: 3 days
* Sync access file date recommendationeadler2012-09-103-6/+8
| | | | | | Change from CVS to svn for canconical source of information MFC after: 3 days
OpenPOWER on IntegriCloud