Commit Graph

115652 Commits

Author SHA1 Message Date
Colin Percival
4f1178e76c Add an -I option to pkg_version:
-I  Use only the index file for determining if a package is out of
      date.  This is much faster than using the version number from a
      port's Makefile, at the expense of potentially giving an incor-
      rect result if the index file is out of date.

Without this option, the index file is only consulted if "make -V PKGNAME"
cannot be used.

Approved by:	portmgr (krion)
2005-05-24 08:26:44 +00:00
Kirill Ponomarev
47ab15f504 Put myself on behalf of portmgr as maintainer of pkg_install tools. 2005-05-24 08:23:01 +00:00
Hartmut Brandt
a22057198a Allow the .SHELL target to specify the list of shell meta characters and
the list of shell builtins. Both of these are needed for the compat
mode where make directly executes commands if the command line contains
neither a shell meta character nor a shell builtin. The list of builtins
is not changed, but csh has '@' added as a meta-character.

Initialize the default shell by parsing a string as one would specify
to the .SHELL target. So we get rid of the CShell clone of struct Shell which
just contained const char * where struct Shell had char *.

Add a debugging function for dumping a parsed shell description to
stdout.
2005-05-24 07:45:49 +00:00
Adam Weinberger
d72fd3f9e4 Fix a particularly egregious grammar error.
Approved by:	wpaul
MFC after:	1 day
2005-05-24 04:50:07 +00:00
Bruce A. Mah
1f4d94b986 Consolidate some release notes items regarding new manual pages
and add some entries for recently-added sound manual pages.

Submitted by:	joel
Reviewed by:	bmah, hrs
2005-05-24 03:14:46 +00:00
Stephan Uphoff
d13ec71369 Use low level constructs borrowed from interrupt threads to wait for
work in proc0.
Remove the TDP_WAKEPROC0 workaround.
2005-05-23 23:01:53 +00:00
Paul Saab
64b5fbaa04 Rewrite of tcp_sack_option(). Kentaro Kurahone (NetBSD) pointed out
that if we sort the incoming SACK blocks, we can update the scoreboard
in one pass of the scoreboard. The added overhead of sorting upto 4
sack blocks is much lower than traversing (potentially) large
scoreboards multiple times. The code was updating the scoreboard with
multiple passes over it (once for each sack option). The rewrite fixes
that, reducing the complexity of the main loop from O(n^2) to O(n).

Submitted by:   Mohan Srinivasan, Noritoshi Demizu.
Reviewed by:    Raja Mukerji.
2005-05-23 19:22:48 +00:00
David E. O'Brien
dc156a91f9 Sync the style of these two files. 2005-05-23 17:36:54 +00:00
Max Laier
d274e6b641 Fix semantics of ph_busy_count == -1 to pass instead of block.
PR:		kern/81128
Submitted by:	Joost Bekkers
MFC-after:	2 weeks
2005-05-23 17:07:16 +00:00
Maxim Sobolev
61a20ce696 Add cdce(4) into the list of ethernet interfaces. 2005-05-23 16:23:28 +00:00
Hajimu UMEMOTO
c60a8b32a2 - do DNS lookup for symbolic names specified for a destination
or gateway.
- improves error reporting using gai_strerror(3) instead of
  printing "bad value".
- remove "0" for servname argument for getaddrinfo(3).

Submitted by:	Andreas Kohn <andreas __at__ syndrom23.de>
MFC after:	1 week
2005-05-23 14:12:32 +00:00
Gleb Smirnoff
2dc628b54a Remove local error variable, which leads to hiding error from return
value.

