diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2021-03-06 21:24:28 -0800 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2021-03-06 21:49:38 -0800 |
commit | b381e6e2ef83fce7c5476b428c27ab3e94acf1f8 (patch) | |
tree | 630135d92912328762db405539ad4ec31e46a032 | |
parent | 6bcf0e24a74333508baad2b7dc6185196921b1c2 (diff) | |
download | libcap2-b381e6e2ef83fce7c5476b428c27ab3e94acf1f8.tar.gz |
Fix the README reference to the License file.
Also a minor change to the cap examples in the package overview doc.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r-- | cap/README | 2 | ||||
-rw-r--r-- | cap/cap.go | 2 | ||||
-rw-r--r-- | psx/README | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ Go. The official release announcement site for libcap is: https://sites.google.com/site/fullycapable/ Like libcap, the cap package is distributed with a "you choose" -License. Specifically: BSD three clause, or GPL2. See the LICENSE +License. Specifically: BSD three clause, or GPL2. See the License file. Andrew G. Morgan <morgan@kernel.org> @@ -28,7 +28,7 @@ // log.Fatalf("failed to drop privilege: %q -> %q: %v", old, empty, err) // } // now := cap.GetProc() -// if cap.Differs(now.Compare(empty)) { +// if cf, _ := now.Compare(empty); cf != 0 { // log.Fatalf("failed to fully drop privilege: have=%q, wanted=%q", now, empty) // } // @@ -23,6 +23,6 @@ The official release announcement site for libcap and libpsx is: Like libcap/libpsx itself, the "psx" package is distributed with a "you choose" License. Specifically: BSD three clause, or GPL2. See the -LICENSE file. +License file. Andrew G. Morgan <morgan@kernel.org> |