]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
14 years agoMFV of tzdata2009u, r201187
Edwin Groothuis [Tue, 29 Dec 2009 10:13:45 +0000 (10:13 +0000)]
MFV of tzdata2009u, r201187

Bangladesh will change its clock back to Standard Time on Dec 31, 2009.

MFC after: now

14 years agoVendor import of tzdata2009u
Edwin Groothuis [Tue, 29 Dec 2009 10:11:43 +0000 (10:11 +0000)]
Vendor import of tzdata2009u

Bangladesh will change its clock back to Standard Time on Dec 31, 2009.

Obtained from: ftp://elsie.nci.nih.gov/pub/

14 years agoAdd forgotten `void' keyword. This function has no arguments.
Ed Schouten [Tue, 29 Dec 2009 09:13:20 +0000 (09:13 +0000)]
Add forgotten `void' keyword. This function has no arguments.

14 years agoAdd missing `void' keyword for function without arguments.
Ed Schouten [Tue, 29 Dec 2009 08:54:03 +0000 (08:54 +0000)]
Add missing `void' keyword for function without arguments.

14 years agoAdd missing `void' for functions without arguments.
Ed Schouten [Tue, 29 Dec 2009 08:49:43 +0000 (08:49 +0000)]
Add missing `void' for functions without arguments.

While there, rename die_you_gravy_sucking_pig_dog() to something that's
less moronic.

14 years agoAdd missing `void' for function without arguments.
Ed Schouten [Tue, 29 Dec 2009 08:45:50 +0000 (08:45 +0000)]
Add missing `void' for function without arguments.

14 years agoSLIP is gone; remove its mutex from witness.
Edward Tomasz Napierala [Tue, 29 Dec 2009 08:45:27 +0000 (08:45 +0000)]
SLIP is gone; remove its mutex from witness.

14 years agoAdd missing `void' for function without arguments.
Ed Schouten [Tue, 29 Dec 2009 08:45:07 +0000 (08:45 +0000)]
Add missing `void' for function without arguments.

14 years agoUse ANSI C function declarations.
Ed Schouten [Tue, 29 Dec 2009 08:43:32 +0000 (08:43 +0000)]
Use ANSI C function declarations.

14 years agoUse ANSI C function declarations.
Ed Schouten [Tue, 29 Dec 2009 08:42:58 +0000 (08:42 +0000)]
Use ANSI C function declarations.

14 years agoRationalize the support for cryptographic hashes.
Tim Kientzle [Tue, 29 Dec 2009 06:39:07 +0000 (06:39 +0000)]
Rationalize the support for cryptographic hashes.

14 years agoEssentially eliminate problems with false hardlinks in POSIX cpio
Tim Kientzle [Tue, 29 Dec 2009 06:34:23 +0000 (06:34 +0000)]
Essentially eliminate problems with false hardlinks in POSIX cpio
archives by generating synthetic ino values and mapping values
from disk into the new values.

14 years agoClear extraneous error messages.
Tim Kientzle [Tue, 29 Dec 2009 06:27:19 +0000 (06:27 +0000)]
Clear extraneous error messages.

14 years agoZip write support for libarchive.
Tim Kientzle [Tue, 29 Dec 2009 06:15:32 +0000 (06:15 +0000)]
Zip write support for libarchive.

The initial implementation was developed by Anselm Strauss as part of
Google Summer of Code 2008, then completed by Joerg Sonnenberger.

14 years agoIf we're linking against liblzma, allow the decompressor to use up to
Tim Kientzle [Tue, 29 Dec 2009 06:06:20 +0000 (06:06 +0000)]
If we're linking against liblzma, allow the decompressor to use up to
1<<30 bytes of memory, which is required for some streams.

Also, try to make the taster more discriminating about raw lzma streams.
The detection here is still really weak, though; please use xz instead
of lzma.

14 years agoar only needs to support ar format.
Tim Kientzle [Tue, 29 Dec 2009 05:58:40 +0000 (05:58 +0000)]
ar only needs to support ar format.

14 years agoMinor style fixes plus a fix for an obscure crash on certain malformed
Tim Kientzle [Tue, 29 Dec 2009 05:52:13 +0000 (05:52 +0000)]
Minor style fixes plus a fix for an obscure crash on certain malformed
mtree files.

14 years agoBe a little more skeptical of dev/ino matches when reading cpio files.
Tim Kientzle [Tue, 29 Dec 2009 05:50:34 +0000 (05:50 +0000)]
Be a little more skeptical of dev/ino matches when reading cpio files.
This eliminates some false-positives in the hardlink detection logic.

