089b8cd wdmd: use shm_open to prevent restart

Authored and Committed by teigland 11 years ago
1 file changed. 44 lines added. 3 lines removed.
    wdmd: use shm_open to prevent restart
    
    We need to prevent restart after an unclean shutdown
    and no machine reset.  Otherwise re-opening /dev/watchdog
    will give new life to the machine when it's supposed to
    be resetting.
    
    Signed-off-by: David Teigland <teigland@redhat.com>
    
        
file modified
+44 -3