From ae5e9bf46f2abd2cca22dd5836e85bd93dc50193 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Mon, 2 Nov 2020 13:10:24 +0200 Subject: [PATCH] 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 ." --- src/shared/seccomp-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 4a541111f9..8475924297 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -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" -- 2.25.1