Commit Graph

56941 Commits

Author SHA1 Message Date
jlemon
c50375af66 Allow debugging output to be controlled on a per-syscall granularity.
Also clean up debugging output in a slightly more uniform fashion.

The default behavior remains the same (all debugging output is turned on)
2001-02-16 16:40:43 +00:00
des
cce215b1dc Document the new -k option in usage message and man page. 2001-02-16 16:28:36 +00:00
des
891a9e94d2 Add a -k option that prevents clearing the dump after saving it.
Use sysctlbyname() instead of sysctl().

Clear up and simplify the version extraction code.

Attempt to detect stretches of zeroes in the dump and avoid writing
them to disk to save space and time.
2001-02-16 16:27:32 +00:00
jlemon
0116e39ef9 Re-gen auto generated files. 2001-02-16 14:47:24 +00:00
jlemon
ff569e8974 Remove dummy stub functions. 2001-02-16 14:46:16 +00:00
jlemon
f14626c607 Add mount syscall to linux emulation. Also improve emulation of reboot. 2001-02-16 14:42:11 +00:00
jlemon
e155cc01c0 Introduce copyinfrom and copyinstrfrom, which can copy data from either
user or kernel space.  This will allow layering of os-compat (e.g.: linux)
system calls.  Apply the changes to mount.
2001-02-16 14:31:49 +00:00
nyan
5e846f1e64 Added pc98 support.
Submitted by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
2001-02-16 13:30:27 +00:00
nyan
287432fbb4 Don't assume bus_space_handle_t == the start address of resource.
Use rman_get_start() instead.
2001-02-16 13:29:41 +00:00
ru
0ae24500be Fix broken -L for short locale names. 2001-02-16 12:28:30 +00:00
ru
c1ea09c4af SEE ALSO is the special name, and should not be taken in quotes,
since -mdoc checks for the "SEE" word only to set its variables.
In the SEE ALSO section, -mdoc automatically emits an empty line
before each new reference.
2001-02-16 11:35:39 +00:00
ru
2f55fad0ba mdoc(7) police: sanitize previous commit. 2001-02-16 11:28:22 +00:00
ru
3bbb801b56 mdoc(7) police: sanitize previous revision changes. 2001-02-16 09:05:48 +00:00
imp
5e10e50b59 Fix the current libc breakage in current:
o Back out the __std* stuff.  Can't figure out how to do this right now,
  so we'll save it for late.
o use _up as a pointer for extra fields that we need to access.
o back out the libc major version bump.

Submitted by: green
reviewed by: peter, imp, green, obrien (to varying degrees).

We'll fix the "how do we stop encoding sizeof(FILE) in binaries" part
later.
2001-02-16 06:11:22 +00:00
bmilekic
a236502d4b Document recently-implemented m_getm(). 2001-02-16 03:23:04 +00:00
iedowse
2a445b92ff Fix `fstat -m' (show memory-mapped files), which was broken by
revision 1.25. When evaluating the termination condition for the
iteration over all map entries, we must take care to use the kernel
versions of all pointers. The code was comparing a kernel pointer
to a pointer within a local variable, so the loop never terminated.
2001-02-15 22:42:44 +00:00
jlemon
68fd6f12b6 Clean up warning. 2001-02-15 22:32:06 +00:00
tegge
c5fdddcd30 Don't allow special devices of type NODEV (NOUDEV as seen from kernel).
They can't be created via mknod and the kernel crashes if it encounters
such an inode.
Approved by:	mckusick
2001-02-15 22:26:21 +00:00
tegge
2793a9d7f9 Don't depend on lcl_mutex being a recursive mutex.
Reviewed by:	deischen
2001-02-15 22:17:04 +00:00
tegge
38ec42f445 Remove freelists managed by Balloc/Bfree.
Change __dtoa to not free the string it allocated the previous time it was
called.  The caller now frees the string after usage if appropiate.

PR:		15070
Reviewed by:	deischen
2001-02-15 22:12:50 +00:00
ru
f46fba789d Do not ever try to look into nonexisting locale subdirectories.
(is_directory() returns -1 if the file does not exist, 1 if it
is a directory or a symlink to a directory, and 0 otherwise.)
2001-02-15 19:01:41 +00:00
jlemon
00c3549c08 Extend kqueue down to the device layer.
Backwards compatible approach suggested by: peter
2001-02-15 16:34:11 +00:00
bde
58a5cbcd51 Fixed bitrot in synopsis. The Lite2 change from int to u_long for ioctl
command numbers had not reached here.
2001-02-15 12:54:34 +00:00
bde
14aff98827 Fixed rotted-as-committed pseudo-prototype for VFS_CHECKXP(). It had not
caught up with the changes to avoid storing socket addresses in mbufs,
although the VFS_CHECKEXP() code had to since it was committed 2 years
after those changes.

Fixed formatting in this prototype.
2001-02-15 12:41:44 +00:00
bde
d55f335c67 Fixed bitrot in synopsis (some const poisoning had not reached here). 2001-02-15 12:27:11 +00:00
ru
344c745de0 Apparently, people do not listen for a plea to look into the
README file before making changes here.  Fix them once again.
2001-02-15 12:25:48 +00:00
bde
11bef8f368 Fixed missing and wrong includes in synopsis. The prerequisites for
using bus_alloc_resource(), etc., are especially unobvious, but were
especially wrong (<sys/resource.h> has nothing to do with the resources
documented here...).  Order and format the includes as correctly as
possible (a layering violation makes <machine/bus.h> a prerequisite for
<sys/rman.h>).
2001-02-15 12:21:44 +00:00
bde
cc0d928b7e Fixed missing include in synopsis.
Added evil #define of ACCEPT_FILTER_MODULE to synopsis.  Some of
the functions defined in this man page aren't declared unless
ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.
2001-02-15 11:58:38 +00:00
bde
7f35a7e09c Fixed missing and/or wrong and/or extra includes in synopsis. 2001-02-15 11:47:31 +00:00
bde
fd789c1443 Include <sys/cdefs.h> so that this file is self-sufficient.
Protect hand-formatted comments from indent(1).  Don't bogusly forward-
declare `struct proc'.  Fixed some other style bugs.
2001-02-15 11:35:55 +00:00
ume
eec882b4a9 Correct 2nd argument of getnameinfo(3) to socklen_t.
Reviewed by:	itojun
2001-02-15 10:35:55 +00:00
ru
c9a742df7c Fixed the fatal (missing "..").
Pointy hat to:	asmodai
2001-02-15 10:34:43 +00:00
ru
32a8f8d94a mdoc(7) police: normalize the construct. 2001-02-15 08:36:20 +00:00
grog
cbefc59559 Correct typo.
Submitted by:	"James and Amanda" <jhar2gthr@yahoo.com> (well, ~James, anyway).

