bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fchmodat.c & lchmod.c - O_PATH & AT_EMPTY_PATH on older kernels


From: Lance Fredrickson
Subject: fchmodat.c & lchmod.c - O_PATH & AT_EMPTY_PATH on older kernels
Date: Wed, 8 Jun 2022 14:27:51 -0600
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

Compiling tar on my embedded device running 2.6.36.4 broke with version 1.33. Turns out it was a gnulib update they did.

AT_EMPTY_PATH became available in kernel 2.6.39
https://man7.org/linux/man-pages/man2/link.2.html

Here is some discussion
https://github.com/koreader/koreader-base/pull/1288
https://github.com/koreader/koreader/issues/7140

Patch I'm currently using though just a hack and not a true fix.
https://github.com/koreader/koreader-base/blob/master/thirdparty/tar/tar-1.33-remove-o_path-usage.patch

Would be nice to see a fix upstream before more projects update gnulib and the issue becomes broader.

thanks,
Lance Fredrickson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]