]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoVarious style improvements, mostly in comments and indentation.
gad [Mon, 29 Mar 2004 01:15:27 +0000 (01:15 +0000)]
Various style improvements, mostly in comments and indentation.

Suggested by: bde (well, for most of them)

20 years agoModify BPF descriptor assertions to assert Giant when a BPF descriptor
rwatson [Mon, 29 Mar 2004 00:33:39 +0000 (00:33 +0000)]
Modify BPF descriptor assertions to assert Giant when a BPF descriptor
lock is asserted and running non-MPSAFE.

20 years agoConditionally assert Giant in fputsock() based on the value of
rwatson [Mon, 29 Mar 2004 00:33:02 +0000 (00:33 +0000)]
Conditionally assert Giant in fputsock() based on the value of
debug.mpsafenet.

20 years agoIn the routines I've been working on, sort the variable declartions
gad [Mon, 29 Mar 2004 00:25:09 +0000 (00:25 +0000)]
In the routines I've been working on, sort the variable declartions
so that non-pointers are listed after pointer-type variables.

Noticed by: bde

20 years agoSplit two 'fmt' strings so they're easier to read on 80-char windows.
gad [Mon, 29 Mar 2004 00:16:19 +0000 (00:16 +0000)]
Split two 'fmt' strings so they're easier to read on 80-char windows.

20 years agoSort the declarations of global variables.
gad [Mon, 29 Mar 2004 00:12:03 +0000 (00:12 +0000)]
Sort the declarations of global variables.

20 years agoSort the routine prototypes.
gad [Sun, 28 Mar 2004 23:44:29 +0000 (23:44 +0000)]
Sort the routine prototypes.

20 years agoInvert the logic of NET_LOCK_GIANT(), and remove the one reference to it.
rwatson [Sun, 28 Mar 2004 23:12:19 +0000 (23:12 +0000)]
Invert the logic of NET_LOCK_GIANT(), and remove the one reference to it.
Previously, Giant would be grabbed at entry to the IP local delivery code
when debug.mpsafenet was set to true, as that implied Giant wouldn't be
grabbed in the driver path.  Now, we will use this primitive to
conditionally grab Giant in the event the entire network stack isn't
running MPSAFE (debug.mpsafenet == 0).

20 years agoRegen from ibcs2_wait() becoming MPSAFE.
rwatson [Sun, 28 Mar 2004 22:51:40 +0000 (22:51 +0000)]
Regen from ibcs2_wait() becoming MPSAFE.

Submitted by: Dan Nelson <dnelson@allantgroup.com>

20 years agoibcs2_wait() now MPSAFE.
rwatson [Sun, 28 Mar 2004 22:51:01 +0000 (22:51 +0000)]
ibcs2_wait() now MPSAFE.

Submitted by: Dan Nelson <dnelson@allantgroup.com>

20 years agoUse the BSD madvise() syscall implementation for Linux binary emulation,
bms [Sun, 28 Mar 2004 21:43:27 +0000 (21:43 +0000)]
Use the BSD madvise() syscall implementation for Linux binary emulation,
instead of treating it as an unimplemented syscall. This appears to make
StarOffice 7.0 Linux binaries work according to submitter; also tested
with nvidia driver by submitter.

Submitted by: Matthias Schuendehuette

20 years agoCommit two fixes from OpenBSD's stable branch:
mlaier [Sun, 28 Mar 2004 20:04:12 +0000 (20:04 +0000)]
Commit two fixes from OpenBSD's stable branch:
- Fix binat for incoming connections when a netblock (not just a single
  address) is used for source in the binat rule. closes PR 3535, reported by
  Karl O.Pinc. ok henning@, cedric@

- Fix a problem related to empty anchor rulesets, which could cause a kernel
  panic.

Approved by: bms(mentor)

20 years agoTell fdisk(8) about our geometry.
phk [Sun, 28 Mar 2004 19:39:08 +0000 (19:39 +0000)]
Tell fdisk(8) about our geometry.

