Retrieve the security descriptor for the kernel object described by``handle``
(cls, handle, query_sacl=False, flags=DEFAULT_SECURITY_INFORMATION, obj_type=None)
| 923 | |
| 924 | @classmethod |
| 925 | def from_handle(cls, handle, query_sacl=False, flags=DEFAULT_SECURITY_INFORMATION, obj_type=None): |
| 926 | """Retrieve the security descriptor for the kernel object described by``handle``""" |
| 927 | sd = cls._from_handle_and_type(handle, gdef.SE_KERNEL_OBJECT, flags=flags, query_sacl=query_sacl) |
| 928 | sd.obj_type = obj_type # Test |
| 929 | return sd |
| 930 | |
| 931 | @classmethod |
| 932 | def from_binary(cls, data): |
nothing calls this directly
no test coverage detected