Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 19:08:11 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/hastd hastd.c hastd.h primary.c secondary.c
Message-ID:  <201009221908.o8MJ8WU8049314@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2010-09-22 19:08:11 UTC

  FreeBSD src repository

  Modified files:
    sbin/hastd           hastd.c hastd.h primary.c secondary.c 
  Log:
  SVN rev 213009 on 2010-09-22 19:08:11Z by pjd
  
  Switch to sigprocmask(2) API also in the main process and secondary process.
  This way the primary process inherits signal mask from the main process,
  which fixes a race where signal is delivered to the primary process before
  configuring signal mask.
  
  Reported by:    Mikolaj Golub <to.my.trociny@gmail.com>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.19      +39 -45    src/sbin/hastd/hastd.c
  1.4       +1 -1      src/sbin/hastd/hastd.h
  1.31      +0 -13     src/sbin/hastd/primary.c
  1.16      +4 -2      src/sbin/hastd/secondary.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009221908.o8MJ8WU8049314>