On Mon, Jan 15, 2018 at 11:07:33PM +0100, Holger Hoffstätte wrote: > On 12/29/17 18:42, Greg KH wrote: > > On Fri, Dec 29, 2017 at 06:38:15PM +0100, François Valenduc wrote: > >> Le 29/12/17 à 18:32, Greg KH a écrit : > >>> On Fri, Dec 29, 2017 at 06:18:18PM +0100, François Valenduc wrote: > >>>> No solution found to the permissions on tools/objtool/sync-check.sh ? > >>> Is the permission not correct in the repo? Is it not correct in the > >>> patch I sent out in response to this? > >>> > >>>> git or patch is not smart enough for that ? It's obviously extremely > >>>> easy to solve the problem, but I find that rather strange. > >>> git and patch handle it just fine, quilt has issues, which I worked > >>> around very easily. Are you having problems with the git tree as-is? > >>> > >>> thanks, > >>> > >>> greg k-h > >> > >> It seems I messed up with enigmail. So in case you couldn't read my > >> reply, I send it again. > >> > >> I didn't see the posts of Toralf Forster before replying to your > >> annoucement. But my problem is exactly the same. I extracted the patch > >> from git (with git diff v4.14.9..v4.14.10). The permissions are also > >> wrong if I download the patch from kernel.org. In both cases, > >> sync-check.sh is not executable. > > > > That's fine, but when you apply the patch, you need to keep the file > > mode. So be careful as to how you apply it. > > > > I just got told that there's a patch in Andrew's tree that fixes this > > (it doesn't rely on the mode of the file.) Hopefully it gets into > > Linus's tree soon and then I can queue it up into the stable tree to > > help people who don't only use git. > > This is now in 4.15-rc8 as commit 0f908ccbeca aka: > "tools/objtool/Makefile: don't assume sync-check.sh is executable" > > I've been using it since it came out, would be great to add that > to all stable series where 3bd51c5a371de was applied. Thanks, I'll queue it up for the next round after this one. Then the gentoo users will be a bit happier :) greg k-h