Commit Graph

1851 Commits

Author SHA1 Message Date
christos d9447f387e From Stephen Ma, discussed in tech-net and verified by paulus
mru computation was off-by-one
1997-09-26 20:24:12 +00:00
christos 16f22c5efc remove unused variable 1997-09-26 20:23:00 +00:00
christos a5eb79afe9 PR/4136: Geoff Wing: pppd writes wtmp, but not lastlog. 1997-09-26 20:22:26 +00:00
christos 6272590b95 Fix gcc warnings. 1997-09-26 20:14:42 +00:00
christos 651d523cbe Resolve conflicts 1997-09-26 19:52:08 +00:00
christos b94f88cd02 PR/4141: Daniel Hagerty: DTRT with appletalk. 1997-09-26 18:12:35 +00:00
christos c1b53cf091 Fix remaining warnings. 1997-09-26 17:08:09 +00:00
christos 5d124d82c6 Resolve conflicts; Damned RCSid's... I should fix the amd2netbsd script
to strip them.
1997-09-26 16:59:40 +00:00
christos 04c4910102 Import am-utils-6.0a12 1997-09-26 16:05:48 +00:00
fair 99d14e3181 correct man page pathnames to reflect reality, per PR#4148 1997-09-25 06:49:59 +00:00
thorpej d10050d5b9 sizeof() returns a size_t which is an unsigned long on the Alpha. We have
to use %lu and a cast to u_long to print these in a portable way.
1997-09-25 01:45:14 +00:00
pk 2d32cc7658 Only reap children that are ready to be reaped from the SIGCHILD handler
(PR#4143; Uwe Arndt).
1997-09-24 13:22:06 +00:00
jeremy fe56753f5e Add sun3x to the list of machines using this program. 1997-09-24 07:22:37 +00:00
veego c219cd3ba0 Restore revision 1.3: 'make depend' needs a config_local.h in the SRCS=
line of libamu/Makefile
1997-09-23 08:46:25 +00:00
veego 1a9080a871 Restore one change from revision 1.4: 'make depend' needs a config_local.h
in the SRCS= line of libamu/Makefile
1997-09-23 08:40:57 +00:00
mrg ddc2dd4f02 be safe with buffers, from dholland@eecs.harvard.edu in pr#4138 1997-09-23 07:28:29 +00:00
christos 2903fbdf71 Resolve conflicts. 1997-09-22 22:09:51 +00:00
christos 30d4fdf78e Import am-utils-6.0a11 1997-09-22 21:11:12 +00:00
christos 1b45de5df5 String overflow bugs (from OpenBSD) 1997-09-22 13:57:36 +00:00
veego 968d3837cd We no longer need this header file. 1997-09-21 18:13:28 +00:00
veego c505e9ce05 GC. 1997-09-21 18:12:01 +00:00
veego 4508fb4354 Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 18:00:54 +00:00
veego 6a116d459c Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 17:02:33 +00:00
veego 985ac74a98 Import ip-filter 3.2beta5 1997-09-21 16:47:50 +00:00
veego 4f72ff44fd Changes for ipf 3.2beta5:
- Add the main Makefile and Makefile.inc for src/usr.sbin/ipf
- New rules subdirectory
- Remove a include directory from ipftest/Makefile
- Add a MLINKS for ipnat.5 -> ipnat.conf.5
- Add new Manpages: ipresend.1, ipsend.1, ipsend.5, iptest.1
- Add new iplang files for src/usr.sbin/ipf/ipsend
- Copy the tcpip.h. It has now a BSD license and remove a comment about it
- Add ip_log.c to sys/lkm/netinet/Makefile
- Add *.y and *.l files to the list of transformed files
- Remove the ipsend.h fix because we now use only one ip_compat.h
- Fix file and directory permissions during the import
1997-09-21 16:34:31 +00:00
mikel c833d17bf1 xref rmail(8) not nonexistent rmail(1) 1997-09-20 06:02:44 +00:00
mikel f1b4d4127e fix xrefs: signal(2) -> signal(3), syslog(8) -> syslog(3) 1997-09-20 05:16:29 +00:00
christos 6807fc37b2 Fix uninitialized variable 1997-09-19 21:22:38 +00:00
leo a539aec784 Commit userland part of pr-1891. 1997-09-19 19:17:17 +00:00
lukem a9c0a86a3c fix .Nm usage 1997-09-16 13:10:29 +00:00
lukem 375567dca2 * resolve conflicts from lite-2 merge
* cleanup for WARNS=1
1997-09-16 13:07:59 +00:00
lukem ea2eef1424 resolve conflicts 1997-09-16 03:13:18 +00:00
mrg f4d8afa436 make a link from ipf.5 to ipf.conf.5 1997-09-16 02:06:41 +00:00
enami 241ba6ead1 If f->f_type is F_FORW, don't close f->file. 1997-09-15 03:25:42 +00:00
lukem aa125494d1 - use .Nm instead of .Xr
- don't refer to the command as /sbin/mountd - it's not there anymore
1997-09-14 02:26:14 +00:00
enami 747812c50c Store constant `F_UNUSED' into the right place f->f_type
rather than f->f_file.
1997-09-13 07:53:10 +00:00
cjs 25e1ee9531 Sendmail 8.8.7 merge. 1997-09-09 06:35:00 +00:00
cjs c75d7d513a Sendmail 8.8.7 import. 1997-09-09 06:19:07 +00:00
mikel f13c41584f add missing newline in usage(); from Hubert Feyrer in PR bin/4064 1997-09-08 03:18:19 +00:00
mikel 312c78327b kill excess newlines in debug output; from Enami Tsugutomo in PR bin/4076 1997-09-08 02:21:52 +00:00
veego 2e55dbcfd0 Sync it for libamu/Makefile. 1997-09-07 21:56:12 +00:00
fvdl d2200ee791 Add missing argument to 2 warnx() calls. From <msaitoh@spa.is.uec.ac.jp>,
PR 4086.
1997-09-05 10:52:10 +00:00
is 3845c4168d Make it recognize ICMP_UNREACH_ADMIN_PROHIBITED (type 13) as !A, and print
!{number} for unknown numbers.
This patch is part of PR 4038 by Havard Eidnes <he@vader.runit.sintef.no>,
who in turn did loosely base his patch on the FreeBSD 2.2.2 version.
1997-09-02 21:48:50 +00:00
mikel 31cff31e63 use correct name for default accounting file; from Hubert Feyrer in
PR bin/4063.
1997-09-01 23:32:45 +00:00
lukem 77735b9c46 update for WARNS?=1
check getopt() against -1 not EOF
1997-08-28 08:09:53 +00:00
lukem 5010818f51 Prevent info gathering attacks by returning EACCES when a directory
doesn't exist as well as when there aren't enough privileges.
As highlighted on BUGTRAQ.
1997-08-28 05:49:15 +00:00
mikel 480894feb2 xref sliplogin(8), not nonexistent sliplogin(1) 1997-08-27 07:59:19 +00:00
thorpej aeeac5d7fd Fix usage with NIS+ servers in NIS compat mode, which was lost in the
last amd update.  From Matthieu Herrb <matthieu@laas.fr>, PR #4023.
1997-08-26 19:47:19 +00:00
lukem b9aadef1e0 cleanup for WARNS?=1. as a side effect, close [bin/4036] 1997-08-25 22:44:40 +00:00
kleink 66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
agc f642bb0d2f Add -U flag, checking for mismatch. This is the same as the old -u flag,
except that an error which was corrected is deemed not to be an error.

Necessary for use in the FreeBSD ports system.
1997-08-20 15:14:51 +00:00
mikel e72c8b76e8 eliminate extra dashes before option arguments; from Enami Tsugutomo
in PR bin/4000.
also add xref to syslog(3) and fix some typos.
1997-08-19 04:20:40 +00:00
bouyer 2d20417591 Add MOUNT_EXT2FS to the list of filesystem which need to be deleted from
the export list in the kernel when re-reading /etc/exports.
1997-08-13 12:36:04 +00:00
kleink 971842faad Typo. 1997-08-06 19:52:18 +00:00
fair 4c55c4068f patch from PR#3944 1997-08-06 11:50:57 +00:00
christos 031eafc65a PR/3939: enami tsugutomo: amd fails to detect endianness. 1997-08-05 12:02:49 +00:00
christos 8c55e294ce Add -q flag for quiet operation. 1997-08-04 22:03:52 +00:00
mikel be93e7feff add missing backslash in ENTER() macro (#ifdef DEBUG); noted by
Kenneth Stailey
1997-08-01 04:51:48 +00:00
jtc 87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
thorpej 1a9c5f5f48 Arithmetic between "int" and "size_t" is promoted to "long" on the Alpha;
use the %ld printf format, and cast to (long) for printing.
1997-07-30 17:43:55 +00:00
christos afc018f838 If a directory gets deleted in the master tree, but the client has it in
his last.<collection> list, this directory did not get removed in the client
since the code just tried rmdir(foo) and gave up when that failed. This
has been changed to be more agressive and do an rm -fr when rmdir fails.
1997-07-30 15:35:13 +00:00
christos 6613161476 - Don't botch varargs: the are not always an array of void * in the stack...
Write a separate function to convert a list of function parameters to
  an argv array.
- explain why execv failed.
1997-07-30 15:33:22 +00:00
veego 81fde155b7 Print the interlace and doublescan flag for the converted mode line and
not only default which is wrong.
1997-07-29 23:41:12 +00:00
veego c0a29b25ea Add 'WARNS?= 1' 1997-07-29 18:03:34 +00:00
veego 5fac362982 - Note that hblank_stop and vblank_stop are gone and describe the new disp_flags
for interlace, doublescan, sync-on-green and horizontal/vertical sync polarity.
- Add a HISTORY section which describes the changes of the mode format.
- Use a TNF copyright, with the permission from Ezra Story.
1997-07-29 17:40:47 +00:00
veego 44b9795e1b Major mode format restruction:
- Remove gv->hblank_stop and gv->vblank_stop
- Add gv->disp_flags to select interlace, doublescan, sync-on-green and
  horizontal/vertical sync polarity.
- Add many checks for old and wrong modes.
- Use a TNF copyright, with the permission from Ezra Story.
1997-07-29 17:39:52 +00:00
mikel a86b9a7361 pushed ethers, not hosts 1997-07-29 05:56:48 +00:00
thorpej 5780269849 Document new UDP and TCP tunables. 1997-07-28 22:24:01 +00:00
fair 1f7596052f fix a compile error on non-sparc 1997-07-28 19:29:54 +00:00
veego fef34ddd17 Add config_local.h to SRCS so it is created before a make depend.
Finnaly fixes pr#3919.
1997-07-28 13:08:05 +00:00
thorpej b54686772c Fix a bunch of compiler warnings. 1997-07-28 06:03:54 +00:00
thorpej 4902da1c96 Fix compiler warnings, build with WARNS. 1997-07-28 05:39:16 +00:00
christos 3b1ba66d76 - Make the yacc .h file generation more sane from Juergen Hannken-Illjes
- PR/3919: Thorsten Frueauf: Add config_local.h to CLEANFILES and remove
  it from the repository.
1997-07-28 00:46:55 +00:00
mrg f644e619a5 find "namespace.h" correctly... 1997-07-25 06:54:00 +00:00
christos 5653c61f64 Restore from death. 1997-07-25 00:29:21 +00:00
christos 4c3f8ff516 Remove unnecessary files. 1997-07-25 00:21:57 +00:00
christos eab39f597e Commit am-utils6.0a8 1997-07-24 23:16:10 +00:00
christos 5feec48523 Import of Erez Zadok's am-utils 1997-07-24 21:19:53 +00:00
phil ffdae81455 Add parameter to call of pw_copy, don't use it, just pass NULL. 1997-07-24 08:54:56 +00:00
thorpej 70e9bf3e24 Oops, somehow the last commit got screwed up. 1997-07-23 21:02:39 +00:00
thorpej 2434f06806 - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
1997-07-23 20:58:36 +00:00
thorpej 865d47e9aa Add argument to .OS macro. 1997-07-23 20:27:16 +00:00
thorpej d44f4bba41 Build with WARNS. 1997-07-23 20:23:16 +00:00
thorpej 35a6561e44 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-23 20:22:48 +00:00
thorpej 8f8a2e37ef - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Now
works on crash dumps, as well as live kernels.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings.
- Fix potential bad pointer arithmetic interaction with sort comparison
  function.
- Build with WARNS.
- Update copyright.
1997-07-23 18:20:46 +00:00
thorpej a2d326c63c Fix potential bad pointer arithmetic interaction with sort comparison
function.
1997-07-23 16:41:43 +00:00
thorpej b8a640f6ab Fix thinko in previous. 1997-07-23 16:27:50 +00:00
thorpej aba777d837 Garbage-collect some now-incorrect text. 1997-07-23 08:39:33 +00:00
thorpej 1f6eefecf8 - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Remove
all of the old 4.{2,3}BSD VM goop.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings (including a Metric *load of printf formats).
- Build with WARNS.
- Update copyright.
1997-07-23 08:19:59 +00:00
mikel 3c7bdeebc9 RCSid police 1997-07-23 06:43:08 +00:00
mikel 35c642e5b1 merge lite-2 changes, RCSid police 1997-07-23 06:31:43 +00:00
mikel bd9a24e449 merge lite-2 changes, RCSid police 1997-07-23 06:16:44 +00:00
mrg 7e01ed9cf6 find "namespace.h" ... 1997-07-23 04:12:37 +00:00
mrg bda99ff7a0 find "namespace.h" ... 1997-07-23 03:10:54 +00:00
perry 6db6d0fc76 fix 3905 docubug from Saitoh Masanobu 1997-07-22 15:19:30 +00:00
christos 49c4c10580 gethostnamadr.c -> gethnamaddr.c 1997-07-21 03:51:57 +00:00
mouse 2ebe693d57 Mark my changes, per Vixie's license at the top. 1997-07-20 02:54:55 +00:00
thorpej 1569c18c63 Fix typo in previous. 1997-07-18 23:08:45 +00:00
thorpej 1c4fcb7069 Cast pointers to u_long before casting to another integral type. 1997-07-18 23:07:44 +00:00
thorpej 1f01636e14 Cast time_t's to long, and use %ld format, when printing. 1997-07-18 22:48:31 +00:00