122999 Commits

Author SHA1 Message Date
flz
64bb82583b MFC: Fix pkg_info when specifying a remote package.
src/usr.sbin/pkg_install/info/perform.c: rev 1.54 -> 1.55
  src/usr.sbin/pkg_install/info/main.c: rev 1.51 -> 1.52
2008-04-23 10:42:00 +00:00
linimon
0f85d36935 MFC of new 'arm' category. 2008-04-23 04:01:53 +00:00
ru
fa53f23616 MFC: 1.15-1.18: Fix overflows and memory leaks. 2008-04-22 13:23:34 +00:00
rpaulo
c4e8bb9d5e MFC r1.32, r1.33:
Add support for Asus EeePC backlight control.
   style(9) fix.

   Submitted by:   Akira Funahashi <funa at funa.org>
2008-04-22 12:44:39 +00:00
yongari
df3dc6c68e MFC ip1000phy.c 1.3, ip1000phyreg.h 1.2 and miidevs 1.52 to RELENG_6.
Add support for IC Plus IP1001 PHY.
2008-04-22 06:39:07 +00:00
yongari
9e816b6672 MFC rgephy.c rev 1.19 to RELENG_6.
Add detection of isolation state.

  PR:	kern/76710
2008-04-22 06:26:01 +00:00
stefanf
6f8ced5134 MFC 1.26: Reset the internal state used for the 'getopts' built-in when 'shift'
or 'set' are used to modify the arguments.
2008-04-20 18:08:46 +00:00
stefanf
169fb11e68 MFC 1.36: Leave working directory variables unchanged if chdir() fails. 2008-04-20 18:08:12 +00:00
bmah
0f9f8b0fad Update pthread errata note with errata notice.
Mention multicast refcounting kernel panic.
2008-04-20 17:55:48 +00:00
antoine
0daa19554c MFC to RELENG_6:
Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13
  Significant changes:
  - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print
  an int64_t.
  - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it
  should be "1.0G" or "1.0M".  The bug reported by Greg Troxel.

  PR:             118461
  PR:             102694
  Approved by:    rwatson (mentor)
  Obtained from:  NetBSD
  MFC after:      1 month
2008-04-20 16:32:20 +00:00
mav
84ec110387 MFC some small optimizations:
rev. 1.151: Remove impossible (hk_peer == NULL) check.
rev. 1.152: Remove ng_setisr() call from ng_dequeue().
rev. 1.153: There is no need to erase hook->hk_node before freeing hook.
rev. 1.154: Use new atomic_fetchadd() primitive instead of looping atomic_cmpset().
rev. 1.158: ng_address_hook() microoptimization.
2008-04-20 11:34:56 +00:00
obrien
ec9c19165c Move our ".mcount" bits around a little. 2008-04-18 16:06:46 +00:00
emax
84826bfaa8 MFC:
Fix possible buffer overrun on 64-bit arch when generating MAC
address for tap interface.

Reported by:	Marc Lorner < marc dot loerner at hob dot de >
Reviewed by:	bms
MFC after:	3 days
2008-04-18 00:55:03 +00:00
delphij
d3c6db731c Document SA-08:05.openssh 2008-04-17 19:10:57 +00:00
yongari
e47959bb3f MFC if_rl.c, rev 1.174 to RELENG_6.
It seems that RealTek 8129/8139 chip reports invalid length of
  received frame under certain conditions. wpaul said the length
  0xfff0 is special meaning that indicates hardware is in the
  process of copying a packet into host memory. But it seems
  there are other cases that hardware is busy or stuck in bad
  situation even if the received frame length is not 0xfff0.
  To work-around this condition, add a check that verifys that
  recevied frame length is in valid range. If received length is out
  of range reinitialize hardware to recover from stuck condition.
2008-04-17 04:18:29 +00:00
delphij
10722de414 Mention bzip2 1.0.5 MFC. 2008-04-17 01:02:03 +00:00
delphij
93e2e5b706 MFC: bzip2 1.0.5 2008-04-17 00:53:13 +00:00
cperciva
8d2de1f321 Fix logic error in sshd(8) concerning the handling of failed
attempts to bind ports for X11 forwarding.

Security:	FreeBSD-SA-08:05.openssh
2008-04-17 00:00:41 +00:00
remko
56bde70813 MFC rev 1.431 menus.c
Remove ftp.hk.super.net, the DNS isn't pointing to anything at the moment.

  I tested this as well as the submitter and couldn't resolve this either,
  since I dont want to "announce" dead mirrors, I'll remove it from the
  list.

  PR:             122567
  Submitted by:   vs
  Approved by:    imp (mentor, implicit for trivial changes)
  MFC after:      1 week

