File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
distribution/packages/src/common/systemd Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ LockPersonality=yes
100100# System call filterings which restricts which system calls a process can make
101101# @ means allowed
102102# ~ means not allowed
103+ # These syscalls are related to mmap which is needed for OpenSearch Services
104+ SystemCallFilter =madvise mincore mlock mlock2 munlock get_mempolicy sched_getaffinity sched_setaffinity fcntl
103105SystemCallFilter =@system-service
104106SystemCallFilter =~@reboot
105107SystemCallFilter =~@swap
@@ -138,7 +140,7 @@ ReadWritePaths=-/etc/opensearch
138140ReadWritePaths =-/mnt/snapshots
139141
140142## Allow read access to system files
141- ReadOnlyPaths =/etc/os-release /usr/lib/os-release /etc/system-release
143+ ReadOnlyPaths =- /etc/os-release - /usr/lib/os-release - /etc/system-release
142144
143145## Allow read access to Linux IO stats
144146ReadOnlyPaths =/proc/self/mountinfo /proc/diskstats
You can’t perform that action at this time.
0 commit comments