dwmalone
e4d2e331fb
Build OpenSSL so that it extects that is may be used in a threaded
...
environment. This stops some ports keeling over on an OpenSSL assert.
(The patch is not exactly the one from the PR, but has been refined
based on advice from freebsd-threads.)
PR: 51205
Submitted by: Jim Westfall <jwestfall@surrealistic.net>
MFC after: 1 month
2004-03-30 11:30:02 +00:00
ru
a3ec925a30
The VLAN TCI field should be operated in network byte order.
...
This fixes the VLAN support for nge(4).
Reported by: Jacob S. Barrett
MFC after: 3 days
2004-03-30 10:24:52 +00:00
tjr
1a32baef3b
Add cross-references to isideogram(3), isphonogram(3), isrune(3),
...
isspecial(3) and wctype(3).
2004-03-30 08:11:57 +00:00
alc
707630ec9c
White space and wording changes to init_param3().
...
Mostly submitted by: bde
2004-03-30 08:00:11 +00:00
ru
79c8b2680e
Sync manpage's synopsis with usage().
2004-03-30 07:37:04 +00:00
njl
b33d64d240
Disable serialize_methods and enable _OSI support by default. The former
...
is necessary because some IBMs use recursive methods (pointed out by
Robert Moore from Intel). The latter was a typo on my part. It was disabled
by default when it should have been enabled.
2004-03-30 07:35:18 +00:00
tjr
0e393613f2
Add basic manual pages for isideogram(), isphonogram(), isrune()
...
and isspecial().
2004-03-30 07:23:54 +00:00
tjr
94fd478493
Trim cross-references.
2004-03-30 07:19:35 +00:00
tjr
9d08058845
Document the isnumber() and ishexnumber() functions, and explain how they
...
differ (at least in theory) from isdigit() and isxdigit().
2004-03-30 07:02:04 +00:00
bde
0d09dc88d5
Fixed a style bug in previous commit (misformatted comment). Fixed
...
some nearby bugs (rotted and missing comments). Use similar wording
for describing broken options.
2004-03-30 07:01:56 +00:00
kuriyama
9b713c0d7f
Down to WARNS=2 for a while.
2004-03-30 06:16:41 +00:00
scottl
5cbc345b39
Catch all cases where bread() returns an error and a valid *bp, and release
...
the *bp.
Obtained from: DragonFlyBSD
2004-03-30 05:01:48 +00:00
gad
283e539306
Switch to using strtoul() for parsing a potential UID or GID, which gets
...
this to correctly handle UID's and GID's larger than 2147483647.
Noticed by: bde
MFC after: 1 week
2004-03-30 04:20:33 +00:00
vkashyap
8e955dcc90
Initial check-in of the device driver for 3ware's 9000 series
...
PATA/SATA RAID controllers. This driver is a SIM under CAM, and
so, behaves like a driver for a SCSI controller.
2004-03-30 03:46:00 +00:00
rwatson
b5754b5316
Prefer NULL to 0 when testing and assigning pointer values.
2004-03-30 02:16:25 +00:00
gad
463bc2f183
Bruce would really like the prototype for fmt() to be split across lines
...
this way (although I still think it "looks weird"...).
Requested by: bde
MFC after: 1 week
2004-03-30 02:02:40 +00:00
gad
7bd5799f72
Minor style fixes, mostly adding indent-protection on some comment-blocks.
...
Noticed by: bde
MFC after: 1 week
2004-03-30 01:59:22 +00:00
gad
ec3d9baab5
Replace pscomp() with a cleaner version, mostly written by bde (*).
...
This corrects a problem of lost-precision for `-r' (sort-by-CPU). Also,
for sort-by-CPU and sort-by-memory, any processes which have the same
value CPU or MEMORY are now sorted by TTY and then (if needed) by pid.
(* - I just added the NODEV checks, after doing some testing of my own)
Submitted by: bde
MFC after: 1 week
2004-03-30 01:45:23 +00:00
kuriyama
235cde4aca
Make libdisk WARNS=4 clean.
...
Glanced by: jhb
2004-03-30 01:39:00 +00:00
peter
7957bc47f6
Shorten some XXXKSE commentry
2004-03-29 22:46:54 +00:00
peter
5e91995e52
Kill some XXXKSE's. vnlru/syncer are single threaded.
2004-03-29 22:45:33 +00:00
peter
1f224a3d83
Clean up the stub fake vnode locking implemenations. The main reason this
...
stuff was here (NFS) was fixed by Alfred in November. The only remaining
consumer of the stub functions was umapfs, which is horribly horribly
broken. It has missed out on about the last 5 years worth of maintenence
that was done on nullfs (from which umapfs is derived). It needs major
work to bring it up to date with the vnode locking protocol. umapfs really
needs to find a caretaker to bring it into the 21st century.
Functions GC'ed:
vop_noislocked, vop_nolock, vop_nounlock, vop_sharedlock.
2004-03-29 22:41:21 +00:00
rwatson
8e41c82b83
Add per-softc locking to if_tun:
...
- Add tun_mtx to tun_softc. Annotate what is (and isn't) locked by it.
- Lock down tun_flags, tun_pid.
- In the output path, cache the value of tun_flags so it's consistent
when processing a particular packet rather than re-reading the field.
- In general, use unlocked reads for debugging.
- Annotate a couple of places where additional unlocked reads may be
possible.
- Annotate that tun_pid is used as a bug in tunopen().
if_tun is now largely MPSAFE, although questions remain about some of
the cdevsw fields and how they are synchronized.
2004-03-29 22:16:39 +00:00
tjr
8aa9f6fafe
Remove duplicate MLINK.
2004-03-29 21:46:52 +00:00
robert
887e0f772b
Bring these files closer to style(9) conformance by comparing a
...
dereferenced character pointer to '\0' instead of using the ! operator.
2004-03-29 21:15:41 +00:00
imp
314f26c8ec
Eliminate support for FreeBSD 3.x and earlier now that we're in the
...
glide path for the 5.x branch.
2004-03-29 21:10:05 +00:00
des
3f9f949de6
Fix the case where $ntpdate_hosts was not specified and /etc/ntp.conf
...
does not exist.
Submitted by: ru
2004-03-29 20:00:54 +00:00
hmp
21981a0b0e
Mdoc Police:
...
* Use .Fa instead of .Pa for function arguments.
* Utilize the .Po/.Pc commands for parenthesis
so the format is not ruined.
Inspired by: pjd's last commit to this file
2004-03-29 19:42:21 +00:00
peter
09ff2f9fe5
Finish tidying up a couple of leftovers from the KSTACK_PAGES stuff. Some
...
files still #included the opt_ file. powerpc hadn't been updated yet.
2004-03-29 19:38:05 +00:00
pjd
58c539faf0
Note that we can pass NULL as 4th argument for copystr() and copyinstr()
...
functions.
With little mdoc(7) help from: hmp
2004-03-29 19:23:45 +00:00
rwatson
1d1b2c7f35
Lock down if_tun global variables using a new mutex, tunmtx. As with
...
other pseudo-interfaces, break out tear-down of a softc into a
separate tun_destroy() function, and invoke that from the module
unloader. Hold tunmtx across manipulations of the global softc list.
2004-03-29 18:42:51 +00:00
dfr
f758b08c5a
If we change obj_rtld.path after initialising __progname, make sure we
...
change __progname to point at the new storage otherwise it ends up
pointing at freed memory which leads to confusing garbled error messages.
2004-03-29 18:37:37 +00:00
rwatson
b39ce8f898
Use a common return path for filt_soread() and filt_sowrite() to
...
simplify the impact of locking on these functions.
Submitted by: sam
Sponsored by: FreeBSD Foundation
2004-03-29 18:06:15 +00:00
rwatson
4edcdd352b
In sofree(), moving caching of 'head' from 'so->so_head' to later in
...
the function once it has been determined to be non-NULL to simplify
locking on an earlier return.
2004-03-29 17:57:43 +00:00
rwatson
f31d099747
If debug.mpsafenet, initialize UNIX domain socket timeouts as MPSAFE;
...
otherwise, assert Giant in the callouts.
2004-03-29 17:00:05 +00:00
mtm
a9677be93b
o Also check that the mutex type is not less than the minimum allowable value.
...
o Don't check attribute for NULL. It's the callers responsibility.
2004-03-29 13:57:55 +00:00
mtm
f4172a5e78
Make the minimum implementation of pthread_kill conform to the
...
functionality spelled out in SUSv3.
o Signal of 0 means do everything except send the signal
o Check that the signal is not invalid
o Check that the target thread is not dead/invalid
2004-03-29 13:56:04 +00:00
mtm
1f163908e4
o Don't explicitly check the thread for NULL. That is the caller's
...
responsibility.
o If a thread is not joinable, the correct return value is EINVAL.
2004-03-29 13:53:43 +00:00
mtm
319c9db836
o If a thread is marked as detached AND on the dead threads list
...
the correct return value is ESRCH.
o Don't check the attribute for NULL. It's the caller's responsibility.
o Make the bitwise comparison explicit.
2004-03-29 13:51:51 +00:00
nyan
af934bf968
Add a comment about time stamper.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2004-03-29 12:51:46 +00:00
mtm
e278045fda
If a condition variable is statically initialized don't return
...
an error. Return successfully without doing anything.
2004-03-29 11:24:02 +00:00
des
2de3c90500
This commit was generated by cvs2svn to compensate for changes in r127563,
...
which included commits to RCS files with non-trunk default branches.
2004-03-29 11:18:25 +00:00
des
46ece38451
Synch with NetBSD: avoid "unused parameter" warning.
2004-03-29 11:18:25 +00:00
tjr
2a53b4b598
Add directories under /usr/share/nls and /usr/local/share/nls
...
for the new UTF-8 locales.
Reminded by: ache
2004-03-29 11:07:35 +00:00
mtm
f48b8920dc
The thread suspend function now returns ETIMEDOUT, not EAGAIN.
2004-03-29 09:35:07 +00:00
pjd
b1d34c6743
Make fingerd(8) WARNS2 clean.
2004-03-29 09:29:51 +00:00
tjr
c52614f2e5
Oops; remove ko_KR.eucKR/LC_MONETARY -> ko_KR.UTF-8/LC_MONETARY symlink.
2004-03-29 09:03:14 +00:00
mtm
e5540ff230
o Remove more references to SIGTHR
...
o Remove clock resolution information left over from libc_r
2004-03-29 05:45:01 +00:00
gad
e706cf764f
Oops. Remove some ';'s in #defines added by a previous update.
...
Noticed by: bde
2004-03-29 03:03:28 +00:00
rwatson
7360350f89
Conditionally acquire Giant when entering the sockets layer via the
...
socket-specific system calls based on debug.mpsafenet, rather than
acquiring Giant unconditionally.
2004-03-29 02:21:56 +00:00