pkg/cap: remove an outdated comment

pkg/cap no longer depends on github.com/syndtr/gocapability

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2021-10-06 13:24:22 +09:00
parent 79e35892c8
commit 703b86533b
No known key found for this signature in database
GPG Key ID: 49524C6F9F638F1A

View File

@ -117,9 +117,6 @@ func ParseProcPIDStatus(r io.Reader) (map[Type]uint64, error) {
// the current process. // the current process.
// //
// The result is like []string{"CAP_SYS_ADMIN", ...}. // The result is like []string{"CAP_SYS_ADMIN", ...}.
//
// The result does not contain caps that are not recognized by
// the "github.com/syndtr/gocapability" library.
func Current() ([]string, error) { func Current() ([]string, error) {
f, err := os.Open("/proc/self/status") f, err := os.Open("/proc/self/status")
if err != nil { if err != nil {