Commit Graph

654 Commits

Author SHA1 Message Date
Mark Murray
a4e5855509 Fix minor bogon pointed out by perl5's own perldoc. 1998-10-11 17:27:33 +00:00
Mark Murray
24cafe721c Cleanup. No need to install manpages here; no other system module
does it, and it is done /in toto/ elsewhere.
1998-10-11 17:23:34 +00:00
Dag-Erling Smørgrav
dea468b2e9 By popular request, mention that mailq responds to the same options as
sendmail(8).

PR:		i386/8149
1998-10-07 19:45:36 +00:00
David E. O'Brien
96136e4f8a -v to show compiled in paths doesn't seem to exist.
PR:		docs/7912
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-10-04 11:09:08 +00:00
Nate Williams
ed8d80c2de Fix 'noatime' bug that was unrelated to use of noatime.
The problem is caused when a directory block is compacted.  When this
occurs, softdep_change_directoryentry_offset() is called to relocate each
directory entry and adjust its matching diradd structure, if any, to match
the new location of the entry.  The bug is that while
softdep_change_directoryentry_offset() correctly adjusts the offsets of
the diradd structures on the pd_diraddhd[] lists (which are not yet ready
to be committed to disk), it fails to adjust the offsets of the diradd
structures on the pd_pendinghd list (which are ready to be committed to
disk).  This causes the dependency structures to be inconsistent with
the buf contents.  Now, if the compaction has moved a directory entry to
the same offset as one of the diradd structures on the pd_pendinghd list
*and* a syscall is done that tries to remove this directory entry before
this directory block has been written to disk (which would empty
pd_pendinghd), a sanity check in newdirrem() will call panic() when it
notices that the inode number in the entry that it is to be removed doesn't
match the inode number in the diradd structure with that offset of that
entry.

Reviewed by:	Kirk McKusick <mckusick@McKusick.COM>
Submitted by:	Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-03 19:17:11 +00:00
Mark Murray
9c9bdebb92 Fix default location of *.ph file install.
Asked-for-by: ache
1998-10-01 19:17:58 +00:00
Mark Murray
40b57f3d1f Whitespace cleanup. Probable patch cut 'n paste. 1998-10-01 19:16:20 +00:00
Doug Rabson
d5f1f6d3be Rewrite the bits of the solib code to handle implentations where dlopen
may insert into the list of loaded libraries (ours is one) instead of
appending to the end of the list.  Also cope with dlclose() removing
libraries from the list.
1998-09-25 14:39:52 +00:00
Mark Murray
5c17a87bef Part #1 of suidperl repair. 1998-09-24 17:20:46 +00:00
Luoqi Chen
e266594c25 Eliminate a race in VOP_FSYNC() when softupdates is enabled.
Submitted by:	Kirk McKusick	<mckusick@McKusick.COM>
Two minor changes are also included,
1. Remove gratuitious checks for error return from vn_lock with LK_RETRY set,
   vn_lock should always succeed in these cases.
2. Back out change rev. 1.36->1.37, which unnecessarily makes async mount
   a little more unstable. It also keeps us in sync with other BSDs.
Suggested by:	Bruce Evans	<bde@zeta.org.au>
1998-09-24 15:02:46 +00:00
John Polstra
25352982e7 Fix segmentation violation that sometimes occurred when warning
symbols were used.

PR:		bin/7980
Submitted by:	Doug Rabson <dfr>
1998-09-19 22:31:40 +00:00
Poul-Henning Kamp
982fe76ef9 s/the the/to the/
PR:		7922
Reviewed by:	phk
Submitted by:	Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
1998-09-17 08:56:03 +00:00
Bill Fenner
699fc31439 Merge tcpdump 3.4
PR:		bin/7877
1998-09-15 19:46:59 +00:00
Bill Fenner
90dc276c84 This commit was generated by cvs2svn to compensate for changes in r39297,
which included commits to RCS files with non-trunk default branches.
1998-09-15 19:36:32 +00:00
Bill Fenner
4644f044b2 Virgin import of LBL tcpdump v3.4 1998-09-15 19:36:32 +00:00
Bill Fenner
dfd1ee14ff Merge libpcap version 0.4
PR:		bin/7877
1998-09-15 19:31:43 +00:00
Bill Fenner
4e4869f856 This commit was generated by cvs2svn to compensate for changes in r39291,
which included commits to RCS files with non-trunk default branches.
1998-09-15 19:28:10 +00:00
Bill Fenner
a4b5b39fce Virgin import of LBL libpcap v0.4 1998-09-15 19:28:10 +00:00
Mark Murray
110a65c26d Fix for the 2.2.7 a.out --> 3.0 ELF cross-build.
I need report backs on this one, guys!!
1998-09-15 10:55:21 +00:00
John Polstra
4f7bdec1e8 Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
David E. O'Brien
a0279c111f Support our "nfsv2" option. (originally added to old amd/amd/host_opts.c
rev 1.5)
The "nfsv2" option is equivant to "proto=udp,vers=2".  It is debatable
whether NFS v2 should force "proto=udp" but I figure that is what most people
will expect.  Note, I can get the new Amd to mount a 2.2-STABLE box with
"proto=tcp,vers=2".  RFC 1094 does not disallow such behavior.
1998-09-14 08:20:37 +00:00
Eivind Eklund
dfef928b1c Support PnP compatibility IDs. This allow e.g. the ed driver to pick
up any PnP NE2000 compatible card, instead of forcing us to always
update ID lists.