Strictly speaking this is unnecessary, but it allows nanobsd to work
on systems from before the -x and -y arguments to mdconfig(8) worked
for vnode backing.

Submitted by: "Oivind H. Danielsen" <oivind.danielsen@kopek.net>

20 years agoAdd a simple tool that prints out a register offset table to map
marcel [Sun, 28 Mar 2004 18:01:15 +0000 (18:01 +0000)]
Add a simple tool that prints out a register offset table to map
from the gdb(1) register number to offsets within struct reg and
struct fpreg. The tool is useful only on selected platforms. On
ia64 the registers are all over the place to simplify handling of
them in various situations, but which makes creating or maintaining
such an offset table error prone to do by hand.
Since remote kernel debugging operates on the same register numbers,
it would be a natural choice to use an identical offset table in the
kernel. However, since the kernel does not operate on struct reg nor
struct fpreg in the remote gdb(1) case, such would not make sense.
Whether we want to use this tool to create offsets for use in the
kernel or duplicate the knowledge of which register number maps to
what register is something that will become clear soon.

Note: in order to build cross debuggers, one cannot use target
headers and/or target definitions. That's why offsets need to be
hardcoded in the first place. Unpleasant, but necessary.

20 years agoRemove unused argument.
pjd [Sun, 28 Mar 2004 15:48:00 +0000 (15:48 +0000)]
Remove unused argument.

20 years agoRemove the garbage collector thread. All resources are freed
mtm [Sun, 28 Mar 2004 14:05:28 +0000 (14:05 +0000)]
Remove the garbage collector thread. All resources are freed
in-line. If the exiting thread cannot release a resource, then
the next thread to exit will release it.

20 years agoAdd PC98 supports.
nyan [Sun, 28 Mar 2004 13:42:27 +0000 (13:42 +0000)]
Add PC98 supports.

Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp> (mostly)

20 years ago- Fix PC98 supports after importing auto selection. [1]
nyan [Sun, 28 Mar 2004 13:40:23 +0000 (13:40 +0000)]
- Fix PC98 supports after importing auto selection. [1]
- Fix 1.44MB floppy drive probe sequence. [2]

Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp> [1]
chi@bd.mbn.or.jp (Chiharu Shibata) [2]

20 years agoMFi386: revision 1.1136.
nyan [Sun, 28 Mar 2004 12:06:29 +0000 (12:06 +0000)]
MFi386: revision 1.1136.

20 years agoMFi386: revision 1.586.
nyan [Sun, 28 Mar 2004 12:03:39 +0000 (12:03 +0000)]
MFi386: revision 1.586.

20 years agoFix a warning: compare u_long ps_strings to 0 instead of NULL.
schweikh [Sun, 28 Mar 2004 11:50:54 +0000 (11:50 +0000)]
Fix a warning: compare u_long ps_strings to 0 instead of NULL.

20 years agoReset callout if in nfs_timeout and rpcclnt_timeout functions. Timer
kan [Sun, 28 Mar 2004 05:55:27 +0000 (05:55 +0000)]
Reset callout if in nfs_timeout and rpcclnt_timeout functions. Timer
are supposed to continue firing as long as there is work to do, not
stop after the first invocation.

This is damage control after a patch that has been committed prematurely.

Tested by: kris

20 years agoFixed s style bug in previous commit (tab lossage). Fixed some nearby
bde [Sun, 28 Mar 2004 04:17:36 +0000 (04:17 +0000)]
Fixed s style bug in previous commit (tab lossage).  Fixed some nearby
style bugs (more tab lossage, unclear description of TDF_USTATCLOCK,
and English usage errors).

20 years agoIf <x> is a process id that does not exist, then just print the header
gad [Sun, 28 Mar 2004 03:00:56 +0000 (03:00 +0000)]
If <x> is a process id that does not exist, then just print the header
(if any) and exit, thus matching the behavior on -stable and other OS's.
My earlier attempt to fix this (v1.65) only seemed to work because of a
lucky random value in nentries (which was not being initialized back
when I tested that earlier patch).

