Commit Graph

99770 Commits

Author SHA1 Message Date
tjr
7c8e81b2ee Merge from RELENG_4 1.28.2.13: Fix saving system crash dumps larger than
2 GB by using fseeko() instead of fseek().
2004-02-20 12:22:52 +00:00
fanf
b4aaffd7f1 Add some missing punctuation symbols, in particular @ which (according to
a recent Press Association release) was added to Morse code by the ITU in
December. @ was previously used for the SK prosign, which is now spelt &.

Obtained from:  http://en.wikipedia.org/wiki/Morse_code
2004-02-20 11:55:38 +00:00
ru
86fc5ce7eb Unbreak the upgrade path from 4.9 after removal of GNU getopt and
<gnuregex.h>.
2004-02-20 11:55:14 +00:00
simokawa
c0cbfaca11 Normalize polling interval while the target is offline. 2004-02-20 10:59:46 +00:00
wilko
40aff8c85b List EPSON Perfection 3200 as supported.
Reminded by: simon
2004-02-20 09:54:32 +00:00
pjd
6584129072 New failure detection algorithm was backed out, so backout manual
page change as well.

Requested by:	scottl (mentor)
2004-02-20 09:52:26 +00:00
pjd
f46ecc83c0 Backout previous change, it breaks build and it is not needed
layering violation. As pointed out, there is much better way to do this.
Sorry guys, I need to find a better way to force reviews.

Requested by:	harti, julian, scottl (mentor)
Pointy hat to:	pjd
2004-02-20 08:26:27 +00:00
green
714207efaa Document dependence of mktemp(3) on the non-reentrant arc4random(3). 2004-02-20 04:08:28 +00:00
green
5524aeaf04 Make sure to wake up any select waiters when closing a kqueue (also, not
crash).  I am fairly sure that only people with SMP and multi-threaded
apps using kqueue will be affected by this, so I have a stress-testing
program on my web site:
<URL:http://green.homeunix.org/~green/getaddrinfo-pthreads-stresstest.c>
2004-02-20 04:00:48 +00:00
marcel
4eb7a1796d Moving forward, there's no reason to exclude libpthread on sparc64. 2004-02-20 03:42:34 +00:00
gad
747da9d662 Change the 'realclean' target name to be 'cleanworld', to match other
targets like buildworld, installworld.

Suggested by:	obrien
2004-02-20 02:10:35 +00:00
matk
c9f8eee343 Fix a glitch in my last commit and revert to using selwakeuppri
Noticed by:	tanimura
Noticed by:	truckman
2004-02-20 01:24:57 +00:00
wilko
c49d905c34 Make uscanner recognise EPSON Perfection 3200. Tested with xsane.
PR: kern/63041
MFC after: 3 days
2004-02-19 22:05:10 +00:00
jhb
cc8095db80 Tidy up the thread taskqueue implementation and close a lost wakeup race.
Instead of creating a mutex that we msleep on but don't actually lock when
doing the corresponding wakeup(), in the kthread, lock the mutex associated
with our taskqueue and msleep while the queue is empty.  Assert that the
queue is locked when the callback function is called to wake the kthread.
2004-02-19 22:03:52 +00:00
wilko
a8654cc30c Add EPSON Perfection 3200 scanner. 2004-02-19 22:01:28 +00:00
wilko
bd255838c8 Add EPSON Perfection 3200 scanner 2004-02-19 21:58:23 +00:00
gad
9001e583c9 Improvements on the 'make realclean' target. Some are style improvements,
but the biggest issue is that there are situatons when
${.OBJDIR} == ${.SRCDIR}, and in those situations the previous version
would happily remove all your /usr/src while it was cleaning out the objects.
Not that *you* would be happy about it...  Thanks to bde for immediately
noticing this serious possibility.

More improvements will be made to this target, but I wanted to commit this
safer version right now, before anyone lost their /usr/src due to it.

Reviewed by:	bde
MFC after:	10 days
2004-02-19 21:09:58 +00:00
nectar
7d861c8e43 Rework jail_attach(2) so that an already jailed process cannot hop
to another jail.

Submitted by:	rwatson
2004-02-19 21:03:20 +00:00
obrien
afe9900af0 Allow to compile with non-GCC compiler. 2004-02-19 20:02:38 +00:00
phk
3eb009d511 s/bytes/byte/ 2004-02-19 19:53:07 +00:00
philip
147a0b96b5 Document the acpi_toshiba driver written by Hiroyuki Aizu.
Approved by:	njl (mentor)
2004-02-19 19:35:27 +00:00
phk
1f5e4a17fe Report the correct length for symlink entries. 2004-02-19 19:09:52 +00:00
kientzle
dc7b4de841 Clarify the "lp" description to mention port@host syntax.
Suggested by: NetBSD man page
2004-02-19 18:55:55 +00:00
jhb
dff948daaa Add back an include to fix the build for the CPU_ELAN case. 2004-02-19 18:34:26 +00:00
njl
ae80e53106 Use ACPI_NEXT_RESOURCE instead of defining our own copy. The one provided
with ACPI-CA is identical now.
2004-02-19 18:20:03 +00:00
njl
4848d69b72 Do not remove the fixed handlers. Several systems (e.g., ASUS) only
return events on the fixed handler even after defining a duplicate in the
AML.  While this violates the spec, hopefully we can get by with leaving
both installed.
2004-02-19 18:16:34 +00:00
pjd
7ad31298b5 Update manual page (new failure detection algorithm was added).
Approved by:	scottl (mentor)
2004-02-19 17:05:32 +00:00
pjd
4dea21c845 Add new failure detection algorithm.
It works as follows:
In every 'interval' seconds defined links are checked.
If they are non-active they will not be used by to data transfer.