14 years agoStyle and portability fixes for pax writer. Mostly very routine, except for:
Tim Kientzle [Tue, 29 Dec 2009 05:47:46 +0000 (05:47 +0000)]
Style and portability fixes for pax writer.  Mostly very routine, except for:
 * Use ino64 where appropriate
 * Don't pass atime or nsec to ustar formatter

14 years agoStyle fixes to tar reader:
Tim Kientzle [Tue, 29 Dec 2009 05:44:39 +0000 (05:44 +0000)]
Style fixes to tar reader:
  For portability, prefer int64_t to off_t.
  Improve numeric overflow handling when parsing.
  Fix some variable types.
  Eliminate some unused results.

14 years agoVarious style fixes to the 'newc' cpio writer:
Tim Kientzle [Tue, 29 Dec 2009 05:41:57 +0000 (05:41 +0000)]
Various style fixes to the 'newc' cpio writer:
 * Warn about truncation of ino
 * Use a macro to hide the somewhat obscure pad-to-multiple-of-4 calculation
 * Eliminate some unused variables

14 years agoVarious fixes when creating objects on disk:
Tim Kientzle [Tue, 29 Dec 2009 05:35:40 +0000 (05:35 +0000)]
Various fixes when creating objects on disk:
 * Write xattrs last instead of first (required on platforms that use
   system xattrs for security attributes)
 * Better handling of chdir() failures
 * Don't bother trying to shorten files via seek()/write()
 * Fix build on systems that lack link()/symlink()/mknod()
 * Prefer futimens()/utimensat() when they're present

14 years agoCatch decompression failures earlier. In particular, this gives
Tim Kientzle [Tue, 29 Dec 2009 05:30:23 +0000 (05:30 +0000)]
Catch decompression failures earlier.  In particular, this gives
immediate feedback if we fail to fork an external decompression program.

14 years agoVarious style and portability fixes, including:
Tim Kientzle [Tue, 29 Dec 2009 05:28:28 +0000 (05:28 +0000)]
Various style and portability fixes, including:
 * Enforce option interface can only be used before the archive is opened
 * Correctly handle large skips on platforms with 32-bit off_t
 * Use int64_t instead of off_t

14 years ago64-bit ino support and discourage bad use of this header.
Tim Kientzle [Tue, 29 Dec 2009 05:20:12 +0000 (05:20 +0000)]
64-bit ino support and discourage bad use of this header.

14 years agoUse VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele().
Joseph Koshy [Tue, 29 Dec 2009 02:35:50 +0000 (02:35 +0000)]
Use VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele().

Reviewed by:  kib

14 years agowe really need htonl() here, see the comment a few lines above in the code.
Luigi Rizzo [Tue, 29 Dec 2009 00:02:57 +0000 (00:02 +0000)]
we really need htonl() here, see the comment a few lines above in the code.

14 years agoUse ANSI declarations instead of K&R.
Ed Schouten [Mon, 28 Dec 2009 23:12:55 +0000 (23:12 +0000)]
Use ANSI declarations instead of K&R.

14 years agoDon't forget to use `void' for sched_balance(). It has no arguments.
Ed Schouten [Mon, 28 Dec 2009 23:12:12 +0000 (23:12 +0000)]
Don't forget to use `void' for sched_balance(). It has no arguments.

14 years agoPerform cleanups to rpc.rusersd:
Ed Schouten [Mon, 28 Dec 2009 23:01:24 +0000 (23:01 +0000)]
Perform cleanups to rpc.rusersd:

- Perform whitespace fixes. Use tabs instead of 8 spaces.
- Make it build at WARNS=6.

