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-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml index 37d86055..ce47979a 100644 --- a/jfuse-linux-aarch64/pom.xml +++ b/jfuse-linux-aarch64/pom.xml @@ -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 c8d5b6c3..50cf5937 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -166,6 +166,7 @@ ENOLCK ENAMETOOLONG ENODATA + E2BIG 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 23993aa4..3156bb24 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -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-win/pom.xml b/jfuse-win/pom.xml index 214f7c4b..540b4f9e 100644 --- a/jfuse-win/pom.xml +++ b/jfuse-win/pom.xml @@ -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