1
0
Fork 0
arangodb/lib/Basics
jsteemann 0da02e2f4a map memory-mapped datafiles/journals with PROT_READ | PROT_WRITE at the start
Previously, all datafiles/journals that were initially mapped were mapped with PROT_READ only, and later the memory protection was changed to PROT_READ | PROT_WRITE using mprotect().
However, on filesystems that are mounted with NOEXEC, changing the protection from PROT_READ to PROT_READ | PROT_WRITE later may fail. This has been reported in issue #2220.
This change now maps all datafiles/journals with PROT_READ | PROT_WRITE in the beginning, and will later change the mapping to PROT_READ if no writes are required
2016-12-20 10:32:47 +01:00
..
ArangoGlobalContext.cpp handle OOM a bit more gracefully 2016-11-28 14:22:12 +01:00
ArangoGlobalContext.h added different path for different editions 2016-09-30 15:24:31 +02:00
AssocMulti.h added IndexBucket.h 2016-12-08 17:31:54 +01:00
AssocUnique.h some improvements for memory management 2016-12-15 15:30:28 +01:00
AttributeNameParser.cpp Moved index creation to use LogicalCollection instead of TRI_collection_t. Involved changes of the constructor, all can now be created using iid and Slice. Removed specialized functions to create/find indixes in v8-voc index. Also the iteration is modified. This commit compiles but tests will fail. Merge commit. 2016-08-25 09:57:36 +02:00
AttributeNameParser.h micro optimizations 2016-11-01 15:23:28 +01:00
Barrier.cpp signal under the lock 2016-08-17 17:06:51 +02:00
Barrier.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
BloomFilter.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
Common.h fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
ConditionLocker.cpp added comments 2016-09-07 15:00:15 +02:00
ConditionLocker.h added comments 2016-09-07 15:00:15 +02:00
ConditionVariable.cpp added comments 2016-09-07 15:00:15 +02:00
ConditionVariable.h added comments 2016-09-07 15:00:15 +02:00
ConditionalDeleter.h potential performance optimizations 2016-06-23 14:47:44 +02:00
DataProtector.cpp
DataProtector.h changes for Visual Studio 2016-08-19 17:22:57 +02:00
DeadlockDetector.h try to fix compile warnings in non-maintainer mode 2016-09-27 13:31:17 +02:00
Exceptions.cpp use bulk allocator for index elements 2016-12-09 21:40:49 +01:00
Exceptions.h added optional memory limit for AQL queries 2016-12-06 13:23:41 +01:00
FileUtils.cpp do not use readdir_r() anymore as it is not safe 2016-11-02 22:53:25 +01:00
FileUtils.h We also need to know the binary directory when looking up the config 2016-10-12 12:03:37 +02:00
FixedSizeAllocator.h use bulk allocator for index elements 2016-12-09 21:40:49 +01:00
HybridLogicalClock.cpp visual studio 2016-08-02 11:46:44 +02:00
HybridLogicalClock.h Add a global DECODE_REV function in JS. 2016-11-08 10:25:35 +01:00
IndexBucket.h fix VS warning 2016-12-12 11:53:30 +01:00
LruCache.h Implement cluster authentication 2016-10-17 13:35:55 +02:00
Mutex.cpp fix errors during shutdown 2016-08-19 12:27:01 +02:00
Mutex.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
MutexLocker.cpp
MutexLocker.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
Nonce.cpp fixed crash in nonce handling 2016-06-21 11:35:34 +02:00
Nonce.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
ReadLocker.h Templatified read and write locker. They can now use Cpp11 style locks. Also included distributeShardsLike in AgencyInformation about collections. 2016-09-26 18:29:51 +02:00
ReadUnlocker.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
ReadWriteLock.cpp privatization 2016-08-04 17:06:51 +02:00
ReadWriteLock.h privatization 2016-08-04 17:06:51 +02:00
ReadWriteLockCPP11.cpp updated cleanupCFiles 2016-04-23 16:34:57 -07:00
ReadWriteLockCPP11.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
ScopeGuard.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
ShortestPathFinder.h Clang format fix 2016-12-01 10:38:15 +01:00
SkipList.h Squashed commit of the following: 2016-10-24 10:18:30 +02:00
SmallVector.h added SmallVector optimization 2016-05-31 11:10:11 +02:00
StaticStrings.cpp Merge branch 'HLC' into devel 2016-07-13 12:52:33 +02:00
StaticStrings.h Merge branch 'HLC' into devel 2016-07-13 12:52:33 +02:00
StringBuffer.cpp removed unused method 2016-09-01 12:02:24 +02:00
StringBuffer.h removed unused method 2016-09-01 12:02:24 +02:00
StringHeap.cpp renamed CharLengthPair to StringRef 2016-06-15 19:33:08 +02:00
StringHeap.h renamed CharLengthPair to StringRef 2016-06-15 19:33:08 +02:00
StringRef.cpp added StringRef implementation file to implement operator<< 2016-10-28 16:03:53 +02:00
StringRef.h performance optimizations 2016-11-09 14:46:50 +01:00
StringUtils.cpp fix passing of special chars in URLs in cluster 2016-11-15 15:46:22 +01:00
StringUtils.h do not url-decode paths eagerly 2016-11-15 15:46:21 +01:00
Thread.cpp handle OOM a bit more gracefully 2016-11-28 14:22:12 +01:00
Thread.h switch to boost asio 2016-10-14 10:12:17 +00:00
ThreadPool.cpp potentially fix thread pool shutdown issues 2016-08-17 11:30:27 +02:00
ThreadPool.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
Timers.cpp micro optimizations 2016-04-23 16:23:15 +02:00
Timers.h added timers 2016-04-28 12:48:02 +02:00
Utf8Helper.cpp added experimental `REGEX_REPLACE` AQL function 2016-11-03 00:40:19 +01:00
Utf8Helper.h added experimental `REGEX_REPLACE` AQL function 2016-11-03 00:40:19 +01:00
VERSION.in
VPackStringBufferAdapter.h added fillBody 2016-05-13 15:14:44 +02:00
VelocyPackDumper.cpp fixed issue #2018 2016-08-24 17:33:49 +02:00
VelocyPackDumper.h escape Unicode characters in JSON dumps 2016-06-29 12:53:08 +02:00
VelocyPackHelper.cpp fixed issue #2163 2016-11-10 08:56:27 +01:00
VelocyPackHelper.h fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
WorkDescription.h fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
WorkMonitor.cpp fix Visual Studio complaints 2016-10-31 09:59:18 +01:00
WorkMonitor.h switch to boost asio 2016-10-14 10:12:17 +00:00
WorkMonitorDummy.cpp switch to boost asio 2016-10-14 10:12:17 +00:00
WorkerThread.h potentially fix thread pool shutdown issues 2016-08-17 11:30:27 +02:00
WriteLocker.h Templatified read and write locker. They can now use Cpp11 style locks. Also included distributeShardsLike in AgencyInformation about collections. 2016-09-26 18:29:51 +02:00
WriteUnlocker.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
application-exit.cpp
application-exit.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
asio-helper.h silenced compiler warnings 2016-10-15 09:31:34 +00:00
build-date.h.in
build-repository.h.in Implement detection whether we are in a git repo and use the toplevel source dir. 2016-08-18 17:53:47 +02:00
build.h.in
conversions.cpp implement use-local-time for slow queries as sugested in #2051 2016-09-14 13:01:30 +02:00
conversions.h implement use-local-time for slow queries as sugested in #2051 2016-09-14 13:01:30 +02:00
crc1.S .S files must be in capital case to have preprocessor handle them 2016-05-12 15:20:14 +00:00
crc4.S assembly fix relocation R_X86_64_32S against 2016-11-10 14:19:02 +01:00
csv.cpp
csv.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
debugging.cpp fixed supervisor startup 2016-11-02 19:37:49 +00:00
debugging.h attempt to finish startup order 2016-04-27 22:54:29 +02:00
directories.h.in Fix windows build with the calculation of file locations 2016-10-11 19:08:53 +02:00
error.cpp updated cleanupCFiles 2016-04-23 16:34:57 -07:00
error.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
errors.dat Wait for synchronous replication to settle 2016-12-07 18:38:15 +01:00
fasthash.cpp fixes for Visual Studio 2016-12-08 17:32:46 +01:00
fasthash.h added specialized fasthash version for uint64 input 2016-12-08 13:32:48 +01:00
files.cpp fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
files.h added IndexBucket.h 2016-12-08 17:31:54 +01:00
fpconv.cpp
fpconv.h
gcd.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
hashes.cpp constexpr 2016-05-10 17:14:18 +02:00
hashes.h constexpr 2016-05-10 17:14:18 +02:00
json.cpp remove structures.h (only needed by json.h) 2016-11-01 15:34:18 +01:00
json.h remove structures.h (only needed by json.h) 2016-11-01 15:34:18 +01:00
levenshtein.cpp
levenshtein.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
local-configuration-win.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
locks-posix.cpp Squashed commit of the following: 2016-10-24 10:18:30 +02:00
locks-posix.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
locks-win32.cpp
locks-win32.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
locks.h added comments 2016-09-07 15:00:15 +02:00
make_unique.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
memory-map-posix.cpp map memory-mapped datafiles/journals with PROT_READ | PROT_WRITE at the start 2016-12-20 10:32:47 +01:00
memory-map-posix.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
memory-map-win32.cpp experimental mlock flag 2016-11-24 10:02:51 +01:00
memory-map-win32.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
memory-map.h experimental mlock flag 2016-11-24 10:02:51 +01:00
memory.cpp try to avoid unnecessary function calls 2016-12-01 14:02:59 +01:00
memory.h try to avoid unnecessary function calls 2016-12-01 14:02:59 +01:00
messages.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
mimetypes.cpp
mimetypes.dat
mimetypes.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
operating-system.h fix solaris compile error 2016-12-07 11:44:04 +01:00
powers.h
prime-numbers.cpp cppcheck 2016-05-10 20:13:55 +02:00
prime-numbers.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
process-utils.cpp some improvements for memory management 2016-12-15 15:30:28 +01:00
process-utils.h some improvements for memory management 2016-12-15 15:30:28 +01:00
shell-colors.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
short_alloc.h added SmallVector optimization 2016-05-31 11:10:11 +02:00
socket-utils.cpp splitted HttpRequest into GeneralRequest/HttpRequest 2016-03-31 11:45:21 +02:00
socket-utils.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
system-compiler.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
system-functions.cpp more authentication events, fixed changePassword 2016-10-03 19:54:54 +02:00
system-functions.h more authentication events, fixed changePassword 2016-10-03 19:54:54 +02:00
terminal-utils-posix.cpp
terminal-utils-win32.cpp
terminal-utils.cpp fixed ifdef 2016-07-07 11:41:45 +02:00
terminal-utils.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
threads-posix.cpp added thread affinity for MacOSX 2016-07-27 22:29:59 +02:00
threads-posix.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
threads-win32.cpp
threads-win32.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
threads.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
tri-strings.cpp issue #1936 2016-07-11 09:57:30 +02:00
tri-strings.h potential performance optimizations 2016-06-23 14:47:44 +02:00
tri-zip.cpp fixed cppcheck warnings 2016-09-09 15:08:48 +02:00
tri-zip.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
vector.cpp delete TRI_vector_pointer 2016-06-07 23:08:53 +02:00
vector.h delete TRI_vector_pointer 2016-06-07 23:08:53 +02:00
voc-errors.cpp Wait for synchronous replication to settle 2016-12-07 18:38:15 +01:00
voc-errors.h Wait for synchronous replication to settle 2016-12-07 18:38:15 +01:00
voc-mimetypes.cpp pushing corrected unittest script and cluster startup scripts 2016-08-19 09:49:44 +02:00
voc-mimetypes.h
win-utils.cpp Adjust comments about TRI_usleep and usleep. 2016-10-13 10:57:00 +02:00
win-utils.h Adjust comments about TRI_usleep and usleep. 2016-10-13 10:57:00 +02:00
xxhash.cpp added xxHash 2016-05-02 13:46:03 +02:00
xxhash.h added xxHash 2016-05-02 13:46:03 +02:00