Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc fix on newer gcc #71

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

panicking
Copy link

No description provided.

AKunjumon-swi and others added 8 commits November 29, 2022 00:07
Resolves: LE-16769
Change-Id: I45412931d0549db4a0466948ee3cd340610ae4e1
Signed-off-by: Anju Kunjumon <[email protected]>
systemd uses cgroups to hierarchically group and label processes. So when
systemd is enabled, the cgroup hierarchy and all enabled controllers are
automatically mounted at startup by sytemd. In such case, Legato should
not remount the cgroup hierarchy, since that will result in losing
important configurations by systemd including the access to
/sys/fs/cgroup/systemd directory. This commit updates cgrp_Init() to
handle this case.

Also, with systemd using cgroups, the code to retrieve appname from
/proc/<pid>/cgroup file can no more rely on just the first line. It
needs to search for the entries for controllers that Legato configures.

Resolves: LE-16709
Change-Id: I512e42978950ba24f87ae9505d6114e25d09ebf0
Signed-off-by: Anju Kunjumon <[email protected]>
Build legato for em92xx platform. Tasks includes:
 - Change legato build script for em92xx platform
 - Change script to build local fwupdate for em92xx platform
 - Building and running basic avcService app

Resolves: LE-16694 LE-16696 LE-16762 LE-16708
Change-Id: I7c7a1a13a93c6f8b1dde50dae78456aa3d652dce
Add a '-c' option to pass a file containing a set of selinux labels
to mklegatoimg. This change requires support for -context-file
argument in mksquashfs, currently provided only in EM92xx targets.
Support in mkfs.ubifs is provided with --selinux flag.

Refer to setfiles man page for required syntax of label file.

Resolves: QTIX65-491
Change-Id: I5bc286466d4f08acaeba57964a32b772f6d4884d
Signed-off-by: Zoran Markovic <[email protected]>
Previous changes to introduce EM92xx product has caused a regression during startup on cellNetService.

Resolves: LE-16789
Change-Id: I3ffc6952c92b89df8de222506d5f4962ee48f0de
Due to obsolete compilation flags, sdx65 code isn't picking up the right
header files or conditional compilation code. Remove obsolete
compilation flags and add a new compilation flag.

Resolves: LE-16790
Change-Id: I2ec17663958b71b24f4a4fbbbbea2318fa63760a
warning: ‘fclose’ called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc]

Signed-off-by: Michael Trimarchi <[email protected]>
Loop can use reference instead of object to avoid a copy

Signed-off-by: Michael Trimarchi <[email protected]>
@panicking
Copy link
Author

Can I know what is the problem here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants