1This sample program needs to be built as follows (when built with Go 2prior to 1.15): 3 4 CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build web.go 5 6go1.15+ does not require the CGO_LDFLAGS_ALLOW variable and can build 7this code with 8 9 go build web.go 10 11A more complete walk through of what this code does is provided here: 12 13 https://sites.google.com/site/fullycapable/building-go-programs-that-manipulate-capabilities 14 15Go compilers prior to go1.11.13 are not expected to work. Report more 16recent issues to: 17 18 https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1065141&product=Tools&resolution=--- 19