mirror of
https://github.com/criyle/go-sandbox.git
synced 2025-11-04 14:49:53 +08:00
18 lines
291 B
Go
18 lines
291 B
Go
package main
|
|
|
|
// fileSet stores the file permissions
|
|
type fileSet struct {
|
|
Set map[string]bool
|
|
SystemRoot bool
|
|
}
|
|
|
|
// getProcCwd gets the process CWD
|
|
func getProcCwd(pid int) string {
|
|
|
|
}
|
|
|
|
// absPath calculates the absolute path for a process
|
|
func absPath(pid int, path *string) {
|
|
|
|
}
|