Mike Makonnen
7c8aa41383
Stop using signals for synchronizing threads. The performance penalty
...
was too much.
2004-03-27 14:39:21 +00:00
Mike Makonnen
a73027fee9
Regen for libthr thread synchronization syscalls.
2004-03-27 14:34:17 +00:00
Mike Makonnen
0af67a2ef9
Use the proc lock to sleep on a libthr umtx.
2004-03-27 14:32:03 +00:00
Mike Makonnen
1713a51661
Separate thread synchronization from signals in libthr. Instead
...
use msleep() and wakeup_one().
Discussed with: jhb, peter, tjr
2004-03-27 14:30:43 +00:00
Ceri Davies
9af414d156
Correct typo in the last revision.
2004-03-27 14:23:25 +00:00
Ceri Davies
a155540f4b
Backout revision 1.140; it seems that the previous version is clear
...
enough.
Requested by: ru
2004-03-27 14:13:53 +00:00
Doug Barton
af85ab16a3
A few small cleanups:
...
1. Add the shutdown keyword so that the script is run at shutdown time,
and the mixer* files are saved.
2. Twiddle whitespace.
3. Remove an unecessary function, and therefore collapse one variable.
2004-03-27 09:26:22 +00:00
Tim J. Robbins
97062607cd
Recognize the "rune" character class in wctype().
2004-03-27 08:59:21 +00:00
Pawel Jakub Dawidek
0b68054f9d
- Add a description for vfs.usermount sysctl.
...
- Add the vfs_equalopts() function for mount options comparsion.
Now it looks much more clear.
- Style fixed.
In co-operation with: bde
2004-03-27 08:39:28 +00:00
Tim J. Robbins
67dc558175
Bump FreeBSD version for UTF-8 locale addition. This is primarily for
...
the benefit of the misc/utf8locale port.
2004-03-27 08:21:00 +00:00
Tim J. Robbins
839b21a6f4
Add UTF-8 versions of all the currently supported system locales. Most of
...
the hard work was done by Hye-Shik Chang in the misc/utf8locale port; I made
a few minor adjustments and merged the makefiles.
PR: 44307
2004-03-27 08:14:15 +00:00
Pawel Jakub Dawidek
6c8cc8ec4b
- Loudly disallow MNT_SUIDDIR mount flag for unprivileged users mounts.
...
- Style fixed.
Submitted by: bde
2004-03-27 08:09:00 +00:00
Garance A Drosehn
c3e741f776
bde also tells me that he is confident that P_SYSTEM will not work
...
any better on 4.x than it does on 5.2. If that's true then there
is no point to the __FreeBSD_version check that I had added.
2004-03-27 06:49:57 +00:00
Garance A Drosehn
f56b4f2de1
Hook pkill' (and thus
pgrep') to the standard buildworld.
...
Reviewed by: freebsd-arch
2004-03-27 05:44:55 +00:00
Garance A Drosehn
b643171bdb
Some style(9)-ish improvements, courtesy of bde.
...
Noticed by: bde
2004-03-27 05:40:31 +00:00
Lukas Ertl
f055f9f2b2
Don't read an inode which isn't used to avoid problems on UFS2 where not
...
all inodes are initialized when running newfs.
Approved by: grog (mentor)
2004-03-26 23:42:32 +00:00
Hidetoshi Shimokawa
10d3ed6459
MFp4: FireWire
...
* all
- s/__FUNCTION__/__func__/.
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
- Compatibility for RELENG_4 and DragonFly.
* firewire
- Timestamp just before queuing.
- Retry bus probe if it fails.
- Use device_printf() for debug message.
- Invalidiate CROM while update.
- Don't process minimum/invalid CROM.
* sbp
- Add ORB_SHORTAGE flag.
- Add sbp.tags tunable.
- Revive doorbell support. It's not enabled by default.
2004-03-26 23:17:10 +00:00
Jim Rees
2754e7333e
fix for 64-bit arch:
...
use %zd to print size_t types and sizeof()
Approved by: alfred
Tested on: sparc64, amd64
2004-03-26 22:44:59 +00:00
Pawel Jakub Dawidek
2c6040bbb7
We probably shouldn't allow users to mount file systems with MNT_SUIDDIR.
...
There should be not shell access when SUIDDIR is compiled in, but
better be sure.
Reviewed by: rwatson
2004-03-26 21:12:14 +00:00
Hajimu UMEMOTO
a5d1aae31a
Validate IPv6 socket options more carefully to avoid a panic.
...
PR: kern/61513
Reviewed by: cperciva, nectar
2004-03-26 19:52:18 +00:00
Garance A Drosehn
3d7fb10b5f
Remove the _PATH_DEVNULL setting for "swapf". From the kvm_open(3)
...
man page: The swapfile argument is currently unused.
Noticed by: ru
2004-03-26 19:29:57 +00:00
Maxim Konovalov
1621280872
o The lenght of the port list is limited to 30 entries in ipfw2 not to 15.
...
PR: docs/64534
Submitted by: Dmitry Cherkasov
MFC after: 1 week
2004-03-26 19:09:22 +00:00
Julian Elischer
c8e8e129a5
MFNetBSD Version 1.146
...
various probing and attaching tweeks.
Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
Obtained from: NetBSD
MFC after: 3 days
2004-03-26 18:56:58 +00:00
Ruslan Ermilov
fd3fbdbe46
Removed more vestiges of the stl(4) driver.
2004-03-26 18:49:11 +00:00
David E. O'Brien
ddffbabad8
Bring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.
2004-03-26 18:46:31 +00:00
Garance A Drosehn
47fc3041b2
Remove the NEED_KMEM support meant for FreeBSD 3.x. This base-system
...
version isn't going to be committed to that branch...
Noticed by: des
2004-03-26 18:02:40 +00:00
Garance A Drosehn
d5ddb9bf52
Switch to checking P_KTHREAD instead of P_SYSTEM when deciding what
...
"system processes" to always ignore. Based on my testing with `-D',
I am pretty sure this is what we want for 5.x-current. If my thinking
is wrong, this also makes it easier to switch to a different check.
2004-03-26 17:51:49 +00:00
Bruce Evans
7644442481
Fixed some style bugs in the residue of rev.1.14 (mainly initialization in
...
declarations, uncuddled elses and excessive braces).
2004-03-26 16:11:13 +00:00
Mike Makonnen
81fda5bdd5
o The mutex locking functions aren't normally cancellation points. But,
...
we still have to DTRT when an asynchronously cancellable thread is
cancelled while waiting for a mutex.
o While dequeueing a waiting mutex don't skip a thread if it has
a cancel pending. Only skip it if it is also async cancellable.
2004-03-26 14:47:54 +00:00
Mike Makonnen
8733f60328
o Initialize a local variable before referencing it. This was not
...
the cause of any bugs because it is *always* indirectly set
in the for...loop, but better to be explicit about it.
o Check the magic number of the passed in thread only after it has
been found in the active thread list. Otherwise, if the check is done
at the very beginning we may end up pointing to garbage if the
thread was once a valid thread, but has now been destroyed.
2004-03-26 14:45:35 +00:00
Ruslan Ermilov
ab82970ed2
Properly document the -M and -N options.
2004-03-26 11:01:45 +00:00
Ruslan Ermilov
376d460cff
Correct the description of the -N option.
2004-03-26 10:48:35 +00:00
Ruslan Ermilov
8482be06ec
-N without -M is pointless.
2004-03-26 09:28:03 +00:00
Ruslan Ermilov
46fb2e1dbc
Not too much point specifying -N but not specifying -M.
2004-03-26 09:24:45 +00:00
Ruslan Ermilov
0b46bb97a7
Update information of how pstat(8) accesses the running system.
2004-03-26 09:04:48 +00:00
Ruslan Ermilov
f9a480abb1
Avoid the manpage layering violation and low-level implementation
...
details of libkvm, and just tell what the getbootfile(3) function
will return, by using the text from netstat(1) and dmesg(8).
2004-03-26 08:54:27 +00:00
Ruslan Ermilov
411ec5a7be
Correct the description of options -N and -M to match reality.
2004-03-26 08:47:01 +00:00
Bruce Evans
29f9611d67
Fixed some style bugs in or related to rev.1.13 (mainly misindentation of
...
the getopt() case statement).
2004-03-26 08:39:36 +00:00
Ruslan Ermilov
cd31922f27
- Remove references to /dev/kmem -- ps(1) utilizes the
...
sysctl(3) interface in kvm(3).
- Document the correct default when no -N is specified.
- Remove stale reference to /var/db/kvm_kernel.db.
- Remove stale reference to /var/run/dev.db.
2004-03-26 08:29:38 +00:00
Ruslan Ermilov
2769244880
Document that kvm_open(3) also accepts "/dev/null" as a special
...
"corefile" argument, to access the running system via sysctl(3)
if possible, thus not requring special setgid privileges.
2004-03-26 08:05:39 +00:00
Ruslan Ermilov
8a34ef53ab
Document that libkvm also uses /dev/kmem, to access KVM.
2004-03-26 08:03:53 +00:00
Ruslan Ermilov
73bfeb89ca
Apply style.Makefile(5).
2004-03-26 07:44:49 +00:00
Noriaki Mitsunaga
f8f9e73124
Add ct(4) man page for ct SCSI host adapter device driver and attach
...
it to the build.
2004-03-26 06:26:45 +00:00
Robert Watson
90b9e3f199
Correct the definition of the multilabel flag: it enables multilabel
...
MAC support on the file system, if supported, which causes MAC to treat
each object as having its own label, rather than using a single label
for all objects on the file system. This doesn't have to be used in
combination with the tunefs/newfs flags -- it's an alternative.
2004-03-26 03:26:15 +00:00
Garance A Drosehn
f72f4d3a9c
Send those -Debug messages to stderr, not stdout...
2004-03-26 02:20:52 +00:00
Garance A Drosehn
c44047c7a8
Add a debugging option, as I don't understand something that I'm seeing.
...
(this is a probably temporary option, and is not to be documented)
2004-03-26 01:43:19 +00:00
Garance A Drosehn
5def7269c2
Remove a redundant check against mypid (the check is done later, in
...
the "Take the appropriate action" section).
Obtained from: the sysutils/pkill port
2004-03-26 01:30:15 +00:00
Garance A Drosehn
eb6d801134
Add a cast to get this to compile with WARNS=5 on sparc64. This is
...
needed because off_t == __int64_t, while size_t == __uint64_t. This
also compiles with WARNS=5 on amd64, but I haven't tested the other
platforms yet.
2004-03-26 00:36:27 +00:00
Garance A Drosehn
ae1a248822
Fixes so this will compile with WARNS=5 on i386.
2004-03-26 00:15:20 +00:00
Garance A Drosehn
7ee9bb7817
Fix two cosmetic style(9) issues.
2004-03-25 23:35:14 +00:00