Of necessity add $FreeBSD$.

Required by:	Precommit checks.
2001-02-15 07:48:28 +00:00
peter
5cbc22466f Manually run /usr/sbin/sendmail -q once a day. Folks seem to be too
trigger happy and turn off sendmail_enable entirely (instead of setting
sendmail_flags to -q30m instead).  I have seen boxes with things like daily
run reports that have sat in mailq for 5 months.  Since /usr/sbin/sendmail
is actually mailwrapper, this should be safe for the other plugins that
provide the sendmail calling interface.
2001-02-15 01:34:37 +00:00
ache
4af98c3d65 Add {yes,no}str translations
Submitted by:	Panagiotis Astithas <past@netmode.ntua.gr>
2001-02-14 23:34:44 +00:00
peter
4913479672 Work around the p_comm[] size limit. If the user supplies more than
16 characters, only check the first 16 since that is all the kernel
records.  This isn't ideal, but it is probably the best we can do.
Otherwise, "killall communicator-linux-4.76.bin" will not match
the process as the kernel only records "communicator-lin".
2001-02-14 21:56:03 +00:00
peter
bcdb9042a1 List the SA_RESTART flag rather than burying it in another paragraph. 2001-02-14 21:46:07 +00:00
obrien
5afa43af2c Only build the compat libs appropiate for the target machine. 2001-02-14 20:49:54 +00:00
markm
7d476598a6 Fix a "make world"-breaking inconsistency for those folks making
a world with both KRB4 and KRB5.
2001-02-14 19:54:36 +00:00
markm
8a096cc829 Previous commit should have read:
Fix "make world" for those folks building world with KRB5
2001-02-14 19:50:42 +00:00
markm
3c4467fe62 Fix make world. 2001-02-14 19:48:51 +00:00
markm
4e8441cb23 Fix build, and make parallel build much more robust. 2001-02-14 19:47:24 +00:00
jlemon
5f9e45a640 Do not coredump if no options are supplied. (ps -o,)
Submitted by: rgrimes
Obtained from: NetBSD
2001-02-14 18:54:34 +00:00
ru
74e3f34f7a If both full-locale-name and short-locale-name searches
fail, look the manpage in the en.<charset> subdirectory.

See the manpage for details.

Suggested by:	ache
2001-02-14 16:31:08 +00:00
sheldonh
4217b9d1bc Fix grammar nit in previous commit. 2001-02-14 15:03:20 +00:00
asmodai
ae20db77f5 Add definitions for IPPROTO numbers 55-57. 2001-02-14 13:51:20 +00:00
asmodai
3d4f8c539d Fix another typo I missed on first reading:
insersion -> insertion
2001-02-14 13:24:01 +00:00
asmodai
4b9e52b6cb Fix typo and comma placement. 2001-02-14 13:16:21 +00:00
ru
617687c44c Backout 1.38->1.41 (functional) changes pending the proper solution.
/usr/share/man/cat? is only allowed to store -Tascii formatted data.

Requested by:	ache
2001-02-14 13:16:16 +00:00