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-next>] [day] [month] [year] [list]
Message-ID: <CAN93O9pogTCwAwz=QWY19SnARUL=heP7EB7ENzxvNaA5MevNDQ@mail.gmail.com>
Date:	Mon, 13 Jun 2016 17:12:27 +0800
From:	dongke di <didongke@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: kern_path() returns error in kernel 4.4

struct path path;
int r = kern_path( "/tmp/abc.txt", LOOKUP_FOLLOW | LOOKUP_PARENT, &path );

The file abc.txt does not exist.

On Ubuntu 14.04 ( kernel 3.13 ), r is zero (succed).
On Ubuntu 16.04 ( kernel 4.4 ), r is -2 ( fail).

Is it a bug or other else ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