Skip to content

Commit

Permalink
Fix segfault due to insufficient permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
maximumadmin committed Jun 13, 2021
1 parent 8ac60c3 commit 9c6de0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ See also https://fedoraproject.org/wiki/Changes/SwapOnZRAM#Benefit_to_Fedora
-p MemoryDenyWriteExecute=yes \
-p LockPersonality=yes \
-p 'CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_MODULE' \
-p 'SystemCallFilter=@module @swap' \
-p 'SystemCallFilter=@module @swap @system-service' \
-p SystemCallArchitectures=native \
-p SystemCallErrorNumber=EPERM \
-p 'DeviceAllow=block-* rw' \
Expand Down
2 changes: 1 addition & 1 deletion extra/zramd.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RestrictSUIDSGID=yes
MemoryDenyWriteExecute=yes
LockPersonality=yes
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_MODULE
SystemCallFilter=@module @swap
SystemCallFilter=@module @swap @system-service
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
DeviceAllow=block-* rw
Expand Down

0 comments on commit 9c6de0d

Please sign in to comment.