20 years agoFix `-o rtprio' so it prints the correct value.
gad [Sun, 28 Mar 2004 02:13:31 +0000 (02:13 +0000)]
Fix `-o rtprio' so it prints the correct value.

PR: bin/59417
Submitted by: Jan Willem Knopper
This fix by: bde (in the audit-trail of the PR)

20 years agoAdd a cross-reference to pkill(1), now that pkill is hooked up to the build.
gad [Sat, 27 Mar 2004 23:45:33 +0000 (23:45 +0000)]
Add a cross-reference to pkill(1), now that pkill is hooked up to the build.

20 years agoThe compatibility specification property is named "compatible", not
tmm [Sat, 27 Mar 2004 22:39:47 +0000 (22:39 +0000)]
The compatibility specification property is named "compatible", not
"compat".

Spotted by: Marius Strobl <marius@alchemy.franken.de>

20 years agoIf a non-existent user is given as part of `-U userlist', treat it as
gad [Sat, 27 Mar 2004 22:14:42 +0000 (22:14 +0000)]
If a non-existent user is given as part of `-U userlist', treat it as
a fatal error instead of a minor warning.  It is possible that a few
users are used to the previous behavior, but I'm claiming it was a bug.

20 years agoExplicitly wrap two long-ish linesi of code, to make them easier to read.
gad [Sat, 27 Mar 2004 21:59:54 +0000 (21:59 +0000)]
Explicitly wrap two long-ish linesi of code, to make them easier to read.

20 years agoChange the #if-ish logic which is used to add the `-f' option when `ps'
gad [Sat, 27 Mar 2004 21:56:49 +0000 (21:56 +0000)]
Change the #if-ish logic which is used to add the `-f' option when `ps'
is compiled with LAZY_PS, so that there is only one PS_ARGS string to
modify when changing the option-list.  Also get `-f' to show up in the
usage() statement when compiled with LAZY_PS.

20 years agoMove the 'f' case so it shows up in the right place, alphabetically.
gad [Sat, 27 Mar 2004 21:40:04 +0000 (21:40 +0000)]
Move the 'f' case so it shows up in the right place, alphabetically.

20 years agoReduce 'td' argument to 'cred' (struct ucred) argument in those functions:
pjd [Sat, 27 Mar 2004 21:05:46 +0000 (21:05 +0000)]
Reduce 'td' argument to 'cred' (struct ucred) argument in those functions:
- in_pcbbind(),
- in_pcbbind_setup(),
- in_pcbconnect(),
- in_pcbconnect_setup(),
- in6_pcbbind(),
- in6_pcbconnect(),
- in6_pcbsetport().
"It should simplify/clarify things a great deal." --rwatson

Requested by: rwatson
Reviewed by: rwatson, ume

20 years agoRemove unused argument.
pjd [Sat, 27 Mar 2004 20:41:32 +0000 (20:41 +0000)]
Remove unused argument.

Reviewed by: ume

20 years agoApparently, some atheros drivers want rand(), so implement it (in terms
wpaul [Sat, 27 Mar 2004 20:38:43 +0000 (20:38 +0000)]
Apparently, some atheros drivers want rand(), so implement it (in terms
of random()).

Requested by: juli
Bribe offered: tacos

20 years agoRemove unused prototype.
pjd [Sat, 27 Mar 2004 20:38:02 +0000 (20:38 +0000)]
Remove unused prototype.

Reviewed by: ume

20 years agoRevise the direct or optimized case to use uiomove_fromphys() by the reader
alc [Sat, 27 Mar 2004 19:50:23 +0000 (19:50 +0000)]
Revise the direct or optimized case to use uiomove_fromphys() by the reader
instead of ephemeral mappings using pmap_qenter() by the writer.  The
writer is still, however, responsible for wiring the pages, just not
mapping them.  Consequently, the allocation of KVA for the direct case is
unnecessary.  Remove it and the sysctls limiting it, i.e.,
kern.ipc.maxpipekvawired and kern.ipc.amountpipekvawired.  The number
of temporarily wired pages is still, however, limited by
kern.ipc.maxpipekva.

Note: On platforms lacking a direct virtual-to-physical mapping,
uiomove_fromphys() uses sf_bufs to cache ephemeral mappings.  Thus,
the number of available sf_bufs can influence the performance of pipes
on platforms such i386.  Surprisingly, I saw the greatest gain from this
change on such a machine: lmbench's pipe bandwidth result increased from
~1050MB/s to ~1850MB/s on my 2.4GHz, 400MHz FSB P4 Xeon.

20 years agoUpdate the date on the man page, since this the previous change added
gad [Sat, 27 Mar 2004 18:26:40 +0000 (18:26 +0000)]
Update the date on the man page, since this the previous change added
a few new options.

20 years agoSupport more POSIX/SUSv3 options:
gad [Sat, 27 Mar 2004 18:22:17 +0000 (18:22 +0000)]
Support more POSIX/SUSv3 options:

- Change `-p' to allow a list of process IDs, and `-t' to allow a list
  of terminal names, instead of only a single value for each.
