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

[patch-axel-57] add seL4_DebugNameThreadFmt() #26

Closed
wants to merge 2 commits into from
Closed

Conversation

axel-h
Copy link
Member

@axel-h axel-h commented Oct 21, 2022

This is a convenient way to create thread names dynamically. Also change seL4_DebugNameThread() to use strncpy() instead of strcpy() to honor the IPC buffer size.

Inspired by seL4/seL4_projects_libs#77

seL4_DebugNameThreadFmt(tcb, "%s:%d", vm->vm_name, vcpu->vcpu_id););

@axel-h axel-h force-pushed the patch-axel-57 branch 3 times, most recently from 2566c9b to 442c18f Compare October 28, 2022 00:56
@axel-h axel-h changed the title add seL4_DebugNameThreadFmt() [patch-axel-57] add seL4_DebugNameThreadFmt() Oct 30, 2022
@axel-h axel-h force-pushed the patch-axel-57 branch 2 times, most recently from 6ca65b6 to 625205c Compare November 11, 2022 13:36
@axel-h axel-h force-pushed the patch-axel-57 branch 2 times, most recently from bd423df to 907b05a Compare March 8, 2023 14:30
@axel-h axel-h force-pushed the patch-axel-57 branch 4 times, most recently from 5f0a596 to 08c38db Compare March 28, 2023 10:26
@axel-h axel-h force-pushed the patch-axel-57 branch 2 times, most recently from 9032f9b to 97ff2fe Compare August 14, 2023 13:51
Axel Heider added 2 commits October 25, 2023 02:05
Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
This is a convenient way to create thread names dynamically.
Also change seL4_DebugNameThread() to use strncpy() instead of
strcpy() to honor the IPC buffer size.

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
@axel-h axel-h closed this Jan 8, 2024
@axel-h axel-h deleted the patch-axel-57 branch January 8, 2024 08:00
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