Commit Graph

855 Commits

Author SHA1 Message Date
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