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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 19 Dec 2003 - 03:24:56 GMT


On Thu, Dec 18, 2003 at 07:03:52PM -0700, Grant Grundler wrote:
> On Fri, Dec 19, 2003 at 02:00:35AM +0100, Herbert Poetzl wrote:
> ...
> > I agree from a technical point of view, but not from
> > the developer's perspective (who just want's a syscall
> > for whatever arch independant use ...)
>
> sorry - an "arch independent syscall" sounds like an oxymoron to me.

that's probably why most of the syscalls are
implemented outside of linux/arch/* (about 250)

> > > Binary compatibility with other OS's is an arch specific problem.
> >
> > for sure it is, but I don't see a relation there ...
>
> ok
>
> > > In our case, any chance of support for HPUX would
> > > require reserving HPUX syscall numbers and provide
> > > appropriate wrappers in the kernel to support it.
> >
> > so where is the problem, having an additional offset/info
> > in the macro defining the syscall can handle that, why
> > has it to be a different numbering for 'linux' syscalls?
>
> Linux kernel doesn't need of implement any given syscall the same
> way for each arch.

sure not, but gettimeofday for example, will
return the current time, and this usually does
not need an architecture specific interface
(for sure it will require an arch specific
implementation ;)

> gettimeofday/settimeofday are popular ones to re-implement
> in glibc with alternative kernel support. performance sensitive
> "syscalls" are subject to a high level of customization
> given the resources and interest.
>
> > > Just use the right header files and it should work on any arch.
> >
> > right, but getting one syscall for every arch, seems
> > like a jigsaw puzzle, as the original thread shows ...
>
> ah yes. Open source is self correcting in that regard.
> When someone decides it's important to have vserver syscall
> implemented on parisc, they can demonstrate it works and
> show it's useful.

yes ;)

> If it's really arch independent, then implementing it
> should be as easy as picking some random unused __NR_xxx
> to test with and enabling the kernel config options, right?

well, yeah, that is what I did to add the parisc(64)
vserver support, except that it doesn't have
a kernel config option yet ;)

> BTW, I visited http://www.linux-vserver.org/ and didn't feel
> I understood why it's more useful than say, user mode linux
> (another form of virtualization) or vPARs.

hmm, for UML you'll need a kernel for each vps,
which eats up a lot of resources, where vserver
even allow you to share the files between vps

regarding vPARs, I didn't know that they work
for Linux yet, can you give some hints on that?

> But I'm no security expert, just an IO/driver hacker.

security is just one aspect of this project ...
IO/driver hacking is fun sometimes ...

best,
Herbert

> grant
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 Fri 19 Dec 2003 - 03:26:06 GMT by hypermail 2.1.3