Add support for security descriptors. Also patched the regf backend to support this.