diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c index 2096b06..72a290a 100644 --- a/libsandbox/libsandbox.c +++ b/libsandbox/libsandbox.c @@ -671,7 +671,6 @@ static int check_access(sbcontext_t *sbcontext, int sb_nr, const char *func, sb_nr == SB_NR_TRUNCATE64 || sb_nr == SB_NR_UNLINK || sb_nr == SB_NR_UNLINKAT || - sb_nr == SB_NR_UTIME || sb_nr == SB_NR_UTIMENSAT || sb_nr == SB_NR_UTIMES || sb_nr == SB_NR__XMKNOD || diff --git a/libsandbox/symbols.h.in b/libsandbox/symbols.h.in index e34b977..fd98015 100644 --- a/libsandbox/symbols.h.in +++ b/libsandbox/symbols.h.in @@ -66,7 +66,6 @@ execvp fexecve system popen -utime utimes utimensat futimesat diff --git a/libsandbox/trace.c b/libsandbox/trace.c index ea769fd..510ef79 100644 --- a/libsandbox/trace.c +++ b/libsandbox/trace.c @@ -319,7 +319,6 @@ static bool trace_check_syscall(const struct syscall_entry *se, void *regs) else if (nr == SB_NR_TRUNCATE64)return trace_check_syscall_C (&state); else if (nr == SB_NR_UNLINK) return trace_check_syscall_C (&state); else if (nr == SB_NR_UNLINKAT) return trace_check_syscall_DCF(&state); - else if (nr == SB_NR_UTIME) return trace_check_syscall_C (&state); else if (nr == SB_NR_UTIMES) return trace_check_syscall_C (&state); else if (nr == SB_NR_UTIMENSAT) return _trace_check_syscall_DCF(&state, 1);