Re: [PATCH] new system call mknod64

viro
2003-04-21T18:15:32Z

On Mon, Apr 21, 2003 at 11:22:51AM -0700, Linus Torvalds wrote:

> One way to avoid the bug is to always keep all dev_t numbers in "canonical
> format". Which happens automatically if the interface is <major, minor>
> rather than a 64-bit blob.
>
> I personally think that anything that uses "dev_t" in _any_ other way than
> <major,minor> is fundamentally broken.

Do you consider internal use of MKDEV-produced constants broken?