| 1 |
# Web serving with/without privilege |
| 2 |
|
| 3 |
## Building |
| 4 |
|
| 5 |
This sample program works with go1.16+: |
| 6 |
``` |
| 7 |
go mod tidy |
| 8 |
go build web.go |
| 9 |
``` |
| 10 |
|
| 11 |
## Further discussion |
| 12 |
|
| 13 |
A more complete walk through of what this code does is provided on the |
| 14 |
[Fully Capable |
| 15 |
website](https://sites.google.com/site/fullycapable/getting-started-with-go/building-go-programs-that-manipulate-capabilities). |
| 16 |
|
| 17 |
## Reporting bugs |
| 18 |
|
| 19 |
Go compilers prior to go1.16 are not expected to work. Report more |
| 20 |
recent issues to the [`libcap` bug |
| 21 |
tracker](https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1065141&product=Tools&resolution=---). |