Skip to content

Commit 703b865

Browse files
committed
pkg/cap: remove an outdated comment
pkg/cap no longer depends on github.com/syndtr/gocapability Signed-off-by: Akihiro Suda <[email protected]>
1 parent 79e3589 commit 703b865

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pkg/cap/cap_linux.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ func ParseProcPIDStatus(r io.Reader) (map[Type]uint64, error) {
117117
// the current process.
118118
//
119119
// The result is like []string{"CAP_SYS_ADMIN", ...}.
120-
//
121-
// The result does not contain caps that are not recognized by
122-
// the "github.com/syndtr/gocapability" library.
123120
func Current() ([]string, error) {
124121
f, err := os.Open("/proc/self/status")
125122
if err != nil {

0 commit comments

Comments
 (0)