path: root/extensions/libxt_IDLETIMER.t
diff options
authorManoj Basapathi <>2020-04-16 10:23:29 +0530
committerPablo Neira Ayuso <>2020-04-16 20:05:14 +0200
commit85b9ec86154281400e22a233e1247a17764dde3e (patch)
treebbd1f049215195e6b9fc7a878e4090ac6d486695 /extensions/libxt_IDLETIMER.t
parent18f01acbdefb211ebfefb728d2b6843c59ae06db (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 <> Signed-off-by: Sauvik Saha <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'extensions/libxt_IDLETIMER.t')
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