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:
parent
79e35892c8
commit
703b86533b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user