Commit graph

825 commits

Author SHA1 Message Date
Matt Barringer
59f3f1e1ac - Cleaned up the directory. Now make -f Makefile.cvs will
set everything up.
- Fixed ScintillaWX so it'll build against wxWidgets 2.8
2007-08-07 19:20:13 +00:00
Matt Barringer
d1640ad894 - Removing config.h.in 2007-08-07 19:09:48 +00:00
Steve Beattie
336b5ebaef Remove some of the unnecessary and autogenerated autoconf junk, and set
the svn:ignore property to ignore it in the future.
2007-08-07 19:01:19 +00:00
Dominic Reynolds
fcfccdc1f7 Profile changes for the new network toggles and lock mediation. 2007-08-07 12:26:21 +00:00
Matt Barringer
6d47475de3 - Autobuild needed the "Group" to be GNOME rather than Gnome. 2007-08-06 19:09:54 +00:00
Dominic Reynolds
cfb52c03f8 Added AF_RXRPC to the list of ignored net families from socket.h that
are used in the generation of af_names.h.
2007-08-06 18:48:26 +00:00
Matt Barringer
3f389cd79b - Sometimes you do something so stupid that you want to kick yourself.
Today's example is my prepending APPARMOR_REJECT to a message, rather
  than APPARMOR_DENIED.  This caused problems and was a source of much
  hair tearing all weekend.
2007-08-06 18:47:12 +00:00
Dominic Reynolds
fcbd2cafae Updates for network toggles and new profiles. 2007-08-06 15:28:24 +00:00
Dominic Reynolds
073854651f Added updated translations. 2007-08-06 12:49:47 +00:00
Dominic Reynolds
737ffeb3c7 Added updated translations. 2007-08-06 12:48:39 +00:00
Matt Barringer
69173bb8ab - Oops, forgot a single ampersand. 2007-08-06 04:22:19 +00:00
Matt Barringer
578b8d5437 - Since magic_token moved to being an integer rather than a string,
apparmor-dbus needs to treat it as such.
2007-08-06 04:21:36 +00:00
Matt Barringer
e04d4a309f - Added "protocol", "family" and "sock_type" to the parser to
support the initial network support.
2007-08-06 02:38:30 +00:00
Matt Barringer
ab87fbfb94 - Was previously under the belief that pid="1234" and
magic_token="1245353" were correct syntax from the kernel.
  It turns out this is not the case.
2007-08-05 22:54:41 +00:00
Matt Barringer
f4d6d1ab1f - Changed the applet to understand that a byte array, rather than
a string, will be coming in for the profile name.
2007-08-05 22:15:02 +00:00
Matt Barringer
f8a72a9d2f - Converted the use of some strings to arrays of bytes to get
around a problem we have with invalid Unicode.
2007-08-05 22:14:24 +00:00
Steve Beattie
2e46c37bf2 Patch from S.Çağlar Onur <caglar@pardus.org.tr>
Turkish has 4 letter "I"s. English has only two, a lowercase dotted i and an 
uppercase dotless I. Turkish has lowercase and uppercase forms of both dotted 
and dotless I. So tolower(I) != i and toupper(i) != I for us.

Althought this situation is not a apparmor bug (sed can't convert these
properly) its directly affected.  But these must locale independent. So
please apply following simple patch to solve this issue.

