]> Zhao Yanbai Git Server - minix.git/commitdiff
reset alarm timer on PRIVCTL
authorDavid van Moolenbroek <david@minix3.org>
Wed, 26 May 2010 07:10:28 +0000 (07:10 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 26 May 2010 07:10:28 +0000 (07:10 +0000)
kernel/system/do_privctl.c

index c80ec9e6df98cb5dd9da3929e8f9f4410b1755d8..aebdfc03b136be0a879445c519bb19420b5c110d 100644 (file)
@@ -99,6 +99,7 @@ PUBLIC int do_privctl(struct proc * caller, message * m_ptr)
              priv(rp)->s_notify_pending.chunk[i] = 0;  /* - notifications */
        priv(rp)->s_int_pending = 0;                    /* - interrupts */
        sigemptyset(&priv(rp)->s_sig_pending);          /* - signals */
+       reset_timer(&priv(rp)->s_alarm_timer);          /* - alarm */
        priv(rp)->s_asyntab= -1;                        /* - asynsends */
        priv(rp)->s_asynsize= 0;