Giuseppe Scrivano
06f8a69efa
main: fix check for writeable /proc
...
fix the check for writeable /proc to use statfs instead of statvfs,
and use the unitialized statvfs structure to check for the writeable
bit.
Closes: https://github.com/containers/fuse-overlayfs/issues/397
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-06-07 21:30:02 +02:00
Giuseppe Scrivano
bcea6c940b
Merge pull request #395 from giuseppe/tag-1.12
...
NEWS: tag 1.12
2023-05-11 12:13:50 +02:00
Giuseppe Scrivano
2aee61e0ac
configure.ac: switch to -dev
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-05-11 11:05:00 +02:00
Giuseppe Scrivano
560ab7d9de
NEWS: tag 1.12
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.12
2023-05-11 11:05:00 +02:00
Daniel J Walsh
746960bdbe
Merge pull request #392 from giuseppe/change-license-gplv2+
...
fuse-overlays: change license to GPLv2+
2023-04-13 13:58:45 -04:00
Giuseppe Scrivano
d617afcefb
fuse-overlays: change license to GPLv2+
...
the contributors agreed on the change in the attached issue.
Closes: https://github.com/containers/fuse-overlayfs/issues/387
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-04-11 18:25:46 +02:00
Giuseppe Scrivano
cc1b0e2d34
lib: update hash library
...
it was relicensed as LGPLv2+ upstream in gnulib.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-04-11 18:24:22 +02:00
Giuseppe Scrivano
db404d85d4
Revert "Revert "configure.ac: back to -dev""
...
This reverts commit d9f017b59140ca774bab5cea54159043b573a28c.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-24 19:48:11 +01:00
Giuseppe Scrivano
68c31d14b0
release: use local file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.11
2023-03-24 19:48:05 +01:00
Giuseppe Scrivano
d9f017b591
Revert "configure.ac: back to -dev"
...
This reverts commit b6efecd3b0a42cd819fd6f6390937f7453b18035.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-24 19:48:04 +01:00
Daniel J Walsh
b622e9a955
Merge pull request #389 from giuseppe/check-for-acl-support
...
main: check that ACLs are supported in the lower layers
2023-03-24 08:37:56 -04:00
Giuseppe Scrivano
b6efecd3b0
configure.ac: back to -dev
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-23 23:02:31 +01:00
Giuseppe Scrivano
898252e14a
NEWS: release 1.11
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-23 23:02:31 +01:00
Giuseppe Scrivano
2666df2a49
main: check that ACLs are supported in the lower layers
...
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2180118
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-23 23:02:18 +01:00
Daniel J Walsh
25db5be78a
Merge pull request #381 from giuseppe/tag-1.10
...
NEWS: tag 1.10
2022-11-30 10:49:55 -05:00
Giuseppe Scrivano
b4a61def5f
configure.ac: back to dev
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-11-30 16:33:34 +01:00
Giuseppe Scrivano
a1e8466e2c
NEWS: tag 1.10
...
Closes: https://github.com/containers/fuse-overlayfs/issues/380
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.10
2022-11-30 16:33:29 +01:00
Giuseppe Scrivano
34d47e9a74
main: pick node version that is loaded
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-11-30 16:29:43 +01:00
Giuseppe Scrivano
36b482bf52
main: invalidate inode after unlink
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-11-30 15:49:46 +01:00
Giuseppe Scrivano
0d8c5480d1
main: report the st_ino known so far
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-11-30 15:46:04 +01:00
Giuseppe Scrivano
5b156f97a8
Merge pull request #373 from ltalirz/upload-artifacts
...
upload builds from CI
2022-09-11 21:09:15 +02:00
Leopold Talirz
c9236a578f
chore: upload test builds
...
Upload fuse-overlayfs as job artifacts.
Signed-off-by: Leopold Talirz <leopold.talirz@gmail.com>
2022-09-02 13:32:07 +02:00
Giuseppe Scrivano
1d4d97c55a
Merge pull request #369 from giuseppe/fix-copy-range-deleted-file
...
main: fix copy_file_range for deleted files
2022-08-25 22:55:02 +02:00
Giuseppe Scrivano
2d90664f24
main: fix copy_file_range for deleted files
...
if the file was deleted, access it through the hidden_dirfd.
Closes: https://github.com/containers/fuse-overlayfs/issues/368
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-25 09:28:41 +02:00
Giuseppe Scrivano
43c2a067ee
Merge pull request #370 from giuseppe/inherit-acl
...
main: inherit ACLs for new files/dirs
2022-08-25 09:27:43 +02:00
Giuseppe Scrivano
9a69652588
Merge pull request #371 from giuseppe/warn-unused-args
...
main: print a warning if an argument is ignored
2022-08-25 09:27:37 +02:00
Giuseppe Scrivano
9245b63286
Merge pull request #372 from giuseppe/add-check-for-valid-proc-mount
...
main: add checks for valid /proc mount
2022-08-25 09:27:31 +02:00
Giuseppe Scrivano
0988e9bc39
main: add checks for valid /proc mount
...
since fuse-overlayfs needs a writeable /proc mount, add some checks to validate it.
Closes: https://github.com/containers/fuse-overlayfs/issues/137
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-24 15:22:52 +02:00
Giuseppe Scrivano
952fa4dc28
main: print a warning if an argument is ignored
...
Closes: https://github.com/containers/fuse-overlayfs/issues/339
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-24 15:10:29 +02:00
Giuseppe Scrivano
1746aef29c
main: handle -o volatile separately
...
so we can ignore invalid values for the option.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-24 15:10:29 +02:00
Giuseppe Scrivano
0448402ab5
main: fix passing noatime
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-24 15:08:30 +02:00
Giuseppe Scrivano
e3685b8c17
main: inherit ACLs for new files/dirs
...
when creating a new file/directory, inherit the ACL from the parent directory.
Closes: https://github.com/containers/fuse-overlayfs/issues/363
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-24 14:54:15 +02:00
Daniel J Walsh
f87e1781a8
Merge pull request #366 from giuseppe/use-proc-read-xattrs
...
direct: use /proc/self/fd to read xattrs
2022-07-29 15:21:29 -04:00
Giuseppe Scrivano
257d904bd4
direct: use /proc/self/fd to read xattrs
...
instead of using the lgetxattr and llistxattr system calls on the
entire file path, use the /proc/self/fd/$FD/$RELATIVE_PATH path
instead so that the lookup is relative to the lower dir file
descriptor that is already open.
Closes: https://github.com/containers/fuse-overlayfs/issues/364
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-07-29 19:02:47 +02:00
Giuseppe Scrivano
e59b4f66fd
Merge pull request #362 from agherzan/ag/headers
...
musl fix and various tweaks
2022-07-28 15:49:08 +02:00
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