122300 Commits

Author SHA1 Message Date
simokawa
65f894c866 MFC: syscons.c rev. 1.453 and syscons.h rev. 1.88
Serialize output routine of terminal emulator (te_puts()) by a lock.
2007-10-25 06:09:15 +00:00
edwin
a3a277382f MFC of 1.11
Teach makewhatis.c to treat .SS with the same severity as .SH.

At least one port (net-mgmt/net-snmp) creates man-pages which are
in the format:

.SH NAME
The Net-SNMP agent \- The snmp agent responds to SNMP queries from manag
ement stations.

.PP
.SS "Modules"

At this moment, makewhatis determines the end of the .SH NAME section
as where it finds .SH again, but there is none here, is it "terminated"
by the .SS.

PR: bin/116706
Submitted by: edwin@
2007-10-25 03:52:42 +00:00
dougb
194b5d210c MFC revisions 1.13 of NETWORKING and 1.37 of resolv:
1. Make resolv order deterministic by REQUIRE'ing it in NETWORKING,
and having resolv REQUIRE netif.
2. Tighten up the code and fix whitespace in resolv
2007-10-24 21:36:09 +00:00
thompsa
9561c1895f MFC if_lagg.c r1.20, if_lagg.h r1.11
Fix two panics in lagg. Updating a pointer with shared locking and a double
  mbuf free.
2007-10-24 21:19:02 +00:00
thompsa
b29909d99c MFC r1.181
Check for multicast destination on bpf injected packets.
2007-10-24 21:15:54 +00:00
dougb
2965f0f818 Bring all files up to date with HEAD, which includes:
1. Misc. typo fixes
2. Lots of duplicate removal in the limerick file
3. Some updates to freebsd-tips

And most recently:
MFC fortunes 1.242: The original version of "The Guy in the Glass" with
proper attribution. See also http://www.theguyintheglass.com/

