We can make the prctl a single-argument thing, at the cost of not allowing \0 in the
content. (which is probably sane anyway)
That way deployment is super-simple:
prctl(35, "My Trace Message");
...
if (asprintf(&msg, "My Trace Message: %d\n", 1234) != -1) {
prctl(35, *msg);
free(*msg);
}
Thanks,
Ingo
--