Commit graph

154 commits

Author SHA1 Message Date
John Johansen
6a3e6c68be update patches to 2.6.26 2008-07-02 20:24:33 +00:00
John Johansen
613471f84c fold in fix-named-transitions, update d_path-keep connected to not use MS_NOUSER 2008-05-27 11:35:44 +00:00
John Johansen
4be9cf08e7 update __d_path-keep-connected.diff 2008-05-27 11:32:19 +00:00
John Johansen
fe9ae3968b - d_path path fix
-  remove use of fgetattr
-  fix named transitions
2008-04-24 17:31:08 +00:00
John Johansen
d4856f9680 latest version of the patches, updated off of 2.6.25 dev 2008-04-19 23:08:39 +00:00
John Johansen
26e1f20262 rename-rlimit.diff to apparmor-rlimit.diff 2008-04-07 18:00:34 +00:00
John Johansen
2ed2bc67f0 merge patches down to start cleaning up 2008-04-07 17:55:03 +00:00
John Johansen
1daeaa9308 reorder patches in preparation for patch merging 2008-04-07 17:48:20 +00:00
John Johansen
6f65e6e8f5 A fix-dfa.diff
- rework how null transitions are done.

M    fix-profile-namespaces.diff
- fix namespaces to use the :namespace: syntax

A    cap-set.diff
- allow a profile to set a tasks capabilities similar to fscap

A    rlimits.diff
- allow control of a tasks rlimits
2008-04-06 18:50:37 +00:00
John Johansen
81d40bd281 Fix profile namespace to use :namespace: format, and allow for profiles
that don't begin with /
2008-04-05 05:40:15 +00:00
John Johansen
923fc92c7a M split_init.diff
- fix split init so that apparmor can be enabled at the boot command line.
  The init was broken so that apparmor couldn't be enabled unless enabled
  by default.

M    apparmor-fix-lock-letter.diff
- fix the lock letter being reported (z -> k) and update some comments

A    apparmor-create-append.diff
- fix semanitc bug where full write perms were needed to create a new file,
  where only append is needed.

M    fix-link-subset.diff
- partial fix of link subset
A    no-safex-link-subset.diff
- more link subset fixes

A    audit-log-type-in-syslog.diff
- fix audit type being missing when messages go to syslog.  This patch
  is needed for apparmor to work when messages go to syslog instead of
  auditd.  This patch can be dropped when upstream includes the
  patch to report audit number when reporting to syslog

A    audit-uid.diff
- report the fsuid to the log

A    hat_perm.diff
- setup to use hat permissions instead of just profile search for
  2.3

A    apparmor-failed-name-error.diff
- fix a bug where on failed name resolution no error or information is
  output.  It now reports info in the status field and includes an
  error_code

A    extend-x-mods.diff
- extend the x-mods in preparation of audit ctl

A    apparmor-secondary-accept.diff
- extend the dfa to have a second accept table used for audit ctl

A    apparmor-audit-flags2.diff
- extend apparmor to support audit ctl of individual permissions.
- finish fixing link-subset

A    fix-change_profile-namespace.diff
- Not applied, ignore
2008-03-13 16:36:38 +00:00
John Johansen
451deea533 M vfs-mkdir.diff
- pass vfsmnt param for cgroups

A    fix-user-audit.diff
- nothing

A    fix-link-subset.diff
- fix reporting of failed link subsets

A    apparmor-fix-lock-letter.diff
- fix the reported lock letter in apparmorfs/matching
- reverted audit request_mask back to requested_mask

A    apparmor-fix-sysctl-refcount.diff
- fix a refcount leak in sysctl audit
2008-02-09 14:07:22 +00:00
John Johansen
5a666b5d29 add missing apparmor.h to split_init.diff 2008-01-10 20:03:06 +00:00
John Johansen
46fefd63a1 - Add apparmorfs features file (may break this into a directory, sysfs style)
- do split init so apparmor is initialized in security_initcall
2008-01-10 18:05:50 +00:00
John Johansen
e0a1668ffd - fix regression in link pairs where exec_unsafe was not being considered
in the link subset tests
- update fgetattr fuse patch to use fuse_update_atts
2007-12-11 15:37:19 +00:00
John Johansen
55abf6aa0b add apparmor security goal documentation 2007-11-21 09:12:04 +00:00
John Johansen
3370223f9f Add fgetattr, fsetattr patches to the vfs patch series 2007-11-21 08:37:28 +00:00
John Johansen
a2de30e4ce Add missing patches 2007-11-13 16:57:45 +00:00
John Johansen
17ff3b0f58 - append
- lock
- null-complain-profile on missing mandatory profile bug
- parameter cleanup
- network mediation patch
2007-07-27 20:20:50 +00:00
John Johansen
dc3c7e0b20 refresh patches against latest git tree 2007-07-15 21:33:35 +00:00
John Johansen
1ee0a2c2d3 - early bailout of change_hat/change_profile when the new_profile
doesn't exist
- in do_change_profile rename profile to new_profile
- fix bug in early bail out
- don't audit change_hat/change_profile token
- remove unused AA_AUDITTYPE defines
2007-07-15 15:27:08 +00:00
John Johansen
51c0b3d60c update Signed-off-by 2007-06-26 22:14:37 +00:00
John Johansen
b40238fefe - refresh patches again newest git
- fold in change_profile patches
2007-06-26 21:29:09 +00:00
John Johansen
84bfd57edf change_profile
- fix use of cxt->previous_profile, was changing it instead of searching
  based off its name, which would could result in use of a stale
  profile
