Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 9f0af913991a34af84091a0ff69b9f4b3282761f
https://github.com/OpenAMP/libmetal/commit/9f0af913991a34af84091a0ff69b9f4b…
Author: Andrew Davis <afd(a)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(a)ti.com>
Commit: 24e1580e4549bd32bb3bbb0b8c3c954d2ef59424
https://github.com/OpenAMP/libmetal/commit/24e1580e4549bd32bb3bbb0b8c3c954d…
Author: Andrew Davis <afd(a)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(a)ti.com>
Commit: 8740e728ff10f3e1c8d6cda7f414ec4bbb881b22
https://github.com/OpenAMP/libmetal/commit/8740e728ff10f3e1c8d6cda7f414ec4b…
Author: Andrew Davis <afd(a)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(a)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
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 1c77dc94f858a0b5c294fed850a8d2e03bfdf60d
https://github.com/OpenAMP/libmetal/commit/1c77dc94f858a0b5c294fed850a8d2e0…
Author: Andrew Davis <afd(a)ti.com>
Date: 2026-06-02 (Tue, 02 Jun 2026)
Changed paths:
M lib/system/freertos/alloc.h
M lib/system/freertos/assert.h
M lib/system/freertos/cache.h
M lib/system/freertos/condition.h
M lib/system/freertos/io.h
M lib/system/freertos/mutex.h
M lib/system/freertos/sleep.h
M lib/system/freertos/sys.h
M lib/system/generic/alloc.h
M lib/system/generic/assert.h
M lib/system/generic/cache.h
M lib/system/generic/condition.h
M lib/system/generic/io.h
M lib/system/generic/mutex.h
M lib/system/generic/sleep.h
M lib/system/generic/sys.h
M lib/system/linux/alloc.h
M lib/system/linux/assert.h
M lib/system/linux/cache.h
M lib/system/linux/condition.h
M lib/system/linux/io.h
M lib/system/linux/irq.h
M lib/system/linux/mutex.h
M lib/system/linux/sleep.h
M lib/system/linux/sys.h
M lib/system/nuttx/alloc.h
M lib/system/nuttx/assert.h
M lib/system/nuttx/cache.h
M lib/system/nuttx/condition.h
M lib/system/nuttx/io.h
M lib/system/nuttx/irq.h
M lib/system/nuttx/mutex.h
M lib/system/nuttx/sleep.h
M lib/system/nuttx/sys.h
M lib/system/zephyr/alloc.h
M lib/system/zephyr/assert.h
M lib/system/zephyr/cache.h
M lib/system/zephyr/condition.h
M lib/system/zephyr/io.h
M lib/system/zephyr/log.h
M lib/system/zephyr/mutex.h
M lib/system/zephyr/sleep.h
M lib/system/zephyr/sys.h
Log Message:
-----------
lib: Avoid mentioning the current filename in compile-time warning
Some of these were not correct in some spots. Instead of trying to include
the name of the current file in this warning (which might change), only
state which file should be included instead.
Signed-off-by: Andrew Davis <afd(a)ti.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications