![]() strlen is often used incorectly to get the length of strings defined at compile time. In these cases, the behavior can be replicated with sizeof(X) - 1, which is calculated at compile time rather than runtime, reducing overhead. I've created a simple macro to replace these instances and applied it to all the files compiled into the angler kernel. Signed-off-by: Joe Maples <joe@frap129.org> |
||
---|---|---|
.. | ||
Makefile | ||
ecryptfs_format.c | ||
ecryptfs_format.h | ||
encrypted.c | ||
encrypted.h | ||
masterkey_trusted.c |