- Add the `-A' option of SUSv3, which is exactly the same as `-ax'.
- Add the `-G gidlist' (group id).
- Allow any of these "selector options" to be specified multiple times,
  and have `ps' keep adding to a given list -- instead of replacing the
  previously-specified values.
- Fix interactions between selector-options, so that: "If any are
  specified, ... ps shall select the processes represented by the
  inclusive OR of all the selection-criteria options." (from SUSv3)
- Add a `-X' option, which is the reverse of the `-x' option.

- various minor improvements in parsing and error handling.

This does not get us to match POSIX/SUSv3, but it gets us closer.  The
`-g pgidlist', `-R ruserlist' and `-s sidlist' options mentioned in
freebsd-standards are still under debate, so they skipped for now.
It should be true that this introduces no user-visible incompatible
changes, except to support "new stuff" that was not supported before.

20 years agoChange the type of the various CPU masks to cpumask_t. Note that as
marcel [Sat, 27 Mar 2004 18:21:24 +0000 (18:21 +0000)]
Change the type of the various CPU masks to cpumask_t. Note that as
long as there are still explicit uses of int, whether in types or
in function names (such as atomic_set_int() in sched_ule.c), we can
not change cpumask_t to be anything other than u_int. See also the
commit log for sys/sys/types.h, revision 1.84.

20 years agoMFi386: correctly calculate the top-of-stack when a kthread is created
marcel [Sat, 27 Mar 2004 17:44:25 +0000 (17:44 +0000)]
MFi386: correctly calculate the top-of-stack when a kthread is created
with a larger kernel stack. Remove inclusion of opt_kstack_pages.h now
that it's unused.

20 years agoAdd ACPI PnP string. This affects devinfo(8) output with -v option.
takawata [Sat, 27 Mar 2004 16:26:00 +0000 (16:26 +0000)]
Add ACPI PnP string. This affects devinfo(8) output with -v option.

20 years agoFix typo in the device id for the new cards.
scottl [Sat, 27 Mar 2004 15:56:34 +0000 (15:56 +0000)]
Fix typo in the device id for the new cards.

20 years agoo Since we're not using signals for thread synchronization anymore,
mtm [Sat, 27 Mar 2004 15:05:28 +0000 (15:05 +0000)]
o Since we're not using signals for thread synchronization anymore,
  sigprocmask no longer needs to be wrapped.
o raise(3) is applied to the calling thread in a threaded program.
o In the sigaction wrapper reference the correct structure.
o Don't treat SIGTHR especially anymore (infact it won't exist in
  a little while).

20 years agoStop using signals for synchronizing threads. The performance penalty
mtm [Sat, 27 Mar 2004 14:39:21 +0000 (14:39 +0000)]
Stop using signals for synchronizing threads. The performance penalty
was too much.

