Merge remote-tracking branch 'origin/fix-running-modem-in-generic-fedora-container' into integration_2022_wk13b

This commit is contained in:
Robert Schmidt
2022-04-01 13:36:43 +02:00
2 changed files with 12 additions and 4 deletions
+8 -1
View File
@@ -396,7 +396,14 @@ void *rrc_enb_process_msg(void *notUsed) {
int main( int argc, char **argv ) {
set_priority(79);
int set_exe_prio = 1;
if (checkIfFedoraDistribution())
if (checkIfGenericKernelOnFedora())
if (checkIfInsideContainer())
set_exe_prio = 0;
if (set_exe_prio)
set_priority(79);
if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1)
{
fprintf(stderr, "mlockall: %s\n", strerror(errno));