aboutsummaryrefslogtreecommitdiff
path: root/cap/iab.go
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2020-07-04 19:17:48 -0700
committerAndrew G. Morgan <morgan@kernel.org>2020-07-04 19:17:48 -0700
commit15d7ecae0cfc8dca1dd7e05a7301ecae096081f9 (patch)
treeb2d63248fc19c9ee51990dad55607d1c8e32a1e6 /cap/iab.go
parent1fe9b311268c2ccbbcb7230b7ffc4077289816b7 (diff)
downloadlibcap-15d7ecae0cfc8dca1dd7e05a7301ecae096081f9.tar.gz
Restructure the tree a little to provide a module example.
I've written up how to build web.go here: https://sites.google.com/site/fullycapable/building-go-programs-that-manipulate-capabilities But it struc me that the code itself does not explain about the CGO_LDFLAGS_ALLOW workaround, so I've relocated the web.go code and included a README as well as a pointer to the above explanation. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'cap/iab.go')
-rw-r--r--cap/iab.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cap/iab.go b/cap/iab.go
index 1f94687..b5ee5ad 100644
--- a/cap/iab.go
+++ b/cap/iab.go
@@ -22,8 +22,8 @@ type IAB struct {
// is being manipulated.
type Vector int
-// Inh, Amb, Bound enumerate the IAB vector components. IMB.Inh is
-// equivalent Set.Inheritable but they are named differently for
+// Inh, Amb, Bound enumerate the IAB vector components. Inh is
+// equivalent to Set.Inheritable but they are named differently for
// syntax/type checking reasons.
const (
Inh Vector = iota