20 years agoRegen for libthr thread synchronization syscalls.
mtm [Sat, 27 Mar 2004 14:34:17 +0000 (14:34 +0000)]
Regen for libthr thread synchronization syscalls.

20 years agoUse the proc lock to sleep on a libthr umtx.
mtm [Sat, 27 Mar 2004 14:32:03 +0000 (14:32 +0000)]
Use the proc lock to sleep on a libthr umtx.

20 years agoSeparate thread synchronization from signals in libthr. Instead
mtm [Sat, 27 Mar 2004 14:30:43 +0000 (14:30 +0000)]
Separate thread synchronization from signals in libthr. Instead
use msleep() and wakeup_one().

Discussed with: jhb, peter, tjr

20 years agoCorrect typo in the last revision.
ceri [Sat, 27 Mar 2004 14:23:25 +0000 (14:23 +0000)]
Correct typo in the last revision.

20 years agoBackout revision 1.140; it seems that the previous version is clear
ceri [Sat, 27 Mar 2004 14:13:53 +0000 (14:13 +0000)]
Backout revision 1.140; it seems that the previous version is clear
enough.

Requested by: ru

20 years agoA few small cleanups:
dougb [Sat, 27 Mar 2004 09:26:22 +0000 (09:26 +0000)]
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.

20 years agoRecognize the "rune" character class in wctype().
tjr [Sat, 27 Mar 2004 08:59:21 +0000 (08:59 +0000)]
Recognize the "rune" character class in wctype().

20 years ago- Add a description for vfs.usermount sysctl.
pjd [Sat, 27 Mar 2004 08:39:28 +0000 (08:39 +0000)]
- 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

20 years agoBump FreeBSD version for UTF-8 locale addition. This is primarily for
tjr [Sat, 27 Mar 2004 08:21:00 +0000 (08:21 +0000)]
Bump FreeBSD version for UTF-8 locale addition. This is primarily for
the benefit of the misc/utf8locale port.

20 years agoAdd UTF-8 versions of all the currently supported system locales. Most of
tjr [Sat, 27 Mar 2004 08:14:15 +0000 (08:14 +0000)]
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

20 years ago- Loudly disallow MNT_SUIDDIR mount flag for unprivileged users mounts.
pjd [Sat, 27 Mar 2004 08:09:00 +0000 (08:09 +0000)]
- Loudly disallow MNT_SUIDDIR mount flag for unprivileged users mounts.
- Style fixed.

Submitted by: bde

20 years agobde also tells me that he is confident that P_SYSTEM will not work
gad [Sat, 27 Mar 2004 06:49:57 +0000 (06:49 +0000)]
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.

20 years agoHook `pkill' (and thus `pgrep') to the standard buildworld.
gad [Sat, 27 Mar 2004 05:44:55 +0000 (05:44 +0000)]
Hook `pkill' (and thus `pgrep') to the standard buildworld.

Reviewed by: freebsd-arch

20 years agoSome style(9)-ish improvements, courtesy of bde.
gad [Sat, 27 Mar 2004 05:40:31 +0000 (05:40 +0000)]
Some style(9)-ish improvements, courtesy of bde.

Noticed by: bde

20 years agoDon't read an inode which isn't used to avoid problems on UFS2 where not
le [Fri, 26 Mar 2004 23:42:32 +0000 (23:42 +0000)]
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)

20 years agoMFp4: FireWire
simokawa [Fri, 26 Mar 2004 23:17:10 +0000 (23:17 +0000)]
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.

20 years agofix for 64-bit arch:
rees [Fri, 26 Mar 2004 22:44:59 +0000 (22:44 +0000)]
fix for 64-bit arch:
use %zd to print size_t types and sizeof()

Approved by: alfred
Tested on: sparc64, amd64

20 years agoWe probably shouldn't allow users to mount file systems with MNT_SUIDDIR.
pjd [Fri, 26 Mar 2004 21:12:14 +0000 (21:12 +0000)]
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