Approved by:	imp (mentor, implicit)
2008-04-16 18:50:04 +00:00
cvs2svn
dc834bb8cd This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2008-04-16 09:09:51 +00:00
brooks
99c5271da6 MFC revs 1.17-1.20, the functional components of which are:
1.17:
Allow the characters .-+/ to appear in ppp profile names by folding them
to _ when evaluating ppp_<profile>_nat and ppp_<profile>_mode.  Document
the per-profile variables.

1.18:
Add support for hardwiring ppp sessions to particular devices with new
per-profile variables of the form ppp_<profile>_unit.  No ppp_unit
variable is supported since tying the same unit to more than one profile
won't work.

PR:		conf/121452, conf/122127
2008-04-15 22:37:43 +00:00
emax
84078c0131 MFC:
Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in server
mode at boot time. Multiple profiles can be started at the same time.
The whole idea is very similar to the ppp rc script.

Document Bluetooth knobs in rc.conf(5)

Set defaults for the rfcomm_pppd_server rc script
2008-04-15 20:31:14 +00:00
obrien
6f4e88b7d4 style(9) 2008-04-14 18:56:48 +00:00
mlaier
96a233ef38 MFC:
Make ALTQ cope with disappearing interfaces (particularly common with mpd
  and netgraph in gernal).  This also allows to add queues for an interface
  that is not yet existing (you have to provide the bandwidth for the
  interface, however).

  PR:		kern/106400, kern/117827

Tested by:	Florian Smeets, Boris S.
2008-04-12 19:52:13 +00:00
marius
1971796076 MFC: tlb.h 1.27; cache.c 1.21; cheetah.c 1.6; mp_machdep.c 1.38;
pmap.c 1.171; spitfire.c 1.6; tlb.c 1.9

- Do as the comment in pmap_bootstrap() suggests and flush all non-locked
  TLB entries possibly left over by the firmware and also do so while
  bootstrapping APs.
- Use __FBSDID.
2008-04-12 13:41:32 +00:00
marius
2fb6610d1d MFC: if_dc.c 1.195, 1.194; if_dcreg.h 1.55
- Fix function prototype for device_shutdown method.
- Const'ify the dc_devs array.
- Correct the maxsize parameter when creating the mbufs busdma tag to
  reflect the actual requirement of dc(4).
- Move the KASSERT in dc_newbuf() to the right spot.
- Also convert the TX side to take advantage of bus_dmamap_load_mbuf_sg(9).
- Move the comment regarding dc_start_locked() to the right spot.
2008-04-11 23:41:43 +00:00
cvs2svn
6d7dceedaf This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2008-04-11 10:35:00 +00:00
remko
079ee2e09f MFC rev 1.134 ObsoleteFiles.inc
Document the removal data for usbdevs.h and usbdevs_data.h,
  sort the entry into it's correct place (behind 200407XX before
  200406XX because we have an explicit date here).

  PR:             misc/122098
  Submitted by:   "John Hein" <jhein@timing.com>
  MFC after:      3 days

Approved by:	imp (mentor, implicit)
PR:		misc/122099 (should have been this PR).
2008-04-11 10:14:19 +00:00
brooks
313bd47a97 MFC rev 1.19
Add a new function is_default_interface() which determines if this
interface is one with the default route (or there isn't one).  Use it to
decide if we should adjust the default route and /etc/resolv.conf.

Fix the delete of the default route.  The if statement was totally bogus
and the delete only worked due to a typo. [1]

Reported by:    Jordan Coleman <jordan at JordanColeman dot com> [1]
2008-04-11 00:18:37 +00:00
delphij
3a4abd3fa6 MFC revision 1.22
date: 2008/03/07 00:01:19;  author: delphij;  state: Exp;  lines: +61 -68
Merge revisions 1.10 and 1.11 from DragonFly:

 - Use real getopt() handling instead of the hand-rolled and
   IOCCC-worthy "Micro getopt()" macros, plus clean up to the
   option handling code:
    * Sort the options in the switch statement;
    * Plug piddling memory leaks when processing repeated options
      by freeing strings before allocating them for a second time;
    * Die with a fatal error if the requested report file cannot
      be opened for appending;
    * Don't call init() before usage() (to prevent the usage
      message being mangled by changes to the terminal settings;)
 - Clean up the usage message, both in usage() and in the main
   program comment, both stylistically (sort and combine options)
   and for accuracy (following the manual page, make note of the -s
   and -S flags, and use the term 'send' instead of 'say' to reduce
   confusion (SAY is the name of a command for output to the user,
   not the connection.))

