File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
ydb/library/yql/tools/udf_resolver Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 3131#include < sys/resource.h>
3232#include < sys/syscall.h>
3333#include < sys/socket.h>
34+ #include < sys/stat.h>
3435#ifndef GRND_RANDOM
3536#include < sys/random.h>
3637#endif
5455#endif
5556#endif
5657
58+
59+ #if !defined(SYS_newfstatat)
60+ #if defined(__x86_64__)
61+ #define SYS_newfstatat 262
62+ #elif defined(__i386__)
63+ #error Unsupported syscall
64+ #elif defined(__aarch64__)
65+ #define SYS_newfstatat 79
66+ #elif defined(__arm__)
67+ #error Unsupported syscall
68+ #elif defined(__powerpc__)
69+ #define SYS_newfstatat 291
70+ #else
71+ #error Unsupported platform
72+ #endif
73+ #endif
74+
5775#endif
5876
5977using namespace NKikimr ;
@@ -378,6 +396,7 @@ int main(int argc, char **argv) {
378396 Allow (munlockall),
379397 Allow (munmap),
380398 Allow (nanosleep),
399+ Allow (newfstatat),
381400#ifndef _arm64_
382401 Allow (open),
383402#endif
You can’t perform that action at this time.
0 commit comments