From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: autofs@linux.kernel.org
Subject: Re: Race in expire code
Date: Sat, 29 Jan 2005 14:51:26 +0100 [thread overview]
Message-ID: <20050129135126.GA24017@uio.no> (raw)
In-Reply-To: <Pine.LNX.4.61.0501292129280.14112@donald.themaw.net>
On Sat, Jan 29, 2005 at 09:36:31PM +0800, raven@themaw.net wrote:
> Can everyone who is maintaining downstream packages please chaeck that
> the code in their package ends up looking like what the patch below
> acheives.
>
> [...]
>
> case EXP_STARTED:
> - sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
> ap.state = ST_EXPIRE;
> + sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
> return 0;
> }
> return 1;
The Debian packages are close, but not quite:
case EXP_STARTED:
sigprocmask(SIG_SETMASK, &lock_sigs, NULL);
ap.state = ST_EXPIRE;
sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
return 0;
I have no idea what lock_sigs does, but this should be OK, no?
/* Steinar */
--
Homepage: http://www.sesse.net/
next prev parent reply other threads:[~2005-01-29 13:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-29 13:36 Race in expire code raven
2005-01-29 13:51 ` Steinar H. Gunderson [this message]
2005-01-29 14:13 ` raven
2005-01-31 15:34 ` Jeff Moyer
2005-01-31 16:47 ` Chris Feist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050129135126.GA24017@uio.no \
--to=sgunderson@bigfoot.com \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.