Obtained from:  DragonFly
2008-04-10 22:43:46 +00:00
peter
76c7afa7ab MFC: rev 1.205: compile on systems without SCTL_MASK32 2008-04-10 02:45:39 +00:00
peter
c7bd46983f MFC: backport -P (per-cpu) stats for %user/%system/%idle etc. 2008-04-09 19:48:06 +00:00
peter
fe5794c1d5 MFC: record per-cpu stats for %user/%nice/%system/%idle 2008-04-09 19:47:20 +00:00
trhodes
5e91ed3f04 MFC revisions 1.56 and 1.57:
Bring the DIAGNOSTICS section in ed.4 closer to reality by removing missing
diagnostic messages and adding a few found in the code.

PR:	51891

Properly Xref device.hints(5).
2008-04-08 17:40:43 +00:00
rpaulo
bbc4538871 MFC r1.11:
Add Qualcomm, Inc. ZTE CDMA Technologies MSM to the list of supported
  devices.
2008-04-08 16:39:00 +00:00
rpaulo
693a4fdfbc MFC:
Add Qualcomm ZTE CMDMA MSM modem to the list of supported modems.
2008-04-08 16:36:49 +00:00
jhb
97251c6257 MFC: Explicitly bypass bpf(4) for media test packets during attach. 2008-04-08 14:23:23 +00:00
rpaulo
4aeba63066 MFC r1.97:
Sync with rev 1.63 of NetBSD's ums.c:
       If a mouse has both a wheel and a Z direction we report both.
       XXX Due to tradition the wheel is reported as the Z direction (and the Z
       direction as W).
       Now Apple's Mighty Mouse is fully supported, except the X11 mouse driver
       doesn't know what to do with the new coordinate.
2008-04-08 12:35:56 +00:00
flz
cf9ab334e9 Add pkg_check and pkg_sign to ObsoleteFiles.inc. 2008-04-08 09:08:17 +00:00
emaste
43ed987a3b MFC aac.c 1.137:
Calling RequestSupplementAdapterInfo before RequestAdapterInfo appears
  to trip a bug causing the latter to return a zeroed struct
  aac_adapter_info.  This causes two issues.  One is cosmetic only --
  a verbose boot prints information about the controller, and shows all
  zero:

  aac0: Unknown processor 0MHz, 0MB memory (0MB cache, 0MB execution),
    unknown battery platform

  The second problem is that the firmware version information is stored
  away for aac_rev_check, for userland tools (like aaccli) to query via
  the FSACTL_MINIPORT_REV_CHECK and FSACTL_LNX_MINIPORT_REV_CHECK ioctls.
  When aaccli encounters this issue it prints

  Command Error: <The current AFAAPI.DLL is too old to work with the
    current controller software.>

  Move the RequestSupplementAdapterInfo call after RequestAdapterInfo,
  which seems to fix both problems.
2008-04-07 14:19:57 +00:00
flz
657a605681 Synchronize pkg_install with HEAD:
- Add pkg_updating,
- Remove pkg_sign,
- Support for 8-CURRENT,
- Style cleanup (__P use),
- ... and much more.
2008-04-07 11:32:01 +00:00
mav
788ab66c9b MFC ng_pptpgre.c rev. 1.41-1.42
Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair
of pptpgre and ksocket nodes for all calls between two peers. This patch
modifies node's API by adding new "session_%04x" hook names support, while
keeping backward compatibility.
2008-04-07 10:33:28 +00:00
syrinx
f146f4a757 MFC:
src/contrib/bsnmp/snmpd/main.c: Revision 1.1.1.14

Vendor patch: Prevent bsnmpd from dumping core when a module's init hook
returns an error.

Approved by:    bz (mentor)
2008-04-06 17:49:37 +00:00
bmah
0069fa455a MFC: BTX real mode, tzdata2008b, GNOME 2.22. 2008-04-06 05:34:14 +00:00
cperciva
cbe3b0a530 MFC revision 1.4: Add /boot/devices.hints to the default list of files
which have local modifications merged during upgrading.
2008-04-04 23:25:08 +00:00
cperciva
10e176c6ce MFC revisions 1.13, 1.14: Don't try to compute the SHA256 hashes of
files which don't exist; and fix the handling of symlinks to
dynamically linked libraries.
2008-04-04 23:22:49 +00:00
julian
91515fa1c7 MFC: ipfw2.c 1.114
ipfw.8    1.209

Use an explicit argument to format table args as IP addresses.
2008-04-04 18:10:50 +00:00
scottl
429cad3e68 Merge rev 1.20:
Fix a buffer overflow in the processing of various SCSI commands.  This
  likely fixes a great number of weird problems that have been reported
  with this driver.
2008-04-04 16:42:17 +00:00
jhb
d7dd67e510 MFC: Make it possible to continue working after calling doadump() manually. 2008-04-03 19:40:58 +00:00
jhb
027c346c97 MFC: Add the 'tid' command to select a thread using a kernel thread ID. 2008-04-03 18:49:05 +00:00