lkml.org 
[lkml]   [2003]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] new system call mknod64

On Sun, 20 Apr 2003, David S. Miller wrote:
>
> Such an abstract statement nobody can disagree with.
> Do you have an opinion in the mknod case?
>
> If you are trying to reach 64-bit dev_t's, why not
> use __u64 as the argument?

That's not correct either.

I will refuse a patch that just takes "dev_t", since I just think that's
stupid.

The kernel should get major and minor numbers. It's a sad mistake that
UNIX uses "dev_t" in the first place, and clearly the glibc interface to
user mode will have to be that historical braindamage. But we should
realize that the _right_ interface is keeping the <major, minor> tuple
explicit, and any new system call interfaces should be of that type.

Linus

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

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