diff options
author | dsmith <dsmith> | 2007-08-14 19:46:54 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2007-08-14 19:46:54 +0000 |
commit | bcde1b029b8c27e4328a90c1cac7028767dbd154 (patch) | |
tree | d532218e539ba7b836c53649b699bdc099d0797b /stp_check.in | |
parent | 98aab4894c500fd1c387e3619dc8aa2c096a8b89 (diff) | |
download | systemtap-steved-bcde1b029b8c27e4328a90c1cac7028767dbd154.tar.gz systemtap-steved-bcde1b029b8c27e4328a90c1cac7028767dbd154.tar.xz systemtap-steved-bcde1b029b8c27e4328a90c1cac7028767dbd154.zip |
2007-08-14 David Smith <dsmith@redhat.com>
Merge from setuid-branch. Changes also by Martin Hunt
<hunt@redhat.com>.
* Makefile.am: Added staprun_funcs.c and cap.c to
staprun_SOURCES. Added -lcap to staprun_LDADD. Removed
stp_check reference. Added stapio program. Staprun is now
setuid.
* Makefile.in: Rebuilt.
* configure.ac: Version increase to 0.6 and checks for libcap
availability. Removed stp_check reference.
* configure: Regenerated.
* stp_check.in: Removed.
* systemtap.spec.in: Version increase to 0.6-1 and added
BuildReq for libcap-devl (and removed sudo requirement).
Added %pre script to create new groups. Staprun is now
setuid.
* NEWS: Added info on new security model.
* INTERNALS: Removed sudo reference.
* README.security: New file.
* main.cxx (main): Make sure module name isn't too long.
* hash.cxx: Moved MODULE_NAME_LEN define to hash.h.
* hash.h: Moved MODULE_NAME_LEN define here from hash.cxx.
* buildrun.cxx (run_pass): No longer runs staprun with "sudo".
* stap.1.in: Removed sudo references and added information about
the stapdev/stapusr groups.
* staprun.8.in: Added information about module detaching and
attaching. Removed sudo references and added information
about the stapdev/stapusr groups. Removed reference to
staprun needing to be run as root. Removed reference to
removed '-u USERNAME' option.
* .cvsignore: Removed stp_check and added stapio and stap_merge.
Diffstat (limited to 'stp_check.in')
-rwxr-xr-x | stp_check.in | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/stp_check.in b/stp_check.in deleted file mode 100755 index 5858ac55..00000000 --- a/stp_check.in +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -# speed up grep and friends -LANG=C -export LANG - -RELAYFS_FS=`grep relayfs_create_dir /proc/kallsyms` -RELAY=`grep relay_open /proc/kallsyms` -if [ -n "$RELAY" -a -z "$RELAYFS_FS" ] -then - MOUNT=`mount -t debugfs | grep "/sys/kernel/debug"` - if [ "$MOUNT" == "" ] - then - mount -t debugfs debugfs /sys/kernel/debug - fi - MOUNT=`mount -t debugfs | grep "/sys/kernel/debug"` - if [ "$MOUNT" == "" ] - then - exit 1 - fi - exit 0 -fi - -if [ ! -d "/mnt/relay" ] -then - mkdir /mnt/relay -fi - -MOUNT=`mount -t relayfs | grep "/mnt/relay"` -if [ "$MOUNT" == "" ] -then - mount -t relayfs relayfs /mnt/relay -fi - -RELAYFS_FS=`grep relayfs /proc/kallsyms` -if [ -z "$RELAYFS_FS" ] -then - exit 1 -fi |