diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2020-12-23 08:25:52 -0800 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2020-12-23 16:09:11 -0800 |
commit | 676ced165d907d58af903fba0a434ff69087bba6 (patch) | |
tree | bde05e83331e88e4f332ccbf6c24e561897e93b5 | |
parent | 3633ca228671e2ddd9e115e74e09eea50ca8ad09 (diff) | |
download | libcap-676ced165d907d58af903fba0a434ff69087bba6.tar.gz |
Minor fixes for "cap" package documentation.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r-- | cap/launch.go | 8 | ||||
-rw-r--r-- | cap/text.go | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cap/launch.go b/cap/launch.go index 2f37a2a..4ae449c 100644 --- a/cap/launch.go +++ b/cap/launch.go @@ -106,18 +106,18 @@ var ErrLaunchFailed = errors.New("launch failed") var ErrNoLaunch = errors.New("launch not supported") // ErrAmbiguousChroot indicates that the Launcher is being used in -// addition to callback supplied Chroot. The former should be used +// addition to a callback supplied Chroot. The former should be used // exclusively for this. var ErrAmbiguousChroot = errors.New("use Launcher for chroot") // ErrAmbiguousIDs indicates that the Launcher is being used in -// addition to callback supplied Credentials. The former should be +// addition to a callback supplied Credentials. The former should be // used exclusively for this. var ErrAmbiguousIDs = errors.New("use Launcher for uids and gids") // ErrAmbiguousAmbient indicates that the Launcher is being used in -// addition callback supplied ambient set and the former should be -// used exclusively in a Launch call. +// addition to a callback supplied ambient set and the former should +// be used exclusively in a Launch call. var ErrAmbiguousAmbient = errors.New("use Launcher for ambient caps") // lName is the name we temporarily give to the launcher thread. Note, diff --git a/cap/text.go b/cap/text.go index 11dae90..cf11a2d 100644 --- a/cap/text.go +++ b/cap/text.go @@ -187,7 +187,7 @@ var ErrBadText = errors.New("bad text") // // "=p all+ei" "all=pie" "=pi all+e" "=eip" // -// "cap_chown=p cap_setuid=i" "cap_chown=ip-p" "cap_chown=i" +// "cap_setuid=p cap_chown=i" "cap_chown=ip-p" "cap_chown=i" // // "cap_chown=-p" "all=" "cap_setuid=pie-pie" "=" // |