[lkml]   [2007]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] fix sys_mknodat breakage from r/o bind mounts
On Wed, 2007-09-26 at 00:58 +0200, Miklos Szeredi wrote:
> From: Miklos Szeredi <>
> mknod("foo", 0644) returns EINVAL, even though it should succeed.

Just to clarify, this is for when we use mknod to create normal,
non-device files, right? Your fix looks very correct to me.

I'm curious, do you have a normal program that uses mknod(2) this way?
I'd like to add it to my test scripts.

Acked-by: Dave Hansen <>

-- Dave

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-09-26 01:17    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean