Yoshihiro Takahashi
dfa8d62567
The sr(4) driver is removed.
2009-04-17 15:54:41 +00:00
Yoshihiro Takahashi
57874b20f5
The ar(4), ray(4) and sr(4) drivers are removed.
2009-04-17 15:49:37 +00:00
David Schultz
1068c8150a
Revert r190943, since the problem in ports seems to be fixed now.
...
It's amazing how a well-placed eyesore generates more motivation in a
day than email generates in three weeks.
2009-04-17 14:19:18 +00:00
John Baldwin
842f11bef6
Restore bus DMA bounce pages to an offset of 0 when they are released by
...
a tag that has BUS_DMA_KEEP_PG_OFFSET set. Otherwise the page could be
reused with a non-zero offset by a tag that doesn't have
BUS_DMA_KEEP_PG_OFFSET leading to data corruption.
Sleuthing by: avg
Reviewed by: scottl
2009-04-17 13:22:18 +00:00
Ollivier Robert
e932b25b93
Add an entry for the French macbook keyboard layout.
2009-04-17 11:30:32 +00:00
Robert Watson
7eb04522ef
Remove kue_fw.h, missed in previous IFF_NEEDSGIANT USB driver garbage
...
collection.
2009-04-17 09:48:20 +00:00
Robert Watson
855628aba6
Remove legacy versions of USB network interface drivers relying on
...
IFF_NEEDSGIANT, as that is no longer supported.
2009-04-17 09:42:26 +00:00
Kevin Lo
5d8c02c23f
Change Taiwan, Province of China to Taiwan, Republic of China
2009-04-17 08:01:18 +00:00
Tim Kientzle
400970912f
Disabling the crypto bits should quiet tinderbox while I
...
track down the library dependencies that are screwing up the /rescue build.
2009-04-17 07:28:49 +00:00
Tim Kientzle
d46c56dcba
Merge from libarchive.googlecode.com:
...
* Lots of new tests.
* New -n / --numeric-uid-gid option
* More sanity-checking of arguments
* Various Windows portability improvements
* Sync up version number to 2.7.0
2009-04-17 04:04:57 +00:00
Tim Kientzle
5191e7b552
Merge remaining changes from libarchive.googlecode.com:
...
* Add xz and lzma compression options
* Rename --format-options to simply --options
* Add --same-owner for GNU tar compat
* Add -lmd and -lcrypto to fix link
* Documentation
2009-04-17 03:45:15 +00:00
Tim Kientzle
4e350e9d6b
Set options before opening the archive.
...
Catch and report close-time errors.
2009-04-17 03:40:40 +00:00
Tim Kientzle
6ffa10bc90
Minor portability improvement in calls to ctype.h macros.
2009-04-17 03:37:09 +00:00
Tim Kientzle
c7e120041d
Merge from libarchive.googlecode.com: Numerous Windows-specific build tweaks.
2009-04-17 03:36:07 +00:00
Tim Kientzle
59fd3980b7
Publicize a handful of new functions and bump the version number
...
to indicate that this is synchronized with the recent libarchive 2.7.0
release.
2009-04-17 01:07:37 +00:00
Tim Kientzle
24a4c12895
Merge lots of test suite updates from libarchive.googlecode.com.
2009-04-17 01:06:31 +00:00
Tim Kientzle
7523935ae4
FreeBSD has a lot of crypto functions used by the recent mtree writer updates.
2009-04-17 01:04:23 +00:00
Tim Kientzle
50cc11da04
Ensure that the option setters return OK (option used) even
...
for options that don't change the list of keywords.
2009-04-17 01:03:52 +00:00
Tim Kientzle
c190973e9d
Fix a memory leak: Release the current list of /set keywords
...
even when we exit on an error.
2009-04-17 01:02:56 +00:00
Tim Kientzle
7ea8a85dbc
Document the new read options interface and the new read_header2() call.
2009-04-17 01:02:12 +00:00
Tim Kientzle
a5e75fbb6c
Dynamically size the buffer we pass to getgrgid_r() and getpwuid_r().
...
Keep the buffer in the cache object so we don't have to keep doing this.
2009-04-17 01:01:15 +00:00
Tim Kientzle
82ea3751d6
Don't match an empty file on a read error.
2009-04-17 01:00:11 +00:00
Tim Kientzle
b6a1f92f24
When pulling metadata from disk, lookup the user and group name at the same time.
2009-04-17 00:59:34 +00:00
Tim Kientzle
bfe2732de8
LZW bugfix: when we hit end-of-file, return an invalid code.
2009-04-17 00:58:44 +00:00
Tim Kientzle
bf89aeae5e
Minor fix: some platforms require both inttypes.h and stdint.h.
2009-04-17 00:57:11 +00:00
Tim Kientzle
06f39cd345
Implement command-line fallbacks for gzip and bzip2 decompression as well.
...
Not an issue for FreeBSD, since the base system has the necessary libraries.
Since all decompressors are always available now, we can unconditionally
enable them in archive_read_support_compression_all().
2009-04-17 00:55:52 +00:00
Tim Kientzle
c9f05bc8a1
Merge new xz/lzma support from libarchive.googlecode.com.
...
Since FreeBSD doesn't have liblzma in the base system, the
read side will always fall back to the unxz/unlzma commands for now.
(Which will in turn fail if those commands are not currently
installed.) The write side does not yet have a fallback, so
that will just fail.
2009-04-17 00:54:35 +00:00
Tim Kientzle
a9ba4adfa5
Don't use the open callback, which is deprecated (because it's
...
never necessary). Also, simplify just a tad by delegating
to read_open_fd() when we know the file descriptor, instead
of duplicating that logic.
2009-04-17 00:50:00 +00:00
Tim Kientzle
1787611dd1
Accept empty options, add a new read_next_header2() which is more
...
efficient for some uses.
2009-04-17 00:47:16 +00:00
Tim Kientzle
9a81c0ba38
Properly clone and free the recently-added "sourcepath" field.
2009-04-17 00:45:47 +00:00
Tim Kientzle
5f8af33b11
Use thread-safe getgrnam_r() and getpwnam_r(); dynamically size
...
the buffer used by this.
2009-04-17 00:44:47 +00:00
Tim Kientzle
946733c26e
Fix a minor memory leak.
2009-04-17 00:44:03 +00:00
Tim Kientzle
8952729381
Merge from libarchive.googlecode.com: Numerous fixes to the
...
write options handling, including documentation.
2009-04-17 00:42:45 +00:00
Tim Kientzle
625683944d
Merge from libarchive.googlecode.com: If we're
...
given an empty filename, just invoke write_open_fd()
instead of re-implementing the code to use stdout.
2009-04-17 00:39:35 +00:00
Maksim Yevmenkin
018cd707c0
Prevent atkbd(4) interrupt handler from calling keyboard callback function
...
when polled mode is enabled. This should help with duplicated/missing
characters problem at mountroot, geli, etc. prompts on multi CPU systems
while kbdmux(4) is enabled.
Tested by: Tobias Grosser <grosser -at- fim -dot- uni-passau -dot- de>
Tested by: Fabian Keil <freebsd-listen -at- fabiankeil -dot- de>
MFC after: 3 days
2009-04-17 00:30:56 +00:00
Andrew Thompson
a0c4317cc2
Only call ieee80211_start_all() if its a 80211 device.
...
Submitted by: Paul B. Mahol
2009-04-16 23:42:00 +00:00
Kip Macy
db90f94b85
call base if_qflush routine to flush if_snd
2009-04-16 23:08:02 +00:00
Kip Macy
7cc5b47fb3
export if_qflush for use by driver if_qflush routines
...
only set ifp->if_{transmit, qflush} if not already set
KASSERT that neither or both are set
2009-04-16 23:05:10 +00:00
Kip Macy
ab25fa3558
s/void/void */
2009-04-16 23:02:56 +00:00
Kip Macy
adfc35ff8b
add comment to llentry_update
...
Requested by: sam
2009-04-16 22:55:59 +00:00
Kip Macy
114f15c686
restore spare pointers for MFCing
2009-04-16 22:47:43 +00:00
Kip Macy
c8da95ace9
add utility routine for updating an struct llentry *
2009-04-16 22:04:07 +00:00
Kip Macy
279aa3d419
Change if_output to take a struct route as its fourth argument in order
...
to allow passing a cached struct llentry * down to L2
Reviewed by: rwatson
2009-04-16 20:30:28 +00:00
Robert Watson
fe69399069
Merge new kernel files from OpenBSM 1.1: audit_fcntl.h and
...
audit_bsm_fcntl.c contain utility routines to map local fcntl
commands into BSM constants. Adaptation to the FreeBSD kernel
environment will follow in a future commit.
Sponsored by: Apple, Inc.
Obtained from: TrustedBSD Project
MFC after: 2 weeks
2009-04-16 20:17:32 +00:00
Maxim Konovalov
830ceff933
o Reflect ar(4), ray(4), sr(4), raycontrol(8) removal.
2009-04-16 17:42:25 +00:00
Rick Macklem
201e7488b6
Added a field to the SVCXPRT structure that the nfsv4 server can
...
use to identify if the socket is the same one that a cached request
came in on. It is set by nfsrvd_addsock() to a unique value generated
by incrementing an unsigned 64bit static variable for each assignment
and then the value of xp_sockref is tested to see if it is equal to
the value that was saved with the cached reply.
Submitted by: rmacklem
Reviewed by: dfr
Approved by: kib (mentor)
2009-04-16 16:26:35 +00:00
Robert Watson
4081b7da51
Garbage collect raycontrol(8), as ray(4) has been removed.
...
Pointed out by: pluknet at gmail.com
2009-04-16 14:43:59 +00:00
Robert Watson
2f106d5e08
Remove D_NEEDGIANT from audit pipes. I'm actually not sure why this was
...
here, but isn't needed.
MFC after: 2 weeks
Sponsored by: Apple, Inc.
2009-04-16 11:57:16 +00:00
Rafal Jaworowski
5817716faf
mge(4): fix two bugs, which were leading to crash/hang under very heavy
...
network load.
1. Leave the RX interrupt routine if there is no mbuf available.
2. Properly initialize and track tx_desc_used_count counter so as not to
leak mbuf while traversing used descriptors.
Obtained from: Semihalf
2009-04-16 11:38:06 +00:00
Rafal Jaworowski
a669cbb228
Minor style fixes and better comments.
2009-04-16 11:21:52 +00:00