Changeset 257 for trunk/python/pyregfi/winsec.py
- Timestamp:
- 06/16/11 20:13:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/pyregfi/winsec.py
r255 r257 97 97 98 98 ## Represents a Microsoft access control entry, which are elements of access 99 # control lists 99 # control lists. For more information, see: 100 # http://msdn.microsoft.com/en-us/library/aa374868%28v=vs.85%29.aspx 100 101 # 101 102 # @note … … 136 137 137 138 139 ## A Microsoft security descriptor 140 # For more information, see: 141 # http://msdn.microsoft.com/en-us/library/aa379563%28v=vs.85%29.aspx 142 # 138 143 class SecurityDescriptor(object): 139 144 ## The security descriptor's owner SID, as a string … … 143 148 group = "S-1-2-..." 144 149 145 ## A list of @ref ACE objects which represents the System ACL 146 # May be None if a sacl isn't defined 150 ## The system access control list represented as a list of @ref ACE objects. 151 # 152 # Is set to None if a sacl isn't defined 147 153 sacl = [] 148 154 149 ## A list of @ref ACE objects which represents the User ACL 150 # May be None if a dacl isn't defined 155 ## The discretionary access control list represented as a list of @ref ACE objects 156 # 157 # Is set to None if a dacl isn't defined 151 158 dacl = [] 152 159 … … 160 167 libc.free(c_str) 161 168 162 # XXX: add checks for NULL pointers163 169 self.sacl = None 164 170 if sec_desc.sacl:
Note: See TracChangeset
for help on using the changeset viewer.