Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | D | 03-May-2024 | 621 | 19 | 11 | |
go.mod | D | 03-May-2024 | 83 | 6 | 3 | |
web.go | D | 03-May-2024 | 4.1 KiB | 140 | 78 |
README
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