We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RTLD_LOCAL
RTLD_GLOBAL
Dlopen
1 parent 6ecd890 commit 6cbe7caCopy full SHA for 6cbe7ca
internal/bindings/waf_dl.go
@@ -43,7 +43,7 @@ func NewWAFLib() (dl *WAFLib, err error) {
43
}()
44
45
var handle uintptr
46
- if handle, err = purego.Dlopen(path, purego.RTLD_GLOBAL|purego.RTLD_NOW); err != nil {
+ if handle, err = purego.Dlopen(path, purego.RTLD_LOCAL|purego.RTLD_NOW); err != nil {
47
return nil, fmt.Errorf("load a dynamic library file: %w", err)
48
}
49
0 commit comments