From: James Antill <jantill@redhat.com>
To: "John D. Ramsdell" <ramsdell@mitre.org>
Cc: Christopher Ashworth <cashworth@tresys.com>, selinux@tycho.nsa.gov
Subject: Re: FCGlob
Date: Tue, 17 Apr 2007 14:42:54 -0400 [thread overview]
Message-ID: <1176835374.19144.14.camel@code.and.org> (raw)
In-Reply-To: <ogtzm56khxx.fsf@oolong.mitre.org>
[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]
On Tue, 2007-04-17 at 13:51 -0400, John D. Ramsdell wrote:
> The paper states that an FCGlob prototype would require creating:
>
> A comparison function that receives two patterns as parameters and
> returns the set relationship. Possible set relationships between
> the set of paths pattern A matches and the set of paths pattern B
> matches are: subset, superset, disjoint and ambiguous.
>
> I speculated that finite automata is required to implement the
> comparison function as specified. Do you have an alternative
> algorithm that meets the above specification? I don't recall seeing
> one in the paper.
Sections two and three (and figure 3 within section three) explains
this, AIUI. The idea is that you can split the "patterns" into a list of
nodes and the easily compare nodes, so:
cmp("/x/y/a*/**/b", "/x/**/b")
==
cmp(["x", "y", "a*", "**", "b"], ["x", "**", "b"])
==
cmp(["x", "y", "a*", "b"], ["x", "*", "*", "*", "b"])
...and the comparison function for the last part should "be easy",
although AIUI they hadn't written it.
--
James Antill - <james.antill@redhat.com>
setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, ...);
setsockopt(fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, ...);
setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, ...);
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-04-17 18:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-17 10:07 FCGlob Russell Coker
2007-04-17 11:23 ` FCGlob John D. Ramsdell
2007-04-17 12:54 ` FCGlob (does someone have the time to generate a special purpose machine) Zwartsenberg, Remmolt
2007-04-17 14:19 ` John D. Ramsdell
2007-04-17 16:08 ` FCGlob Christopher Ashworth
2007-04-17 17:51 ` FCGlob John D. Ramsdell
2007-04-17 18:42 ` James Antill [this message]
2007-04-17 18:10 ` FCGlob John D. Ramsdell
2007-04-17 19:07 ` FCGlob James Athey
2007-04-18 0:35 ` FCGlob Russell Coker
2007-04-20 13:32 ` FCGlob John D. Ramsdell
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=1176835374.19144.14.camel@code.and.org \
--to=jantill@redhat.com \
--cc=cashworth@tresys.com \
--cc=ramsdell@mitre.org \
--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.