PR:		kern/81371
Submitted by:	Wojciech A. Koszek
MFC after:	1 week
2005-05-23 13:49:49 +00:00
Gleb Smirnoff
a09c9f01cd Return EINVAL for incorrect hook names.
PR:		kern/81349
Submitted by:	Wojciech A. Koszek
2005-05-23 13:39:20 +00:00
Hartmut Brandt
bb5a85a5d7 Make the ArgArray_Init() function visible to the rest of make.
It will soon be needed for the .SHELL parsing code.
2005-05-23 13:27:52 +00:00
Hartmut Brandt
9fb7e9cad1 This commit was generated by cvs2svn to compensate for changes in r146539,
which included commits to RCS files with non-trunk default branches.
2005-05-23 13:08:32 +00:00
Hartmut Brandt
d32729f62c Virgin import of NgATM kernel part 1.2 2005-05-23 13:08:32 +00:00
Pawel Jakub Dawidek
4eafb037f6 Add some debug code to diagnose root-on-mirror problems with recent -current.
Reported by:	Daniel Eriksson
2005-05-23 13:05:07 +00:00
Pawel Jakub Dawidek
8f5aed3be4 We need to use 'applyset' command for devfs, 'apply hide' is not enough,
because new devfs entries can show up later and one can access such entires
from inside named chroot.
In rc.d scripts we can use devfs_domount() function with devfsrules_hide_all
policy and unhide 'null' and 'random' manually.
2005-05-23 12:25:33 +00:00
Hartmut Brandt
14bf9dc9bc This module was wrongly including header from /usr/include. Give it
the correct path to the source headers.
2005-05-23 12:24:46 +00:00
Hartmut Brandt
4e4a36d5f3 Virgin import of NgATM user part 1.2 2005-05-23 12:22:12 +00:00
Hartmut Brandt
c90a265333 This commit was generated by cvs2svn to compensate for changes in r146532,
which included commits to RCS files with non-trunk default branches.
2005-05-23 12:22:12 +00:00
Philip Paeps
56037aa4e3 Catch up with the bsnmpd daemon's 64bit time ticks. 2005-05-23 11:41:14 +00:00
Christian Brueffer
46cb3017e3 New release notes:
- uftdi(4) supports the FTDI FT2232C chip.
- bge(4) support for several new chips. (merged)

Note merges:

- uaudio(4) sync
- dc(4) polling
- xl(4) polling
- ixgb(4) MPSAFE
2005-05-23 11:31:26 +00:00
Hartmut Brandt
d6d9dd67f4 The ticks delivered by the SNMP daemon are now 64-bit, so make our
local tick variable which is used to reduce the number of updates from
kernel structures and to ensure intra-PDU consistency also 64 bit.
2005-05-23 11:24:39 +00:00
Hartmut Brandt
da4969a319 Bump the shared library version number of the modules because of
changes in the module interface.
2005-05-23 11:22:54 +00:00
Hartmut Brandt
fbe4316a67 This commit was generated by cvs2svn to compensate for changes in r146525,
which included commits to RCS files with non-trunk default branches.
2005-05-23 11:19:11 +00:00
Hartmut Brandt
69292ced51 Virgin import of bsnmpd 1.10 2005-05-23 11:19:11 +00:00
Ruslan Ermilov
49bf419db0 Stop redundantly rebuilding texinfo on the next __FreeBSD_version bump. 2005-05-23 11:15:16 +00:00
Ruslan Ermilov
94cfa110b2 Update for version 4.8 import. 2005-05-23 10:55:29 +00:00
Ruslan Ermilov
b5481c54cc Update for texinfo 4.8. 2005-05-23 10:52:07 +00:00
Ruslan Ermilov
13b21befd2 Merge texinfo 4.8 changes onto the trunk. 2005-05-23 10:50:48 +00:00
Ruslan Ermilov
cea538d9c7 Use stock (FSF) version of this file. 2005-05-23 10:50:32 +00:00
Ruslan Ermilov
bea5143702 This commit was generated by cvs2svn to compensate for changes in r146518,
which included commits to RCS files with non-trunk default branches.
2005-05-23 10:47:04 +00:00
Ruslan Ermilov
2531b324df This commit was generated by cvs2svn to compensate for changes in r146515,
which included commits to RCS files with non-trunk default branches.
2005-05-23 10:46:22 +00:00
Ruslan Ermilov
b641f89e08 Import of stripped down GNU texinfo 4.8 2005-05-23 10:46:22 +00:00
Pyun YongHyeon
c21880a7df Make snd_maestro3(4) mpsafe
- Let m3_pchan_trigger()/m3_rchan_trigger() acquire lock and call
   m3_pchan_trigger_locked()/m3_rchan_trigger_locked() respectivly.
 - Mark interrupt handler INTR_MPSAFE.
 - Add locks in sound/channel interface.

