Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420644
| From | dongke di <didongke@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | kern_path() returns error in kernel 4.4 |
| Date | 2016-06-13 11:20 +0200 |
| Message-ID | <rJwci-4dU-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 ?
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
kern_path() returns error in kernel 4.4 dongke di <didongke@gmail.com> - 2016-06-13 11:20 +0200 Re: kern_path() returns error in kernel 4.4 Al Viro <viro@ZenIV.linux.org.uk> - 2016-06-13 17:50 +0200
csiph-web