Documentation
¶
Overview ¶
Package ovltracer provides an eBPF-based tracer for catching overlayfs "in-use" errors (EBUSY). When overlayfs detects a directory conflict (e.g., trying to use an upperdir already in use), this tracer captures the event and logs the paths involved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
TimestampNs uint64
Mntns uint32
Tgid uint32
Comm [16]byte
DentryName0 [dentryNameLen]byte // The dentry itself
DentryName1 [dentryNameLen]byte // Parent
DentryName2 [dentryNameLen]byte // Grandparent
MountSrc [maxPathLen]byte
MountDst [maxPathLen]byte
MountData [maxDataLen]byte
}
Event represents an overlay in-use event captured by the BPF program. It matches the C struct event in ovl_inuse.bpf.c.
Click to show internal directories.
Click to hide internal directories.