Re: [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 <mszeredi@xxxxxxx>

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 <haveblue@xxxxxxxxxx>

-- Dave

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



Relevant Pages

  • Re: SBS 2003 Premium R2 server becomes more unstable, page file grows to enormous size
    ... Can you clarify as to the hot fix you are referring to please? ... Get the most recent fix, ... lanmanserver, lanmanworkstation, Netman, Nla, RasMan, RemoteAccess, ...
    (microsoft.public.windows.server.sbs)
  • Cannot get Recovery Console to load
    ... Let me clarify: ... So, should I just start backing up my stuff every two minutes just in case Windows craps out, which it does so ... well, so often, or does someone have a better suggestion so's I can fix my system without losing anything? ... Why can't I just go in and fix my computer?! ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: disable psaux
    ... > you can recreate it with 'man mknod' anytime, ... > switch to VT you can fix things easily from there.;) ...
    (comp.os.linux.misc)
  • Re: TTY 1 to 6 are garbled
    ... To clarify what I mean I've uploaded a screenshot, ... http://img510.imageshack.us/my.php?image=tty1xh3.jpg I run Debian testing. ... installing fglrx seems to fix it. ...
    (Debian-User)
  • Re: Linux 2.6.21-rc1
    ... yes - we know what the problem is (and will fix it): ... Just to clarify, this problem does not occur if HIGH_RES_TIMERS is off, ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)