From: Topi Miettinen Date: Mon, 2 Nov 2020 11:10:24 +0000 (+0200) Subject: shared/seccomp-util: move stime() to @obsolete X-Git-Tag: v247-rc2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5e9bf46f2abd2cca22dd5836e85bd93dc50193;p=thirdparty%2Fsystemd.git 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 ." --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 4a541111f96..84759242970 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"