]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
11 years agoRemove extra word:
eadler [Tue, 23 Oct 2012 15:03:25 +0000 (15:03 +0000)]
Remove extra word:

Submitted by: many
Approved by: cperciva (implicit)
MFC after: 3 days

11 years agoStart a clean-room implementation of files.mips. This is sufficient
imp [Tue, 23 Oct 2012 14:58:24 +0000 (14:58 +0000)]
Start a clean-room implementation of files.mips.  This is sufficient
for SWARM64 and SWARM64_SMP to compile.  Other kernels will be layered
in.

11 years agoUpdate zero_copy(9) man page to note the renamed kernel options
andre [Tue, 23 Oct 2012 14:25:37 +0000 (14:25 +0000)]
Update zero_copy(9) man page to note the renamed kernel options
and to warn about unsafeness of COW based sends.

11 years agoReplace the ill-named ZERO_COPY_SOCKET kernel option with two
andre [Tue, 23 Oct 2012 14:19:44 +0000 (14:19 +0000)]
Replace the ill-named ZERO_COPY_SOCKET kernel option with two
more appropriate named kernel options for the very distinct
send and receive path.

"options SOCKET_SEND_COW" enables VM page copy-on-write based
sending of data on an outbound socket.

NB: The COW based send mechanism is not safe and may result
in kernel crashes.

"options SOCKET_RECV_PFLIP" enables VM kernel/userspace page
flipping for special disposable pages attached as external
storage to mbufs.

Only the naming of the kernel options is changed and their
corresponding #ifdef sections are adjusted.  No functionality
is added or removed.

Discussed with: alc (mechanism and limitations of send side COW)

11 years agoAdd the VFS_UNLOCK_GIANT.9.gz hardlink to ObsoleteFiles list too.
kib [Tue, 23 Oct 2012 12:03:32 +0000 (12:03 +0000)]
Add the VFS_UNLOCK_GIANT.9.gz hardlink to ObsoleteFiles list too.

Noted by: pluknet

11 years ago Use ip_stripoptions() instead of handrolled version.
glebius [Tue, 23 Oct 2012 10:30:09 +0000 (10:30 +0000)]
  Use ip_stripoptions() instead of handrolled version.

11 years ago Simplify ip_stripoptions() reducing number of intermediate
glebius [Tue, 23 Oct 2012 10:29:31 +0000 (10:29 +0000)]
  Simplify ip_stripoptions() reducing number of intermediate
variables.

11 years ago Do not reduce ip_len by size of IP header in the ip_input()
glebius [Tue, 23 Oct 2012 08:33:13 +0000 (08:33 +0000)]
  Do not reduce ip_len by size of IP header in the ip_input()
before passing a packet to protocol input routines.
  For several protocols this mean that now protocol needs to
do subtraction itself, and for another half this means that
we do not need to add header length back to the packet.

  Make ip_stripoptions() to adjust ip_len, since now we enter
this function with a packet header whose ip_len does represent
length of entire packet, not payload only.

11 years ago- Fix one more miss from r241913.
glebius [Tue, 23 Oct 2012 08:22:01 +0000 (08:22 +0000)]
- Fix one more miss from r241913.
- Add XXX comment about necessity of the entire block,
  that "fixes up" the IP header.

11 years agoRemove compat options.
rpaulo [Tue, 23 Oct 2012 02:20:11 +0000 (02:20 +0000)]
Remove compat options.

Submitted by: netchild

11 years agoCouple of changes missed from r241913, which converted
glebius [Mon, 22 Oct 2012 22:42:28 +0000 (22:42 +0000)]
Couple of changes missed from r241913, which converted
IPv4 stack to network byte order.

11 years agoDon't try to cache the page setting - always set the page before
adrian [Mon, 22 Oct 2012 22:32:52 +0000 (22:32 +0000)]
Don't try to cache the page setting - always set the page before
doing a switch register read/write.

PR: kern/172968