20 years agoValidate IPv6 socket options more carefully to avoid a panic.
ume [Fri, 26 Mar 2004 19:52:18 +0000 (19:52 +0000)]
Validate IPv6 socket options more carefully to avoid a panic.

PR: kern/61513
Reviewed by: cperciva, nectar

20 years agoRemove the _PATH_DEVNULL setting for "swapf". From the kvm_open(3)
gad [Fri, 26 Mar 2004 19:29:57 +0000 (19:29 +0000)]
Remove the _PATH_DEVNULL setting for "swapf".  From the kvm_open(3)
man page:  The swapfile argument is currently unused.

Noticed by: ru

20 years agoo The lenght of the port list is limited to 30 entries in ipfw2 not to 15.
maxim [Fri, 26 Mar 2004 19:09:22 +0000 (19:09 +0000)]
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

20 years agoMFNetBSD Version 1.146
julian [Fri, 26 Mar 2004 18:56:58 +0000 (18:56 +0000)]
MFNetBSD Version 1.146
various probing and attaching tweeks.

Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>

Obtained from: NetBSD
MFC after: 3 days

20 years agoRemoved more vestiges of the stl(4) driver.
ru [Fri, 26 Mar 2004 18:49:11 +0000 (18:49 +0000)]
Removed more vestiges of the stl(4) driver.

20 years agoBring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.
obrien [Fri, 26 Mar 2004 18:46:31 +0000 (18:46 +0000)]
Bring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.

20 years agoRemove the NEED_KMEM support meant for FreeBSD 3.x. This base-system
gad [Fri, 26 Mar 2004 18:02:40 +0000 (18:02 +0000)]
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

20 years agoSwitch to checking P_KTHREAD instead of P_SYSTEM when deciding what
gad [Fri, 26 Mar 2004 17:51:49 +0000 (17:51 +0000)]
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.

20 years agoFixed some style bugs in the residue of rev.1.14 (mainly initialization in
bde [Fri, 26 Mar 2004 16:11:13 +0000 (16:11 +0000)]
Fixed some style bugs in the residue of rev.1.14 (mainly initialization in
declarations, uncuddled elses and excessive braces).

20 years agoo The mutex locking functions aren't normally cancellation points. But,
mtm [Fri, 26 Mar 2004 14:47:54 +0000 (14:47 +0000)]
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.

20 years agoo Initialize a local variable before referencing it. This was not
mtm [Fri, 26 Mar 2004 14:45:35 +0000 (14:45 +0000)]
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.

20 years agoProperly document the -M and -N options.
ru [Fri, 26 Mar 2004 11:01:45 +0000 (11:01 +0000)]
Properly document the -M and -N options.

20 years agoCorrect the description of the -N option.
ru [Fri, 26 Mar 2004 10:48:35 +0000 (10:48 +0000)]
Correct the description of the -N option.

20 years ago-N without -M is pointless.
ru [Fri, 26 Mar 2004 09:28:03 +0000 (09:28 +0000)]
-N without -M is pointless.

20 years agoNot too much point specifying -N but not specifying -M.
ru [Fri, 26 Mar 2004 09:24:45 +0000 (09:24 +0000)]
Not too much point specifying -N but not specifying -M.

20 years agoUpdate information of how pstat(8) accesses the running system.
ru [Fri, 26 Mar 2004 09:04:48 +0000 (09:04 +0000)]
Update information of how pstat(8) accesses the running system.

20 years agoAvoid the manpage layering violation and low-level implementation
ru [Fri, 26 Mar 2004 08:54:27 +0000 (08:54 +0000)]
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).

20 years agoCorrect the description of options -N and -M to match reality.
ru [Fri, 26 Mar 2004 08:47:01 +0000 (08:47 +0000)]
Correct the description of options -N and -M to match reality.

