From: Ivan Gyurdiev <ivg2@cornell.edu>
To: Ron Kuris <rk@unify.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
selinux@tycho.nsa.gov, Joshua Brindle <jbrindle@tresys.com>
Subject: Re: Loading things into policy
Date: Wed, 19 Oct 2005 14:31:37 -0400 [thread overview]
Message-ID: <43569109.9010301@cornell.edu> (raw)
In-Reply-To: <43568CE4.4030901@unify.com>
> Another interesting point is that your pseudo-code suffers from a race
> condition: what if two processes try to add() at the same time?
>
That's actually not a problem, because you'd be in a transaction when
you executed this code. If I was implementing modify internally to be
based on add and set, I'd just need to do a transaction check around
that code.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2005-10-19 18:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 0:33 Loading things into policy Ivan Gyurdiev
2005-10-19 0:37 ` Ivan Gyurdiev
2005-10-19 13:45 ` Joshua Brindle
2005-10-19 16:31 ` Ivan Gyurdiev
2005-10-19 17:36 ` Stephen Smalley
2005-10-19 17:20 ` Stephen Smalley
2005-10-19 17:31 ` Stephen Smalley
2005-10-19 17:51 ` Stephen Smalley
2005-10-19 18:11 ` Ivan Gyurdiev
2005-10-19 18:13 ` Ron Kuris
2005-10-19 18:20 ` Stephen Smalley
2005-10-19 18:31 ` Ivan Gyurdiev [this message]
2005-10-19 18:28 ` Ivan Gyurdiev
2005-10-19 19:12 ` Ivan Gyurdiev
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=43569109.9010301@cornell.edu \
--to=ivg2@cornell.edu \
--cc=jbrindle@tresys.com \
--cc=rk@unify.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
/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.