Skip to content

Fix/consistent api renaming - #149

Merged
ventZl merged 2 commits into
masterfrom
fix/consistent-api-renaming
Mar 26, 2026
Merged

Fix/consistent api renaming#149
ventZl merged 2 commits into
masterfrom
fix/consistent-api-renaming

Conversation

@ventZl

@ventZl ventZl commented Mar 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

ventZl added 2 commits March 26, 2026 10:44
There were gapes in kernel API renaming as not all system calls were
renamed. It was also non-trivial to activate this feature so it was made
kernel configurable.

It works in a way that all kernel API functions can be configured to be
renamed with "cmrx_" prefix. When called without prefix using CMRX
headers, these calls are re-routed to renamed functions. This way CMRX
API can be used in environments which provide their own, conflicting
implementations of similarly-named functions and they cannot be removed.
As "kill" is POSIX API function, it is often provided by HALs as empty
implementation in order to enable POSIX SW to build on embedded targets
without missing symbols.

Use "send_signal" which is an alias for "kill" instead. No functional
change.
@ventZl
ventZl merged commit 6a8c5fc into master Mar 26, 2026
6 checks passed
@ventZl
ventZl deleted the fix/consistent-api-renaming branch March 26, 2026 09:52
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.

1 participant