Submitted by:	Ugo Paternostro <paterno@dsi.unifi.it>
1998-09-13 22:15:44 +00:00
Garrett Wollman
f0da769a73 Add a .St -p1003.1g. 1998-09-12 21:31:21 +00:00
Alexander Langer
9c4d47b9e1 Typo fix.
PR:		7906
Submitted by:	Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>
1998-09-12 16:55:54 +00:00
Alexander Langer
0a46a99270 Typo fixes.
PR:		7904
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-12 16:39:32 +00:00
David E. O'Brien
f4208b7ea8 Merge our older Amd manpages with the new am-utils manpages.
The am-utils manpages were un-mandocafied, un4.4BSD'ed with CSRG
copyrights regressed to 1989.

This work was done by Brian Handy who I am very greatful to.
(only a few minor tweaks by me)

Submitted by:	Brian Handy <handy@lambic.physics.montana.edu>
1998-09-12 04:04:59 +00:00
Warner Losh
a4c0f3bc90 sprintf -> snprintf 1998-09-09 17:08:46 +00:00
Warner Losh
a556fde0bc Add alpha-*=freebsd* to configure 1998-09-09 17:07:36 +00:00
Warner Losh
74542ae78c Use readlink correctly 1998-09-09 17:05:54 +00:00
David E. O'Brien
bc4d911b88 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
Mark Murray
39ab139322 Minimalist fixes to make BMaked perl build. 1998-09-09 13:10:47 +00:00
Mark Murray
7744993bbc This commit was generated by cvs2svn to compensate for changes in r38980,
which included commits to RCS files with non-trunk default branches.
1998-09-09 07:00:04 +00:00
Mark Murray
ff6b7ba98e Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +00:00
John Polstra
5584f22bb3 Make profiling work for ELF. gprof now autodetects the format of
the executable file, so it will work for both a.out and ELF format
files.  I have split the object format specific code into separate
source files.  It's cleaner than it was before, but it's still
pretty crufty.

Don't cheat on your make world for this update.  A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.
1998-09-07 23:32:00 +00:00
Alexander Langer
805749c0db Added .St -susv2 --> Version 2 of the Single UNIX Specification 1998-09-07 18:52:57 +00:00
John Polstra
0a225ac59d Resolve conflicts from import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:00:35 +00:00
John Polstra
914f9af1ba This commit was generated by cvs2svn to compensate for changes in r38889,
which included commits to RCS files with non-trunk default branches.
1998-09-06 22:57:45 +00:00
John Polstra
f3c0afbfb0 Import GNU binutils-2.9.1. This will break things for a few minutes
until I've made the commits to resolve the conflicts.

Submitted by:	Doug Rabson <dfr>
1998-09-06 22:57:45 +00:00
Satoshi Asami
140a040ae3 Remove tcl from src/contrib. 1998-09-05 12:33:01 +00:00
David E. O'Brien
c2e6b42316 More sorting of references. 1998-09-05 06:56:36 +00:00
David E. O'Brien
173d7ad5bd MFO: rev 1.3 - correct man page xrefs. 1998-09-05 06:38:19 +00:00
David E. O'Brien
f6a4cf41ea compare getopt() with -1, not EOF 1998-09-05 06:06:00 +00:00
David E. O'Brien
d5f8a55d70 MFO rev 1.4 - sort cross references 1998-09-05 05:52:24 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
David E. O'Brien
68f65204d5 Don't assume that time_t is long.
(from rev 1.4 by bde of old AMD)
1998-09-04 04:42:28 +00:00
Brian Somers
ec28eec908 This is AMD.CONF, not AMQ.CONF 1998-09-02 21:07:47 +00:00
Gary Palmer
f58619de89 Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
John Birrell
8472e43276 Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.
Suggested by: jdp
1998-08-30 20:40:29 +00:00
Peter Hawkins
3cf9b7ae04 PR: 7741
Submitted by:	Hellmuth Michaelis <hm@kts.org>
add LCP/PAP/CHAP/IPCP frame printing functionality
1998-08-30 05:32:44 +00:00
John Polstra
8e5e92d80e This file has been renamed to FREEBSD-upgrade in accordance with the
Policies section of the Handbook.

Submitted by:   "David O'Brien" <obrien>
1998-08-28 04:55:53 +00:00
John Polstra
5297a0bee0 This file has been renamed to FREEBSD-upgrade in accordance with the
Policies section of the Handbook.

Submitted by:	"David O'Brien" <obrien>
1998-08-28 04:53:23 +00:00
David E. O'Brien
1726a7acaf rpcgen our own mount.h, nfs_prot.h, mount_xdr.c, and nfs_prot_x.c
for NFSv3 support
1998-08-27 07:33:23 +00:00
David E. O'Brien
11fbd93222 accidently changed some white space 1998-08-27 07:25:25 +00:00
David E. O'Brien
13bcc37c02 Properly create db files vs. dbm files.
Obtained from:	NetBSD
1998-08-27 02:56:47 +00:00
Bruce Evans
0f79d73473 Support printf format checking of FreeBSD kernel formats %[Dbrz].
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.

Fixed a message - don't warn about the field width when it's the
precision that has the wrong type.  Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.
1998-08-24 06:33:52 +00:00
David E. O'Brien
274bbe3187 * Check getopt()'s return with -1, not EOF
* protect a few potential buffer overflows

Obtained from:	NetBSD
1998-08-23 22:52:09 +00:00
David E. O'Brien
aad735d675 more files we don't need. 1998-08-23 22:51:11 +00:00
David E. O'Brien
2020f841b6 Two more files FreeBSD doesn't need. 1998-08-23 22:43:27 +00:00
David E. O'Brien
104d85584f upgrade instructions. 1998-08-23 22:09:19 +00:00
David E. O'Brien
ab38884b94 Virgin import of AMD (am-utils) v6.0a16 1998-08-23 22:07:21 +00:00
David E. O'Brien
9522ac24d5 This commit was generated by cvs2svn to compensate for changes in r38494,
which included commits to RCS files with non-trunk default branches.
1998-08-23 22:07:21 +00:00
John Birrell
2fbedc25cd Use %p and void * casts to print pointers.
Cast the hash value returned to long instead of int.
1998-08-20 21:33:31 +00:00
John Birrell
d8a6b1e31e Add #include string.h to get prototypes. 1998-08-18 01:47:44 +00:00
John Birrell
87e904fdcf Add #include string.h to get prototypes.
Cast a pointer to u_long instead of u_int32_t to avoid a warning. This
is cosmetic because the code is just looking for the remainder.
1998-08-18 01:46:58 +00:00
Julian Elischer
55d80b2df1 Handle the case of moving a directory onto the top of a sibling's
child of the same name.

Submitted by:	Kirk Mckusick with fixes from luoqi Chen
Obtained from:   Whistle test tree.
1998-08-12 20:46:47 +00:00
Dag-Erling Smørgrav
c8dde19133 Add missing .TP in "INTERACTIVE MODE" section. 1998-08-12 10:38:37 +00:00
Wolfram Schneider
f3b2c2d1d3 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
Poul-Henning Kamp
54ae3aa75b None of the header files for the packet capture library
are suitable to include in a C++ file.

PR:		7229
Reviewed by:	phk
Submitted by:	Craig Spannring <cts@internetcds.com>
1998-08-07 06:20:58 +00:00
Dag-Erling Smørgrav
e7cdb97253 Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR:		7253
Submitted by:	Yours Truly
1998-08-04 14:10:48 +00:00
Peter Wemm
05b73c60a4 I obviously cannot read. I misread the ifdef in the Makefile - DONT_FSYNC
was not on by default.. Back previous change out.
1998-08-04 13:56:32 +00:00
Peter Wemm
aa0c66bc41 Invert the sense of the -s flag (local addition). Instead of compiling
in the behavior via the previously default #define DONT_FSYNC, use the
-s flag to turn the fsync() behavior on.  This can be configured in
sendmail.cf without recompiling mail.local.
1998-08-04 13:46:46 +00:00
Peter Wemm
d615a19295 Copy original revs 1.2,1.3 - nofsync/nobiff support, usage update. 1998-08-04 13:14:21 +00:00
Peter Wemm
e3de8dc3d1 Copy original revs 1.2,1.3 - sort xrefs, document new -b and -s flags. 1998-08-04 13:11:42 +00:00
Peter Wemm
c97fb50e13 Copy original rev 1.2 - fix usage line to match reality. 1998-08-04 13:09:38 +00:00
Peter Wemm
1bceb5b259 Copy original rev 1.2 - path updates for 4.4BSD so smrsh is more useable. 1998-08-04 13:08:41 +00:00
Peter Wemm
829be59c37 Copy original rev 1.2 - immediate delivery rather than queueing and -Wall. 1998-08-04 13:07:03 +00:00
Peter Wemm
663f78a4e8 Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2
Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly.
1998-08-04 13:04:55 +00:00
Peter Wemm
4ec6f1f332 Copy original rev 1.3 - fix cosmetic typo in example
Copy original rev 1.2 - sort xrefs
1998-08-04 12:59:12 +00:00
Peter Wemm
f897fed538 Copy original rev 1.5 - sort/fix xrefs
Copy original rev 1.4 - correct path to /usr/share/misc/sendmail.hf
1998-08-04 12:57:34 +00:00
Peter Wemm
b2ee1660ba Copy respective revisions from usr.sbin/sendmail/*/* - use -1 with getopt. 1998-08-04 12:53:30 +00:00
Peter Wemm
b26579db36 Copy rev 1.2 of usr.sbin/sendmail/cf/sh/makeinfo.sh: Use LC_TIME=C date. 1998-08-04 12:47:09 +00:00
Peter Wemm
bb9b311a11 Copy across rev 1.2 of usr.sbin/sendmail/cf/ostype/bsd4.4.m4:
Remove the legacy -d option from the arguments to mail.local in 4.4bsd.
1998-08-04 12:45:34 +00:00
Peter Wemm
8c7de60340 Copy across rev 1.2 of usr.sbin/sendmail/cf/m4/cfhead.m4: Record envelope
sender in each Received: header along the way. Great for spammer hunting.
1998-08-04 12:44:19 +00:00
Peter Wemm
809dcea5da This commit was generated by cvs2svn to compensate for changes in r38032,
which included commits to RCS files with non-trunk default branches.
1998-08-03 05:56:20 +00:00
Peter Wemm
c2aa98e247 Import sendmail-8.9.1 (slightly trimmed) onto a fresh branch under
src/contrib as per various discussions.  I will copy across our changes
and then point the Makefiles across once the dust has settled..
1998-08-03 05:56:20 +00:00
Bruce Evans
bb6ae0a4a9 Fixed printf format errors. 1998-08-02 16:44:18 +00:00
Bruce Evans
c513aafea1 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
Bruce Evans
d983fa4305 Fixed printf format errors. gcc should have a macro HOST_PTR_PRINTF_TYPE
to go with its HOST_PTR_PRINTF[_FORMAT], since if %p is wrong for the
format then `void *' is probably wrong for the type.
1998-08-02 14:57:00 +00:00
John Polstra
3bc25faee6 Add support for a new archetype "printf0" for the "format" function
attribute.  It is like the existing "printf" archetype, except that
it doesn't complain if the format string is a null pointer.  See
the node "Function Attributes" in the GCC info pages if you don't
know what this is all about.

This change will allow us to add format string checking for the
err(3) family of functions.
1998-07-15 04:22:45 +00:00
Dmitrij Tejblum
c713c527bb Add XPG4.2. 1998-07-08 15:05:05 +00:00
Bruce Evans
22694ebad5 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
Bruce Evans
a0f9f69e20 Declared version_string() properly (1970's style). 1998-07-06 20:40:57 +00:00
Bruce Evans
2512f2fe3b Fixed printf format errors. 1998-06-30 20:14:13 +00:00
Bruce Evans
c15a5b80be Fixed printf format errors. 1998-06-30 19:53:09 +00:00
Bruce Evans
3e55a1b2c6 Fixed (1970's/old-GNU style) a missing declaration of a function that
doesn't return int.
1998-06-30 19:19:10 +00:00
Bruce Evans
f39030436d Fixed printf format errors. 1998-06-30 18:12:26 +00:00
Bruce Evans
9f15c7ece5 Fixed printf format errors. 1998-06-30 18:06:23 +00:00
Bruce Evans
82890f2bb9 Don't assume that time_t is long. Don't assume that time_t's can be
represented by ints.  Keep assuming that time_t's can be represented
by longs.
1998-06-29 16:30:43 +00:00
Bruce Evans
39470616b1 Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00