Commit graph

515 commits

Author SHA1 Message Date
Dominic Reynolds
6df492fa97 Text change in the syntax check message s/users guide/Administration
guide/
2006-11-10 10:52:18 +00:00
Steve Beattie
fecc909858 Hmm, I think the common directory version should always be HEAD. 2006-11-10 10:05:48 +00:00
Steve Beattie
1b0b287970 Make the specific version be the version exported. 2006-11-10 10:02:59 +00:00
David J Drewelow
42f1de10e6 fixes for bugs 177039 1980891 198359 2006-11-10 09:43:49 +00:00
David J Drewelow
2d35d6e0fe fixes for bugs 177039 1980891 198359 2006-11-10 09:43:29 +00:00
David J Drewelow
5cb58d5430 fixes for bugs 177039 1980891 198359 2006-11-10 09:43:04 +00:00
David J Drewelow
e44e921e4f new translation files 2006-11-09 08:16:43 +00:00
David J Drewelow
8834b1cd49 replaced generic values that were left in the header 2006-11-09 08:13:38 +00:00
Seth Arnold
6ac474b85e add 'm' access to /etc/ld.so.cache to fix bug 219580 -- still unknown why this access is necessary 2006-11-09 07:35:44 +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
David J Drewelow
5e3729de07 added new .po files to LANG 2006-11-08 10:53:08 +00:00
David J Drewelow
504d5cd2c0 added new po files to LANG 2006-11-08 10:50:00 +00:00
John Johansen
508d8e1da7 add audit_write and audit_control to the list of capabilities tested against, for current regression tests. This does not extend the regression suite to test the audit_write and audit_control capabilities 2006-11-08 10:46:49 +00:00
John Johansen
facf7569dc add the ability to specify the linux audit_write and audit_control capabilities 2006-11-08 10:43:11 +00:00
John Johansen
8a55d0874c add the ability to log the audit_write and audit_control capabilities 2006-11-08 10:40:34 +00:00
David J Drewelow
6879c5b32d updated files from lcn repository 2006-11-08 10:37:40 +00:00
David J Drewelow
be21bcaf81 updated files pulled from LCN repository 2006-11-08 10:33:48 +00:00
Steve Beattie
e3503227d5 Fixup changelog, in specfile and changes file. 2006-11-07 22:08:48 +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
Seth Arnold
11fffe3988 new profiles for clamav and syslog-ng; improvements to postfix's virtual component. Changes suggested by Christian Boltz, thanks 2006-11-05 08:39:33 +00:00
Seth Arnold
bd0abb8929 remove the Px rules on ld.so; remove the ld.so profiles; remove the ldd profile. Use the 'm' rules to say which files can be mapped executable as sole source of 'read-doesn't-imply-execute raising the bar' 2006-11-05 08:37:48 +00:00
Steve Beattie
af33afe8f7 Convert the rest of the packages to symlinking in the common directory
so that 'make dist' will work.
2006-11-04 21:34:47 +00:00
Steve Beattie
63e3bea106 svn ignore the new symlink to the common directory. 2006-11-04 19:54:40 +00:00
Steve Beattie
b2b4a2fb2f Make 'make clean' get rid of obsolete Make.rules hardlink. 2006-11-04 19:21:09 +00:00
Steve Beattie
34119ab329 Get rid of older Make.rules hardlink. 2006-11-04 19:16:36 +00:00
Steve Beattie
c5243e5e5a Convert the way Make.rules is included, so that 'make dist' will work. 2006-11-03 23:52:49 +00:00
Steve Beattie
7d29ce4a2e Bump revision to 2.0.1 (in part for opensuse 10.2 release) 2006-11-03 22:07:47 +00:00
Seth Arnold
a003664ef6 remove empty lines with spaces, reported by cboltz 2006-11-03 12:58:52 +00:00
Seth Arnold
36db2bf010 remove empty lines with spaces, reported by cboltz 2006-11-03 12:58:04 +00:00
Steve Beattie
3949b95110 Baby step to making 'make dist' actually work. this will mean common/
will be a symlink in the directory.
2006-11-03 10:19:42 +00:00
Seth Arnold
c54f73f67f some cleanups, clarifications, that weren't checked in when written, for whatever reason.. 2006-11-03 09:47:55 +00:00
John Johansen
c0174cd7d4 have changehat return ECHILD error code when a profile doesn't contain any hats 2006-11-01 12:51:53 +00:00
David J Drewelow
823774b88e changes to add yast control of complain/enforce mode in profiles 2006-11-01 12:21:59 +00:00
David J Drewelow
c71f81ca4f agent for complain/enforce mode control in yast 2006-11-01 12:21:01 +00:00
Steve Beattie
03455d0ff8 Ignore autogenerated files in svn. 2006-10-31 17:14:58 +00:00
Steve Beattie
66850c29a3 Fix a date type in the changelog that prevents the specfile from
building an rpm. ALso converted the package revision to just be the svn
repo version.
2006-10-31 17:12:55 +00:00
Steve Beattie
3c81b9e434 Set it to ignore the new specfile name. 2006-10-31 17:10:50 +00:00
Steve Beattie
4766dc8db0 'make' and 'make all' should probably just build the apache module and
not the rpm. 'make rpm' should still work.
2006-10-31 17:00:55 +00:00
Steve Beattie
a3a6238378 Complete renaming of apache2-mod-apparmor to apache2-mod_apparmor.
(part two of two)
2006-10-31 16:58:13 +00:00
Steve Beattie
9105494945 Rename apache2-mod-apparmor to apache2-mod_apparmor to conform to SUSE
style (even if it means a consistent name can't be used on debian :-/).
(part one of two).
2006-10-31 16:56:11 +00:00
Steve Beattie
ce1b32a773 This patch updates the change_hat(2) manpage, to better reflect the
(updated) error codes returned by the module and the libapparmor
function. It also converts the package to use the svn repo version as
the package version.
2006-10-31 16:49:36 +00:00
Steve Beattie
53f1a9cdc5 (from jmichael@suse.de)
This patch adds support for a 'debug' flag to the pam_apparmor pam
module, which will cause it to report more of its attempted operations
to syslog.
2006-10-31 16:33:02 +00:00
Steve Beattie
8cf0339798 Set svn:keywords proprty on added files from last commit. 2006-10-31 16:02:07 +00:00
Steve Beattie
36523dc023 This (updated) patch provides some limited configurability for
pam_apparmor pam module. The default behavior is to use the user's
primary groupname, and to fall back to the DEFAULT hat. You can change
this behavior by appending order=type1[,type2,type3] to the pam_apparmor
session line in the pam config for the application you're applying
pam_apparmor to. The available types are 'user' for username, 'group'
for groupname, and 'default' for DEFAULT. Thus, adding a configuration
entry like:

  session  optional       pam_apparmor.so order=group,default

is equivalent to the default behavior for pam_apparmor.

The parse_option code got a little more complicated than I'd hoped
it would be; I could have just had types by space delimited options to
module, but I thought I'd leave open the possibility of adding additional
options to the module ('debug' immediately comes to mind).

I disabled the short-circuit that occurs if EPERM is returned by
change_hat, as we can't detect that this is because there's no hats or
that the application is entirely undefined; if ECHILD makes it in then
we can re-enable this.

I am less convinced now that pam_apparmor needs to be 'optional' than
'required'; killing the session if none of the change_hats succeeds is
starting to feel like reasonable behavior.

---
 changehat/pam_apparmor/Makefile             |   11 +
 changehat/pam_apparmor/README               |   74 +++++++++++++
 changehat/pam_apparmor/get_options.c        |  157 ++++++++++++++++++++++++++++
 changehat/pam_apparmor/pam_apparmor.c       |  155 +++++++++++++++++++--------
 changehat/pam_apparmor/pam_apparmor.h       |   56 +++++++++
 changehat/pam_apparmor/pam_apparmor.spec.in |    2 
 6 files changed, 406 insertions(+), 49 deletions(-)
2006-10-31 15:54:47 +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
Seth Arnold
45768e06b1 set svn:keywords on new profile 2006-10-31 14:27:54 +00:00
Seth Arnold
888bb58330 lost profile, not sure why it wasn't checked in earlier 2006-10-31 14:26:09 +00:00
Steve Beattie
59f30353a1 This patch adds a 'make dist' target to all the apparmor packages, which
creates a tarball i(and specfile) similar to 'make tarball' except that
it uses svn export to pull the latest committed version rather than the
currently contents of the tree (as make tarball does). This is to make
pristine checkins to SUSE's autobuild system and the openSUSE
buildservice easier.
2006-10-31 14:08:34 +00:00