Commit graph

36 commits

Author SHA1 Message Date
John Johansen
9896f5edbd Add an example parser.conf file
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Kees Cook <kees@ubuntu.com>
2011-10-07 14:43:54 -07:00
Kees Cook
723a20ba7d as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
Kees Cook
da6c9246f5 clear remaining $Id$ tags, since bzr does not suppor them 2009-11-11 10:44:26 -08:00
John Johansen
92977daf75 merge over change from 1082 - update parser .spec change log 2008-02-19 10:18:12 +00:00
Steve Beattie
fd0ad65eac Only run apparmor initscript at boottime on suse. (novell #286749) 2007-08-31 19:05:54 +00:00
Steve Beattie
7a3ddb5ce7 mark initscripts as stop_on_removal on suse dists. 2007-08-20 03:43:32 +00:00
Steve Beattie
707fda6680 This patch disables the apparmor event reporting daemon service before
uninstalling the apparmor-parser package. [#301418]
2007-08-17 18:14:57 +00:00
Steve Beattie
1791756480 Add changelog entry for recent checkins. 2007-07-27 21:51:23 +00:00
Steve Beattie
02528b7281 Ugh, how did I mess up the changelog entry like that? Sigh. 2007-05-15 19:36:49 +00:00
Steve Beattie
9bfe436dff Kill some bogus readme text
Pull in conversion to texlive-latex from openSUSE
Mark manpages as documentation (I didn't know files outside of
/usr/share/doc/packages/%{name}-%{version} could be marked as such).
2007-04-25 20:50:21 +00:00
Steve Beattie
4e2bf5ab74 Resurrect apparmor-docs package, this time as a subpackage of
apparmor-parser. The html version of the parser manpages as well as pdf,
html, and text versions of the techdoc are included in the -docs
package.

Disabled a regression stress test that is a bit problematic on 64bit
arches; the stress test itself is a bit absurd given how many rules it
generates.
2007-04-14 04:48:56 +00:00
Steve Beattie
c8eb1e4c42 Move the techdoc to the apparmor-parser package. 2007-04-12 06:01:40 +00:00
Steve Beattie
f309bbd8e7 Subject: initscript: kill rebuild option
[This is a slight update to a patch originally by jjohansen@suse.de]

The ability of the rcapparmor initscript to rebuild the apparmor module
if attmepts to load the module failed had been broken for a while; this
patch rips out the option altogether. The ability to drop to runlevel
1 if the apparmor module can't be loaded is still available, if not
recently tested.
2007-04-04 21:28:43 +00:00
Steve Beattie
5cc6094944 Subject: initscript: support builtin apparmor
This patch, based on prior versions by jjohansen@suse.de, reworks the
rcapparmor initscript to support apparmor as a kernel builtin, instead
of just a module.
2007-04-04 21:23:42 +00:00
Steve Beattie
67a12028f2 Subject: initscript: ignore more dpkg
In the recent fixups for Ubuntu/Debian, .dpkg-new files got added to the
set of profile names that get ignored. Alas, that only got added in one
of two locations in the initscript; this patch fixes that by making a
common test function that both locations use.
2007-04-04 20:42:26 +00:00
Steve Beattie
24606ec70b Subject: Add manpages to the parser package
Move the apparmor.d(5), apparmor(7), apparmor_parser(8),
subdomain.conf(5) and apparmor.vim(5) (for lack of a better location)
into the apparmor-parser package.
2007-04-03 19:04:10 +00:00
Steve Beattie
1bdc66f696 Add buildrequires on flex and bison, from coolo@suse.de 2007-03-29 21:46:20 +00:00
Steve Beattie
79e6a4fec5 This patch fixes up a couple of bashisms in the rc.apparmor.functions
file that prevented it from working correctly on systems where /bin/sh
isn't bash, and is probably more readable to boot. It still will parse
things properly when confined binaries or thier corresponding profiles
contain spaces in their names.

Fix based on feedback and patches from Arkadiusz Miskiewicz
<arekm@maven.pl>/PLD and Kees Cook/Ubuntu.
2007-03-27 18:38:28 +00:00
Steve Beattie
1afc2eee2b Add build dependency on g++ compiler
Pass on extra warning flags to pcre lib.
No need for recursive delete on the libstdc++ line.
2007-03-23 20:48:29 +00:00
Steve Beattie
51d047ba35 Set %distro macro correctly when building against fedora core on
opensuse's buildservice (http:://build.opensuse.org)
2007-01-18 07:33:09 +00:00
Steve Beattie
df3bfe2564 Remove long obsolete editing of fstab. Anyone upgrading should already
have the fstab entry.
2007-01-18 04:58:37 +00:00
Steve Beattie
d67b4ca48d Add missing sd_log_warning_msg function to initscripts that were missing it.
Get rid of dependency on subdomain-master package.
2007-01-09 07:59:39 +00:00
Steve Beattie
5f65fbccea Fix based on patch from PLD/Arkadiusz Miskiewicz <arekm@maven.pl> to
make the initscript more likely to function in shells other than bash.
2006-12-12 10:54:44 +00:00
Steve Beattie
2f3695b0c7 Add #defines for AUDIT_WRITE and AUDIT_CONTROL as older kernel headers (suse
9.3 era) don't define these.
2006-11-20 05:26:25 +00:00
Steve Beattie
6271e1a510 This patch converts the call to fdopendir() to fclose(), opendir(), as
the former isn't supported on glibc before glibc 2.4 (SL10.0 and prior,
Annvix, etc.). I dislike the change because fdopendir() does exactly
what I want, and converting to straight opendir() introduces a small
race window, though paths in question should be under administrator
control anyway.
2006-11-20 05:20:16 +00:00
Steve Beattie
a7fa3ccbdc https://bugzilla.novell.com/show_bug.cgi?id=214293
Make aaventd initscript depend on the service 'apparmor', as provided by
the boot.apparmor initscript.
2006-11-10 12:09:07 +00:00
Steve Beattie
af843fd0ac Dur, tyop. 2006-11-08 11:23:02 +00:00
Steve Beattie
b9820c408c Add changlog for ddrewelow's translation updates. 2006-11-08 11:03:58 +00:00
Steve Beattie
6b54cce437 This patch removes using the libcap-devel capability header, and only
uses the linux kernel definitions of them.

