4 ms·
Hmm... I can't remember any scenario I needed to manipulate (mutate) strings in kernel in place. For guaranteed small, say below 64 bytes, strings stack is usua
by vardump 11y ago
Hmm... I can't remember any scenario I needed to manipulate (mutate) strings in kernel in place. For guaranteed small, say below 64 bytes, strings stack is usually fine.
Not saying it doesn't happen, only that it is rarely needed.
Usually when you can't allocate memory (like IRQ handler), you don't do string processing either.