comparison src/solaris/native/sun/nio/fs/genSolarisConstants.c @ 912:58ba2cd5a250

6811578: genSolarisConstants.c should not require kernel patch to compile on Solaris 10 Reviewed-by: tbell
author alanb
date Sun, 01 Mar 2009 14:44:50 +0000
parents f06f30b29f36
children 00cd9dc3c2b5
comparison
equal deleted inserted replaced
0:91e4c320d494 1:3993f9bb20b6
66 // ACL commands 66 // ACL commands
67 DEFX(ACE_GETACL); 67 DEFX(ACE_GETACL);
68 DEFX(ACE_SETACL); 68 DEFX(ACE_SETACL);
69 69
70 // ACL mask/flags/types 70 // ACL mask/flags/types
71 DEFX(ACE_ACCESS_ALLOWED_ACE_TYPE); 71 emitX("ACE_ACCESS_ALLOWED_ACE_TYPE", 0x0000);
72 DEFX(ACE_ACCESS_DENIED_ACE_TYPE); 72 emitX("ACE_ACCESS_DENIED_ACE_TYPE", 0x0001);
73 DEFX(ACE_SYSTEM_AUDIT_ACE_TYPE); 73 emitX("ACE_SYSTEM_AUDIT_ACE_TYPE", 0x0002);
74 DEFX(ACE_SYSTEM_ALARM_ACE_TYPE); 74 emitX("ACE_SYSTEM_ALARM_ACE_TYPE", 0x0003);
75 DEFX(ACE_READ_DATA); 75 emitX("ACE_READ_DATA", 0x00000001);
76 DEFX(ACE_LIST_DIRECTORY); 76 emitX("ACE_LIST_DIRECTORY", 0x00000001);
77 DEFX(ACE_WRITE_DATA); 77 emitX("ACE_WRITE_DATA", 0x00000002);
78 DEFX(ACE_ADD_FILE); 78 emitX("ACE_ADD_FILE", 0x00000002);
79 DEFX(ACE_APPEND_DATA); 79 emitX("ACE_APPEND_DATA", 0x00000004);
80 DEFX(ACE_ADD_SUBDIRECTORY); 80 emitX("ACE_ADD_SUBDIRECTORY", 0x00000004);
81 DEFX(ACE_READ_NAMED_ATTRS); 81 emitX("ACE_READ_NAMED_ATTRS", 0x00000008);
82 DEFX(ACE_WRITE_NAMED_ATTRS); 82 emitX("ACE_WRITE_NAMED_ATTRS", 0x00000010);
83 DEFX(ACE_EXECUTE); 83 emitX("ACE_EXECUTE", 0x00000020);
84 DEFX(ACE_DELETE_CHILD); 84 emitX("ACE_DELETE_CHILD", 0x00000040);
85 DEFX(ACE_READ_ATTRIBUTES); 85 emitX("ACE_READ_ATTRIBUTES", 0x00000080);
86 DEFX(ACE_WRITE_ATTRIBUTES); 86 emitX("ACE_WRITE_ATTRIBUTES", 0x00000100);
87 DEFX(ACE_DELETE); 87 emitX("ACE_DELETE", 0x00010000);
88 DEFX(ACE_READ_ACL); 88 emitX("ACE_READ_ACL", 0x00020000);
89 DEFX(ACE_WRITE_ACL); 89 emitX("ACE_WRITE_ACL", 0x00040000);
90 DEFX(ACE_WRITE_OWNER); 90 emitX("ACE_WRITE_OWNER", 0x00080000);
91 DEFX(ACE_SYNCHRONIZE); 91 emitX("ACE_SYNCHRONIZE", 0x00100000);
92 DEFX(ACE_FILE_INHERIT_ACE); 92 emitX("ACE_FILE_INHERIT_ACE", 0x0001);
93 DEFX(ACE_DIRECTORY_INHERIT_ACE); 93 emitX("ACE_DIRECTORY_INHERIT_ACE", 0x0002);
94 DEFX(ACE_NO_PROPAGATE_INHERIT_ACE); 94 emitX("ACE_NO_PROPAGATE_INHERIT_ACE", 0x0004);
95 DEFX(ACE_INHERIT_ONLY_ACE); 95 emitX("ACE_INHERIT_ONLY_ACE", 0x0008);
96 DEFX(ACE_SUCCESSFUL_ACCESS_ACE_FLAG); 96 emitX("ACE_SUCCESSFUL_ACCESS_ACE_FLAG", 0x0010);
97 DEFX(ACE_FAILED_ACCESS_ACE_FLAG); 97 emitX("ACE_FAILED_ACCESS_ACE_FLAG", 0x0020);
98 DEFX(ACE_IDENTIFIER_GROUP); 98 emitX("ACE_IDENTIFIER_GROUP", 0x0040);
99 DEFX(ACE_OWNER); 99 emitX("ACE_OWNER", 0x1000);
100 DEFX(ACE_GROUP); 100 emitX("ACE_GROUP", 0x2000);
101 DEFX(ACE_EVERYONE); 101 emitX("ACE_EVERYONE", 0x4000);
102 102
103 out("} "); 103 out("} ");
104 return 0; 104 return 0;
105 } 105 }