(t *kernel.Task, statx *linux.Statx)
| 233 | } |
| 234 | |
| 235 | func userifyStatx(t *kernel.Task, statx *linux.Statx) { |
| 236 | userns := t.UserNamespace() |
| 237 | statx.UID = uint32(auth.KUID(statx.UID).In(userns).OrOverflow()) |
| 238 | statx.GID = uint32(auth.KGID(statx.GID).In(userns).OrOverflow()) |
| 239 | } |
| 240 | |
| 241 | // Statfs implements Linux syscall statfs(2). |
| 242 | func Statfs(t *kernel.Task, sysno uintptr, args arch.SyscallArguments) (uintptr, *kernel.SyscallControl, error) { |
no test coverage detected
searching dependent graphs…