Replaced vsh with a C implementation of Andy's replacement for util-vserver-pl. The...
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 1 Dec 2009 23:24:48 +0000 (23:24 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 1 Dec 2009 23:24:48 +0000 (23:24 +0000)
<sliceid> /bin/sh'

Makefile.am
util-vserver-pl.spec

index 32c7ab0..4cb1e63 100644 (file)
@@ -25,6 +25,8 @@ python_vserverimpl_la_LDFLAGS =       -module -avoid-version
 src_vip6_autod_SOURCES =       src/vip6-autod.c
 src_vip6_autod_LDADD =         -lvserver -lnl
 
+src_vsh_SOURCES =              src/vsh.c
+
 noinst_HEADERS =               src/planetlab.h
 
 man_MANS =                     man/vsh.8
@@ -38,10 +40,9 @@ pyexec_DATA =                        python/vserver.py \
 sbin_SCRIPTS =                 python/bwlimit \
                                python/disklimit \
                                scripts/vuseradd \
-                               scripts/vuserdel \
-                               scripts/vsh
+                               scripts/vuserdel
 
-sbin_PROGRAMS =                        
+sbin_PROGRAMS =                        src/vsh 
 
 sysv_SCRIPTS =                 
 
index 0d1771b..915c77b 100644 (file)
@@ -97,8 +97,6 @@ rm -fr %{buildroot}
 %{_sysconfdir}/init.d/vip6-autod
 
 %attr(4755,root,root) %{_sbindir}/vsh
-%attr(4755,root,root) %{_sbindir}/vserver_suid_wrapper
-
 /bin/vsh
 %{_mandir}/man8/vsh.8*