lkml.org 
[lkml]   [1998]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: High UID support for Linux
Hi!

> Your real problems will be system calls. There isn't enough space in
> some of the structs. Sign extension and trunctuation will cause great
> trouble.
>
> The system call problem is easy; we simply create new system calls that
> return new structures, and let glibc handle the problem of deciding
> whether or not the new system calls are present. The structure which
> glibc exports to the user applications fortunately already supports
> 32-bit uid's.

This would mean new stat() system call, would not it? You probably
want to extend st_size to 64 bits and maybe even expand st_rdev. Talk
to jj@sunsite.ms.mff.cuni.cz, he already did some of this.

> The only problem them would be for people using libc5 or a.out
> libraries. They would simply not be able to take advantage of > 16bit
> uids on their system.

...which does not hurt that much...

Pavel
--
I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.361 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site