11 years agoNow that device disabling is generic, remove extraneous code from the
eadler [Mon, 22 Oct 2012 22:29:48 +0000 (22:29 +0000)]
Now that device disabling is generic, remove extraneous code from the
device drivers that used to provide this feature.

This is a subset of 241856 (which was reverted)

Reviewed by: des
Approved by: cperciva (implicit)
MFC after: 1 week

11 years agoRemove __P.
delphij [Mon, 22 Oct 2012 21:49:56 +0000 (21:49 +0000)]
Remove __P.

Submitted by: kevlo
Reviewed by: md5(1)
MFC after: 2 months

11 years agoRemove unused `vfslocked' variable.
ed [Mon, 22 Oct 2012 21:14:26 +0000 (21:14 +0000)]
Remove unused `vfslocked' variable.

I have no idea what this `vfslocked' thing means. I wonder how it ended
up here.

11 years ago Switch the entire IPv4 stack to keep the IP packet header
glebius [Mon, 22 Oct 2012 21:09:03 +0000 (21:09 +0000)]
  Switch the entire IPv4 stack to keep the IP packet header
in network byte order. Any host byte order processing is
done in local variables and host byte order values are
never[1] written to a packet.

  After this change a packet processed by the stack isn't
modified at all[2] except for TTL.

  After this change a network stack hacker doesn't need to
scratch his head trying to figure out what is the byte order
at the given place in the stack.

[1] One exception still remains. The raw sockets convert host
byte order before pass a packet to an application. Probably
this would remain for ages for compatibility.

[2] The ip_input() still subtructs header len from ip->ip_len,
but this is planned to be fixed soon.

Reviewed by: luigi, Maxim Dounin <mdounin mdounin.ru>
Tested by: ray, Olivier Cochard-Labbe <olivier cochard.me>

11 years agoAllow building libc++ with any custom -std=xxx flag. Note that using
dim [Mon, 22 Oct 2012 19:44:17 +0000 (19:44 +0000)]
Allow building libc++ with any custom -std=xxx flag.  Note that using
-std=gnu++98 will give a lot of warnings with clang, so please use
-std=c++0x or higher, or use NO_WERROR.

MFC after: 1 week

11 years agoRemove unnecessary chain read lock in ipfw nat 'global' code.
melifaro [Mon, 22 Oct 2012 19:22:31 +0000 (19:22 +0000)]
Remove unnecessary chain read lock in ipfw nat 'global' code.
Document case when ipfw chain lock must be held while calling ipfw_nat().

MFC after: 2 weeks

11 years agoFix two -Wsystem-header warnings in libc++ that were exposed by the new
dim [Mon, 22 Oct 2012 19:06:00 +0000 (19:06 +0000)]
Fix two -Wsystem-header warnings in libc++ that were exposed by the new
ATF import.  These have also been sent upstream.

MFC after: 1 month

11 years agoMFV: netcat from OpenBSD 5.2.
delphij [Mon, 22 Oct 2012 18:56:31 +0000 (18:56 +0000)]
MFV: netcat from OpenBSD 5.2.

MFC after: 1 month

11 years agoImport libc++ trunk r165949. Among other improvements and bug fixes,
dim [Mon, 22 Oct 2012 18:25:04 +0000 (18:25 +0000)]
Import libc++ trunk r165949.  Among other improvements and bug fixes,
this has many visibility problems fixed, which should help with
compiling certain ports that exercise C++11 mode (i.e. Firefox).

Also, belatedly add the LICENSE.TXT and accompanying CREDITS.TXT files,
which are referred to in all the source files.

MFC after: 1 month

11 years agoOptimize syntax to use builtins and reduce unnecessary forking where possible.
dteske [Mon, 22 Oct 2012 18:14:27 +0000 (18:14 +0000)]
Optimize syntax to use builtins and reduce unnecessary forking where possible.

Reviewed by: nwhitehorn
Approved by: adrian (co-mentor)

11 years agoVendor import of libc++ trunk r165949:
dim [Mon, 22 Oct 2012 18:04:00 +0000 (18:04 +0000)]
Vendor import of libc++ trunk r165949:
http://llvm.org/svn/llvm-project/libcxx/trunk@165949

11 years agoResurrect usage.hlp and securelevel.hlp from sysinstall(8) and integrate them
dteske [Mon, 22 Oct 2012 18:01:38 +0000 (18:01 +0000)]
Resurrect usage.hlp and securelevel.hlp from sysinstall(8) and integrate them
into bsdconfig(8).

Approved by: adrian (co-mentor) (implicit)

11 years agoBump __FreeBSD_version and make a note in UPDATING about removal of
kib [Mon, 22 Oct 2012 17:54:32 +0000 (17:54 +0000)]
Bump __FreeBSD_version and make a note in UPDATING about removal of
the support for non-MPSAFE filesystems.

11 years agoRemove the support for using non-mpsafe filesystem modules.
kib [Mon, 22 Oct 2012 17:50:54 +0000 (17:50 +0000)]
Remove the support for using non-mpsafe filesystem modules.

In particular, do not lock Giant conditionally when calling into the
filesystem module, remove the VFS_LOCK_GIANT() and related
macros. Stop handling buffers belonging to non-mpsafe filesystems.

The VFS_VERSION is bumped to indicate the interface change which does
not result in the interface signatures changes.

Conducted and reviewed by: attilio
Tested by: pho

11 years agoPull in r165878 from upstream llvm trunk:
dim [Mon, 22 Oct 2012 17:47:37 +0000 (17:47 +0000)]
Pull in r165878 from upstream llvm trunk:

  X86: Disable long nops for all cpus prior to pentiumpro/i686.

This is the safest approach for now.  If you think long nops matter a
lot for performance, compile with -march=i686 or higher. :)

MFC after: 3 days

11 years agoUpdate re members to reality
eadler [Mon, 22 Oct 2012 17:13:15 +0000 (17:13 +0000)]
Update re members to reality

MFC after: 3 days

11 years agoRemove ZERO_COPY_SOCKETS from kernel configuration as the current
andre [Mon, 22 Oct 2012 15:04:23 +0000 (15:04 +0000)]
Remove ZERO_COPY_SOCKETS from kernel configuration as the current
COW based approach is not safe and should not be used in production.

11 years agoFix typo ('a' and 'o' are not the same letter apparently)
eadler [Mon, 22 Oct 2012 14:48:14 +0000 (14:48 +0000)]
Fix typo ('a' and 'o' are not the same letter apparently)

Approved by: cperciva (implicit)

11 years agoMake PFIL use per-VNET lock instead of per-AF lock. Since most used packet
melifaro [Mon, 22 Oct 2012 14:10:17 +0000 (14:10 +0000)]
Make PFIL use per-VNET lock instead of per-AF lock. Since most used packet
filters (ipfw and PF) use the same ruleset with the same lock for both
AF_INET and AF_INET6 there is no need in more fine-grade locking.
However, it is possible to request personal lock by specifying
PFIL_FLAG_PRIVATE_LOCK flag in pfil_head structure (see pfil.9 for
more details).

Export PFIL lock via rw_lock(9)/rm_lock(9)-like API permitting pfil consumers
to use this lock instead of own lock. This help reducing locks on main
traffic path.

pfil_assert() is currently not implemented due to absense of rm_assert().
Waiting for some kind of r234648 to be merged in HEAD.

This change is part of bigger patch reducing routing locking.

Sponsored by: Yandex LLC
Reviewed by: glebius, ae
OK'd by: silence on net@
MFC after: 3 weeks

11 years agoRevert r241756
imp [Mon, 22 Oct 2012 13:21:11 +0000 (13:21 +0000)]
Revert r241756

11 years agoRevert r241755
imp [Mon, 22 Oct 2012 13:20:31 +0000 (13:20 +0000)]
Revert r241755

11 years agoThis isn't functionally identical. In some cases a hint to disable
eadler [Mon, 22 Oct 2012 13:06:09 +0000 (13:06 +0000)]
This isn't functionally identical.  In some cases a hint to disable
unit 0 would in fact disable all units.

This reverts r241856

Approved by: cperciva (implicit)

11 years agoEliminate code checking if found IPv6 rte is dynamic. IPv6 redirects
melifaro [Mon, 22 Oct 2012 12:54:52 +0000 (12:54 +0000)]
Eliminate code checking if found IPv6 rte is dynamic. IPv6 redirects
are using (different) ND-based approach described in RFC 4861. This change
is similar to r241406 which conditionally skips the same check in IPv4.

This change is part of bigger patch eliminating rte locking.

Sponsored by: Yandex LLC.
OK'd by: hrs
MFC after: 2 weeks

11 years agoProvide example for newly-added NG_NETFLOW_V9INFO_TYPE
melifaro [Mon, 22 Oct 2012 12:22:56 +0000 (12:22 +0000)]
Provide example for newly-added NG_NETFLOW_V9INFO_TYPE

Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com>
MFC with: r241446

11 years agoSomehow this got replicated too many times
eadler [Mon, 22 Oct 2012 12:05:14 +0000 (12:05 +0000)]
Somehow this got replicated too many times

Approved by: cperciva (implicit)

11 years agoThe 'testing memory' patch gets printed too many times
eadler [Mon, 22 Oct 2012 11:57:26 +0000 (11:57 +0000)]
The 'testing memory' patch gets printed too many times

Approved by: cperciva (implicit)

11 years agoWhen loader tries to open GPT partition, but partition table is not GPT,
ae [Mon, 22 Oct 2012 11:01:43 +0000 (11:01 +0000)]
When loader tries to open GPT partition, but partition table is not GPT,
then try automatically detect an appropriate partition type.

PR: kern/172550
Tested by: Ralf Wenk

11 years agoRemove support for using Giant for locking within mpt(4). Finer grained
marius [Mon, 22 Oct 2012 10:53:59 +0000 (10:53 +0000)]
Remove support for using Giant for locking within mpt(4). Finer grained
locking has been working fine for ~5.5 years by now.

MFC after: 1 week

11 years agoAfter r241858, remove the remainder of FreeBSD ~4 support from mpt(4).
marius [Mon, 22 Oct 2012 10:42:59 +0000 (10:42 +0000)]
After r241858, remove the remainder of FreeBSD ~4 support from mpt(4).

MFC after: 1 week

11 years agoMFV of r241867
edwin [Mon, 22 Oct 2012 10:20:11 +0000 (10:20 +0000)]
MFV of r241867

Merge of tzdata2012g into head:

- Fix end of DST in Gaza and Hebron
- Western Samoa: DST start at 30 Septembet 2012 and finished at 7 April 2013.

11 years agoAdd German, French, Portuguese and Spanish names for the Spanish Dvorak
gavin [Mon, 22 Oct 2012 09:38:07 +0000 (09:38 +0000)]
Add German, French, Portuguese and Spanish names for the Spanish Dvorak
keymap.

MFC after: 1 week

11 years agoRemove MLINK for if_idt.
kevlo [Mon, 22 Oct 2012 07:04:34 +0000 (07:04 +0000)]
Remove MLINK for if_idt.

Spotted by: Alie Tan <alie at affle dot com>

11 years agoNow that device disabling is generic, remove the non-standard
eadler [Mon, 22 Oct 2012 04:18:17 +0000 (04:18 +0000)]
Now that device disabling is generic, remove the non-standard
implementation from mpt

Don't MFC this to retain backwards compatibility.

Reviewed by: des, mjacob
Approved by: cperciva

11 years agoAdd a clean-room reimplementation of a script originally
eadler [Mon, 22 Oct 2012 03:57:00 +0000 (03:57 +0000)]
Add a clean-room reimplementation of a script originally
found in openssh's contrib directory.

This version has more features and is better written.
I intend to submit this upstream as well.

Reviewed by: bapt
Reviewed by: des
Approved by: cperciva
MFC after: 1 week

11 years agoFix the memory regions to include the 64MB DDR3 memory slot.
rpaulo [Mon, 22 Oct 2012 03:45:37 +0000 (03:45 +0000)]
Fix the memory regions to include the 64MB DDR3 memory slot.

11 years agoIncrease the I/O memory area to 0xc20000.
rpaulo [Mon, 22 Oct 2012 03:44:12 +0000 (03:44 +0000)]
Increase the I/O memory area to 0xc20000.

11 years agoCorrect the killpg(2) return values:
eadler [Mon, 22 Oct 2012 03:43:02 +0000 (03:43 +0000)]
Correct the killpg(2) return values:

Return EPERM if processes were found but they
were unable to be signaled.

Return the first error from p_cansignal if no signal was successful.

Reviewed by: jilles
Approved by: cperciva
MFC after: 1 week

11 years agoRemove unused code since the 5.x days
eadler [Mon, 22 Oct 2012 03:41:24 +0000 (03:41 +0000)]
Remove unused code since the 5.x days

Reviewed by: des, scottl
Approved by: cperciva
MFC after: 1 week

11 years agoAdd support for the "&" character in usernames.
eadler [Mon, 22 Oct 2012 03:41:19 +0000 (03:41 +0000)]
Add support for the "&" character in usernames.

Charlie & finally has his last name.

PR: gnu/37910
Submitted by: Harry Newton <harry_newton@telinco.co.uk>
Approved by: cperciva
MFC after: 1 week

11 years agoNow that device disabling is generic, remove extraneous code from the
eadler [Mon, 22 Oct 2012 03:41:14 +0000 (03:41 +0000)]
Now that device disabling is generic, remove extraneous code from the
device drivers that used to provide this feature.

Reviewed by: des
Approved by: cperciva
MFC after: 1 week

11 years agoUpdate the kill(2) and killpg(2) man pages to the modern permission
eadler [Mon, 22 Oct 2012 03:37:00 +0000 (03:37 +0000)]
Update the kill(2) and killpg(2) man pages to the modern permission
checks. Also indicate killpg(2) is POSIX compliant.

Reviewed by: jilles
Reviewed by: wblock
Approved by: cperciva
MFC after: 3 days

11 years agoColin acked the wrong diff originally. fixed version coming soon.
eadler [Mon, 22 Oct 2012 03:36:44 +0000 (03:36 +0000)]
Colin acked the wrong diff originally. fixed version coming soon.

Approved by: cperciva (implicit)

11 years agoCorrect the killpg(2) return values:
eadler [Mon, 22 Oct 2012 03:34:43 +0000 (03:34 +0000)]
Correct the killpg(2) return values:

Return EPERM if processes were found but they
were unable to be signaled.

Return the first error from p_cansignal if no signal was successful.

Reviewed by: jilles
Approved by: cperciva
MFC after: 1 week

11 years agoCheck the return error of set[ug]id. While this can never fail in the
eadler [Mon, 22 Oct 2012 03:31:22 +0000 (03:31 +0000)]
Check the return error of set[ug]id. While this can never fail in the
current version of FreeBSD, this isn't guarenteed by the API.  Custom
security modules, or future implementations of the setuid and setgid
may fail.

PR: bin/172289
PR: bin/172290
PR: bin/172291
Submittud by: Erik Cederstrand <erik@cederstrand.dk>
Discussed by: freebsd-security
Approved by: cperciva
MFC after: 1 week

11 years agoAdd Danish keyboard model for macbooks to syscons.
eadler [Mon, 22 Oct 2012 03:30:17 +0000 (03:30 +0000)]
Add Danish keyboard model for macbooks to syscons.

(not verified to be accurate)

PR: conf/146793
Submitted by: Erik Cederstrand
Approved by: cperciva
MFC after: 1 week

11 years agoExplain the upcoming delay by printing a message when the kernel
eadler [Mon, 22 Oct 2012 03:16:39 +0000 (03:16 +0000)]
Explain the upcoming delay by printing a message when the kernel
is about to begin testing memory.

Reviewed by: dteske, adri
Approved by: cperciva
MFC after: 1 week

11 years agoFix typo in error when unable to create TCP socket
eadler [Mon, 22 Oct 2012 03:16:32 +0000 (03:16 +0000)]
Fix typo in error when unable to create TCP socket

PR: bin/172490
Submitted by: bdrewery
Approved by: cperciva
MFC after: 3 days

11 years agoCheck the return error of set[e][ug]id. While this can never fail in the
eadler [Mon, 22 Oct 2012 03:07:05 +0000 (03:07 +0000)]
Check the return error of set[e][ug]id. While this can never fail in the
current version of FreeBSD, this isn't guarenteed by the API.
Custom security modules, or future implementations of the setuid and
setgid may fail.

Submitted by: Erik Cederstrand
Approved by: cperciva
MFC after: 3 days

11 years agoFree buf when its no longer used. This helps eliminate a static analysis
eadler [Mon, 22 Oct 2012 03:06:59 +0000 (03:06 +0000)]
Free buf when its no longer used. This helps eliminate a static analysis
warning.

PR: ports/172566
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days

11 years agobcd isn't installed setuid.
eadler [Mon, 22 Oct 2012 03:06:53 +0000 (03:06 +0000)]
bcd isn't installed setuid.
caesar isn't installed setuid.

For the archaeologists:
it seems this call originally came from NetBSD PR 5970 and 5945

PR: 172566
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days

11 years agoSysinstall has been removed from base.
eadler [Mon, 22 Oct 2012 03:00:43 +0000 (03:00 +0000)]
Sysinstall has been removed from base.

Approved by: cperciva

11 years agoremove duplicate semicolons where possible.
eadler [Mon, 22 Oct 2012 03:00:37 +0000 (03:00 +0000)]
remove duplicate semicolons where possible.

Approved by: cperciva
MFC after: 1 week

11 years agoMake uhid attach to devices that look like keyboards
eadler [Mon, 22 Oct 2012 03:00:25 +0000 (03:00 +0000)]
Make uhid attach to devices that look like keyboards
or mice if the quirk which prevents higher level
drivers from attaching is set.

PR: usb/172458
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
Reviewed by: hselasky
Approved by: cperciva
MFC after: 1 week

11 years agoAdd support for gjournal to dumpfs
eadler [Mon, 22 Oct 2012 03:00:20 +0000 (03:00 +0000)]
Add support for gjournal to dumpfs

PR: 165821
Submitted by: Andreas Longwitz <longwitz@incore.de>
Approved by: cperciva
MFC after: 3 days

11 years agoImplement HTTP 305 redirect handling.
eadler [Mon, 22 Oct 2012 03:00:15 +0000 (03:00 +0000)]
Implement HTTP 305 redirect handling.

PR: 172452
Submitted by: gcooper
Reviewed by: des
Approved by: cperciva
MFC after: 1 week

11 years agoDon't deny non-temporary redirects if the -A option is set (per
eadler [Mon, 22 Oct 2012 03:00:10 +0000 (03:00 +0000)]
Don't deny non-temporary redirects if the -A option is set (per
the man page) [0]

While here add support for draft-reschke-http-status-308-07

PR: 172451 [0]
Submitted by: gcooper [0]
Reviewed by: des
Approved by: cperciva
MFC after: 1 week

11 years agoBe a bit more lenient in the maximum number of redirects allowed.
eadler [Mon, 22 Oct 2012 03:00:04 +0000 (03:00 +0000)]
Be a bit more lenient in the maximum number of redirects allowed.
Chrome and Firefox have a limit of 20. IE has a limit of 8.

Reviewed by: des
Approved by: cperciva
MFC after: 3 days

11 years agoRemove unused variable. Newer versions of gcc care.
eadler [Mon, 22 Oct 2012 02:59:59 +0000 (02:59 +0000)]
Remove unused variable. Newer versions of gcc care.

Submitted by: Sascha Wildner <saw@online.de>
Approved by: cperciva
MFC after: 3 days

11 years agoFix build if COMPAT_43 is defined without one of
eadler [Mon, 22 Oct 2012 02:59:55 +0000 (02:59 +0000)]
Fix build if COMPAT_43 is defined without one of
COMPAT_FREEBSD[4567]

Approved by: cperciva

11 years agoRemove {harp,hfa,idt} man pages as they were removed in r179308.
eadler [Mon, 22 Oct 2012 02:59:49 +0000 (02:59 +0000)]
Remove {harp,hfa,idt} man pages as they were removed in r179308.

PR: docs/171234
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
Reviewed by: rwatson
Approved by: cperciva
MFC after: 3 days

11 years agoFix conditional expression: previously a bitvector would be operated
eadler [Mon, 22 Oct 2012 02:59:44 +0000 (02:59 +0000)]
Fix conditional expression: previously a bitvector would be operated
on by a logical not.

Approved by: cperciva
MFC after: 3 days

11 years agoMake do_uniq work with python3
eadler [Mon, 22 Oct 2012 02:29:56 +0000 (02:29 +0000)]
Make do_uniq work with python3

Approved by: cperciva
MFC after: 3 days

11 years agoMake xen python scripts work with python3
eadler [Mon, 22 Oct 2012 02:29:53 +0000 (02:29 +0000)]
Make xen python scripts work with python3

Approved by: cperciva
MFC after: 3 days

11 years agoCovert regression test to python 3
eadler [Mon, 22 Oct 2012 02:29:44 +0000 (02:29 +0000)]
Covert regression test to python 3

Approved by: cperciva
MFC after: 3 days

11 years agoDon't repeat the POSTREAD dma sync.
kientzle [Mon, 22 Oct 2012 02:28:48 +0000 (02:28 +0000)]
Don't repeat the POSTREAD dma sync.

11 years agoWarn users when using pkg tools if it looks like they
eadler [Mon, 22 Oct 2012 02:12:20 +0000 (02:12 +0000)]
Warn users when using pkg tools if it looks like they
be be pkgng users.

Reviewed by: bapt (earlier version)
Reviewed by: kwm
Approved by: cperciva
MFC after: 3 days

11 years agoFix conditional expression: previously a bit vector was being operated
eadler [Mon, 22 Oct 2012 02:12:15 +0000 (02:12 +0000)]
Fix conditional expression: previously a bit vector was being operated
on by a logical not instead of the entire expression.

Approved by: cperciva
MFC after: 3 days

11 years agoFinish migration of MAINTAINER entries
eadler [Mon, 22 Oct 2012 02:12:11 +0000 (02:12 +0000)]
Finish migration of MAINTAINER entries

Approved by: cperciva
MFC after: 3 days

11 years agoMark bsdar_errc as __dead2 to help code analysis tools.
eadler [Mon, 22 Oct 2012 02:12:06 +0000 (02:12 +0000)]
Mark bsdar_errc as __dead2 to help code analysis tools.

PR: bin/172636
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days

11 years agoCovert to python 3
eadler [Mon, 22 Oct 2012 02:12:02 +0000 (02:12 +0000)]
Covert to python 3

Approved by: cperciva
MFC after: 3 days

11 years agoPrint flags as hex instead of an integer.
eadler [Mon, 22 Oct 2012 02:11:57 +0000 (02:11 +0000)]
Print flags as hex instead of an integer.

PR: kern/168210
Submitted by: linimon
Reviewed by: alc
Approved by: cperciva
MFC after: 3 days

11 years agoUpdate after adding WITHOUT_ATF.
marcel [Mon, 22 Oct 2012 02:05:09 +0000 (02:05 +0000)]
Update after adding WITHOUT_ATF.

11 years agoAdd ATF to the build. This is may be a bit rought around the egdes,
marcel [Mon, 22 Oct 2012 01:18:41 +0000 (01:18 +0000)]
Add ATF to the build. This is may be a bit rought around the egdes,
but committing it helps to get everyone on the same page and makes
sure we make progress.

Tinderbox breakages that are the result of this commit are entirely
the committer's fault -- in other words: buildworld testing on amd64
only.

Credits follow:

Submitted by: Garrett Cooper <yanegomi@gmail.com>
Sponsored by: Isilon Systems
Based on work by: keramida@
Thanks to: gnn@, mdf@, mlaier@, sjg@
Special thanks to: keramida@

11 years agoMake the Wii GPIO driver a separate device.
rpaulo [Sun, 21 Oct 2012 22:27:55 +0000 (22:27 +0000)]
Make the Wii GPIO driver a separate device.

11 years agoFix the top comment.
rpaulo [Sun, 21 Oct 2012 22:27:21 +0000 (22:27 +0000)]
Fix the top comment.

11 years agoAdd a config file for the Wii.
rpaulo [Sun, 21 Oct 2012 22:24:28 +0000 (22:24 +0000)]
Add a config file for the Wii.

11 years agoUpdate dialog to 20120706: includes minor useability enhancements and
nwhitehorn [Sun, 21 Oct 2012 18:25:12 +0000 (18:25 +0000)]
Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.

11 years agoImport dialog-1.1-20120706
nwhitehorn [Sun, 21 Oct 2012 18:18:09 +0000 (18:18 +0000)]
Import dialog-1.1-20120706

11 years agoAdd the flags parameter to the disk_open() function and DISK_F_NOCACHE
ae [Sun, 21 Oct 2012 12:14:58 +0000 (12:14 +0000)]
Add the flags parameter to the disk_open() function and DISK_F_NOCACHE
flag, that disables the caching of partition tables metadata.
Use this flag for floppies in the libi386/biosdisk driver.

11 years agoMake fsck and fsck_msdosfs WARNS=6 clean
uqs [Sun, 21 Oct 2012 12:01:19 +0000 (12:01 +0000)]
Make fsck and fsck_msdosfs WARNS=6 clean

- sprinkle const
- add volatile qualifier to avoid vfork clobbering

Inspired by: NetBSD
PR: bin/139802
Reviewed by: ed

11 years agosbin/fsck: s/perror/perr/ to avoid shadowing
uqs [Sun, 21 Oct 2012 12:01:11 +0000 (12:01 +0000)]
sbin/fsck: s/perror/perr/ to avoid shadowing

- rename some other vars too
- merge NetBSD license changes

Obtained from: NetBSD
PR: bin/139802
Reviewed by: ed

11 years agoFix build.
andreast [Sun, 21 Oct 2012 08:38:55 +0000 (08:38 +0000)]
Fix build.

11 years agoAdd "options WII".
rpaulo [Sun, 21 Oct 2012 04:02:34 +0000 (04:02 +0000)]
Add "options WII".

11 years agoAdd support for iPhone 5 tethering.
eadler [Sun, 21 Oct 2012 03:30:36 +0000 (03:30 +0000)]
Add support for iPhone 5 tethering.

PR: usb/172172
Submitted by: Ali Mashtizadeh <mashtizadeh@gmail.com>
Approved by: cperciva
MFC after: 1 week

11 years agoUpdate ktr(4) to reflect changes from r239923.
gjb [Sat, 20 Oct 2012 23:13:09 +0000 (23:13 +0000)]
Update ktr(4) to reflect changes from r239923.

Reviewed by: attilio

11 years agoRevert r241752. The claim that it's more correct while at the same time
marcel [Sat, 20 Oct 2012 22:44:22 +0000 (22:44 +0000)]
Revert r241752. The claim that it's more correct while at the same time
causing a build breakage is interesting to say the least.

11 years agoGrammar fixes to r241781.
andre [Sat, 20 Oct 2012 19:38:22 +0000 (19:38 +0000)]
Grammar fixes to r241781.

Submitted by: alc

11 years agoSet default for ${pkg_info} like ${pkg_version}.
ume [Sat, 20 Oct 2012 18:13:20 +0000 (18:13 +0000)]
Set default for ${pkg_info} like ${pkg_version}.

MFC after: 1 week