- remove locking of cxt->previous_profile since it is not longer needed
- refresh change_profile series of patches
2007-06-26 17:34:52 +00:00
Andreas Gruenbacher
670db9b0a4 - Remove obsolete patches.
- Fold proc_sys_setattr.diff into apparmor-lsm.diff.
2007-06-25 20:18:28 +00:00
John Johansen
b69788e3f8 latest revision of change_profile patch, collapse several patches into change_profile-3.diff 2007-06-23 08:06:31 +00:00
Andreas Gruenbacher
97df59697c Fold together the audit rework. 2007-06-22 18:52:49 +00:00
Andreas Gruenbacher
024b9d702a Ignore the AA_CHANGE_PROFILE flag when checking for link permission. 2007-06-22 18:45:17 +00:00
Andreas Gruenbacher
b1ee140da5 aa_find_profile2 is unused now. 2007-06-22 18:02:30 +00:00
John Johansen
4b7150f21b update change_profile patches 2007-06-21 18:27:17 +00:00
John Johansen
4a844e8d33 convert change_profile to use the interface lock - this is untested and likely broken 2007-06-19 17:11:32 +00:00
John Johansen
2b59d6f9ac change_profile refactored and mostly working 2007-06-15 18:44:09 +00:00
Andreas Gruenbacher
807c9147d2 Proposed revert / cleanup for logging permission masks 2007-06-11 11:48:05 +00:00
John Johansen
4d14203e90 Add auditing of x modifiers and split mask into requested and denied masks 2007-06-08 21:48:30 +00:00
Andreas Gruenbacher
7c961abd52 Make this message more consistent with the rest. 2007-06-06 08:06:20 +00:00
Andreas Gruenbacher
c2eb05298d Cosmetic change. 2007-06-06 07:23:59 +00:00
John Johansen
3669525062 refresh patches against latest kernel 2007-06-05 17:52:35 +00:00
John Johansen
9f508f8c86 remove patches from series that shouldn't be there 2007-05-25 14:50:55 +00:00
Andreas Gruenbacher
c77be398f7 Add first steps to cleaning up audit. 2007-05-25 12:35:47 +00:00
John Johansen
ae94aaec9e - update apparmor-audit.diff to change comment reserving 1500-1599 from
LSPP to AppArmor.  And add to patch comment explaining the change.
- refresh patches against latest git
2007-05-23 16:39:31 +00:00
John Johansen
ac05361294 update explanation of why the lockdep irq inversion is false. NOTE: it would be correct on SMP systems if the kernel could take a dead tasks lock. 2007-05-14 06:59:11 +00:00
Andreas Gruenbacher
760dc14a12 This shoul dbe slightly cleaner 2007-05-13 05:05:59 +00:00
John Johansen
a8bb3dcff4 add header to apparmor-locking-2.diff 2007-05-12 22:13:13 +00:00
John Johansen
5ec8f8d16a merge lockdep patching into a single locking patch to make it easier to
review as a single entity.
2007-05-12 22:01:04 +00:00
Andreas Gruenbacher
8e3e7cdac9 Comment cleanups. Reorder and reenable the NOT YET patches that would make sense to push out, and clean them up a little. 2007-05-12 21:50:15 +00:00
John Johansen
284309bcce Update lockdep patch to handle aa_release irq false irq inversion
reorder patches
2007-05-12 21:40:54 +00:00
John Johansen
318529da54 remove kernel-doc_book comment header styles from comments that shouldn't have them 2007-05-12 19:09:10 +00:00
Andreas Gruenbacher
b8d555bc77 Some new rejects; some line offsets 2007-05-12 18:28:28 +00:00
Andreas Gruenbacher
3aa2d7989a Comment out apparmor_inline2.diff 2007-05-12 18:13:52 +00:00
John Johansen
c4a9f21fa8 rediff vfs-notify_change and remove_suid by removing changes to
should_remove_suid into a seperate patch.  The should_remove_suid
patch isn't needed so it should probably be removed.

Add first attempt at using lockdep typing to get rid of false
irq inversion messages.
2007-05-12 18:09:56 +00:00