Yatsishin Ilya
80857638c1
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-02-22 13:58:17 +00:00
Yatsishin Ilya
98edb9f06b
Update help for clickhouse tools and add test
2023-01-31 12:19:37 +00:00
Han Fei
4971358de5
fix init
2023-01-30 17:07:01 +01:00
Han Fei
f5e736e240
introduce llvm/gwp-asan
2023-01-12 15:00:26 +01:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code?
2023-01-03 18:35:31 +00:00
Alexander Tokmakov
4175f8cde6
abort instead of __builtin_unreachable in debug builds
2022-10-07 21:49:08 +02:00
Alexey Milovidov
8e4531d135
Preparation for Musl build, part 4
2022-10-01 16:29:41 +02:00
Alexey Milovidov
515972f459
Merge branch 'master' into forbid-dlopen-2
2022-09-18 02:20:22 +02:00
Alexey Milovidov
d9d1b558e9
Fix clang-tidy
2022-09-17 18:40:22 +02:00
Alexey Milovidov
ecd4c29c2a
Forbid invocations of dlopen
2022-09-17 03:55:39 +02:00
Alexey Milovidov
35cce03125
Remove dlopen
2022-09-17 03:02:34 +02:00
Robert Schulze
e8b3f56733
Limit suppression to a specific warning
2022-08-21 18:24:17 +00:00
Alexey Milovidov
74e1f4dc61
Fix clang-tidy
2022-08-20 17:09:20 +02:00
Robert Schulze
dcc8751685
Disable harmful env var check to workaround failure to start the server
2022-07-31 08:55:07 +00:00
Robert Schulze
bc46cef63c
Minor follow-up
...
- change ELF section name to ".clickhouse.hash" (lowercase seems
standard)
- more expressive/concise integrity check messages at startup
2022-06-14 08:52:13 +00:00
Robert Schulze
bc6f30fd40
Move binary hash to ELF section ".ClickHouse.hash"
2022-06-13 08:46:23 +00:00
Robert Schulze
1a0b5f33b3
More consistent use of platform macros
...
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.
__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00
Varinara
ed6e8176fe
Add basic commands for disk tool (list-disks, list, move, remove, link, copy, read, write) + tests
2022-06-06 16:52:58 +03:00
Alexey Milovidov
89c8d136c3
Fix error
2022-05-23 07:20:36 +02:00
Alexey Milovidov
cc985d9b92
Fix error
2022-05-23 02:30:33 +02:00
Alexey Milovidov
2f93f11144
Maybe better
2022-05-23 02:03:13 +02:00
Alexey Milovidov
03e3be7b1a
Maybe fix error
2022-05-20 02:38:50 +02:00
Alexey Milovidov
d0d0807a10
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-20 02:37:15 +02:00
Robert Schulze
e3cfec5b09
Merge remote-tracking branch 'origin/master' into clangtidies
2022-05-16 10:12:50 +02:00
Alexey Milovidov
7ce409da52
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-15 04:33:59 +03:00
Azat Khuzhin
40f3dbb448
Ignore harmful env variables in clickhouse binaries (reexec w/o them)
...
Some environments may really require LD_LIBRARY_PATH (and some other
variables), so rejecting running clickhouse binaries in such envs is a
backward incompatible change.
So instead of rejecting, let's ignore those env variables, i.e. reexec
binaries without them.
Also note, that there is no messages in stderr in case of some of
variables set anymore, since this message may break some scripts.
Refs: #36340
Follow-up for: #36342
2022-05-14 12:08:48 +03:00
Alexey Milovidov
7536e0cd25
Fix MSan
2022-05-11 03:16:10 +02:00
Robert Schulze
1b81bb49b4
Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers
...
Official docs:
Some headers from C library were deprecated in C++ and are no longer
welcome in C++ codebases. Some have no effect in C++. For more details
refer to the C++ 14 Standard [depr.c.headers] section. This check
replaces C standard library headers with their C++ alternatives and
removes redundant ones.
2022-05-09 08:23:33 +02:00
Alexey Milovidov
c95f22e64d
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-07 00:21:47 +03:00
alesapin
7380a71333
Merge pull request #31833 from ClickHouse/musl-check
...
Build clickhouse-keeper with Musl
2022-04-22 22:41:16 +02:00
alesapin
44e5c55d19
Fix build
2022-04-19 17:44:28 +02:00
Alexey Milovidov
23968142c1
Update main.cpp
2022-04-19 17:44:27 +02:00
Alexey Milovidov
d6d0e82741
Update main.cpp
2022-04-19 17:44:26 +02:00
Alexey Milovidov
86ae0c9763
Warn and exit if harmful environment variables are set
2022-04-19 17:44:26 +02:00
Azat Khuzhin
828d23c933
Add more harmful variables for OSX
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-18 23:40:09 +03:00
Alexey Milovidov
88f98443bd
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-04-18 07:06:02 +03:00
Alexey Milovidov
0fc61ea445
Update main.cpp
2022-04-18 03:16:30 +03:00
Alexey Milovidov
e43bdf7580
Update main.cpp
2022-04-17 17:21:20 +03:00
Alexey Milovidov
b7fe203fe1
Warn and exit if harmful environment variables are set
2022-04-17 01:56:58 +02:00
Alexey Milovidov
2b67d99193
Allow to drop privileges at startup
2022-04-17 00:26:53 +02:00
Alexey Milovidov
803edc3879
Allow to drop privileges at startup
2022-04-17 00:25:55 +02:00
Alexey Milovidov
b7e5a81215
Allow to drop privileges at startup
2022-04-17 00:24:47 +02:00
Alexey Milovidov
83de3bb1de
Allow to drop privileges at startup
2022-04-17 00:19:36 +02:00
Alexey Milovidov
e704e8d5d7
Allow to drop privileges at startup
2022-04-17 00:09:20 +02:00
Azat Khuzhin
57c027be0e
Remove arcadia build support
2021-12-11 21:25:23 +03:00
Nikita Mikhaylov
fb24e7181f
Better
2021-12-06 18:27:06 +00:00
Nikita Mikhaylov
fa22fdc097
Merge branch 'master' of github.com:ClickHouse/ClickHouse into get_fuzz_data
2021-12-06 14:30:49 +00:00
Denis Glazachev
e41ed7cc6e
Fix GCC compilation in macOS
2021-11-26 02:03:04 +03:00
Alexey Boykov
c5cb4e071c
Creating only one binary, check compatibility
2021-10-07 21:01:36 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00