Andrei Gherzan
a3e5e30f9a
configure: Clarify libfuse version
...
Many distros package libfuse's versions as different packages. For
example, Ubuntu (jammy for example) has a package for libfuse2 and
libfuse3. Now the issue is that libfuse-dev pulls is libfuse2 while
there is no libfuse2-dev. This patch clarifies the version of fuse in
the configure error.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-07-13 12:14:39 +02:00
Andrei Gherzan
cb91bc9930
utils: Add missing include on limits.h
...
This happens to not be an issue with glibc because it gets indirectly
included via dirent.h:
.. /usr/include/dirent.h
[...]
..... /usr/include/linux/limits.h
When using the musl libc implementation, that is not the case anymore
and the build fails.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-07-13 12:05:29 +02:00
Andrei Gherzan
acbeef1bdf
utils: Deduplicate and reorder includes in utils.h
...
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-07-13 12:04:13 +02:00
Giuseppe Scrivano
84240e9825
Merge pull request #358 from giuseppe/tag-1.9
...
NEWS: tag 1.9
2022-06-10 11:34:18 +02:00
Giuseppe Scrivano
c23f93617f
configure.ac: back to -dev
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-06-10 10:59:27 +02:00
Giuseppe Scrivano
51592ea406
NEWS: tag 1.9
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.9
2022-06-10 10:59:02 +02:00
Giuseppe Scrivano
6221dede8b
Merge pull request #357 from Tuupertunut/main
...
Refactor and fix rename code
2022-06-08 21:52:44 +02:00
Tuupertunut
6a0de4a5b0
Refactor and fix rename code
...
- Create source whiteout only when needed
- Fix missing source whiteout when destination is whiteout
- Try the EXCHANGE trick also when NOREPLACE is set
Signed-off-by: Tuupertunut <tuupertunut@outlook.com>
2022-06-08 21:35:27 +03:00
Giuseppe Scrivano
918e19cc50
Merge pull request #355 from flouthoc/fix-rename-noreplace
...
main: set correct value of `RENAME_NOREPLACE` ifndef `RENAME_EXACHANGE`
2022-06-08 08:12:43 +02:00
Aditya R
b010054b22
main: set correct value of RENAME_NOREPLACE ifndef RENAME_EXACHANGE
...
Set correct value of RENAME_NOREPLACE when RENAME_EXCHANGE is not
already defined i.e use `1 << 0` instead of `1 << 2` which seems
incorrect.
Reference: f2906aa863/include/uapi/linux/fs.h (L50-L52)
Signed-off-by: Aditya R <arajan@redhat.com>
2022-06-08 00:31:14 +05:30
Daniel J Walsh
878cb0ccad
Merge pull request #352 from giuseppe/ignore-eoverflow
...
main: ignore EOVERFLOW when copying xattrs
2022-06-01 15:16:46 -04:00
Giuseppe Scrivano
f3f993f157
main: ignore EOVERFLOW when copying xattrs
...
the kernel returns EOVERFLOW if the rootid cannot be mapped in the
current user namespace when reading the file capabilities
(security.capabilities xattr).
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-06-01 11:40:19 +02:00
Giuseppe Scrivano
e07e1f09a1
Merge pull request #350 from Tuupertunut/main
...
Fix setting attributes on file without permissions
2022-05-27 13:50:24 +02:00
Tuupertunut
01f49e9d4b
Fix setting attributes on file without permissions
...
Signed-off-by: Tuupertunut <tuupertunut@outlook.com>
2022-05-27 03:50:18 +03:00
Giuseppe Scrivano
dedd8410ed
Merge pull request #347 from giuseppe/fix-ci
...
.github: fix git clone
2022-05-02 10:33:23 +02:00
Giuseppe Scrivano
2b54e1fbcc
.github: fix git clone
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-05-02 10:02:59 +02:00
Giuseppe Scrivano
0508524bdd
Merge pull request #346 from AkihiroSuda/riscv64
...
release.yaml: add riscv64 build
2022-05-02 09:55:53 +02:00
Akihiro Suda
3dfbe2d061
release.yaml: add riscv64 build
...
Also simplify buildx setup
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-05-01 02:25:30 +09:00
Akihiro Suda
c2751bd5ff
Containerfile.cross: refactor + support riscv64
...
- Switch away from tonistiigi/binfmt/cross.sh to tonistiigi/xx .
cross.sh was removed in tonistiigi/binfmt@99c76af6 .
- Remove dependency on QEMU user mode emulation
- Switch away from debian:10 to ubuntu:22.04, for supporting riscv64
- Clean up unneeded deps
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-05-01 02:20:52 +09:00
Giuseppe Scrivano
8ec0b4fb57
Merge pull request #342 from black-desk/main
...
Add .gitignore
2022-02-21 09:37:27 +01:00
black-desk
6bf129fec4
Add .gitignore
...
Signed-off-by: black-desk <clx814727823@gmail.com>
2022-02-18 10:59:37 +08:00
Giuseppe Scrivano
dab543801d
Merge pull request #338 from giuseppe/fix-lookup-symlink-lower
...
main: fix lookup if underlying file is a symlink
2022-02-01 11:31:02 +01:00
Giuseppe Scrivano
dc02ca1a81
configure.ac: back to dev
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-02-01 10:55:47 +01:00
Giuseppe Scrivano
d01bdd73b6
NEWS: tag 1.8.2
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.8.2
2022-02-01 10:55:46 +01:00
Giuseppe Scrivano
592e50e271
main: fix lookup if underlying file is a symlink
...
fix lookup if the underlying file is a symlink, while it is a
directory on the upper layer.
Closes: https://github.com/containers/fuse-overlayfs/issues/337
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-02-01 10:55:46 +01:00
Giuseppe Scrivano
dcfadc012e
tests: use centos:stream8
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-02-01 09:54:20 +01:00
Daniel J Walsh
8c4159b55a
Merge pull request #335 from giuseppe/tag-1.8.1
...
NEWS: tag 1.8.1
2022-01-18 06:10:52 -05:00
Giuseppe Scrivano
551eb8cf12
configure.ac: go back to dev
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-01-17 17:53:58 +01:00
Giuseppe Scrivano
87fca95f57
NEWS: tag 1.8.1
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.8.1
2022-01-17 17:53:42 +01:00
Giuseppe Scrivano
0476f8464b
main: fix type for ioctl
...
fuse_reply_ioctl expects a int.
Closes: https://github.com/containers/fuse-overlayfs/issues/330
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-01-17 17:51:10 +01:00
Giuseppe Scrivano
6d4dbb88fc
main: fix code style
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-01-17 17:03:45 +01:00
Giuseppe Scrivano
59816ac69d
main: always lookup the parent directory
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-01-17 17:03:14 +01:00
Giuseppe Scrivano
2a766e3912
main: use full path to detect existing node
...
Closes: https://github.com/containers/fuse-overlayfs/issues/333
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-01-17 16:57:42 +01:00
Giuseppe Scrivano
d61aef9682
Merge pull request #334 from frecks/main
...
Fix minor grammatical error in README.md
2022-01-14 09:13:19 +01:00
Andrew Freckelton
c4b299e77d
Fix minor grammatical error in README.md
2022-01-13 16:41:19 -05:00
Daniel J Walsh
ce9ed6c2bc
Merge pull request #331 from giuseppe/release-1.8
...
NEWS: tag 1.8
2021-12-21 10:08:51 -05:00
Giuseppe Scrivano
ae4bacdfab
configure.ac: prepare new dev cycle
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-12-21 15:54:18 +01:00
Giuseppe Scrivano
65d3f3110f
NEWS: tag 1.8
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.8
2021-12-21 15:54:03 +01:00
Daniel J Walsh
bafeebf02a
Merge pull request #329 from giuseppe/honor-user-overlay
...
main: honor user.overlay. xattrs
2021-11-22 10:14:57 -05:00
Giuseppe Scrivano
5f43fb17ac
main: honor user.overlay. xattrs
...
native overlay uses user.overlay to store the overlay metadata instead
of trusted.overlay, let's honor it as well.
Closes: https://github.com/containers/fuse-overlayfs/issues/328
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-11-22 11:10:10 +01:00
Daniel J Walsh
85412dfffc
Merge pull request #323 from giuseppe/add-flag-to-disable-acl
...
main: add a mount flag to disable ACLs
2021-09-15 13:28:16 -04:00
Giuseppe Scrivano
30791df55f
main: add a mount flag to disable ACLs
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-09-15 12:22:58 +02:00
Giuseppe Scrivano
b47bccfc0d
Merge pull request #319 from giuseppe/tag-1.7.1
...
NEWS: tag 1.7.1
2021-08-10 09:54:07 +02:00
Giuseppe Scrivano
7390d99068
configure.ac: prepare new dev cycle
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-08-10 08:59:51 +02:00
Giuseppe Scrivano
0d53568a13
NEWS: tag 1.7.1
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.7.1
2021-08-10 08:59:01 +02:00
Daniel J Walsh
c2a2b927f1
Merge pull request #317 from giuseppe/fix-capable-check
...
main: fix check for FUSE_CAP_POSIX_ACL
2021-08-09 12:38:20 -04:00
Giuseppe Scrivano
b5967c7e8c
main: fix check for FUSE_CAP_POSIX_ACL
...
fix the check for FUSE_CAP_POSIX_ACL. commit
0a659e75ef61456bda1fa4b0b30117296f66f4fe introduced the issue.
It is needed to run fuse-overlayfs on RHEL 7 kernels.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-08-09 11:42:33 +02:00
Daniel J Walsh
4683d9e4c5
Merge pull request #316 from giuseppe/statx-einval
...
direct: treat statx EINVAL as ENOSYS
2021-08-04 15:55:11 -04:00
Giuseppe Scrivano
25432c4b52
direct: treat statx EINVAL as ENOSYS
...
glibc has a fallback code on ENOSYS that can cause EINVAL.
Attempt the fallback on both errors.
Closes: https://github.com/containers/fuse-overlayfs/issues/311
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-08-04 21:28:25 +02:00
Giuseppe Scrivano
0a659e75ef
main: set FUSE_CAP_POSIX_ACL only when supported
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-08-04 21:28:25 +02:00