Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639366 - net-misc/lldpd - add gettimeofday to seccomp
Summary: net-misc/lldpd - add gettimeofday to seccomp
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 639364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-01 07:19 UTC by Zhixu Liu
Modified: 2018-01-14 14:59 UTC (History)
1 user (show)

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:19:32 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
*** Bug 639364 has been marked as a duplicate of this bug. ***