John Johansen
0018491c1e
Add basic changeprofile re test and enable changeprofile tests by default
2009-08-21 20:39:45 +00:00
John Johansen
0320e0e849
Update changeprofile tests
...
Have the parser skip the caches
2009-08-20 23:46:48 +00:00
John Johansen
c80b2c9766
Fix library resolution when linux-vdso.so.1 is used instead of
...
linux-vdso32.so.1 or linux-vdso64.so.1
2009-08-20 12:33:29 +00:00
John Johansen
ed8530d9b6
start of some changeprofile tests
2009-08-20 04:13:08 +00:00
John Johansen
4f3e6daae9
Fix the clone regression test so that the correct end of the stack is
...
used.
2009-07-28 02:17:10 +00:00
John Johansen
100d791e84
Update mount test to allow for cability sys_admin, allowing mount and unmount
2009-07-08 21:35:28 +00:00
Steve Beattie
e18d431b0e
Resurrect a random profile generator for stress testing the parser.
...
Needs love in the form of enhancements to support regexs, all the added
features in upcoming 2.3 release, etc.
Could also stand a bit of refactoring to make the ruby program not suck
up so much ram by writing out profiles as things go along rather than
generating a bunch of large objects and keeping them around.
2008-11-26 22:16:48 +00:00
Steve Beattie
0ebee05092
Fix a compilation error on ubuntu; wondering if there's older distros
...
where glibc doesn't provide /usr/include/dirent.h.
Also fixed a compilation warning around fprintf sizes.
2008-10-08 19:43:28 +00:00
John Johansen
748e398c21
- various patches and cleanups from kees@ubuntu.com
2008-06-11 20:19:36 +00:00
John Johansen
3897c52414
update link_subset test, to include child x
2008-06-04 05:59:11 +00:00
Steve Beattie
7a751a53f6
Not sure why the close of stdout and redirection of the pipe was here,
...
given that the following write was to the specific file descriptor in
the pipe.
2008-04-17 22:09:05 +00:00
John Johansen
3bbca91391
fix fatal errors so that they don't exit with an exit code of 0 when no
...
previsous tests failed. Instead have fatal errors always exit with
a exit code of 127
2008-03-28 07:17:14 +00:00
John Johansen
6b6c045fbf
Update ptrace test
...
- fix some races that could lead to tests randomly failing
- extend tests to test more combinations
2008-03-27 17:27:39 +00:00
John Johansen
e103873eb2
merge over r1151 - update to exec.sh test which allows it to run on
...
64 bit platforms using /lib64
2008-03-27 01:16:40 +00:00
John Johansen
db7fe20a54
Update the link subset test to reflect the newer link semantics
...
- safe exec is no longer considered a subset of unsafe exec
- add tests for pix permission to link subset
2008-03-08 10:23:19 +00:00
John Johansen
ed4e639d7e
make longpath a default test
2008-03-08 04:17:40 +00:00
John Johansen
7e69d3c91c
add more missing files
2008-03-08 02:49:17 +00:00
John Johansen
66276373cd
add missing link subset tests
2008-02-18 11:19:11 +00:00
John Johansen
bad1c12112
remove patches for tests as they are now applied
2007-12-23 01:17:23 +00:00
John Johansen
781e6d1882
Add the ability to mark as test as a known_fail or known_pass,
...
which means the failure of the tests is known. So known_fail
means the test should fail but is known to succeed and similar
for known_pass.
This allows tests to be marked as having a known problem so that
regressions are useful to those less familure with what is failing
2007-12-23 01:10:29 +00:00
John Johansen
5d51c46fd6
make the link subset test livable
2007-12-23 01:07:16 +00:00
John Johansen
7742386a84
fix_changehat_fork.patch
2007-12-23 01:06:49 +00:00
John Johansen
ee47e61713
changehat-no-hats.patch
2007-12-23 01:06:30 +00:00
John Johansen
477e460858
net-raw.patch
2007-12-23 01:06:09 +00:00
John Johansen
2c7d194499
network-base.patch
2007-12-23 01:04:46 +00:00
John Johansen
a75127d9aa
link_exist.patch
2007-12-23 01:04:28 +00:00
John Johansen
fb036e3296
openat.patch
2007-12-23 01:04:12 +00:00
John Johansen
d447b3b4e4
chdir.patch
2007-12-23 01:03:58 +00:00
John Johansen
77dc3a81f6
access.patch
2007-12-23 01:03:39 +00:00
John Johansen
b5d54384f0
more updates to prolog-inc
2007-12-23 01:03:27 +00:00
John Johansen
247a887a95
sysctl.patch
2007-12-23 01:02:50 +00:00
John Johansen
25c06ea4fb
change_hat_profile_access.patch
2007-12-23 01:02:35 +00:00
John Johansen
7cb38c90aa
basename.patch
2007-12-23 01:02:15 +00:00
John Johansen
355b968257
confined.patch
2007-12-23 01:02:00 +00:00
John Johansen
7be938573e
link_perms.patch
2007-12-23 01:01:24 +00:00
John Johansen
5fb7c2cac6
dir-files.patch
2007-12-23 01:00:56 +00:00
John Johansen
93d88ebfd4
ptrace.patch
2007-12-23 01:00:33 +00:00
John Johansen
5b61f80b97
deleted-open-revalidate.patch
2007-12-23 01:00:19 +00:00
John Johansen
c843dbc392
exec_qual.patch
2007-12-23 01:00:00 +00:00
John Johansen
d54462a550
vfs-mnt.patch
2007-12-23 00:59:37 +00:00
John Johansen
98ce614c3b
start of 10.3 test update
2007-12-23 00:58:47 +00:00
John Johansen
a0efe08a97
Add patches to update new tests and deal with the new directory behavior
...
which doesn't automatically mask of MAY_WRITE in inode_permission.
openat.patch - comment of o_creat bug, remove exit before last test
chdir.patch - add trailing /, give profile read permission to the directory
access.patch - give profile dir read permissions, update test rwx (r) to
fail since w - perm is no longer masked off.
2007-05-02 22:35:33 +00:00
Steve Beattie
53c97e6696
Add a testcase for fchdir, and test steps to verify we didn't break
...
normal chdir/fchdir. Minor formatting changes to chdir.c.
2007-04-30 18:40:42 +00:00
Steve Beattie
edda52258e
Fix up a few of the testcase patches to take into account other changes that have happened, and disable some patches that have already been applied.
2007-04-19 11:40:54 +00:00
John Johansen
789c323bfe
Update patches for mainline branch of AppArmor
...
- includes patches to handle access to change_hat /proc/<pid>/attr/current
being a parser rule
- the working updated ptrace patches
- update for the change in sysctl behavior from cap_sys_admin to profile
entries
2007-04-18 21:00:11 +00:00
John Johansen
a425d5e150
fix genrunscript so that the generated run script produced when using -r will correctly handle more than a single argument
2007-04-18 20:53:46 +00:00
Matt Barringer
6c06fbe63c
2007-04-08 07:54:29 +00:00
Matt Barringer
51805b5c25
Getting the netdomain tests working on the actual netdomain machine
2007-04-08 07:52:49 +00:00
Jesse Michael
0d2e46088b
need these fixes for the regression tests to run on ubuntu
2007-03-24 00:59:27 +00:00
Steve Beattie
a63b132ea2
Add a testcase for a writeonly link (wl -> w)
2007-03-23 19:10:45 +00:00