MCPcopy
hub / github.com/google/gvisor / timespecFromStatxTimestamp

Function timespecFromStatxTimestamp

pkg/sentry/syscalls/linux/sys_stat.go:121–126  ·  view source on GitHub ↗
(sxts linux.StatxTimestamp)

Source from the content-addressed store, hash-verified

119}
120
121func timespecFromStatxTimestamp(sxts linux.StatxTimestamp) linux.Timespec {
122 return linux.Timespec{
123 Sec: sxts.Sec,
124 Nsec: int64(sxts.Nsec),
125 }
126}
127
128// Fstat implements Linux syscall fstat(2).
129func Fstat(t *kernel.Task, sysno uintptr, args arch.SyscallArguments) (uintptr, *kernel.SyscallControl, error) {

Callers 2

convertStatxToUserStatFunction · 0.85
convertStatxToUserStatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…