From: Herbert Pötzl (herbert_at_13thfloor.at)
Date: Thu 31 Jul 2003 - 19:36:54 BST
On Thu, Jul 31, 2003 at 06:19:58PM +0200, Enrico Scholz wrote:
> Herbert Pötzl <herbert_at_13thfloor.at> writes:
>
> > [... C implementation of vserver + automake buildsystem ..]
> > why don't you start a rewrite of the tool package ...
> > I am willing to test the functionality ...
>
> Ok; a first try is available at
>
> http://www-user.tu-chemnitz.de/~ensc/vserver/vserverx-0.23.tar.bz2
hmm, seem to work fine for me ...
the following suggestions:
- use -I/usr/src/linux/include where CAPs and syscalls are compiled
- get rid of the excessive automake copyrights of yours
(I counted 9 in Makefile for example ...)
- fix the format issues I reported in my last reply ...
good work!
best,
Herbert
> Large parts (but not all) were C'ified (C99 compiler prefered, but gcc
> 2.95 works too). The new buildsystem required some structural changes
> (*.cc -> *.c renamings, new directories, ...) so there is not very much
> common with the original vserver-0.23 package on the first glance.
>
> But the C++ -> C transition itself was mainly the removal of 'extern
> "C"' and the rearrangement of variable declarations.
>
> Else, I have not changed the functionality and the only improvement
> is a 'libvserver.a' library which provides the syscall-wrappers. To
> avoid conflicts, there should be chosen more unique names but to keep
> compatibility I am using the old ones (e.g. 'has_chrootsafe()').
>
>
>
>
> Enrico