Re: [PATCH] Ignore symlink traversal failures in grub-mount readdir

2013-11-28 Thread Andrey Borzenkov
В Sun, 10 Mar 2013 14:01:53 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 09.03.2013 17:47, Andrey Borzenkov wrote: > > > В Fri, 12 Oct 2012 17:09:54 +0100 > > Colin Watson пишет: > > > >> This is very much a temporary hack, so I'm sending it here for > >> discussion rather than just

Re: [PATCH] Ignore symlink traversal failures in grub-mount readdir

2013-03-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.03.2013 14:01, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 09.03.2013 17:47, Andrey Borzenkov wrote: > >> В Fri, 12 Oct 2012 17:09:54 +0100 >> Colin Watson пишет: >> >>> This is very much a temporary hack, so I'm sending it here for >>> discussion rather than just committing it even

Re: [PATCH] Ignore symlink traversal failures in grub-mount readdir

2013-03-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.03.2013 17:47, Andrey Borzenkov wrote: > В Fri, 12 Oct 2012 17:09:54 +0100 > Colin Watson пишет: > >> This is very much a temporary hack, so I'm sending it here for >> discussion rather than just committing it even though it's quite simple. >> >> r3036.1.15 introduced support for filling i

Re: [PATCH] Ignore symlink traversal failures in grub-mount readdir

2013-03-09 Thread Andrey Borzenkov
В Fri, 12 Oct 2012 17:09:54 +0100 Colin Watson пишет: > This is very much a temporary hack, so I'm sending it here for > discussion rather than just committing it even though it's quite simple. > > r3036.1.15 introduced support for filling in the attributes of files in > fuse_readdir. However,

Re: [PATCH] Ignore symlink traversal failures in grub-mount readdir

2012-10-15 Thread Dave Vasilevsky
> call_fill will then try to open them with > grub_file_open, and get GRUB_ERR_BAD_FILE_TYPE because it's ultimately a > directory not a regular file. It then causes the whole readdir call to > fail. The net effect is that if you, for example, have a symlink > anywhere in the top level of a files

[PATCH] Ignore symlink traversal failures in grub-mount readdir

2012-10-12 Thread Colin Watson
This is very much a temporary hack, so I'm sending it here for discussion rather than just committing it even though it's quite simple. r3036.1.15 introduced support for filling in the attributes of files in fuse_readdir. However, symlinks to directories are passed to call_fill with info.dir unse