jdk/test/sun/management/windows/README
author martin
Wed, 02 Sep 2015 14:11:50 -0700
changeset 32427 c22b7e41adf3
parent 2 90ce3da70b43
permissions -rw-r--r--
8134984: Text files should end in exactly one newline Summary: automated fixup of newlines at end-of-file via the usual perl one-liner Reviewed-by: chegar, sherman
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
This directory contains the source and the binary version of a Windows 
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
utility to remove all non-owner Access Control Entries from a given file.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
The tool is used by regression tests in the following directories :-
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
test/sun/management/jmxremote/bootstrap
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
test/sun/management/snmp/bootstrap
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
The tests in these directories create password or ACL files that need to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
be "secured" (meaning that only the owner should have access to the 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
files). 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
Both the source and the binary version are checked into SCCS. If
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
you require to make changes to the tool then you need to Visual
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
C++ to rebuild revokeall.exe after changing the source.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
To rebuild the tool you need to setup your environment (by
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
calling the VC++ VCVARS32.BAT script), and then executing the 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
following command :-
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
cl /mt revokeall.c advapi32.lib
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
This will generate revokeall.exe.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
Note that a 32-bit version of revokeall.exe is checked into SCCS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
- this 32-bit application is also used when running on 64-bit
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
versions of Windows (AMD64 and IA64).