Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 9f0af913991a34af84091a0ff69b9f4b3282761f https://github.com/OpenAMP/libmetal/commit/9f0af913991a34af84091a0ff69b9f4b3... Author: Andrew Davis afd@ti.com Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths: M lib/system/linux/init.c
Log Message: ----------- lib: system: linux: Do not re-seed random number generator
Nothing in libmetal uses RNG. It is unexpected for an application calling metal_init() to have its RNG seed reset. An application for instance may want a static seed for testing. If an application wants a new random seed then it can set it itself. Setting global program state like this is not something that should be done unconditionally by libmetal.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 24e1580e4549bd32bb3bbb0b8c3c954d2ef59424 https://github.com/OpenAMP/libmetal/commit/24e1580e4549bd32bb3bbb0b8c3c954d2... Author: Andrew Davis afd@ti.com Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths: M lib/system/linux/init.c M lib/system/linux/sys.h
Log Message: ----------- lib: system: linux: Remove unused tmp_path from metal_state
This path was used to hold either /tmp or hugetlbfs_path, but it wasn't used in either case. It was also incorrectly labeled as holding sysfs path.. Drop this unused structure member.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 8740e728ff10f3e1c8d6cda7f414ec4bbb881b22 https://github.com/OpenAMP/libmetal/commit/8740e728ff10f3e1c8d6cda7f414ec4bb... Author: Andrew Davis afd@ti.com Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths: M lib/system/linux/init.c M lib/system/linux/shmem.c M lib/system/linux/sys.h
Log Message: ----------- lib: system: linux: Do not always open pagemap on metal_init()
Access to pagemap is restricted to only root or CAP_SYS_ADMIN making this open fail when applications are not run as root. The pagemap is only used when trying to do shmem and not all libmetal users need this. Only try to open pagemap when needed to remove warnings for non-shmem using apps.
Signed-off-by: Andrew Davis afd@ti.com
Compare: https://github.com/OpenAMP/libmetal/compare/1c77dc94f858...8740e728ff10
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications