Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639364 - add gettimeofday to seccomp for lldpd
Summary: add gettimeofday to seccomp for lldpd
Status: RESOLVED DUPLICATE of bug 639366
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-01 07:16 UTC by Zhixu Liu
Modified: 2017-12-01 07:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhixu Liu 2017-12-01 07:16:50 UTC
# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
hpet

If system clcok source is hpet, then gettimeofday will do syscall gettimeofday, not for clocksource tsc. So we should add gettimeofday to seccomp too, otherwise:

2017-12-01T15:16:24 [INFO/event] libevent 2.1.8-stable initialized with epoll method
2017-12-01T15:16:24 [WARN/seccomp] invalid syscall attempted: gettimeofday(96)
2017-12-01T15:16:24 [CRIT/seccomp] invalid syscall not allowed: stop here

Reproducible: Always
Comment 1 Zhixu Liu 2017-12-01 07:23:20 UTC

*** This bug has been marked as a duplicate of bug 639366 ***