lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f55850a70611231859k57a96dd2l1df11a26f10caf1f@mail.gmail.com>
Date:	Fri, 24 Nov 2006 10:59:35 +0800
From:	"Zhao Xiaoming" <xiaoming.nj@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: filp_open fail with ENOTDIR in kernel 2.6.16

Sorry for the disterbing. Although the problem wasted me half a day, I
just found the key problem and solved it. It's caused by improper
parameter passing during system calls.
Thanks.

On 11/24/06, Zhao Xiaoming <xiaoming.nj@...il.com> wrote:
> I'm porting some kernel module codes from kernel 2.4 to 2.6. The codes
> used to work well under 2.4 kernel. In 2.6 environment, the problem is
> filp_open("/root/test.txt",O_RDONLY,0) always return -20 (ENOTDIR).
> But the regular file "/root/test.txt" does exist. What's wrong?
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