14 years ago(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Antoine Brodin [Mon, 28 Dec 2009 22:56:30 +0000 (22:56 +0000)]
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month

14 years agoApply OpenSolaris revision 8012 which brings our zpool to version 14,
Xin LI [Mon, 28 Dec 2009 22:15:11 +0000 (22:15 +0000)]
Apply OpenSolaris revision 8012 which brings our zpool to version 14,
making it possible for zpools created on OpenSolaris 2009.06 be used
on FreeBSD.

PR: kern/141800
Submitted by: mm
Reviewed by: pjd, trasz
Obtained from: OpenSolaris
MFC after: 2 weeks

14 years agoThe net/if_slvar.h header is long gone.
Edward Tomasz Napierala [Mon, 28 Dec 2009 22:14:49 +0000 (22:14 +0000)]
The net/if_slvar.h header is long gone.

14 years agoMake the compiler happy after r201125:
Bjoern A. Zeeb [Mon, 28 Dec 2009 21:14:18 +0000 (21:14 +0000)]
Make the compiler happy after r201125:
- + remove two unnecessary initializations in ip_output;
+ + remove one unnecessary initializations in ip_output;

14 years agoMigrate finger(1) away from <utmp.h>.
Ed Schouten [Mon, 28 Dec 2009 20:54:34 +0000 (20:54 +0000)]
Migrate finger(1) away from <utmp.h>.

Unfortunately it also uses lastlog, which means we must resort to local
extensions of the utmpx-interface. Because the user name and TTY name
are now nul-terminated, there is no need to copy around strings as
often.

14 years agoAdd BIO_DELETE support to ada(4):
Alexander Motin [Mon, 28 Dec 2009 20:08:01 +0000 (20:08 +0000)]
Add BIO_DELETE support to ada(4):
- For SSDs use TRIM feature of DATA SET MANAGEMENT command, as defined by
ACS-2 specification working draft.
- For CompactFlash use CFA ERASE command, same as ad(4) does.

With this patch, `newfs -E /dev/ada1` was able to restore write speed of
my heavily weared OCZ Vertex SSD (firmware 1.4) up to the initial level
for the most part of it's capacity. Previous 1.3 firmware, even reportiong
TRIM capabilty bit set, was not working, reporting ABORT error for every
DSM command.

I have no idea whether it is normal, but for some reason it takes 200ms
to handle any TRIM command on this drive, that was making delete extremely
slow. But TRIM command is able to accept long list of LBAs and the length of
that list seems doesn't affect it's execution time. Implemented request
clusting algorithm allowed me to rise delete rate up to reasonable numbers,
when many parallel DELETE requests running.

14 years agoCorrect alignment and boundary constraints in blkfront's bus dma tag. The
Justin T. Gibbs [Mon, 28 Dec 2009 18:59:13 +0000 (18:59 +0000)]
Correct alignment and boundary constraints in blkfront's bus dma tag.  The
blkif interface in Xen requires all I/O to be 512 byte aligned with each
segment bounded by a 4k page.

Note: This submission only documents the proper contraints for blkif I/O.
      The alignment code in busdma does not yet handle alignment constraints
      correctly in all cases.

14 years agoGrammar fix.
Xin LI [Mon, 28 Dec 2009 18:51:26 +0000 (18:51 +0000)]
Grammar fix.

Submitted by: Kenyon Ralph <kenyon kenyonralph com>
MFC after: 1 week

14 years agoMake umount(8) WARNS=6 clean:
Xin LI [Mon, 28 Dec 2009 17:57:37 +0000 (17:57 +0000)]
Make umount(8) WARNS=6 clean:
 - Cast delimiter width to integer [1]
 - Solve name conflicts against system header
 - Constify parameters to avoid qualifier conflict

PR: bin/140017 [1]
Submitted by: Ulrich Spörlein <uqs spoerlein net> [1]
MFC after: 1 month
Sponsored by: iXsystems, Inc

14 years agoAdd a knob to allow reclaim of the directory vnodes that are source of
Konstantin Belousov [Mon, 28 Dec 2009 15:35:39 +0000 (15:35 +0000)]
Add a knob to allow reclaim of the directory vnodes that are source of
the namecache records. The reclamation is not enabled by default because
for typical workload it would make namecache unusable, but large nested
directory tree easily puts any process that accesses filesystem into 1
second wait for vlru.

Reported by: yar (long time ago)
MFC after: 3 days

14 years agointroduce a local variable rte acting as a cache of ro->ro_rt
Luigi Rizzo [Mon, 28 Dec 2009 14:48:32 +0000 (14:48 +0000)]
introduce a local variable rte acting as a cache of ro->ro_rt
within ip_output, achieving (in random order of importance):
- a reduction of the number of 'r's in the source code;
- improved legibility;
- a reduction of 64 bytes in the .text

14 years agoAccount for firmware versions which include the CDMA interrupts in
Marius Strobl [Mon, 28 Dec 2009 14:16:40 +0000 (14:16 +0000)]
Account for firmware versions which include the CDMA interrupts in
the OFW device tree.

MFC after: 3 days

14 years ago+ remove an unused #define print_ip;
Luigi Rizzo [Mon, 28 Dec 2009 14:09:46 +0000 (14:09 +0000)]
+ remove an unused #define print_ip;
+ remove two unnecessary initializations in ip_output;
+ localize 'len';
+ introduce a temporary variable n to count the number of fragments,
  the compiler seems unable to identify a common subexpression
  (written 3 times, used twice);
+ document some assumptions on ip_len and ip_hl

14 years agobring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects
Luigi Rizzo [Mon, 28 Dec 2009 12:29:13 +0000 (12:29 +0000)]
bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects
to find it there. Unfortunately this reintroduces the dependency
on ip_fw_pfil.c

14 years agothis file is also affected by the ipfw changes
Luigi Rizzo [Mon, 28 Dec 2009 10:48:01 +0000 (10:48 +0000)]
this file is also affected by the ipfw changes

14 years agobring in several cleanups tested in ipfw3-head branch, namely:
Luigi Rizzo [Mon, 28 Dec 2009 10:47:04 +0000 (10:47 +0000)]
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

14 years agoreadability fixes -- add braces on large blocks, remove unnecessary
Luigi Rizzo [Mon, 28 Dec 2009 10:19:53 +0000 (10:19 +0000)]
readability fixes -- add braces on large blocks, remove unnecessary
initializations

14 years agoexplain details of operation of table lookups, and improve portability
Luigi Rizzo [Mon, 28 Dec 2009 10:12:35 +0000 (10:12 +0000)]
explain details of operation of table lookups, and improve portability

14 years agoBump manual page dates.
Edward Tomasz Napierala [Mon, 28 Dec 2009 09:41:13 +0000 (09:41 +0000)]
Bump manual page dates.

14 years agoDon't refer to pppd(8).
Edward Tomasz Napierala [Mon, 28 Dec 2009 09:37:33 +0000 (09:37 +0000)]
Don't refer to pppd(8).

14 years agoChange u3g(4) and ucom(4) to not refer to pppd(8), which is gone.
Edward Tomasz Napierala [Mon, 28 Dec 2009 09:32:45 +0000 (09:32 +0000)]
Change u3g(4) and ucom(4) to not refer to pppd(8), which is gone.

14 years agoLine discipline support is gone; update tty(4) manual page to reflect this.
Edward Tomasz Napierala [Mon, 28 Dec 2009 09:28:22 +0000 (09:28 +0000)]
Line discipline support is gone; update tty(4) manual page to reflect this.

Reviewed by: ed

14 years agoAdd references to termios-related stuff.
Edward Tomasz Napierala [Mon, 28 Dec 2009 09:26:46 +0000 (09:26 +0000)]
Add references to termios-related stuff.

14 years agoPortability.
Tim Kientzle [Mon, 28 Dec 2009 06:59:35 +0000 (06:59 +0000)]
Portability.

14 years agoRemove some dead assignments, fix some declarations.
Tim Kientzle [Mon, 28 Dec 2009 03:33:05 +0000 (03:33 +0000)]
Remove some dead assignments, fix some declarations.

14 years agoClarify an example so Linux folks won't keep getting confused by this point.
Tim Kientzle [Mon, 28 Dec 2009 03:31:29 +0000 (03:31 +0000)]
Clarify an example so Linux folks won't keep getting confused by this point.

14 years agoCompatibility with old systems with non-POSIX getpwuid_r/getgrgid_r.
Tim Kientzle [Mon, 28 Dec 2009 03:30:31 +0000 (03:30 +0000)]
Compatibility with old systems with non-POSIX getpwuid_r/getgrgid_r.

14 years agoFix some unused variables and dead assignments.
Tim Kientzle [Mon, 28 Dec 2009 03:28:21 +0000 (03:28 +0000)]
Fix some unused variables and dead assignments.

14 years agoRemove an unused variable and an unreachable statement.
Tim Kientzle [Mon, 28 Dec 2009 03:25:33 +0000 (03:25 +0000)]
Remove an unused variable and an unreachable statement.

14 years agoFix line endings.
Tim Kientzle [Mon, 28 Dec 2009 03:24:56 +0000 (03:24 +0000)]
Fix line endings.

14 years agoDiscourage external use of this header.
Tim Kientzle [Mon, 28 Dec 2009 03:20:54 +0000 (03:20 +0000)]
Discourage external use of this header.

14 years agoRemove unused variable.
Tim Kientzle [Mon, 28 Dec 2009 03:14:30 +0000 (03:14 +0000)]
Remove unused variable.

14 years agoO_BINARY for Windows.
Tim Kientzle [Mon, 28 Dec 2009 03:13:49 +0000 (03:13 +0000)]
O_BINARY for Windows.

14 years agoHandle Zip CRC validation for uncompressed Zip archives even on
Tim Kientzle [Mon, 28 Dec 2009 03:11:36 +0000 (03:11 +0000)]
Handle Zip CRC validation for uncompressed Zip archives even on
platforms that lack zlib.

14 years agoInclude limits.h; remove unused variable.
Tim Kientzle [Mon, 28 Dec 2009 03:06:27 +0000 (03:06 +0000)]
Include limits.h; remove unused variable.

14 years agoUse ino64 interface.
Tim Kientzle [Mon, 28 Dec 2009 03:05:31 +0000 (03:05 +0000)]
Use ino64 interface.

14 years agoUse new ino64 interface.
Tim Kientzle [Mon, 28 Dec 2009 03:03:00 +0000 (03:03 +0000)]
Use new ino64 interface.

14 years agoNew archive_file_count() utility.
Tim Kientzle [Mon, 28 Dec 2009 02:58:14 +0000 (02:58 +0000)]
New archive_file_count() utility.

14 years agoPortability fixes.
Tim Kientzle [Mon, 28 Dec 2009 02:45:56 +0000 (02:45 +0000)]
Portability fixes.

14 years agoVarious portability fixes, plus:
Tim Kientzle [Mon, 28 Dec 2009 02:41:27 +0000 (02:41 +0000)]
Various portability fixes, plus:
 * New "ino64" field.
 * New UTF8 interfaces for hardlink/symlink updates

14 years agoRemove an unused variable and an unnecessary increment.
Tim Kientzle [Mon, 28 Dec 2009 02:33:22 +0000 (02:33 +0000)]
Remove an unused variable and an unnecessary increment.

14 years agoEliminate an unused assignment.
Tim Kientzle [Mon, 28 Dec 2009 02:29:21 +0000 (02:29 +0000)]
Eliminate an unused assignment.

14 years agoPortability: Set the file descriptor to binary mode on Win32
Tim Kientzle [Mon, 28 Dec 2009 02:28:44 +0000 (02:28 +0000)]
Portability:  Set the file descriptor to binary mode on Win32

14 years agoDiscourage outside use of this internal header.
Tim Kientzle [Mon, 28 Dec 2009 02:26:06 +0000 (02:26 +0000)]
Discourage outside use of this internal header.

14 years agoRemove dead assignment.
Tim Kientzle [Mon, 28 Dec 2009 02:22:41 +0000 (02:22 +0000)]
Remove dead assignment.

14 years agoPortability:
Tim Kientzle [Mon, 28 Dec 2009 02:22:04 +0000 (02:22 +0000)]
Portability:
 * some non-FreeBSD platforms do actually define __FBSDID() in sys/cdefs.h
 * Borland C <sigh>

14 years agoPortability: terminate abnormally via abort() instead of segfault,
Tim Kientzle [Mon, 28 Dec 2009 02:20:23 +0000 (02:20 +0000)]
Portability: terminate abnormally via abort() instead of segfault,
watch the return value from write(), and avoid signed arithmetic on
unsigned values.

14 years agoAllow more formats to be active at a time; discourage outside use.
Tim Kientzle [Mon, 28 Dec 2009 02:18:55 +0000 (02:18 +0000)]
Allow more formats to be active at a time; discourage outside use.

14 years agoEnforce this as an internal-only header.
Tim Kientzle [Mon, 28 Dec 2009 02:18:26 +0000 (02:18 +0000)]
Enforce this as an internal-only header.

14 years agoDiscourage people from using this header outside of libarchive.
Tim Kientzle [Mon, 28 Dec 2009 02:17:53 +0000 (02:17 +0000)]
Discourage people from using this header outside of libarchive.

14 years agoCompatibility: I found some more compilers that don't like 'inline' keyword.
Tim Kientzle [Mon, 28 Dec 2009 02:17:15 +0000 (02:17 +0000)]
Compatibility:  I found some more compilers that don't like 'inline' keyword.
Protection:  Discourage people from using this header outside libarchive.

14 years agoSync with googlecode some changes that have no impact on FreeBSD.
Tim Kientzle [Mon, 28 Dec 2009 02:14:09 +0000 (02:14 +0000)]
Sync with googlecode some changes that have no impact on FreeBSD.

14 years agoCompatibility fix for some older systems with non-POSIX getgrnam_r/getpwnam_r
Tim Kientzle [Mon, 28 Dec 2009 02:09:57 +0000 (02:09 +0000)]
Compatibility fix for some older systems with non-POSIX getgrnam_r/getpwnam_r
and a minor style fix for the hash function.

14 years agoCatch certain gzip failures at close time.
Tim Kientzle [Mon, 28 Dec 2009 02:05:28 +0000 (02:05 +0000)]
Catch certain gzip failures at close time.

14 years agoRemove a dead assignment.
Tim Kientzle [Mon, 28 Dec 2009 02:04:42 +0000 (02:04 +0000)]
Remove a dead assignment.

14 years agoRemove some unused variables and dead assignments.
Tim Kientzle [Mon, 28 Dec 2009 02:03:54 +0000 (02:03 +0000)]
Remove some unused variables and dead assignments.

14 years agoUpdate the hard-coded configuration for libarchive.
Tim Kientzle [Mon, 28 Dec 2009 02:01:42 +0000 (02:01 +0000)]
Update the hard-coded configuration for libarchive.

14 years agoUpdate format manpages for libarchive.
Tim Kientzle [Mon, 28 Dec 2009 01:50:23 +0000 (01:50 +0000)]
Update format manpages for libarchive.

14 years agomake the memory filesystem larger, and add an example
Luigi Rizzo [Mon, 28 Dec 2009 01:25:05 +0000 (01:25 +0000)]
make the memory filesystem larger, and add an example
on how to import files from the host

14 years agoclear leftover from previous computations
Luigi Rizzo [Mon, 28 Dec 2009 01:02:45 +0000 (01:02 +0000)]
clear leftover from previous computations

14 years agomore support to import files and libraries from the host.
Luigi Rizzo [Mon, 28 Dec 2009 00:51:00 +0000 (00:51 +0000)]
more support to import files and libraries from the host.

14 years agoCompact USB_VENDOR_X and USB_PRODUCT_Y in the quirk tables.
Andrew Thompson [Mon, 28 Dec 2009 00:42:42 +0000 (00:42 +0000)]
Compact USB_VENDOR_X and USB_PRODUCT_Y in the quirk tables.

14 years agoUpdate the "-l or -r" usage to better conform to the standard
Doug Barton [Sun, 27 Dec 2009 23:15:23 +0000 (23:15 +0000)]
Update the "-l or -r" usage to better conform to the standard

Submitted by: ed

14 years agoUpdate the "-l or -r" usage to better conform to the standard
Doug Barton [Sun, 27 Dec 2009 23:13:18 +0000 (23:13 +0000)]
Update the "-l or -r" usage to better conform to the standard

Submitted by: ed

14 years agoParse DEAD_PROCESS entries properly.
Ed Schouten [Sun, 27 Dec 2009 22:26:29 +0000 (22:26 +0000)]
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.

14 years agoadd a 'qemu' floppy type, useful for running tests on new kernels
Luigi Rizzo [Sun, 27 Dec 2009 21:58:48 +0000 (21:58 +0000)]
add a 'qemu' floppy type, useful for running tests on new kernels

14 years agodhclient needs to have /var/empty and a _dhcp user
Luigi Rizzo [Sun, 27 Dec 2009 21:17:31 +0000 (21:17 +0000)]
dhclient needs to have /var/empty and a _dhcp user
(it also needs /sbin/dhclient-script, will handle that later)

14 years agoLet rwhod use libulog.
Ed Schouten [Sun, 27 Dec 2009 21:14:55 +0000 (21:14 +0000)]
Let rwhod use libulog.

I am not planning on providing a mechanism tot stat() the database files
directly. The disadvantage of this, is that rwhod will now be a little
bit more heavy than it used to be. It normally used to fstat() the file
descriptor to see whether the file had changed, but this is now
impossible to implement, meaning we have to parse the entire utmp file
each 180 seconds.

This is probably not an issue on modern 16-way servers, but if it turns
out to be a problem, we'll think of something.

14 years agofix a typo (not that it matters)
Luigi Rizzo [Sun, 27 Dec 2009 21:13:53 +0000 (21:13 +0000)]
fix a typo (not that it matters)

14 years agosh: Change varinit to use const better.
Jilles Tjoelker [Sun, 27 Dec 2009 18:32:44 +0000 (18:32 +0000)]
sh: Change varinit to use const better.