pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/41856?usp=email )
Change subject: stream_srv: keep sockname in iofd name if a stream name is explicitly set
......................................................................
stream_srv: keep sockname in iofd name if a stream name is explicitly set
This matches with how we log in eg. LOGSRV() macro. In essence, the user
doesn't need to care about requesting to log the sockname, that's
internally done in all cases. Instead, the stream set_name() is used to
log more upper-layer information.
Change-Id: I8f95b3a1cae66d39f7b83a4022880ab390b7715e
---
M src/stream_srv.c
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/56/41856/1
diff --git a/src/stream_srv.c b/src/stream_srv.c
index d6d4e2d..3abc55a 100644
--- a/src/stream_srv.c
+++ b/src/stream_srv.c
@@ -1103,8 +1103,11 @@
talloc_free((void *)conn->name);
conn->name = name;
- if (conn->mode == OSMO_STREAM_MODE_OSMO_IO && conn->iofd)
- osmo_iofd_set_name(conn->iofd, conn->name);
+ if (conn->mode == OSMO_STREAM_MODE_OSMO_IO && conn->iofd) {
+ char *tmp = talloc_asprintf(conn, "%s,%s", conn->name, conn->sockname);
+ osmo_iofd_set_name(conn->iofd, tmp);
+ talloc_free(tmp);
+ }
}
/*! Retrieve name previously set on the srv object (see osmo_stream_srv_set_name()).
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/41856?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I8f95b3a1cae66d39f7b83a4022880ab390b7715e
Gerrit-Change-Number: 41856
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/41853?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: osmo_io: Introduce API osmo_iofd_set_name_f()
......................................................................
osmo_io: Introduce API osmo_iofd_set_name_f()
Change-Id: I0800255fde37d4b3c096c4a4a53e370c546c1f16
---
M TODO-RELEASE
M include/osmocom/core/osmo_io.h
M src/core/libosmocore.map
M src/core/osmo_io.c
4 files changed, 21 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/53/41853/2
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41853?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I0800255fde37d4b3c096c4a4a53e370c546c1f16
Gerrit-Change-Number: 41853
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Attention is currently required from: osmith, pespin.
Hello Jenkins Builder, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by osmith, Verified+1 by Jenkins Builder
Change subject: vty_cpu_sched.adoc: Document how to allow users to run with rtprio
......................................................................
vty_cpu_sched.adoc: Document how to allow users to run with rtprio
Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
---
M common/chapters/vty_cpu_sched.adoc
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/52/41852/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
Gerrit-Change-Number: 41852
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email )
Change subject: vty_cpu_sched.adoc: Document how to allow users to run with rtprio
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
Gerrit-Change-Number: 41852
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 Jan 2026 13:55:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email )
Change subject: vty_cpu_sched.adoc: Document how to allow users to run with rtprio
......................................................................
vty_cpu_sched.adoc: Document how to allow users to run with rtprio
Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
---
M common/chapters/vty_cpu_sched.adoc
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/52/41852/1
diff --git a/common/chapters/vty_cpu_sched.adoc b/common/chapters/vty_cpu_sched.adoc
index f3a7c09..76e2e3c 100644
--- a/common/chapters/vty_cpu_sched.adoc
+++ b/common/chapters/vty_cpu_sched.adoc
@@ -25,6 +25,13 @@
----
<1> Configure process to use _SCHED_RR_ policy with real time priority 1
+NOTE: Running a process under real time priority requires CAP_SYS_NICE
+capabilities. In order to avoid running the process as _root_ user, you can
+either modify the binary permissions with `setcap "CAP_SYS_NICE+ep"
+/path/to/binary`, or allow the user running the program to set rtprio by adding
+a file _/etc/security/limits.d/youruser_allow-rtprio.conf_ with something like
+`youruser - rtprio 99`.
+
[[vty_cpu_sched_cpu_affinity_mask]]
=== CPU-Affinity Mask
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
Gerrit-Change-Number: 41852
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: laforge, neels.
Hoernchen has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/pysim/+/40201?usp=email )
Change subject: personalization: make AlgorithmID a new EnumParam
......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
> (Slight counter argument: This is not a map to the binary representation. […]
as far as I know the compiled asn1 representation loses the schema information/name, so you would need to access the schema instead. a somewhat concise way would be something like this, by getting the schema as well in compile_asn1_subdir and then working with the schema dict. this would basically leave the compiled asn1 alone and would not interfere with anything else:
def compile_asn1_subdir(subdir_name:str, codec='der'):
"""Helper function that compiles ASN.1 syntax from all files within given subdir"""
import asn1tools
asn_txt = ''
__ver = sys.version_info
if (__ver.major, __ver.minor) >= (3, 9):
for i in resources.files('pySim.esim').joinpath('asn1').joinpath(subdir_name).iterdir():
asn_txt += i.read_text()
asn_txt += "\n"
#else:
#print(resources.read_text(__name__, 'asn1/rsp.asn'))
asn1_schema = asn1tools.parse_string(asn_txt, codec=codec)
return asn1tools.compile_dict(asn1_schema, codec='ber'), asn1_schema
in saip/__init__.py
asn1, asn1_schema = compile_asn1_subdir('saip') # or asn, _ = compile_asn1_subdir(...) if schema not needed
somewhere else
from pySim.esim.saip import asn1_schema as saip_schema
print(saip_schema['PEDefinitions']['types']['AlgoParameter']['members'][0]['named-numbers'])
# {'milenage': 1, 'tuak': 2, 'usim-test-algorithm': 3}
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/40201?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I71c2ec1b753c66cb577436944634f32792353240
Gerrit-Change-Number: 40201
Gerrit-PatchSet: 5
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: Hoernchen <ewild(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Thu, 15 Jan 2026 13:31:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>