Acked-By: Steve Beattie <sbeattie@suse.de>
2007-08-02 15:19:36 +00:00
Steve Beattie
498f9d3d10 Add description and a basic changelog entry (and remove the bogus one
that prevented the specfile from working).
2007-07-31 06:34:23 +00:00
Steve Beattie
e654adf876 Fix up a couple of issues that were preventing things from building. 2007-07-31 05:35:07 +00:00
Matt Barringer
5ee0d57d60 - Updated extconf.rb to reflect the library merging 2007-07-31 03:20:12 +00:00
Steve Beattie
9eb8b7459f Fixup dependency on libapparmor-devel for non-suse dists. 2007-07-30 19:05:21 +00:00
Steve Beattie
bf0d391818 Fix dependencies for older versions of opensuse. 2007-07-30 18:48:00 +00:00
Steve Beattie
68c51fa152 From aj@suse.de: Fix permissions of README file. 2007-07-30 07:30:24 +00:00
Steve Beattie
09e0b627fa Convert builddep on libapparmor to libapparmor-devel 2007-07-30 07:18:07 +00:00
Steve Beattie
4150a569a7 Get rid of crufty crap that causes autobuild to fail. 2007-07-30 05:36:23 +00:00
Steve Beattie
01be9c93e3 Convert libapparmor build dependency to libapparmor-devel. 2007-07-30 05:18:39 +00:00
Steve Beattie
84db5d71e3 Convert build dependency on libapparmor to libapapparmor-devel 2007-07-30 05:05:42 +00:00
Matt Barringer
306ef1c9a8 - Had to add dbus-glib-lowlevel.h header to build on 10.3
- Cleaned up the install part of the makefile
2007-07-30 02:09:56 +00:00
Matt Barringer
3fa1810e26 - Final commit of what will be in OpenSUSE 10.3 Alpha7.
- Removed the last traces of a pcre dependency.
2007-07-30 02:07:48 +00:00
Dominic Reynolds
bc8b8d742a Fix bug in saving of local profiles in the yast UI. Front end wasn't
returning the selected list correctly and the backend wasn't processing
the returned list correctly.
2007-07-30 01:56:21 +00:00
Dominic Reynolds
ecf9f5b5bf Fix bug in changehat handling code where profiles read in from were set
as changed even though they may not be active profiles.
2007-07-30 01:54:25 +00:00
Dominic Reynolds
95769acf38 Patch from jmichael@suse.de to factor out validate_mode into
validate_log_mode() and validate_profile_mode()
2007-07-30 01:53:25 +00:00
Matt Barringer
f661eb59fd - Package now conforms to SUSE requirements
- The applet will be installed in $LIBEXECDIR
2007-07-29 16:58:57 +00:00
Matt Barringer
1b80dff02d - Using asprintf instead of snprintf 2007-07-29 06:05:41 +00:00
Matt Barringer
d53da59344 - Converted to using libapparmor
- Now it will send out all known information about an event in a
  somewhat structured way.
2007-07-29 05:30:51 +00:00
Matt Barringer
85eecb0dae - I'm not sure why scanner.l thought it should be generating
lex.yy.c instead of scanner.c, but that just isn't right.
- There was an unpleasant bug in the audit id recreation 
  part of grammar.y that was causing memory corruption.
  It is now fixed.
2007-07-29 04:37:22 +00:00
Dominic Reynolds
82b86abc58 Fix bug where events from the log were dropped for profiles in the
null-complain-profile.
2007-07-29 02:30:39 +00:00
Dominic Reynolds
371860fb03 Handle "mandatory profile missing" messages and autodep a new profile if
P|px is chosen.
2007-07-29 02:25:25 +00:00
Dominic Reynolds
b210319daa Fixes for regex handling in the tools to match the newer directory
handling syntax.
2007-07-29 02:23:31 +00:00
Dominic Reynolds
1a8ae64cfb Add handling for lock and append in logs and profiles. 2007-07-29 02:20:24 +00:00
Dominic Reynolds
c575edf759 Fix handshake bug between yast frontend/backend that caused the UI to
hang (was returning result to the wrong backend agent).
2007-07-29 02:19:35 +00:00
Dominic Reynolds
3f2ed86bef Don't process events for profiles that no longer exist. 2007-07-29 02:18:29 +00:00
Dominic Reynolds
6f5bc70ae1 Updated usage of SubDomain::readprofile() (which changed in r620) in
yast apparmor profile agent and syntax checking function in subdomain.pm
2007-07-29 02:17:17 +00:00
Dominic Reynolds
9e35713fa6 Added missing CMD_ values to apparmor_ycp_utils that were added to SubDomain.pm in r771 2007-07-29 02:09:59 +00:00
Dominic Reynolds
0bd08b78c8 Strip trailing comments from individual rule lines in the profiles when
they are parsed.
2007-07-29 02:06:41 +00:00
Dominic Reynolds
d3d92196f9 Add support to the tools for basic network access mediation - by
family/socket type.
2007-07-29 02:06:00 +00:00
Dominic Reynolds
62eb92567d Add handling for clone operation from audit logs - which caused the
tracking of process forking to not work correctly in the tools.
2007-07-29 02:05:06 +00:00
Matt Barringer
f5dcd65275 - Adding a note regarding libaalogparse no longer being maintained. 2007-07-28 15:43:09 +00:00
Matt Barringer
4bea1da54c - Merged the library previously known as "libaalogparse" with
libapparmor.
- Moved the old libapparmor library to libapparmor-deprecated.
2007-07-28 15:41:04 +00:00
Matt Barringer
65f4025e15 2007-07-28 15:38:27 +00:00