mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-24 16:01:25 +02:00
namespaceapi: AddSIDToBoundaryDescriptor modifies the handle
This commit is contained in:
@@ -36,8 +36,8 @@ func (bd BoundaryDescriptor) Delete() {
|
||||
}
|
||||
|
||||
// AddSid adds a security identifier (SID) to the specified boundary descriptor.
|
||||
func (bd BoundaryDescriptor) AddSid(requiredSid *windows.SID) error {
|
||||
return addSIDToBoundaryDescriptor((*windows.Handle)(&bd), requiredSid)
|
||||
func (bd *BoundaryDescriptor) AddSid(requiredSid *windows.SID) error {
|
||||
return addSIDToBoundaryDescriptor((*windows.Handle)(bd), requiredSid)
|
||||
}
|
||||
|
||||
// PrivateNamespace represents a private namespace. Duh?!
|
||||
|
Reference in New Issue
Block a user