Content-type: text/html
protect PSRP file/directory protection application
-growth_protection
<retrys>
causes the system to retry an
sbrk(3)
call up to
retrys
times. This option permits the program to wait until the core that it requires
is available rather than simply exiting if
sbrk(3)
fails.
-usage
displays shortform usage string.
-version
displays program version number.
-slots
displays short form
pups(3)
library dependencies.
-slotinfo
displays long form
pups(3)
library dependencies.
-argf
argument_file
tells the filter to take its command line arguments from the specified
argument_file.
The data format of the argument file is:
# ... optional comment line ...
-argflag [1]
argument_parameter [1,1]
argument_parameter [1,2]
argument_parameter [1,n]
# ... optional comment line ...
-argflag [2]
argument_parameter [1,1]
argument_parameter [1,2]
argument_parameter [1,n]
-nice
cardinal
determimes the
niceness
at which the filter is scheduled. In keeping with all UNIX user processes, nice
must be a cardinal between 0 and 20. The default niceness for
protect(1)
is 4.
-principal
object
specifies the (file system) object which is to be protected. If the object is a directory, all files matching
the user supplied
key
are protected.
-defer
tells
protect(1)]
to wait for principal to be created. This option is only valid if the principal is
a
regular file.
-lifetime
seconds
tells
protect(1)
how long it is to protect its principal for.
-key
file protection key
specifies a key. If filesnames within a directory contain
file protection key
the corresponding file(s) are homeostatically protected. This option is ignored if
name of file
is not a directory.
If
-DUSE_PROTECT
is specified an alternative form of homeostatic file protection algorithm (which does not
use up file descriptors) is used. This option is useful if
protect(1)
is being used to protect directories containing many files (and the OS limit on file descriptors
would be exhausted)
protect
object
tells
protect(1)
to protect (file system) object
object.
unprotect
object
tells
protect(1)
to unprotect (file system) object
object.
protstat
tells
protect(1)
to show all files currently protected.
key
key
sets the file key to
key.
This option is only valid if
the principal
is a directory.
principal
object
tells
protect(1)
the name of the object (which is to be homeostatically protected).
status
display (PSRP) process status.