shared/seccomp-util: move stime() to @obsolete

Quoting the manual page of stime(2): "Starting with glibc 2.31, this function
is no longer available to newly linked applications and is no longer declared
in <time.h>."
This commit is contained in:
Topi Miettinen 2020-11-02 13:10:24 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 04bd604fb9
commit ae5e9bf46f

View file

@ -383,7 +383,6 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"clock_settime\0"
"clock_settime64\0"
"settimeofday\0"
"stime\0"
},
[SYSCALL_FILTER_SET_CPU_EMULATION] = {
.name = "@cpu-emulation",
@ -639,6 +638,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"security\0"
"sgetmask\0"
"ssetmask\0"
"stime\0"
"stty\0"
"sysfs\0"
"tuxcall\0"