diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-16 10:08:13 +0200 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-16 10:08:13 +0200 |
| commit | 77dbd72b982ca648b42b4feac5f8b2ea55e4ed09 (patch) | |
| tree | d85f5f036b2416ec9c0136954a3a52e69ceb887d /Documentation/livepatch/api.rst | |
| parent | d0a231f01e5b25bacd23e6edc7c979a18a517b2b (diff) | |
| parent | b2dfc3fe73b5b305b13467e39386f77133590ea8 (diff) | |
| download | linux-77dbd72b982ca648b42b4feac5f8b2ea55e4ed09.tar.gz linux-77dbd72b982ca648b42b4feac5f8b2ea55e4ed09.zip | |
Merge tag 'livepatching-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
Pull livepatching updates from Petr Mladek:
- Correctly handle kobjects when a livepatch init fails
- Avoid CPU hogging when searching for many livepatched symbols
- Add livepatch API page into documentation
* tag 'livepatching-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
livepatch: Avoid CPU hogging with cond_resched
livepatch: Fix missing unlock on error in klp_enable_patch()
livepatch: Fix kobject refcount bug on klp_init_patch_early failure path
Documentation: livepatch: Add livepatch API page
Diffstat (limited to 'Documentation/livepatch/api.rst')
| -rw-r--r-- | Documentation/livepatch/api.rst | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/livepatch/api.rst b/Documentation/livepatch/api.rst new file mode 100644 index 000000000000..78944b63d74b --- /dev/null +++ b/Documentation/livepatch/api.rst @@ -0,0 +1,30 @@ +.. SPDX-License-Identifier: GPL-2.0 + +================= +Livepatching APIs +================= + +Livepatch Enablement +==================== + +.. kernel-doc:: kernel/livepatch/core.c + :export: + + +Shadow Variables +================ + +.. kernel-doc:: kernel/livepatch/shadow.c + :export: + +System State Changes +==================== + +.. kernel-doc:: kernel/livepatch/state.c + :export: + +Object Types +============ + +.. kernel-doc:: include/linux/livepatch.h + :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state |
