forked from pool/libosmo-sccp
Accepting request 924621 from network:telephony
OBS-URL: https://build.opensuse.org/request/show/924621 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libosmo-sccp?expand=0&rev=16
This commit is contained in:
commit
0ef103885b
24
harden_osmo-stp.service.patch
Normal file
24
harden_osmo-stp.service.patch
Normal file
@ -0,0 +1,24 @@
|
||||
Index: libosmo-sccp-1.4.0/contrib/systemd/osmo-stp.service
|
||||
===================================================================
|
||||
--- libosmo-sccp-1.4.0.orig/contrib/systemd/osmo-stp.service
|
||||
+++ libosmo-sccp-1.4.0/contrib/systemd/osmo-stp.service
|
||||
@@ -3,6 +3,19 @@ Description=Osmocom STP (Signal Transfer
|
||||
Documentation=https://osmocom.org/projects/osmo-stp/wiki
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectSystem=full
|
||||
+ProtectHome=true
|
||||
+PrivateDevices=true
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
+ProtectKernelTunables=true
|
||||
+ProtectKernelModules=true
|
||||
+ProtectKernelLogs=true
|
||||
+ProtectControlGroups=true
|
||||
+RestrictRealtime=true
|
||||
+# end of automatic additions
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/osmo-stp -c /etc/osmocom/osmo-stp.cfg
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 5 06:18:17 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||
* harden_osmo-stp.service.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 20:59:25 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -28,6 +28,7 @@ URL: https://projects.osmocom.org/projects/libosmo-sccp
|
||||
#Git-Clone: https://git.osmocom.org/libosmo-sccp
|
||||
Source: https://github.com/osmocom/libosmo-sccp/archive/%version.tar.gz
|
||||
Patch1: 0001-build-fixes.patch
|
||||
Patch2: harden_osmo-stp.service.patch
|
||||
BuildRequires: automake >= 1.6
|
||||
BuildRequires: libtool >= 2
|
||||
BuildRequires: lksctp-tools-devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user