projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bd604
)
shared/seccomp-util: move stime() to @obsolete
author
Topi Miettinen
<toiwoton@gmail.com>
Mon, 2 Nov 2020 11:10:24 +0000
(13:10 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 4 Nov 2020 08:48:33 +0000
(09:48 +0100)
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>."
src/shared/seccomp-util.c
patch
|
blob
|
history
diff --git
a/src/shared/seccomp-util.c
b/src/shared/seccomp-util.c
index 4a541111f96fab5950a18ff254c2653964d5226f..847592429703ebc07d752178fba41323c63aebb1 100644
(file)
--- 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"