(It also adds to the simple capbilities regression tests verifying the
parser can parse the new audit capiability names.)
2006-11-08 10:59:09 +00:00
Steve Beattie
23605a1d2e /lib/lsb/init-functions on SUSE provides the sh killproc() function; use
it instead to make cross-platform compatability easier.
2006-11-06 10:50:06 +00:00
Steve Beattie
63712f92db * Sat Oct 28 2006 - olh@suse.de
- boot.apparmor should start after boot.localfs (#215156)
2006-10-31 15:33:10 +00:00
Steve Beattie
34437da2a3 Eliminate obsolete /subdomain (#160020)
Also add some history to the changelog in the specfile, clean up some
whitespace issues, eliminate no longer needed bogus LC_MESSAGES dir to
work around SUSE autobuild, seems to have been addressed.
2006-10-12 18:36:43 +00:00
Steve Beattie
865b21c761 Two changes:
* patch from SUSE autobuild team to not strip binaries
* convert rpm release for the parser and mod_apparmor packages to
  correspond to the svn repository number.
2006-05-31 22:38:30 +00:00
Steve Beattie
0508ea0128 https://bugzilla.novell.com/show_bug.cgi?id=160330
This patch prevents the parser from segv'ing if neither of the expected
default profile directories exist (/etc/subdomain.d, /etc/apparmor.d).
A profile passed on the command line or via stdin will still load, so
long as -I/path/to/includes is passed for any relevant includes files.
2006-04-28 03:26:57 +00:00
Steve Beattie
6b0de8f6bc Update keywords attribute, svn:ignore attribute, update Makefile to
point to the new location of the common/ dir.
2006-04-12 03:09:10 +00:00
Steve Beattie
6d3e74907d Import the rest of the core functionality of the internal apparmor
development tree (trunk branch). From svn repo version 6381.
2006-04-11 21:52:54 +00:00