diff options
author | Manoj Basapathi <manojbm@codeaurora.org> | 2020-04-16 10:23:29 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-04-16 20:05:14 +0200 |
commit | 85b9ec86154281400e22a233e1247a17764dde3e (patch) | |
tree | bbd1f049215195e6b9fc7a878e4090ac6d486695 /extensions/libxt_IDLETIMER.t | |
parent | 18f01acbdefb211ebfefb728d2b6843c59ae06db (diff) |
extensions: IDLETIMER: Add alarm timer option
Introduce "--alarm" option for idletimer rule.
If it is present, hardidle-timer is used, else default timer.
The default idletimer starts a deferrable timer or in other
words the timer will cease to run when cpu is in suspended
state. This change introduces the option to start a
non-deferrable or alarm timer which will continue to run even
when the cpu is in suspended state.
Signed-off-by: Manoj Basapathi <manojbm@codeaurora.org>
Signed-off-by: Sauvik Saha <ssaha@codeaurora.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_IDLETIMER.t')
-rw-r--r-- | extensions/libxt_IDLETIMER.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/libxt_IDLETIMER.t b/extensions/libxt_IDLETIMER.t index 6afd92c1..d13b119e 100644 --- a/extensions/libxt_IDLETIMER.t +++ b/extensions/libxt_IDLETIMER.t @@ -2,3 +2,5 @@ -j IDLETIMER --timeout;;FAIL -j IDLETIMER --timeout 42;;FAIL -j IDLETIMER --timeout 42 --label foo;=;OK +-j IDLETIMER --timeout 42 --label foo --alarm;;OK + |