summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Major cleanup of bsd.lib.mk.ru2002-05-1314-130/+74
| | | | | | | Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB.
* Add ipfw hooks to ether_demux() and ether_output_frame().luigi2002-05-133-5/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ipfw processing of frames at layer 2 can be enabled by the sysctl variable net.link.ether.ipfw=1 Consider this feature experimental, because right now, the firewall is invoked in the places indicated below, and controlled by the sysctl variables listed on the right. As a consequence, a packet can be filtered from 1 to 4 times depending on the path it follows, which might make a ruleset a bit hard to follow. I will add an ipfw option to tell if we want a given rule to apply to ether_demux() and ether_output_frame(), but we have run out of flags in the struct ip_fw so i need to think a bit on how to implement this. to upper layers | | +----------->-----------+ ^ V [ip_input] [ip_output] net.inet.ip.fw.enable=1 | | ^ V [ether_demux] [ether_output_frame] net.link.ether.ipfw=1 | | +->- [bdg_forward]-->---+ net.link.ether.bridge_ipfw=1 ^ V | | to devices
* style(9) changes before further editing that region:joerg2002-05-132-12/+14
| | | | | . add unnecessary parenthesis around return values . put body of an "if" statement onto a line of its own
* Remove custom definitions (IP_FW_TCPF_SYN etc.) of TCP header flagsluigi2002-05-132-12/+1
| | | | which are the same as the original ones (TH_SYN etc.)
* Handle symbolic names for common ethernet types (ip, arp etc.)luigi2002-05-131-19/+85
| | | | | Remove custom definitions (IP_FW_TCPF_SYN etc.) of TCP header flags which are the same as the original ones (TH_SYN etc.)
* Remove register keyword.phk2002-05-1313-127/+127
| | | | | Sponsored by: DARPA & NAI Labs. Submitted by: mckusick
* Removed the a.out compatibility cruft.ru2002-05-135-97/+2
| | | | | libgnumalloc.so.2 and libresolv.so.2 should be put under lib/compat/compat2?/ but I don't have the 2.x releases.
* o Uncapitalize .Nd macro arguments and remove punctuationkeramida2002-05-131-10/+10
| | | | | | | | o Minor grammar fixes. o Sort SEE ALSO references, and add iostat(8). o Delete punctuation at end of AUTHORS' section only line Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
* Remove EOL space.keramida2002-05-131-7/+7
| | | | | | This is a whitespace only change. Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
* If we can't change the scheduling priority, warn but still executetjr2002-05-131-3/+3
| | | | | | | | the requested utility. This is how nice(1) traditionall behaved, and the behaviour required by SUSv3 and POSIX.2 UPE. Submitted by: Peter Avalos <pavalos@theshell.com> (partially) Reviewed by: mike
* Don't use PAGE_SIZE in userland, instead use getpagesize(), this is toalfred2002-05-1312-63/+108
| | | | | | | allow running on other arches when the instructions are supported but the page size granularity is not. Glanced at by: peter
* Build the fpu support routines.benno2002-05-131-0/+1
|
* FPU support.benno2002-05-139-221/+219
| | | | Obtained from: NetBSD (portions)
* Bump for GCC 3.1.obrien2002-05-131-1/+1
|
* Match the default newfs UFS block size.obrien2002-05-131-1/+1
|
* Don't call the uz free function while the zone lock is held. This can leadjeff2002-05-131-14/+21
| | | | | to lock order reversals. uma_reclaim now builds a list of freeable slabs and then unlocks the zones to do all of the frees.
* s/_ALPHA_/_MACHINE_/marcel2002-05-131-1/+1
|
* Remove reference to the "Alpha Calling Standard".marcel2002-05-131-13/+0
|
* Remove the hash_free() lock order reversal. This could have happened forjeff2002-05-131-69/+72
| | | | | | several reasons before. Fixing it involved restructuring the generic hash code to require calling code to handle locking, unlocking, and freeing hashes on error conditions.
* Handle alignment fault fixups in libc rather than in the kernel.jake2002-05-135-2/+120
|
* Fix IF_SEXT(val, 32). The constants need to have type long tojake2002-05-131-1/+2
| | | | handle size > 16.
* This commit was generated by cvs2svn to compensate for changes in r96489,obrien2002-05-130-0/+0
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Cause CVS to sync up checked out source bases with Gcc 3.1 bits afterobrien2002-05-130-0/+0
| | | | | | | | the repo surgery to cut out the abortive Gcc 2.9[67] imports.
| * Remove files not part of GCC 3.1.obrien2002-05-12204-80672/+0
| |
* | Restore some of the implementation from the Bmake gcc 2.95 bits.obrien2002-05-136-51/+59
| | | | | | | | | | In the end, I can do things more like the previous Bmake bits than was apparent in the middle of the gcc31 WIP.
* | These were repo-copied to dump_machdep.c.jake2002-05-133-538/+0
| |
* | ${MACHINE_ARCH}dump.c -> dump_machdep.c.jake2002-05-133-3/+3
| |
* | Add another copy of the ia64 dump_machdep.c.jake2002-05-131-0/+299
| |
* | I was finally able to repeat the -j breakage on one of my machines. Fix it.obrien2002-05-131-9/+7
| | | | | | | | I borrowed some ideas from Ruslan, and made the style match cc_tools/Makefile
* | UFS2 preparation commit:phk2002-05-128-221/+27
| | | | | | | | | | | | | | Remove support for converting old FFS formats to newer. Submitted by: mckusick Sponspored by: DARPA & NAI Labs.
* | Remove two "register" and a blank line.phk2002-05-121-3/+2
| | | | | | | | | | Submitted by: mckusick Sponsored by: DARPA & NAI Labs.
* | Support the SUSv3 -n option and the "--" end of options marker.tjr2002-05-122-51/+61
| | | | | | | | | | | | | | | | | | Replace "command" with "utility" in the manual page & source to be more consistent with the terminology used in the standard, and to hint that shell builtin commands won't work. Submitted by: Peter Avalos <pavalos@theshell.com> (partially) Approved by: mike
* | Sigh... Yet a BBSIZE breakage.phk2002-05-121-0/+1
| |
* | Sigh, more BBSIZE related breakage.phk2002-05-126-0/+6
| | | | | | | | Sponsored by: DARPA & NAI Labs.
* | #include <sys/disklabel.h> to get BBSIZE.phk2002-05-121-0/+1
| |
* | Main functional change is the implementation of matching of MAC headerluigi2002-05-121-745/+706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fields as discussed in the commit to ip_fw.c:1.186 On top of this, a ton of non functional changes to clean up the code, write functions to replace sections of code that were replicated multiple times (e.g. the printing or matching of flags and options), splitting long sections of inlined code into separate functions, and the like. I have tested the code quite a bit, but some typos (using one variable in place of another) might have escaped. The "embedded manpage" is a bit inconsistent, but i am leaving fixing it for later. The current format makes no sense, it is over 40 lines long and practically unreadable. We can either split it into sections ( ipfw -h options , ipfw -h pipe , ipfw -h queue ...) or remove it altogether and refer to the manpage.
* | Retire the bogus uses of the disklabel field d_sbsize and begin tophk2002-05-1213-35/+10
| | | | | | | | | | | | | | initialize it to zero so we don't have to have everbody and their aunt including FFS specific header files. Sponsored by: DARPA & NAI Labs.
* | Add code to match MAC header fields (at the moment supported onluigi2002-05-121-62/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bridged packets only, soon to come also for packets on ordinary ether_input() and ether_output() paths. The syntax is ipfw add <action> MAC dst src type where dst and src can be "any" or a MAC address optionallyfollowed by a mask, e.g. 10:20:30:40:50 10:20:30:40:50/32 10:20:30:40:50&ff:ff:ff:f0:ff:0f and type can be a single ethernet type, a range, or a type followed by a mask (values are always in hexadecimal) e.g. 0800 0800-0806 0800/8 0800&03ff Note, I am still uncertain on what is the best format for inputting these values, having the values in hexadecimal is convenient in most cases but can be confusing sometimes. Suggestions welcome. Implement suggestion from PR 37778 to allow "not me" on destination and source IP. The code in the PR was slightly wrong and interfered with the normal handling of IP addresses. This version hopefully is correct. Minor cleanup of the code, in some places moving the indentation to 4 spaces because the code was becoming too deep. Eventually, in a separate commit, I will move the whole file to 4 space indent.
* | ARGH! SBLOCK is not unused. Try to get this right.phk2002-05-127-7/+14
| | | | | | | | | | | | | | | | BBSIZE belongs in <sys/disklabel.h> (but shouldn't be a constant). Define SBLOCK again, using the right math. Sponsored by: DARPA & NAI Labs.
* | Remove #define for BBOFF, it is assumed == 0 so many places that we mightphk2002-05-123-6/+3
| | | | | | | | | | | | | | as well forget about it. In fact the only thing which used it was the SBOFF macro. Sponsored by: DARPA & NAI Labs.
* | Remove unused BBLOCK and SBLOCK #defines.phk2002-05-123-6/+0
| | | | | | | | Sponsored by: DARPA & NAI Labs.
* | Remove the private code for reading UFS superblocks, this does not belongphk2002-05-122-110/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in df(1) when we have multiple filesystem types, and the complications of handling UFS2 pushes this over the edge. Use the .../mount/extern.h to get prototypes of the functions we borrow from there. Constify things to match. (why aren't these functions in a lib anyway ?) Make everything static and set WARNS?=5. The way the "df diskdevice" thing works for unmounted diskdevices is not very general. Sponsored by: DARPA & NAI Labs.
* | o Remove GIANT_REQUIRED and an excessive number of blank linesalc2002-05-121-10/+0
| | | | | | | | | | from vm_map_inherit(). (minherit() need not acquire Giant anymore.)
* | Fix alpha build. The alpha has dumpsys implemented.marcel2002-05-121-1/+1
| | | | | | | | | | | | | | While here, revert the condition to list the machines for which dumpsys has not been implemented. Reported by: wilko
* | Enable KTR_TRAP by default.jake2002-05-121-1/+1
| |
* | do-while ASM_OUTPUT_ALIGN to enable its use in more places.obrien2002-05-121-3/+5
| |
* | Hide the fd autoselection messages behind the bootverbose case so theyjoerg2002-05-122-6/+10
| | | | | | | | stop bothering people on their consoles.
* | NOLIB is gone; put INTERNALLIB back for now.ru2002-05-121-0/+2
| |
* | Revert the last change. The corresponding bsd.lib.mk changes wereru2002-05-126-6/+25
| | | | | | | | already backed out.
* | Added new bsd.incs.mk which handles installing of header filesru2002-05-1251-374/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
OpenPOWER on IntegriCloud