Commit Graph

1047 Commits

Author SHA1 Message Date
thorpej 507ba8247c Kill some gratuitous byte-swapping calls, which broke rbootd on the i386
in some cases.  No functional change on big-endian systems.  From
Scott Reynolds <scottr@plexus.com>.
1995-11-14 08:41:42 +00:00
thorpej a752cec2e0 Don't require compiling with -DDEBUG to enable debugging messages. Instead,
add a new option flag "-d", which enables debugging output.  Compile all
of the code that used to be enabled with -DDEBUG unconditionally.  The
amount of extra code is negligable, and all of the tests to check if
debugging is enabled were done regardless of -DDEBUG anyway.  Adjust
SYSLOG() to DTRT if debugging is not enabled.
1995-11-06 07:00:07 +00:00
christos 1949f5ea6b - runio fails when result != 0 not only < 0
- print vis-encoded file in the scanner.
1995-10-29 23:54:45 +00:00
pk ad511bd89a Insert parentheses to get correct precedence when comparing time-stamps
(from Arne Juul; PR#1660).
1995-10-22 20:12:07 +00:00
mycroft 34b0d58fba Fix tiny documentation error; default timeout is 5s, not 3s. 1995-10-12 03:05:50 +00:00
cgd 55f15749ce need string.h to compile on alpha. 1995-10-10 17:56:10 +00:00
thorpej 86aa6c3604 Make an `#include <alloca.h>' conditional on `sparc && !__NetBSD__', rather
than just `sparc'.
1995-10-10 16:29:50 +00:00
chopps b93472a2bb update copyright 1995-10-09 13:52:49 +00:00
chopps dc683639f7 device is require not optional 1995-10-09 04:11:18 +00:00
thorpej ad3a5f50ae New-style RCS ids. 1995-10-09 03:51:32 +00:00
chopps 0699af0c7d add grfconfig to amiga subdirs 1995-10-09 03:43:55 +00:00
chopps b6873a23af add grfconfig from Ezra Story <ezy@panix.com> 1995-10-09 03:43:22 +00:00
chopps 2a4b986b4e add videomode to amiga specific subdirs 1995-10-09 00:52:17 +00:00
chopps 13e967a6eb add videomode (sets video modes for grf[124] 1995-10-09 00:50:07 +00:00
chopps 389dfb1ebd add gspa subdir 1995-10-09 00:09:05 +00:00
chopps f28a6fbe4b makefiles for gsp compiler and output converter 1995-10-09 00:06:57 +00:00
chopps 4a04381d56 compiler for the TMS34010 graphics processor. Original code from
Paul Mackerras, contributed by Ignatios Souvatzis <is@beverly.rhein.de>
more standard argument handling from me.
1995-10-09 00:06:02 +00:00
chopps 5646c9b6d9 gspa output processor from Ignatios Souvatzis <is@beverly.rhein.de> 1995-10-09 00:02:47 +00:00
gwr 677a80857e Add rdconfig 1995-10-08 22:55:48 +00:00
gwr ea702e59dd Helper program for "user RAM" mode supported by sys/dev/ramdisk.c 1995-10-08 22:40:41 +00:00
thorpej 31903d0eaa Be safer with types. From Scott Reynolds <scottr@plexus.com> 1995-10-06 05:12:12 +00:00
mycroft 49d5e89682 Update from kernel source. 1995-10-05 08:58:21 +00:00
mycroft 1e1d370eec Fix typos. 1995-10-05 08:23:18 +00:00
mycroft 2347ccba1b Fix various parity and character size bugs from the termios transition. 1995-10-05 08:20:20 +00:00
mycroft fde6ad0815 Fix a couple of things broken in the termios transition. 1995-10-05 08:01:29 +00:00
mycroft dfd0b8b273 Fix type errors. 1995-10-05 07:47:32 +00:00
mycroft 0231229adc Fix typo in previous. 1995-10-05 07:42:30 +00:00
mycroft 780c7fbe39 Change to use SET(), CLR(), and ISSET() macros. 1995-10-05 07:39:39 +00:00
thorpej c57984e13a New-style RCS ids. 1995-10-04 03:47:51 +00:00
thorpej f335667d4d New-style RCS ids. 1995-10-03 23:16:47 +00:00
hpeyerl 8e41ca8016 -- convert sgtty to termios. From: Scott Bartram <scottb@iis.net>
-- Use seteuid() to only give lpr, lprm, lpq and lpc root when they
   need it from matthew green <mrg@mame.mu.oz.au>
1995-10-03 15:02:17 +00:00
pk 0e91488536 Prevent loop in SIGCHLD handler (Frank van der Linden; PR#1539). 1995-09-30 11:39:53 +00:00
thorpej 7760002a45 New-style RCS ids. 1995-09-30 07:12:43 +00:00
thorpej a6af943990 Add support for the net.inet.tcp sysctl group and document. From
John Kohl <jtk@kolvir.blrc.ma.us>.
1995-09-30 07:05:19 +00:00
jtc 772e08ba5e Remove libdbm DPADD 1995-09-27 21:30:10 +00:00
jtc d538b54279 comment out HISTORY section, as it appears to be garbage; PR #1530 1995-09-27 19:49:25 +00:00
jtc 1bd0165884 iostat is in section 8; PR #1533 1995-09-27 19:46:12 +00:00
jtc 14381bce93 vmstat is in section 8; PR #1532 1995-09-27 19:45:07 +00:00
jtc 8ba230d554 vmstat is in section 8; PR #1532 1995-09-27 19:20:24 +00:00
jtc c362ae238b Add section number in SEE ALSO; PR #1531 1995-09-27 19:17:27 +00:00
jtc 68cc8e44b0 resolver(5) -> resolv.conf(5); PR #1501 1995-09-25 23:48:45 +00:00
thorpej 0964493c0d Better way to deal with byte-order in the RMP packet (might work on a PDP-11!)
From Scott Reynolds <scottr@plexus.com>
1995-09-19 06:27:31 +00:00
glass 8d3a219347 if the function returns nothing, declare it void 1995-09-16 19:12:14 +00:00
glass 9f5762d576 if the function returns nothing, declare it void 1995-09-16 19:01:25 +00:00
thorpej fd263d7b71 The rest of the little-endian patches from Scott Reynolds that
apparently slipped through the cracks before.
1995-09-12 20:07:52 +00:00
thorpej d871ec0593 Changes from Scott Reynolds <scottr@plexus.com> to make this go on
little-endian machines (like the i386).
1995-09-12 07:13:06 +00:00
thorpej c78a02a75a Make the "/tftpboot/<client-ip-address>" requirement conditional on
-DREQUIRE_TFTPBOOT and disable it by default.
1995-09-01 21:55:44 +00:00
cgd 1d48789579 pull in string.h for protos 1995-08-29 23:07:07 +00:00
ragge f525d4b280 Cleaned up an old #ifdef vax. 1995-08-24 19:58:07 +00:00
ragge 5362187bf6 Removed unnecessary #ifdef vax that broke compilation. 1995-08-24 17:04:40 +00:00
thorpej 6799ca3972 Use new-style RCS ids. 1995-08-21 17:05:08 +00:00
thorpej fc5cbfd4ca A few things:
* Don't compute the basename, use __progname.
	* Use daemon() to detach.
	* Use err(3) functions where appropriate.
	* Remove some old 4.2 stuff.
1995-08-21 16:57:54 +00:00
chopps aabb577203 add adosfs. 1995-08-19 16:08:05 +00:00
pk 6ea706d3c0 Remove a comma. Use `.Dq'. 1995-08-18 15:26:45 +00:00
pk 1a5a1af0ab `.SH' -> `.Sh' (from Masanobu Saitoh; PR#1378).
Also, use .Dq in two places, remove an extra comma and pluralize WARNING.
1995-08-18 15:22:34 +00:00
thorpej 6fe057662d New-style RCS IDs. 1995-08-17 17:22:06 +00:00
thorpej 919f902e1c Oops. Garbage collect the ccd-specific grammar, too. 1995-08-17 17:09:22 +00:00
thorpej fb67433ccd The ccd should be treated like any normal pseudo-device now. 1995-08-17 16:43:35 +00:00
paulus 8c0ef60b38 Minor bugfixes and enhancements from the ppp-2.2 release. 1995-08-17 12:03:51 +00:00
paulus b00e161b26 Updated to follow the example of slstats(8) more closely. 1995-08-17 11:44:51 +00:00
gwr 8d3f7ee63c minor cleanup 1995-08-14 19:50:09 +00:00
gwr ebd029a6da Add note (in HISTORY) to satisfy distribution terms. 1995-08-14 19:48:07 +00:00
gwr 6f885de1cf Put the SVR4 code back in (#ifdef SVR4) so as to respect the
requests made in the distribution terms. (re. modifications)
1995-08-14 19:45:18 +00:00
mycroft c9e578df48 Install this setuid root. 1995-08-13 02:54:30 +00:00
thorpej 3cb6ddbe3a Mention the `kern.maxpartitions' and `kern.rawpartition' variables. 1995-08-04 18:46:15 +00:00
paulus a437541fdd restored to its former state 1995-08-02 01:27:08 +00:00
phil 5354239906 Improvements to YP support from Jason Downs. 1995-07-28 07:13:04 +00:00
phil 72065007ac Improvements to YP support from Jason Downs. 1995-07-28 07:01:32 +00:00
gwr a9badc45e2 Delete (possibly incomplete) ARP table entry before adding.
Thanks to Chritos Zoulas and others.  Fixes PR# 1242
1995-07-25 22:56:56 +00:00
gwr e69420e49a Do not complain when yp_bind fails. It is optional. 1995-07-25 22:24:19 +00:00
gwr 457d5a17a4 Add the NetBSD ID strings. 1995-07-25 22:20:13 +00:00
jtc 11b902c1ae /usr/etc -> /usr/sbin 1995-07-25 20:22:10 +00:00
cgd 5c31b284f8 make work regardless of 'obj', do dependencies a bit better 1995-07-24 19:12:18 +00:00
ws b7e8360706 Make bootpgw work for more than just the first query 1995-07-24 13:38:10 +00:00
ws 09d174fdec Since BSD is defined in sys/param.h, we need to include that 1995-07-24 13:35:50 +00:00
jtc 82b75dfd3f gwr's port of pcnfsd 1995-07-24 04:02:44 +00:00
jtc 5bf668ed11 Fix formatting bug. 1995-07-14 17:38:29 +00:00
cgd 1a516ca0ab don't forget to clean eeprom 1995-07-14 07:01:35 +00:00
thorpej 3a7e8d570c Build eeprom where appropriate. 1995-07-13 20:42:35 +00:00
thorpej b7c1140c05 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:17:28 +00:00
thorpej da9b1f7603 Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:07:19 +00:00
glass d2551bdcaf complete upgrade to version 8.6.12. Eric willing the next imported version will be 8.7.x 1995-07-12 18:25:23 +00:00
thorpej 6d2243ddee Build screenblank where appropriate. 1995-07-12 05:00:40 +00:00
thorpej dcbb2c500e A screen saver daemon for Sun 3 and SPARC machines, similar to the SunOS
program of the same name.
1995-07-12 04:57:47 +00:00
cgd 998286ad38 alphabetize machine-specific program lists, clean all progs on all machines 1995-07-12 04:56:33 +00:00
jtc 93101c4d91 spray(8) manpage, from Jim Jegers.
Expanded and edited by myself.
1995-07-11 01:18:05 +00:00
cgd ed12e6274c cfparse.c and y.tab.h should be in CLEANFILES 1995-07-10 01:39:58 +00:00
jtc a0e044841b Use consistant style of quotes; PR #1194 1995-07-07 22:26:11 +00:00
paulus fbb77fbf73 Compression Control Protocol (CCP) code for pppd, from ppp-2.2. 1995-07-04 23:54:06 +00:00
paulus 0cac89792c New version of pppd from ppp-2.2. The major new feature is support
for CCP (compression control protocol) and thus packet compression.
Several bugs fixed.
1995-07-04 23:47:29 +00:00
paulus 8d816f6a89 New version of pppstats from ppp-2.2. Optionally prints statistics for
packet compression.  Internally it now uses interface ioctls to get the
statistics, so it doesn't need to grub around in kernel memory any more.
1995-07-04 23:43:52 +00:00
paulus 7af42f4d78 New version of chat from ppp-2.2 distribution. The locking code is
gone, because it didn't belong here (chat doesn't open the serial
device), and there is a new "report" feature to report lines beginning
with specified strings (e.g. "CONNECT").
1995-07-04 23:36:19 +00:00
christos 363e119397 - Don't use system(3) to fork processes. It is a big security hole.
- Encode the filenames in the scan files using strvis(3), so filenames
  that contain newlines or other weird characters don't break the scanner.
1995-06-24 16:21:33 +00:00
pk d8f00aa36c Conform to rpcgen generated names and prototypes.
The server-side worker routines now have "_svc" appended to avoid
conflict with client-side prototypes.
1995-06-24 15:03:49 +00:00
cgd 1877da8b4d don't set the wrong address, for the address. from Arne Henrik Juul. 1995-06-24 11:16:47 +00:00
cgd a8973a1752 specify precision, not minimum field width. pointed out by John Kohl 1995-06-22 11:15:14 +00:00
mycroft 21258bad26 Allow exporting regular files. 1995-06-22 02:37:38 +00:00
christos 8fc36200cd Update to RIP version 2 header. 1995-06-20 23:38:49 +00:00
jtc 0ef3213f32 document 'info' level; pr#1137 from Kenneth Stailey 1995-06-20 22:43:19 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd 3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
mycroft ea4b47d0d7 Use hstrerror(), not h_errlist[]. 1995-06-11 20:22:58 +00:00
mycroft 7ae2c7538b Eliminate extra `/' when prefixing the device name with _PATH_DEV. 1995-06-10 21:01:08 +00:00
mycroft f477ccbfa7 Fix def_anon initializer. 1995-06-09 05:26:58 +00:00
christos 695670c5fa fixed bug related to the ascii `when' files previous fix, where the -t
option would fail to read the timestamp files.
1995-06-09 04:33:34 +00:00
cgd 29d4fed17f typeof(timeval.tv_sec) != time_t 1995-06-07 17:40:51 +00:00
cgd 10603feb51 needs string.h 1995-06-07 17:38:35 +00:00
cgd 788733b7a9 typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
christos a6d86f0535 Changes to write ascii timestamps in the when files.
Looked into making it 64 bit clean, but it is hopeless.
Added little program to convert from the old timestamp files
into the new ones.
1995-06-03 21:21:48 +00:00
jtc 642d0e3938 Remove chownerr() function completely and use warn() instead.
chownerr() would prematurely terminate the program if a error occured
(lack of permissions, nonexistant file, etc.), but POSIX.2 requires
that the chown and chgrp utilities continue on.  Removing the code
that caused the program to exit turned chownerr into a wrapper
around warn(), so why not call warn() directly.

Also changed the file traversal logic so that directories are not
chown()'d twice.  This only occured when the -R option was not used.
1995-06-03 07:01:19 +00:00
jtc e095500d0c In chownerr(), check to see if new group is the effective group id as
well as in the supplementary group id array.
1995-06-03 06:09:03 +00:00
mycroft 21caf81789 Add MBONE tools. 1995-06-03 06:03:44 +00:00
mycroft c62765fbdd Fix the `restrictmailq' security check to explicitly check the egid. 1995-06-03 02:07:08 +00:00
christos 73afb6b797 don't print NULLs; print empty strings.... 1995-06-02 21:40:51 +00:00
mycroft 7f26bb202e Set cr_gid properly, and adjust for getgrouplist() change. 1995-06-02 21:04:24 +00:00
pk 7fc3672d12 Correct argument in error msg. (PR #1087) 1995-06-02 15:03:34 +00:00
pk 0dee01cc03 Remove local declarations of ctime(). 1995-06-02 15:02:18 +00:00
thorpej c381c611ec Make the behavior of `-s' consistent. 1995-06-02 01:02:09 +00:00
thorpej 9cf337c39b Install this setuid-root. 1995-06-01 23:38:51 +00:00
thorpej 9d50339841 Lots of things; use getopt(), make `-i ...' work, others. 1995-06-01 23:27:00 +00:00
mycroft 01207e9c90 Update to multicast 3.5. 1995-06-01 05:45:27 +00:00
mycroft 03bc7e4381 Update to multicast 3.5. 1995-06-01 05:32:11 +00:00
mycroft bf70a55f72 Update to multicast 3.5. 1995-06-01 05:19:10 +00:00
mycroft 6995f4fc92 Update to multicast 3.5. 1995-06-01 02:25:45 +00:00
jtc 9f28755bff <sys/syslog.h> -> <syslog.h> 1995-05-28 05:31:01 +00:00
mycroft 65eea9435d Use inet_aton(), not inet_addr(). 1995-05-22 01:02:34 +00:00
mycroft c05dec805f Use inet_aton(), not inet_addr(). 1995-05-21 17:14:38 +00:00
mycroft 800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
mycroft 53d11296c2 Use strerror(), not sys_errlist[]. 1995-05-20 02:38:23 +00:00
mycroft bc0c748b67 Use inet_aton(), not inet_addr(). 1995-05-19 22:22:34 +00:00
mycroft 76a3199557 Use inet_aton(), not inet_addr(). 1995-05-19 22:05:08 +00:00
cgd f1883097f5 fix priority mangling when sending to remote syslogds. (pr 1039, by
Jarle Greipsland.)  Fix not exactly the same as the one in the PR, but close.
1995-05-14 04:18:45 +00:00
leo 93dc1f1fea Make it work for both Amiga and Atari. Add new '-f' option. 1995-05-12 21:04:26 +00:00
leo 096846a93b Atari-port now also uses iteconfig 1995-05-12 20:51:38 +00:00
cgd be68575548 don't build netgroup(5) here. 1995-05-11 23:15:05 +00:00
mycroft 72039e8003 Increase size of buffer for file names. 1995-05-08 19:30:31 +00:00
cgd c626f39b3a update 'files' files search paths and manual page descriptions for
the config program renaming.
1995-04-28 08:15:48 +00:00
cgd 26444ba22c only build config.old on machines that need it. 1995-04-28 08:14:41 +00:00
cgd ee89d6ebad old config has moved here; attendant name changes. 1995-04-28 07:00:57 +00:00
cgd 064307e690 config.new has been moved here. names updated to match. 1995-04-28 06:54:58 +00:00
cgd 8aec5a0ab6 moved into config. 1995-04-28 06:54:10 +00:00
cgd d64248e551 build config.old instead of config.new 1995-04-28 06:53:49 +00:00
cgd 39e0ed2fd0 cast pointers to longs, not ints. don't return ptr to local var. 1995-04-24 13:27:39 +00:00
cgd 06b20eca85 need string.h 1995-04-24 13:25:55 +00:00
cgd e275cd471b cast to avoid warning. 1995-04-24 13:25:34 +00:00
cgd 867b4b0fac needs string.h 1995-04-24 13:25:18 +00:00
cgd 65dbd03764 the alpha says 'no' to amd 1995-04-21 04:42:34 +00:00
cgd af6ef0d828 need stdlib.h 1995-04-21 04:41:21 +00:00
cgd ff276cbedc really nasty hack for the alpha. bigtime XXX 1995-04-21 04:40:36 +00:00
christos 172747839f Fixes from David Brownlee to:
- default to /etc/netgroup if no input file is specified.
- create a temporary file and rename that to the final destination,
  so the we don't get partially created netgroup files.

Fixes PR bin/963.
1995-04-17 15:12:58 +00:00