About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 03 Nov 2002 - 21:32:40 GMT


On Sun, Nov 03, 2002 at 02:05:55PM -0500, tedsuo wrote:
>
>
>
> > Hi,
> > I'm a newbie to vserver and I still wondering what is S_CAPS. I know it
> > is used to limit some ressources but what can it limit ?
> >
> > Can you limit the memory usage or cpu usage ?
> >
> > I can't find the include/linux/capability.h file in the
> > kernel-2.4.19ctx-14.tar.gz tarball.
>
> /usr/include/linux/capability.h
> /usr/include/sys/capability.h

this can be a little confusing, because certain
distributions tend to separate the linux include
files into kernel-header packages ...

/usr/include/linux should contain the same as
 the include/linux part of the installed kernel ...

so if you change the kernel, it would be wise to
update the include files too ...

what I do, is making some link for /usr/include/linux
and /usr/include/asm to the currently installed
kernel (or more general to /usr/src/linux/include/linx
and /usr/src/linux/include/asm, where /usr/src/linux
is a symbolic link to /usr/src/linux-<version>)

best,
Herbert

> or do:
>
updatedb
> locate capability.h

best,
Herbert


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:43 GMT by hypermail 2.1.3