Tested by:	nork
2005-05-23 06:27:07 +00:00
Pyun YongHyeon
264166b8bb According to STP2002QFP User's Guide, it seems that driver should
program RXMAC to discard frames with SA field matching the stations's
MAC address. Experimentation shows that HME receives its own frames
when it operates at 10Mbps half-duplex. With this change HME runs at
10Mbps half-duplx should work with IPv6.
(No more "DAD detected duplicate IPv6 address".)

Reported by:	jacques brierre <jbrierre AT bellsouth DOT net>
Reviewed by:	marius
2005-05-23 05:45:36 +00:00
Peter Grehan
24aade12eb Make the liveCD separate ala ia64 - the combined live/install is
too large.
2005-05-23 03:14:56 +00:00
Bruce A. Mah
bf3bb3655d New release notes: gethostby*(3) thread-safe (+MFC), getnetby*(3)
thread-safe (+MFC).
2005-05-23 02:37:35 +00:00
Peter Wemm
ea5d76835f Fix some of the problems Bruce observed with this code. 2005-05-22 23:28:17 +00:00
Pawel Jakub Dawidek
c95cbf7ec7 Protect fsid in freebsd4_getfsstat() in simlar way as it is done in
getfsstat().
2005-05-22 23:05:27 +00:00
Pawel Jakub Dawidek
672d95c55d The code is under '#ifdef not_that_way', but anyway:
- Add missing prison_check_mount() check.
2005-05-22 22:30:31 +00:00
Pawel Jakub Dawidek
e92eb5805c Add missing jail.h include. 2005-05-22 22:23:37 +00:00
Pawel Jakub Dawidek
af6e6219e2 This code seems to be dead, but anyway:
- Don't leak fsid.
- Don't forget about prison_check_mount().
- Don't use additional variable when there is no need to.
2005-05-22 22:20:46 +00:00
Pawel Jakub Dawidek
a0e96a49df If we need to hide fsid, kern_statfs()/kern_fstatfs() will do it for us,
so do not duplicate the code in cvtstatfs().
Note, that we now need to clear fsid in freebsd4_getfsstat().

This moves all security related checks from functions like cvtstatfs()
and will allow to add more security related stuff (like statfs(2), etc.
protection for jails) a bit easier.
2005-05-22 21:52:30 +00:00
Alan Cox
10c447fac2 Swap in can occur safely without Giant. Release Giant on entry to
scheduler().
2005-05-22 21:06:07 +00:00
Damien Bergamini
acea42415f o Clear device-specific PCI register 0x41 (Retry Timeout) during attach
and on resume (reported to fix issues with ACPI)
o Add monitor mode support
o Add WPA (802.11i) support (not tested extensively though!)
o Add a device specific sysctl to control the tx antenna (default to
  antenna diversity)
o Fix sensitivity setting
o Fix setting of the capinfo field when associating
o Temporarly disable 802.11a channels scanning that was causing firmware
  panics with 2915ABG adapters until I find a better fix.  This breaks
  802.11a support.
o Temporarly switch back to software WEP until I implement hardware
  encryption for AES and TKIP too.

Approved by:    silby (mentor)
2005-05-22 18:55:32 +00:00
Damien Bergamini
150bb7c348 Fix WPA (802.11i) support.
Approved by:	silby (mentor)
2005-05-22 18:34:20 +00:00
Damien Bergamini
0e22d2c550 Clear device-specific PCI register 0x41 during attach and on resume.
Appoved by:	silby (mentor)
2005-05-22 18:31:08 +00:00
Bruce A. Mah
63311be5f3 MFCs noted: New ndisulator driver generation procedure, getproto*(3)
thread-safe, getserv*(3) thread-safe, kldstat(8) -m, default stack
size increases.
2005-05-22 18:24:31 +00:00