Commit graph

287 commits

Author SHA1 Message Date
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
John Johansen
ee3f92d459 add test for the renaming of a directory over and existing directory. Remove the patch that does the same from for-mainline since it is no longer necessary 2007-03-23 17:33:25 +00:00
John Johansen
e981282bd4 add tests for mediate of the creation of the symlink link file. Remove the patch from for-mainline since it is no longer necessary 2007-03-23 17:31:32 +00:00
Matt Barringer
19efd07a71 Fixed formatting. 2007-03-22 20:42:36 +00:00
Matt Barringer
371f984e09 Initial checkin of the netdomain test suite. It requires
dejagnu (which, in turn, requires tcl).
2007-03-21 22:27:37 +00:00
Steve Beattie
a39a3b0410 Add tests to openat to test what names apparmor sees when a rename
occurs between the open(dir) and openat(file) calls.
2007-03-14 19:53:10 +00:00
Steve Beattie
94d4ac649e Fixup the openat.sh test as well. 2007-03-13 22:10:45 +00:00
Steve Beattie
063bb1b26e Fix up some of the patches after I messed them up by incorporating some of their changes. 2007-03-13 18:27:21 +00:00
Steve Beattie
30a2252adf Add some basic tests for openat(). Need to add tests that delete the
opened directory before the openat() call occurs.
2007-03-13 11:57:36 +00:00
Steve Beattie
3f32351793 Misc cleanups. 2007-03-13 11:32:04 +00:00