luigi
483862a5a2
bring in several cleanups tested in ipfw3-head branch, namely:
...
r201011
- move most of ng_ipfw.h into ip_fw_private.h, as this code is
ipfw-specific. This removes a dependency on ng_ipfw.h from some files.
- move many equivalent definitions of direction (IN, OUT) for
reinjected packets into ip_fw_private.h
- document the structure of the packet tags used for dummynet
and netgraph;
r201049
- merge some common code to attach/detach hooks into
a single function.
r201055
- remove some duplicated code in ip_fw_pfil. The input
and output processing uses almost exactly the same code so
there is no need to use two separate hooks.
ip_fw_pfil.o goes from 2096 to 1382 bytes of .text
r201057 (see the svn log for full details)
- macros to make the conversion of ip_len and ip_off
between host and network format more explicit
r201113 (the remaining parts)
- readability fixes -- put braces around some large for() blocks,
localize variables so the compiler does not think they are uninitialized,
do not insist on precise allocation size if we have more than we need.
r201119
- when doing a lookup, keys must be in big endian format because
this is what the radix code expects (this fixes a bug in the
recently-introduced 'lookup' option)
No ABI changes in this commit.
MFC after: 1 week
2009-12-28 10:47:04 +00:00
luigi
ffe8fa8dad
readability fixes -- add braces on large blocks, remove unnecessary
...
initializations
2009-12-28 10:19:53 +00:00
luigi
5596409e34
explain details of operation of table lookups, and improve portability
2009-12-28 10:12:35 +00:00
trasz
e88226db95
Bump manual page dates.
2009-12-28 09:41:13 +00:00
trasz
0738292d17
Don't refer to pppd(8).
2009-12-28 09:37:33 +00:00
trasz
d764dd9021
Change u3g(4) and ucom(4) to not refer to pppd(8), which is gone.
2009-12-28 09:32:45 +00:00
trasz
664558bea0
Line discipline support is gone; update tty(4) manual page to reflect this.
...
Reviewed by: ed
2009-12-28 09:28:22 +00:00
trasz
7a5cea503e
Add references to termios-related stuff.
2009-12-28 09:26:46 +00:00
kientzle
e86a477412
Portability.
2009-12-28 06:59:35 +00:00
kientzle
1a725d203e
Remove some dead assignments, fix some declarations.
2009-12-28 03:33:05 +00:00
kientzle
36429d6a27
Clarify an example so Linux folks won't keep getting confused by this point.
2009-12-28 03:31:29 +00:00
kientzle
751833b2d3
Compatibility with old systems with non-POSIX getpwuid_r/getgrgid_r.
2009-12-28 03:30:31 +00:00
kientzle
749f336c04
Fix some unused variables and dead assignments.
2009-12-28 03:28:21 +00:00
kientzle
2533f9e873
Remove an unused variable and an unreachable statement.
2009-12-28 03:25:33 +00:00
kientzle
8ae7c78a5f
Fix line endings.
2009-12-28 03:24:56 +00:00
kientzle
49d75536f6
Discourage external use of this header.
2009-12-28 03:20:54 +00:00
kientzle
77b3bad2c6
Remove unused variable.
2009-12-28 03:14:30 +00:00
kientzle
6bd6257279
O_BINARY for Windows.
2009-12-28 03:13:49 +00:00
kientzle
21be9a3355
Handle Zip CRC validation for uncompressed Zip archives even on
...
platforms that lack zlib.
2009-12-28 03:11:36 +00:00
kientzle
c3c58ccb3c
Include limits.h; remove unused variable.
2009-12-28 03:06:27 +00:00
kientzle
9a47973065
Use ino64 interface.
2009-12-28 03:05:31 +00:00
kientzle
4fa2e480dc
Use new ino64 interface.
2009-12-28 03:03:00 +00:00
kientzle
b1d1d36a22
New archive_file_count() utility.
2009-12-28 02:58:14 +00:00
kientzle
cd7df27c58
Portability fixes.
2009-12-28 02:45:56 +00:00
kientzle
5b4a30a490
Various portability fixes, plus:
...
* New "ino64" field.
* New UTF8 interfaces for hardlink/symlink updates
2009-12-28 02:41:27 +00:00
kientzle
a591c39057
Remove an unused variable and an unnecessary increment.
2009-12-28 02:33:22 +00:00
kientzle
d9802a8c44
Eliminate an unused assignment.
2009-12-28 02:29:21 +00:00
kientzle
0ce60e8858
Portability: Set the file descriptor to binary mode on Win32
2009-12-28 02:28:44 +00:00
kientzle
110ffdeb53
Discourage outside use of this internal header.
2009-12-28 02:26:06 +00:00
kientzle
8b011c5d8a
Remove dead assignment.
2009-12-28 02:22:41 +00:00
kientzle
49f605d812
Portability:
...
* some non-FreeBSD platforms do actually define __FBSDID() in sys/cdefs.h
* Borland C <sigh>
2009-12-28 02:22:04 +00:00
kientzle
5796104304
Portability: terminate abnormally via abort() instead of segfault,
...
watch the return value from write(), and avoid signed arithmetic on
unsigned values.
2009-12-28 02:20:23 +00:00
kientzle
0e3650b26a
Allow more formats to be active at a time; discourage outside use.
2009-12-28 02:18:55 +00:00
kientzle
d2acaa3902
Enforce this as an internal-only header.
2009-12-28 02:18:26 +00:00
kientzle
ac6b305380
Discourage people from using this header outside of libarchive.
2009-12-28 02:17:53 +00:00
kientzle
c28b62ef5f
Compatibility: I found some more compilers that don't like 'inline' keyword.
...
Protection: Discourage people from using this header outside libarchive.
2009-12-28 02:17:15 +00:00
kientzle
55a923f0e8
Sync with googlecode some changes that have no impact on FreeBSD.
2009-12-28 02:14:09 +00:00
kientzle
c947d50aa1
Compatibility fix for some older systems with non-POSIX getgrnam_r/getpwnam_r
...
and a minor style fix for the hash function.
2009-12-28 02:09:57 +00:00
kientzle
9de6e5e034
Catch certain gzip failures at close time.
2009-12-28 02:05:28 +00:00
kientzle
2c11cde23a
Remove a dead assignment.
2009-12-28 02:04:42 +00:00
kientzle
9901fb459e
Remove some unused variables and dead assignments.
2009-12-28 02:03:54 +00:00
kientzle
2a6c4953df
Update the hard-coded configuration for libarchive.
2009-12-28 02:01:42 +00:00
kientzle
4b77c8c24b
Update format manpages for libarchive.
2009-12-28 01:50:23 +00:00
luigi
02f409c5f3
make the memory filesystem larger, and add an example
...
on how to import files from the host
2009-12-28 01:25:05 +00:00
luigi
cdbc72ad73
clear leftover from previous computations
2009-12-28 01:02:45 +00:00
luigi
f46d0fc3ed
more support to import files and libraries from the host.
2009-12-28 00:51:00 +00:00
thompsa
062dad0f33
Compact USB_VENDOR_X and USB_PRODUCT_Y in the quirk tables.
2009-12-28 00:42:42 +00:00
dougb
3b6c5972c1
Update the "-l or -r" usage to better conform to the standard
...
Submitted by: ed
2009-12-27 23:15:23 +00:00
dougb
dd63d34a3f
Update the "-l or -r" usage to better conform to the standard
...
Submitted by: ed
2009-12-27 23:13:18 +00:00
ed
1fbd42b09d
Parse DEAD_PROCESS entries properly.
...
The TTY line name should always be set for DEAD_PROCESS entries right
now. When we parse a clean utmp entry, we don't want to interpret it as
a DEAD_PROCESS entry if the TTY has never been used yet.
2009-12-27 22:26:29 +00:00