projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818ab43
)
fortify: Replace open-coded __gnu_inline attribute
author
Kees Cook
<keescook@chromium.org>
Tue, 8 Feb 2022 22:53:43 +0000
(14:53 -0800)
committer
Kees Cook
<keescook@chromium.org>
Mon, 14 Feb 2022 00:50:06 +0000
(16:50 -0800)
Replace open-coded gnu_inline attribute with the normal kernel
convention for attributes: __gnu_inline
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link:
https://lore.kernel.org/r/20220208225350.1331628-2-keescook@chromium.org
include/linux/fortify-string.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/fortify-string.h
b/include/linux/fortify-string.h
index 53123712bb3b314652862fadf1e2c326fa666e1f..439aad24ab3bdf722ec3847e512b7aa0bd718782 100644
(file)
--- a/
include/linux/fortify-string.h
+++ b/
include/linux/fortify-string.h
@@
-2,7
+2,7
@@
#ifndef _LINUX_FORTIFY_STRING_H_
#define _LINUX_FORTIFY_STRING_H_
-#define __FORTIFY_INLINE extern __always_inline __
attribute__((gnu_inline))
+#define __FORTIFY_INLINE extern __always_inline __
gnu_inline
#define __RENAME(x) __asm__(#x)
void fortify_panic(const char *name) __noreturn __cold;