NetBSD/usr.sbin/sup
christos ffa1f2c907 Fix symlink lossage:
- Use lstat instead of stat to find the destination path. we can make a symlink
  to a broken symlink this way.
- When calling process to create a link, check if the source is a symlink
  instead of trying to remove what the symlink points to!
- Don't create hard links to directories.

XXX: NB. Still sup is broken when used with the delete option. This is because
in the delete pass, it goes and tries to delete all files in the old list
that don't exist in the new list. This is a problem when a directory becomes
a symlink to a hierarchy that contains the same names. Then sup will cross
the symlink and start deleting files and directories from the destination.
This is not easily fixed. Don't use sup with symlink/rsymlink and the delete
option at the same time or *be careful*!
2008-09-30 20:49:14 +00:00
..
lib Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is 2008-05-03 14:48:30 +00:00
source Fix symlink lossage: 2008-09-30 20:49:14 +00:00
sup tweaks for fparseln(3) move from libutil to libc: 2002-11-30 03:10:53 +00:00
supfilesrv
supscan
Makefile
Makefile.inc Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
README s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00

$NetBSD: README,v 1.2 2003/11/12 13:31:08 grant Exp $

This is the CMU sup system, converted to use a NetBSD Makefile
infrastructure.  To build the sup system for another operating
system, go into the "source" subdirectory, and use the Makefile
provided there.

	-- Jason R. Thorpe <thorpej@NetBSD.org>
	   October 6, 1997