Commit Graph

9 Commits

Author SHA1 Message Date
christos b33b1aed5c - for portability make sure that we never use "" as a pathname, always convert
it to "."
- include sockio.h if needed to define SIOCGIFCONF (for svr4)
- use POSIX signals and wait macros
- add -S silent flag, so that the client does not print messages unless there
  is something wrong
- use flock or lockf as appropriate
- use fstatfs or fstatvfs to find out if a filesystem is mounted over nfs,
  don't depend on the major() = 255 hack; it only works on legacy systems.
- use gzip -cf to make sure that gzip compresses the file even when the file
  would expand.
- punt on defining vsnprintf if _IOSTRG is not defined; use sprintf...

To compile sup on systems other than NetBSD, you'll need a copy of daemon.c,
vis.c, vis.h and sys/cdefs.h. Maybe we should keep those in the distribution?
1996-09-05 16:50:01 +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
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
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
brezak 3e9304df33 Changes from nate for gzip'ed sup 1993-08-04 17:46:14 +00:00
brezak af4554d4e0 Close misbehaving connections instead of exiting. 1993-06-22 17:20:23 +00:00
cgd eb192ab885 use daemon() to put supfilesrv into daemon mode... 1993-06-05 21:32:15 +00:00
brezak 256dbd11db Remove netcrypt.c. Remove unneeded files. Cleanup make. 1993-05-24 17:57:19 +00:00
cgd a1e510b12f initial import of CMU's SUP to NetBSD 1993-05-21 14:52:16 +00:00