Gentoo Archives: gentoo-soc

From: Devan Franchini <oot153@×××××.com>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] SELinux Policy originator | Progress report #4
Date: Mon, 18 Jun 2012 09:06:53
Message-Id: CA+UEbAj=asAbXbF4bCjUzj=jMFVKygTNtJj-P8yRi-rcQGRK7w@mail.gmail.com
1 Hello again everyone!
2
3 ============================ Progress ==============================
4
5 Some headway is being made on seorigin.
6
7 To restate, seorigin is comprised of three components:
8
9 * The capture plugin - Grabs raw m4 macro expansions of a selinux
10 policy package and parses it into source and definition records.
11 * The Workflow component - Stores each record into a database for the
12 query interface to later access, this database needs to check if it
13 needs to be cleaned, or updated as well.
14 * The Query Interface - The user end interface that displays the
15 information needed by the user. Where all the magic happens!
16
17 The capture plugin is near completion; it parses source records from
18 *.te files and definition records from all_interfaces.conf as well as
19 *.spt files. I was able to create records from .te files and
20 all_interfaces.conf but I want to double check some information before
21 I continue on with *.spt files because it seems like their patterns
22 are not as easy to spot as the others.
23
24 Once I know the patterns then the parsing will be easy enough.
25
26 I hope to finish the capture-plugin completely within the next few
27 days and I hope to begin working on the workflow component (which I
28 believe will take the most time out of all of these components).
29
30 Hope everyone is coding well! :)
31
32 Regards,
33 Devan Franchini