forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/jikos/livepatching Pull livepatching updates from Jiri Kosina: - handle 'infinitely'-long sleeping tasks, from Miroslav Benes - remove 'immediate' feature, as it turns out it doesn't provide the originally expected semantics, and brings more issues than value * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching: livepatch: add locking to force and signal functions livepatch: Remove immediate feature livepatch: force transition to finish livepatch: send a fake signal to all blocking tasks
- Loading branch information
Showing
13 changed files
with
227 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,32 @@ Description: | |
An attribute which indicates whether the patch is currently in | ||
transition. | ||
|
||
What: /sys/kernel/livepatch/<patch>/signal | ||
Date: Nov 2017 | ||
KernelVersion: 4.15.0 | ||
Contact: [email protected] | ||
Description: | ||
A writable attribute that allows administrator to affect the | ||
course of an existing transition. Writing 1 sends a fake | ||
signal to all remaining blocking tasks. The fake signal | ||
means that no proper signal is delivered (there is no data in | ||
signal pending structures). Tasks are interrupted or woken up, | ||
and forced to change their patched state. | ||
|
||
What: /sys/kernel/livepatch/<patch>/force | ||
Date: Nov 2017 | ||
KernelVersion: 4.15.0 | ||
Contact: [email protected] | ||
Description: | ||
A writable attribute that allows administrator to affect the | ||
course of an existing transition. Writing 1 clears | ||
TIF_PATCH_PENDING flag of all tasks and thus forces the tasks to | ||
the patched or unpatched state. Administrator should not | ||
use this feature without a clearance from a patch | ||
distributor. Removal (rmmod) of patch modules is permanently | ||
disabled when the feature is used. See | ||
Documentation/livepatch/livepatch.txt for more information. | ||
|
||
What: /sys/kernel/livepatch/<patch>/<object> | ||
Date: Nov 2014 | ||
KernelVersion: 3.19.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.