No response from:	julian, archie
Silent on:		net@
Approved by:		scottl (mentor)
2004-02-19 17:04:23 +00:00
pjd
4e0ed22950 Export private structure owned by ng_ether(4) module outside.
It'll is required by new failure detection algorithm for ng_one2many(4).

No response from:	julian, archie
Silent on:		net@
Approved by:		scottl (mentor)
2004-02-19 16:58:01 +00:00
pjd
41d581dde7 Add control utility for disk concatenation (GEOM_CONCAT class).
Reviewed by:	phk, scottl
Approved by:	scottl (mentor)
2004-02-19 16:02:08 +00:00
des
28570be1ac Turn non-PAM password authentication off by default when USE_PAM is
defined.  Too many users are getting bitten by it.
2004-02-19 15:53:31 +00:00
pjd
4aafaf11c0 Makefile needed for building geom_concat module.
Approved by:	scottl (mentor)
2004-02-19 15:43:58 +00:00
pjd
812ebd8a86 Introduce CONCAT GEOM class for disk concatenation.
It allows manual and automatic (based on on-disk metadata) concatenation.

Reviewed by:	phk, scottl
Approved by:	scottl (mentor)
2004-02-19 15:19:49 +00:00
ume
dc76aad729 - call ip6_output() instead of nd6_output() when ipsec tunnel
mode is applied, since tunneled packets are considered to be
  generated packets from a tunnel encapsulating node.
- tunnel mode may not be applied if SA mode is ANY and policy
  does not say "tunnel it".  check if we have extra IPv6 header
  on the packet after ipsec6_output_tunnel() and call ip6_output()
  only if additional IPv6 header is added.
- free the copyed packet before returning.

Obtained from:	KAME
2004-02-19 14:57:22 +00:00
pjd
5f629d0a5c Path correction.
Approved by:	scottl (mentor)
2004-02-19 14:32:44 +00:00
pjd
96c136a1c4 Added sysctl security.jail.jailed.
It returns 1 is process is inside of jail and 0 if it is not.
Information if we are in jail or not is not a secret, there is plenty of
ways to discover it. Many people are using own hack to check this and
this will be a legal way from now on.

It will be great if our starting scripts will take advantage of this sysctl
to allow clean "boot" inside jail.

Approved by:	rwatson, scottl (mentor)
2004-02-19 14:29:14 +00:00
pjd
3cd2076d80 Simplify check. We are only able to check exclusive lock and if
2nd condition is true, first one is true for sure.

Approved by:	jhb, scottl (mentor)
2004-02-19 14:19:31 +00:00
pjd
28ef252b32 Fixed ucred structure leak.
Approved by:	scottl (mentor)
PR:		54163
MFC after:	3 days
2004-02-19 14:13:21 +00:00
mtm
c52ee98646 Implement PThreads barriers and barrier attributes. 2004-02-19 13:51:52 +00:00
mtm
0367bb023a Don't wake up the thread after the signal handler
has been executed. On return from the signal handler
the call will either be restarted or EINTR will be returned,
but it will not go back to its previous state. So, it is
sufficient to simply change the state to 'running' without
actually trying to wake up the thread.
2004-02-19 13:47:12 +00:00
nyan
6edfd81f84 MFi386: revision 1.466 2004-02-19 13:10:39 +00:00
bms
6fd2188a29 Add BSD compatibility tty ioctls LINUX_TIOCSBRK and LINUX_TIOCCBRK. This
addition appears to allow VMware 3 Workstation to operate with nmdm(4)
as a virtual COM device.

Tested by:	Guido van Rooij
2004-02-19 12:38:12 +00:00
ru
9f143cffb5 Improve formatting. 2004-02-19 12:02:54 +00:00
truckman
06cf86d7ae When reparenting a process in the PT_DETACH code, only set p_sigparent
to SIGCHLD if the new parent process is initproc.

MFC after:	2 weeks
2004-02-19 10:39:42 +00:00
tjr
fa90789647 Use size_t or ssize_t wherever appropriate instead of casting from int *
to size_t *, which is incorrect because they may have different widths.
This caused some subtle forms of corruption, the mostly frequently
reported one being that the last character of a filename was sometimes
duplicated on amd64.
2004-02-19 09:56:58 +00:00
tjr
d954914989 Enforce the file size limit in VOP_WRITE() as well as VOP_TRUNCATE();
pointed out by bde.
2004-02-19 09:06:06 +00:00
alc
f27672b5fe - Correct a long-standing race condition in vm_page_try_to_free() that
could result in a dirty page being unintentionally freed.
 - Simplify the dirty page check in vm_page_dontneed().

Reviewed by:	tegge
MFC after:	7 days
2004-02-19 07:43:55 +00:00
mtm
b1e6d83944 Don't forget to enable the ipv6 firewall once the rules are loaded.
PR:		misc/61501
Submitted by:	Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
2004-02-19 06:53:24 +00:00
truckman
93febb8b1c A Linux thread created using clone() should not send SIGCHLD to its
parent if no signal is specified in the clone() flags argument.

PR:		42457
MFC after:	2 weeks
2004-02-19 06:43:48 +00:00
mtm
59dcbb0be8 In-line documentation.
Prodded by: alfred
2004-02-19 05:49:06 +00:00