|
1 /* |
|
2 * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. |
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 * |
|
5 * This code is free software; you can redistribute it and/or modify it |
|
6 * under the terms of the GNU General Public License version 2 only, as |
|
7 * published by the Free Software Foundation. |
|
8 * |
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
|
13 * accompanied this code). |
|
14 * |
|
15 * You should have received a copy of the GNU General Public License version |
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 * |
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 * or visit www.oracle.com if you need additional information or have any |
|
21 * questions. |
|
22 */ |
1 |
23 |
2 This directory contains the source and the binary version of a Windows |
24 |
3 utility to remove all non-owner Access Control Entries from a given file. |
25 This directory contains the source of a Windows utility to remove all |
|
26 non-owner Access Control Entries from a given file. |
4 |
27 |
5 The tool is used by regression tests in the following directories :- |
28 The tool is used by regression tests in the following directories :- |
6 |
29 |
7 test/sun/management/jmxremote/bootstrap |
30 test/sun/management/jmxremote/bootstrap |
8 |
31 |
9 The tests in these directories create password or ACL files that need to |
32 The tests in these directories create password or ACL files that need to |
10 be "secured" (meaning that only the owner should have access to the |
33 be "secured" (meaning that only the owner should have access to the |
11 files). |
34 files). |
12 |
35 |
13 Both the source and the binary version are checked into SCCS. If |
|
14 you require to make changes to the tool then you need to Visual |
|
15 C++ to rebuild revokeall.exe after changing the source. |
|
16 |
|
17 To rebuild the tool you need to setup your environment (by |
|
18 calling the VC++ VCVARS32.BAT script), and then executing the |
|
19 following command :- |
|
20 |
|
21 cl /mt revokeall.c advapi32.lib |
|
22 |
|
23 This will generate revokeall.exe. |
|
24 |
|
25 Note that a 32-bit version of revokeall.exe is checked into SCCS |
|
26 - this 32-bit application is also used when running on 64-bit |
|
27 versions of Windows (AMD64 and IA64). |
|