Re: High UID support for Linux

Pavel Machek (pavel@bug.ucw.cz)
Tue, 24 Nov 1998 18:19:44 +0100


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/