MFC fortunes 1.243, fortunes-o.real 1.23, and limerick 1.12:
Fix a few small typos and remove a duplicate
2007-10-24 21:09:34 +00:00
rafan
428444e563 MFC ctype(3) fix for UTF-8 locale. See original commit log for details.
PR:		116363
Reported by:	Petr Hroudny <petr.hroudny at gmail.com>
Patched by:	ache
Reviewed by:	i18n@
Approved by:	re (kensmith)
OK-ed by:	portmgr
2007-10-24 14:32:33 +00:00
jhb
99c05fd9d9 MFC 1.39: Grrr, a fix for the rman_set_rid() stuff I missed in my earlier
MFC.
2007-10-24 12:36:25 +00:00
nyan
abb9fc692b MFC: Optimize for size on pc98. 2007-10-24 11:50:07 +00:00
kensmith
8a7064c888 Cheat slightly - not really 6.3-STABLE yet but it's not 6.2-STABLE
either; this is close enough...
2007-10-23 23:45:14 +00:00
kensmith
70306e8861 Make people aware we're entering the FreeBSD-6.3 release cycle. 2007-10-23 23:41:24 +00:00
obrien
f51c24d750 MFC: rev. 1.61: remove the need to forward declare statics. 2007-10-23 16:07:30 +00:00
daichi
bfaad8d809 MFC:
This changes give nullfs correctly work with latest unionfs.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:38:32 +00:00
daichi
8c9762ee1d MFC:
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less
disk-space using mode especially for resource restricted environments
like embedded environments. (Contributed by Ed Schouten. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:37:10 +00:00
daichi
f57250af76 MFC:
Fixed un-vrele issue of upper layer root vnode of  unionfs.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:34:58 +00:00
daichi
0fb12d7a9a MFC:
Added NULL check code pointed out by Coverity. (via Stanislav
Sedov. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:33:43 +00:00
daichi
c4a793469a MFC:
- It has been become MPSAFE.
  - Fixed lock panic issue under MPSAFE.
  - Fixed panic issue whenever it locks vnode with reclaim.
  - Fixed lock implementations not conforming to vnode_if.src style.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:32:17 +00:00
daichi
2dcb77bc65 MFC:
Fixed vnode unlock/vrele untreated issues whenever errors have
occurred during some treatments.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:30:13 +00:00
daichi
0fc7d44766 MFC:
- Added support for vfs_cache on unionfs. As a result, you can use
    applications that use procfs on unionfs.
  - Removed unionfs internal cache mechanism because it has
    vfs_cache support instead. As a result, it just simplified code of
    unionfs.
  - Fixed kern/111262 issue.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:28:22 +00:00
daichi
10c0c20643 MFC:
Added treatments to prevent readdir infinity loop using with Linux binary
compatibility feature.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:26:37 +00:00
daichi
87857aa796 MFC:
Changed it frees unneeded memory ASAP.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:24:37 +00:00
daichi
6995b1a323 MFC:
Improved access permission check treatments.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:22:48 +00:00
julian
38803a46dd holy shit! that was checked out in RELENG_6.. back it out and put it in the right branch! 2007-10-21 04:22:46 +00:00
julian
b2067b7072 Note the renaming of kthread_xxx to kproc_xxx in 800002 2007-10-21 04:17:29 +00:00
obrien
e5c45d1b20 MFC: Remove sparc64 & PowerPC MD 'reboot' and 'halt' commands and make them
MI.  'reboot' is an alias for 'reset'.
2007-10-19 16:48:43 +00:00
mtm
91bbf45176 MFC:
rmuser.8 rev. 1.24,1.24 : Typo fixes.

  adduser.8 rev. 1.57-1.59: Typo and markup fixes
            rev. 1.56:
            Add adding_user.8 to SEE ALSO, note that usernames may
            contain any character but not being with a hyphen,
            similar to adding_user.8.

            PR:     35732
2007-10-19 08:16:30 +00:00
mtm
93dac539c3 MFC:
rev. 1.10
	The POP daemon's temporary mail file has a leading dot ('.').
	This was lost in the shell script rewrite of the rmuser command.
2007-10-19 07:55:52 +00:00
kientzle
04748f6a7c MFC: archive_write_set_format_cpio.c 1.12
MFC: archive_write_set_format_cpio_newc.c 1.2

Non-regular files should have zero-length bodies.  libarchive
flags this to clients by updating the entry description when
it writes the header.
2007-10-19 03:50:48 +00:00
jhb
bea8fbc3a5 MFC: Allow recursion on the 'zones' internal UMA zone. 2007-10-18 18:45:53 +00:00
edwin
859d90bad0 MFC of src/share/zoneinfo
MFV: tzdata2007h
2007-10-18 13:05:49 +00:00
kientzle
984f128033 MFC 1.15: Return EOF immediately for non-regular files, don't
return an empty block first.  In particular, this fixes a bogus
warning from bsdtar when restoring directories from ZIP archives.

Also, correct the return values at EOF to include the correct
offset.
2007-10-18 05:19:44 +00:00
cognet
1367de3db3 MFC:
arm/xscale/i80321/i80321_timer.c 1.8
arm/xscale/i80321/std.iq31244 rev 1.3
conf/options.arm rev 1.6
The IQ80321 clock is 200MHz, but the IQ31244 is 198MHz, so add a kernel option
to override the frequency
2007-10-17 23:29:02 +00:00
jhb
15a7b85980 MFC: Fix for a race where out of order loading of NFS attrs into the
nfsnode could lead to attrs being stale.
2007-10-17 16:07:10 +00:00
cognet
62c34d6b2a Oops. Remove a debug printf.
Spotted out by:	delphij
2007-10-16 21:32:19 +00:00
cognet
a84343f0d6 MFC the reimplementation of ARM_USE_SMALL_ALLOC. 2007-10-16 21:24:44 +00:00
cognet
667ea2c135 MFC rev 1.33/
date: 2007/06/10 12:33:01;  author: cognet;  state: Exp;  lines: +2 -1
Initialize the dma tag's bounce_zone to NULL if we didn't allocate it.
2007-10-16 21:13:59 +00:00
cognet
82ceddb921 Use 16 - 1 instead of 16 as the align argument of uma_zcreate(), as it's
what is expected.
2007-10-16 21:10:26 +00:00
cognet
5ed5293aba MFC rev 1.32:
date: 2007/06/07 21:51:09;  author: cognet;  state: Exp;  lines: +3 -4
There's no nobounce_dmamap on arm.
2007-10-16 19:59:50 +00:00
cognet
314e9f787e Make td_sqqueue explicitely signed, as we compare it with >= 0. On arm,
char defaults to unsigned.
2007-10-16 19:57:36 +00:00
cognet
39d6ab9801 MFC rev 1.78:
revision 1.78
date: 2007/02/05 10:33:39;  author: kevlo;  state: Exp;  lines: +0 -1
<sys/sx.h> is unneeded.
2007-10-16 19:52:11 +00:00
delphij
e54765369e MFC: less v409 2007-10-15 17:01:30 +00:00
sepotvin
b37e731666 MFC:
- Fix a small bit slip in PCIM_PCAP_D[0-2]PME defines.
- Add the definitions for D3PME_COLD and D3PME_HOT capabilities.

Approved by:	njl (mentor)
2007-10-15 02:43:39 +00:00
maxim
08383c0d27 MFC rev.1.108: fix the issue when "ipfw(8) show" produces "not" twice. 2007-10-14 08:58:01 +00:00
jhb
bab546c630 MFC: Use the correct pid when checking to see whether or not the
/proc/<pid> directory is visible to the current thread.
2007-10-12 19:38:39 +00:00
kib
97f3ce4e2c MFC rev. 1.35:
Deny attempt to malloc unbounded amount of the memory.
Convert malloc()/bzero() to malloc(M_ZERO).
2007-10-12 10:24:21 +00:00
jfv
f464b3caaa Fix the duplicate include stanza.
PR: 117125
2007-10-12 07:49:33 +00:00
mav
3750cc7cc3 MFC rev. 1.18-1.21
- Fix thread safety.
 - Make some optimizations.
2007-10-12 05:09:13 +00:00
jkim
be00572ccd Fix SUBDIR expansion and reduce diff from HEAD. 2007-10-11 23:47:28 +00:00
thompsa
f3e06bc436 Sync to HEAD. 2007-10-11 20:29:41 +00:00
thompsa
7d4e7d98da MFC if_bridge.c r1.103, if_bridge.4 r1.29
Allow additional packet filtering on the physical interface for locally
  destined packets, disabled by default.

PR:             kern/116051
Submitted by:   Eygene Ryabinkin
2007-10-11 20:28:53 +00:00