Maksim Yevmenkin
48d48c633e
Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols
...
into FBSD_1.1 section where they should be.
Pointed out by: kib, deischen
MFC after: 3 days
2008-09-19 15:52:56 +00:00
Joseph Koshy
624f6965da
Keep symbols in sorted order.
2008-09-19 13:21:23 +00:00
Joseph Koshy
0f3866fa5f
Improve grammar.
2008-09-18 10:20:35 +00:00
Joseph Koshy
80f30b733b
Document new PMC classes, capabilities and CPU kinds.
...
Improve typography.
2008-09-18 10:16:54 +00:00
Tim Kientzle
c42f5c226a
MfP4: Generalize int64_t in the public headers to support compilers
...
which have a 64-bit integer type but don't provide standard C99 definitions.
2008-09-18 04:19:06 +00:00
Tim Kientzle
a370f3ca73
Trying to distinguish different "versions" of mtree files was a silly idea.
...
Submitted by: Joerg Sonnenberger
2008-09-18 04:13:36 +00:00
Joseph Koshy
48ddc62541
Whitespace fixes.
2008-09-17 04:13:14 +00:00
Joseph Koshy
0b9b757d45
Add event name aliases for Pentium PMCs.
2008-09-17 03:53:37 +00:00
Joseph Koshy
24f2c3f394
Replace PMC-dependent content with references to
...
the appropriate manual pages.
2008-09-16 16:58:24 +00:00
Joseph Koshy
d41debca93
Build and install PMC-dependent manual pages.
2008-09-16 16:57:14 +00:00
Joseph Koshy
7c8e922826
Fix a typo.
2008-09-16 16:53:25 +00:00
Joseph Koshy
2186848edd
Move PMC documentation to separate manual pages, one per PMC class.
2008-09-16 16:34:55 +00:00
Joseph Koshy
020247a4d2
Move TSC specific PMC information to its own manual page.
2008-09-16 16:29:41 +00:00
Joseph Koshy
6aa5a19391
Correct an event name alias: event "k7-dc-misses" does not support
...
a unitmask.
2008-09-16 14:13:03 +00:00
Maksim Yevmenkin
edc7005bc3
Add uuid_enc,dec_le,be() functions to Symbol.map
...
Pointy hat goes to me.
MFC after: 3 days
2008-09-15 23:54:55 +00:00
Doug Rabson
3d3ec67618
Fix async mode (required for ypbind in manycast mode).
2008-09-15 14:02:49 +00:00
Marcel Moolenaar
03fad2ad5f
Allow psaddr_t to be widened by using thr_pread_{int,long,ptr},
...
where critical. Some places still use ps_pread/ps_pwrite directly,
but only need changed when byte-order comes into the picture.
Also, change th_p in td_event_msg_t from a pointer type to
psaddr_t, so that events also work when psaddr_t is widened.
2008-09-14 16:07:21 +00:00
Tim Kientzle
29a23c776a
Choose a flag-handling strategy based on platform capabilities
...
rather than on platform.
2008-09-14 05:51:25 +00:00
Tim Kientzle
1074aa240c
Portability: Don't use symbolic constants when the values are more
...
standard than the names are. Remove some trailing whitespace.
2008-09-12 05:33:00 +00:00
Tim Kientzle
a2854491c4
Portability: Not everyone is lucky enough to have ftruncate()
2008-09-12 04:08:11 +00:00
Tim Kientzle
220265229d
Portability: Support platforms that lack (struct stat).st_blksize or SSIZE_MAX
...
Of course, FreeBSD has both.
2008-09-12 04:03:34 +00:00
Tim Kientzle
6d35d9a6e9
Windows compatibility: The stub replacement for compression_program
...
(which always returns an error when invoked) needs its prototype.
2008-09-12 03:53:54 +00:00
Jason Evans
bf5b19279d
Use PAGE_{SIZE,MASK,SHIFT} from machine/param.h rather than hard-coding
...
page size and using sysconf(3).
Suggested by: marcel
2008-09-10 14:27:34 +00:00
Jason Evans
5b3842aefa
Move call to _malloc_thread_cleanup() so that if this is the last thread,
...
the call never happens. This is necessary because malloc may be used
during exit handler processing.
Submitted by: davidxu
2008-09-09 17:14:32 +00:00
Doug Rabson
4efa8f3e07
Initialise the SVCAUTH field for new transport structures when they are
...
allocated instead of waiting for the first request. This fixes an issue with
rpcbind's support for PMAPPROC_CALLIT.
Reviewed by: markm
2008-09-09 14:15:55 +00:00
Andrey A. Chernov
4220467ec2
Return two fixes from previous backout which does not require
...
review by secteam@ for the reasons mentioned below.
1) Rename /dev/urandom to /dev/random since urandom marked as
XXX Deprecated
alias in /sys/dev/random/randomdev.c
(this is our naming convention and no review by secteam@ required)
2) Set rs_stired flag after forced initialization to prevent
double stearing.
(this is already in OpenBSD, i.e. they don't have double stearing.
It means that this change matches their code path and no additional
secteam@ review required)
Submitted by: Thorsten Glaser <tg@mirbsd.de> (2)
2008-09-09 09:46:36 +00:00
Ulf Lilleengen
31dff47f01
- Update the libgeom manpage with a description of g_device_path and
...
g_providername utility functions.
Approved by: kib (mentor)
2008-09-08 06:27:00 +00:00
Tim Kientzle
a2a72fd640
Fix a type-aliasing problem in the libarchive test suite,
...
restore WARNS=6.
2008-09-08 00:58:12 +00:00
Tim Kientzle
fb7ec956eb
Correct a leaking archive_entry in the test suite.
2008-09-07 23:59:27 +00:00
Ulf Lilleengen
f805f204b6
- Add a new ioctl for getting the provider name of a geom provider.
...
- Add a routine for looking up a device and checking if it is a valid geom
provider given a partial or full path to its device node.
Reviewed by: phk
Approved by: pjd (mentor)
2008-09-07 13:54:57 +00:00
Tim Kientzle
7480311f87
Correct the comments here.
...
PR: bin/126849
MFC after: 3 days
2008-09-07 06:15:45 +00:00
Tim Kientzle
11663004bd
When restoring a directory, allow symlinks to be followed. The full
...
logic here gets a little complex, but the net effect is that the
SECURE_SYMLINKS flag will prevent us from ever following a symlink.
Without it, we'll only follow symlinks to dirs. bsdtar specifies
SECURE_SYMLINKS by default, suppresses it for -P.
I've also beefed up the write_disk_secure test to verify this
behavior.
PR: bin/126849
2008-09-07 05:22:33 +00:00
Marcel Moolenaar
93bf4a8436
Unbreak ia64: pges are 8KB.
2008-09-06 05:26:31 +00:00
Giorgos Keramidas
0efdfdee5f
Add two example regexps: (1) one for matching all the characters
...
that belong in a character class, and (2) one for matching all
the characters *not* in a character class.
Submitted by: Mark B, mkbucc at gmail.com
MFC after: 3 days
2008-09-05 17:41:20 +00:00
Tim Kientzle
11b4b8458c
The link resolver now unsets the size to mark a hardlink
...
with no body instead of setting it to zero.
2008-09-05 06:15:25 +00:00
Tim Kientzle
a0bfb8ae3e
MfP4: Handle entries with unset size properly: Regular files with
...
unspecified size are "unlimited" (required by Zip reader, which
sometimes does not know the uncompressed size of an entry until it
gets to the end). Also, hardlinks with unspecified (or zero) size do
not overwrite the data on disk nor do they set metadata. This is
compatible with GNU tar and NetBSD pax behavior.
2008-09-05 06:13:11 +00:00
Tim Kientzle
e20d272f0a
MfP4: Use the set/unset tracking to determine when mtime or atime
...
is unavailable. Use start_time as a substitute when one is missing;
if both are missing, skip the call to {f,l,}utime{s,}() entirely.
2008-09-05 05:55:49 +00:00
Doug Rabson
5f7399dc43
Fix an off-by-one error in the replay detection logic.
2008-09-04 14:54:22 +00:00
Rafal Jaworowski
65ba5555c6
Eliminate __alpha__ leftover from libstand.
2008-09-04 10:05:44 +00:00
Tim Kientzle
1b42ff4cd6
Markup fix.
...
MFC after: 3 days
2008-09-04 05:22:00 +00:00
Doug Barton
35a876a0ed
Update for version 9.4.2-P2
2008-09-01 22:55:23 +00:00
Tim Kientzle
0c35edadaa
Style: Use ARCHIVE_VERSION_NUMBER to conditionalize tests on
...
the particular libarchive version being tested instead of the
deprecated ARCHIVE_API_VERSION and ARCHIVE_VERSION_STAMP macros.
2008-09-01 05:38:33 +00:00
Tim Kientzle
32364a7ddb
MfP4: set/unset tracking for atime, ctime, mtime, and size fields.
...
This generalizes the existing set/unset tracking for hardlink/symlink
fields and extends it to cover non-string fields. Eventually, this
will be further extended to cover most fields.
In particular, this is needed to correctly detect when time fields
are missing (for example, reading ustar archives doesn't set atime or
ctime) for proper time restore and is helpful when trying to determine
whether to overwrite data when restoring hardlinks.
This commit updates the tests but not the docs.
2008-09-01 04:54:29 +00:00
Tim Kientzle
c7715560f1
Sort the list of format names.
2008-09-01 02:50:53 +00:00
Tim Kientzle
e32c65cb17
Use the "start_time" (time at which the restore process began)
...
to fill in a missing atime instead of substituting mtime.
PR: bin/124915
2008-09-01 02:50:24 +00:00
Tim Kientzle
9ea6421090
New mtree writer, thanks to Joerg Sonnenberger.
...
Obtained from: Joerg Sonnenberger
2008-08-31 07:21:46 +00:00
Tim Kientzle
7584fa8aa4
Joerg Sonnenberger's improvements to the shar writer.
...
Significant performance improvements, better quoting of file names, etc.
2008-08-31 07:10:40 +00:00
Tim Kientzle
5dc843b27b
Make libarchive_test a little smarter about trying to find
...
its reference files when you don't specify -r. It now checks
a couple of likely nearby directories to see if any of them
have a particular known file.
2008-08-31 07:06:02 +00:00
Tim Kientzle
cec048ddf0
When atime wasn't specified, it should get set == mtime.
...
This is much stronger than just asserting that it's not zero.
2008-08-30 05:31:23 +00:00
David E. O'Brien
3337af98b4
Add the needed libpthread_md.c for MIPS.
...
Obtained from: Juniper Networks
2008-08-28 15:41:12 +00:00