20 years agoFixed some style bugs in or related to rev.1.13 (mainly misindentation of
bde [Fri, 26 Mar 2004 08:39:36 +0000 (08:39 +0000)]
Fixed some style bugs in or related to rev.1.13 (mainly misindentation of
the getopt() case statement).

20 years ago- Remove references to /dev/kmem -- ps(1) utilizes the
ru [Fri, 26 Mar 2004 08:29:38 +0000 (08:29 +0000)]
- 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.

20 years agoDocument that kvm_open(3) also accepts "/dev/null" as a special
ru [Fri, 26 Mar 2004 08:05:39 +0000 (08:05 +0000)]
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.

20 years agoDocument that libkvm also uses /dev/kmem, to access KVM.
ru [Fri, 26 Mar 2004 08:03:53 +0000 (08:03 +0000)]
Document that libkvm also uses /dev/kmem, to access KVM.

20 years agoApply style.Makefile(5).
ru [Fri, 26 Mar 2004 07:44:49 +0000 (07:44 +0000)]
Apply style.Makefile(5).

20 years agoAdd ct(4) man page for ct SCSI host adapter device driver and attach
non [Fri, 26 Mar 2004 06:26:45 +0000 (06:26 +0000)]
Add ct(4) man page for ct SCSI host adapter device driver and attach
it to the build.

20 years agoCorrect the definition of the multilabel flag: it enables multilabel
rwatson [Fri, 26 Mar 2004 03:26:15 +0000 (03:26 +0000)]
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.

20 years agoSend those -Debug messages to stderr, not stdout...
gad [Fri, 26 Mar 2004 02:20:52 +0000 (02:20 +0000)]
Send those -Debug messages to stderr, not stdout...

20 years agoAdd a debugging option, as I don't understand something that I'm seeing.
gad [Fri, 26 Mar 2004 01:43:19 +0000 (01:43 +0000)]
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)

20 years agoRemove a redundant check against mypid (the check is done later, in
gad [Fri, 26 Mar 2004 01:30:15 +0000 (01:30 +0000)]
Remove a redundant check against mypid (the check is done later, in
the "Take the appropriate action" section).

Obtained from: the sysutils/pkill port

20 years agoAdd a cast to get this to compile with WARNS=5 on sparc64. This is
gad [Fri, 26 Mar 2004 00:36:27 +0000 (00:36 +0000)]
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.

20 years agoFixes so this will compile with WARNS=5 on i386.
gad [Fri, 26 Mar 2004 00:15:20 +0000 (00:15 +0000)]
Fixes so this will compile with WARNS=5 on i386.

20 years agoFix two cosmetic style(9) issues.
gad [Thu, 25 Mar 2004 23:35:14 +0000 (23:35 +0000)]
Fix two cosmetic style(9) issues.

20 years agoAdd a comment for when these utilities were added to FreeBSD, and add
gad [Thu, 25 Mar 2004 23:32:12 +0000 (23:32 +0000)]
Add a comment for when these utilities were added to FreeBSD, and add
a cross-reference to killall(1).

20 years agoAdd `-M' and `-N' options to `pkill' and `pgrep', similar to
gad [Thu, 25 Mar 2004 23:19:16 +0000 (23:19 +0000)]
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

20 years agoUse the correct type for some casts, thus avoiding a few warning messages
gad [Thu, 25 Mar 2004 22:08:52 +0000 (22:08 +0000)]
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

20 years agoChange some routine and variable names to match the FreeBSD system.
gad [Thu, 25 Mar 2004 21:58:56 +0000 (21:58 +0000)]
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

20 years agoAdd support for a new variant of the prism3 that has appaered in the
imp [Thu, 25 Mar 2004 21:58:55 +0000 (21:58 +0000)]
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

20 years agoSync to pccarddevs 1.82
imp [Thu, 25 Mar 2004 21:56:43 +0000 (21:56 +0000)]
Sync to pccarddevs 1.82

20 years agoAdd a new Intersil card that DLINK is selling as the DWL-650.
imp [Thu, 25 Mar 2004 21:56:28 +0000 (21:56 +0000)]
Add a new Intersil card that DLINK is selling as the DWL-650.

Reported by: Brian O'Shea