tjr
642f4c91af
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
pjd
b04fb12275
- Loudly disallow MNT_SUIDDIR mount flag for unprivileged users mounts.
...
- Style fixed.
Submitted by: bde
2004-03-27 08:09:00 +00:00
gad
0544a9076c
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
gad
df297ea749
Hook pkill' (and thus
pgrep') to the standard buildworld.
...
Reviewed by: freebsd-arch
2004-03-27 05:44:55 +00:00
gad
6f505f861a
Some style(9)-ish improvements, courtesy of bde.
...
Noticed by: bde
2004-03-27 05:40:31 +00:00
le
8deb46de83
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
simokawa
3e9f33ddfa
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
rees
d5e8f62700
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
pjd
b05f0288da
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
ume
11f479f519
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
gad
b44e46cbe7
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
b44c8fb7c5
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
714a4cc72b
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
ru
82790ffa5b
Removed more vestiges of the stl(4) driver.
2004-03-26 18:49:11 +00:00
obrien
9c19d495cc
Bring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.
2004-03-26 18:46:31 +00:00
gad
c68ce6b369
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
gad
56527d5cca
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
bde
f32b255d3a
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
mtm
194cc11a54
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
mtm
8d2a2db80c
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
ru
a05bd8e51a
Properly document the -M and -N options.
2004-03-26 11:01:45 +00:00
ru
a27854b6a7
Correct the description of the -N option.
2004-03-26 10:48:35 +00:00
ru
f4968f78df
-N without -M is pointless.
2004-03-26 09:28:03 +00:00
ru
74e1fa6daf
Not too much point specifying -N but not specifying -M.
2004-03-26 09:24:45 +00:00
ru
fb7b3f0382
Update information of how pstat(8) accesses the running system.
2004-03-26 09:04:48 +00:00
ru
e07a59b2f0
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
ru
f969fd5d33
Correct the description of options -N and -M to match reality.
2004-03-26 08:47:01 +00:00
bde
1c06796286
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
ru
482875344b
- 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
ru
6320e86ac0
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
ru
b8af1b3b30
Document that libkvm also uses /dev/kmem, to access KVM.
2004-03-26 08:03:53 +00:00
ru
96600648f5
Apply style.Makefile(5).
2004-03-26 07:44:49 +00:00
non
ed6c04f267
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
rwatson
b7e237c3e1
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
gad
287db31bb7
Send those -Debug messages to stderr, not stdout...
2004-03-26 02:20:52 +00:00
gad
571652e41d
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
gad
15a643c5a9
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
gad
cdcabcc058
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
gad
f1cfebc0c5
Fixes so this will compile with WARNS=5 on i386.
2004-03-26 00:15:20 +00:00
gad
76e43dfda7
Fix two cosmetic style(9) issues.
2004-03-25 23:35:14 +00:00
gad
3efbac5f39
Add a comment for when these utilities were added to FreeBSD, and add
...
a cross-reference to killall(1).
2004-03-25 23:32:12 +00:00
gad
a932a157f4
Add -M' and
-N' options to pkill' and
pgrep', similar to
...
what are supported in `ps':
-M Extract values associated with the name list from the
specified core instead of the default /dev/kmem.
-N Extract the name list from the specified system instead
of the default /kernel.
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
2004-03-25 23:19:16 +00:00
gad
6db55881ec
Use the correct type for some casts, thus avoiding a few warning messages
...
when compiling with WARNS=3
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
2004-03-25 22:08:52 +00:00
gad
4200a71a9f
Change some routine and variable names to match the FreeBSD system.
...
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
2004-03-25 21:58:56 +00:00
imp
ea15b55852
Add support for a new variant of the prism3 that has appaered in the
...
wild. This one is marketed by D-Link model DWL-650, but appears to be
a ISL3710P-10 under the hood.
Reported by: Brian O'Shea
2004-03-25 21:58:55 +00:00
imp
0bb017e235
Sync to pccarddevs 1.82
2004-03-25 21:56:43 +00:00
imp
988874931b
Add a new Intersil card that DLINK is selling as the DWL-650.
...
Reported by: Brian O'Shea
2004-03-25 21:56:28 +00:00
rees
4bf96c35a5
only do nfs rpc callouts if there is work to do.
...
Submitted by: kan
Approved by: alfred
2004-03-25 21:48:09 +00:00
jhb
75ae6199e5
- Only build a fixit floppy on i386 and pc98.
...
- Reenable boot floppies for Alpha.
2004-03-25 20:37:59 +00:00
jhb
00ea003e16
Enable splitfs in the Alpha boot loaders.
2004-03-25 20:36:57 +00:00