diff options
Diffstat (limited to 'sandbox/linux/seccomp/ioctl.cc')
-rw-r--r-- | sandbox/linux/seccomp/ioctl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/linux/seccomp/ioctl.cc b/sandbox/linux/seccomp/ioctl.cc index 34bfa13..75330e1 100644 --- a/sandbox/linux/seccomp/ioctl.cc +++ b/sandbox/linux/seccomp/ioctl.cc @@ -8,7 +8,8 @@ namespace playground { int Sandbox::sandbox_ioctl(int d, int req, void *arg) { - Debug::syscall(__NR_ioctl, "Executing handler"); + long long tm; + Debug::syscall(&tm, __NR_ioctl, "Executing handler"); struct { int sysnum; long long cookie; @@ -27,6 +28,7 @@ int Sandbox::sandbox_ioctl(int d, int req, void *arg) { read(sys, threadFdPub(), &rc, sizeof(rc)) != sizeof(rc)) { die("Failed to forward ioctl() request [sandbox]"); } + Debug::elapsed(tm, __NR_ioctl); return static_cast<int>(rc); } |