diff --git a/jfuse-api/pom.xml b/jfuse-api/pom.xml index 67ee6fe0..b8689d32 100644 --- a/jfuse-api/pom.xml +++ b/jfuse-api/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse-api diff --git a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java index 0bb1c812..041a5867 100644 --- a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java +++ b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java @@ -131,4 +131,18 @@ public interface Errno { */ int enodata(); + /** + * The named attribute does not exist, or the process has no access to this attribute; + * + * @return error constant {@code ENOATTR} + */ + int enoattr(); + + /** + * Argument list too long + * + * @return error constant {@code E2BIG} + */ + int e2big(); + } diff --git a/jfuse-examples/pom.xml b/jfuse-examples/pom.xml index 7d7255b0..6c5d34f6 100644 --- a/jfuse-examples/pom.xml +++ b/jfuse-examples/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse-examples diff --git a/jfuse-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml index 7bd9e844..f867bcf6 100644 --- a/jfuse-linux-aarch64/pom.xml +++ b/jfuse-linux-aarch64/pom.xml @@ -5,7 +5,7 @@ jfuse-parent org.cryptomator - 0.6.0 + 0.6.1 4.0.0 jfuse-linux-aarch64 @@ -166,6 +166,7 @@ ENOLCK ENAMETOOLONG ENODATA + E2BIG diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java index 70bbab60..c2f1971e 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java @@ -89,4 +89,20 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + /** + * Alias for {@link #enodata()} + * @return error constant ENODATA + * @deprecated Use {@link #enodata()} instead + */ + @Override + @Deprecated + public int enoattr() { + return enodata(); + } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java index 8d7dc15b..2de21eb2 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml index c1a1049f..88799919 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse-linux-amd64 @@ -149,23 +149,24 @@ org.cryptomator.jfuse.linux.amd64.extr.errno errno_h - ENOENT - ENOSYS - ENOMEM - EACCES - EIO - EROFS - EBADF - EEXIST - ENOTDIR - EISDIR - ENOTEMPTY - ENOTSUP - EINVAL - ERANGE - ENOLCK - ENAMETOOLONG - ENODATA + ENOENT + ENOSYS + ENOMEM + EACCES + EIO + EROFS + EBADF + EEXIST + ENOTDIR + EISDIR + ENOTEMPTY + ENOTSUP + EINVAL + ERANGE + ENOLCK + ENAMETOOLONG + ENODATA + E2BIG @@ -179,8 +180,8 @@ org.cryptomator.jfuse.linux.amd64.extr.stat stat_h - UTIME_NOW - UTIME_OMIT + UTIME_NOW + UTIME_OMIT @@ -194,15 +195,15 @@ fcntl_h org.cryptomator.jfuse.linux.amd64.extr.fcntl - O_RDONLY - O_WRONLY - O_RDWR - O_APPEND - O_CREAT - O_TRUNC - O_EXCL - O_DSYNC - O_SYNC + O_RDONLY + O_WRONLY + O_RDWR + O_APPEND + O_CREAT + O_TRUNC + O_EXCL + O_DSYNC + O_SYNC @@ -220,9 +221,9 @@ - RENAME_NOREPLACE - RENAME_EXCHANGE - RENAME_WHITEOUT + RENAME_NOREPLACE + RENAME_EXCHANGE + RENAME_WHITEOUT diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java index ba51b4f1..88ee0172 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java @@ -89,4 +89,20 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + /** + * Alias for {@link #enodata()} + * @return error constant ENODATA + * @deprecated Use {@link #enodata()} instead + */ + @Override + @Deprecated + public int enoattr() { + return enodata(); + } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java index 0dd69db9..3b08531f 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml index 59ddac12..0f735887 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse-mac @@ -140,6 +140,8 @@ ENOLCK ENAMETOOLONG ENODATA + ENOATTR + E2BIG diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java index 436cdb1e..174fca7e 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java @@ -89,4 +89,14 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + @Override + public int enoattr() { + return errno_h.ENOATTR(); + } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java index bf71ae55..6a7ad89d 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 @@ -145,6 +153,14 @@ public static int ENOLCK() { public static int ENOSYS() { return (int)78L; } + /** + * {@snippet : + * #define ENOATTR 93 + * } + */ + public static int ENOATTR() { + return (int)93L; + } /** * {@snippet : * #define ENODATA 96 diff --git a/jfuse-tests/pom.xml b/jfuse-tests/pom.xml index 419c50ea..4de6fd66 100644 --- a/jfuse-tests/pom.xml +++ b/jfuse-tests/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse-tests diff --git a/jfuse-win/pom.xml b/jfuse-win/pom.xml index c0786145..11d2237a 100644 --- a/jfuse-win/pom.xml +++ b/jfuse-win/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse-win @@ -166,6 +166,7 @@ ENOLCK ENAMETOOLONG ENODATA + E2BIG diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java index 35e65454..bdad5604 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java @@ -89,4 +89,20 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + /** + * Alias for {@link #enodata()} + * @return error constant ENODATA + * @deprecated Use {@link #enodata()} instead + */ + @Override + @Deprecated + public int enoattr() { + return enodata(); + } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java index bed4b821..ba1d191c 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 diff --git a/jfuse/pom.xml b/jfuse/pom.xml index 4871fb02..7c2ed4d7 100644 --- a/jfuse/pom.xml +++ b/jfuse/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.6.0 + 0.6.1 4.0.0 jfuse diff --git a/pom.xml b/pom.xml index 1c08c9dc..e9beff42 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.cryptomator jfuse-parent pom - 0.6.0 + 0.6.1 jFUSE Java bindings for FUSE using foreign functions & memory API https://github.com/cryptomator/jfuse