Commit Graph

555 Commits

Author SHA1 Message Date
openharmony_ci 6e82010cc1 !13 CI开源合规OAT扫描结果清零。
Merge pull request !13 from xlfeng/master
OpenHarmony-v3.1-Release
2022-02-17 07:34:15 +00:00
xlfeng b24f24e2a5 OAT扫描结果清零.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-02-17 14:27:30 +08:00
openharmony_ci 0f4a6cc09e !12 单个模块扫描(三方软件)结果清零.
Merge pull request !12 from xlfeng/master
2022-02-16 12:38:40 +00:00
xlfeng 083644b54c 单个模块扫描(三方软件)结果清零.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-02-16 17:07:46 +08:00
openharmony_ci 9cbc1ce1ea !11 change component name: storage_service
Merge pull request !11 from jiahaoluo/master
2022-02-10 03:19:32 +00:00
openharmony_ci 9b09737a64 !11 change component name: storage_service
Merge pull request !11 from jiahaoluo/master
2022-02-10 03:19:32 +00:00
jiahaoluo 2428033962 change part name to storage_service
Signed-off-by: jiahaoluo <luojiahao5@huawei.com>
2022-02-09 15:01:10 +08:00
openharmony_ci 8d12485324 !10 feat: add bundle.json
Merge pull request !10 from pjscc/master
2022-01-25 02:26:16 +00:00
pjscc f8255bfb20 feat: add bundle.json
Signed-off-by: pjscc <pangjiashuai@huawei.com>
2022-01-24 17:06:49 +08:00
openharmony_sig_ci c7e591c45d !9 BUILD.gn add group.
Merge pull request !9 from xlfeng/master
2022-01-13 12:37:54 +00:00
xlfeng fc95c21933 BUILD.gn add group.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-01-13 17:10:55 +08:00
openharmony_sig_ci ce3450f0ed !8 subsystem_name的值改为filemanagement.
Merge pull request !8 from xlfeng/master
2022-01-13 02:25:59 +00:00
xlfeng 41bc1e8b9f subsystem_name的值改为filemanagement.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2022-01-12 15:02:10 +08:00
openharmony_sig_ci 2b176eda2b !6 Build successful,add BUILD.gn and libexfat/config.h files.Add OAT related files,OAT.xml and README.OpenSource.Delete Android.bp.
Merge pull request !6 from xlfeng/master
2021-12-21 10:52:59 +00:00
xlfeng 1541f7cceb Build successful,add BUILD.gn and libexfat/config.h files.Add OAT related files,OAT.xml and README.OpenSource.Delete Android.bp.
Signed-off-by: xlfeng <xulifeng7@huawei.com>
2021-12-21 15:54:57 +08:00
relan 11e4f032d1 Drop "user" option for FreeBSD.
FreeBSD FUSE implementation does not support it actually.
2021-11-16 16:42:59 +03:00
relan a8de7e2db3 Free options strings on error.
Make clang static analyzer happy.
2021-10-23 14:42:26 +03:00
relan da00dc5d05 Make error handling in find_slot() more robust.
check_slot() can potentially return any value besides 0, -EIO and
-EINVAL.
2021-10-23 14:40:58 +03:00
relan f826fee074 CI: switch to Debian 11 with GCC 11.
Also enable warnings as errors and GCC's static analyzer.
2021-10-09 11:11:15 +03:00
relan ab19b44cd3 Duplicate debug messages into syslog.
May be helpful when running detached from tty.
2021-07-04 10:25:54 +03:00
relan e53fa1b43b Make exfat_debug() elimination a bit safer. 2021-07-04 10:24:47 +03:00
Dave Vasilevsky c1132b5e2a Properly get disk size on NetBSD. 2021-06-30 21:02:25 +03:00
Iouri V. Ivliev cfb6da6cee Add "automounted" to passthrough options list for FreeBSD. 2021-06-30 20:39:37 +03:00
relan d8237de31e CI: use Cirrus.
Run on Debian 10, macOS Big Sur and FreeBSD 13.0 for now.
2021-06-30 20:24:51 +03:00
relan e2efee252c CI: drop Travis.
There are much better ways to spend $69/month.
2021-06-30 11:53:45 +03:00
relan 7899317f33 Pass through some options to FUSE.
Allow users to specify the "nonempty" mount option.
2021-04-10 10:46:32 +03:00
relan 02b793c0bd Move match_option() to libexfat/utils.c.
To be used in a later patch.
2021-04-10 10:46:32 +03:00
relan 0d4be1a52e CI: update osx image to macOS 10.15.7 (Xcode 12.2).
The default macOS 10.13 (Xcode 9.4.1) doesn't work, it seems.
2021-04-10 10:35:13 +03:00
relan 02eba9adf0 CI: define the build matrix explicitly. 2021-04-10 10:30:10 +03:00
dineshks1 66747e2df0 CI: add Ubuntu 18.04 (amd64, ppc64le) jobs. 2020-11-24 20:46:02 +03:00
relan 559c61f26c Add basic CI.
Build and run mkfs and fsck on:

* Ubuntu 18.04 (s390x) <https://docs.travis-ci.com/user/reference/bionic>
* macOS 10.13 (amd64) <https://docs.travis-ci.com/user/reference/osx>
2020-05-04 19:07:34 +03:00
relan 4e6606bb5f Fix cluster bitmap traversal on big endian machines.
We define bitmap_t to unsigned char on big endian systems to avoid byte
order conversions. But bitwise complement causes integer promotion and
makes the condition always false. Truncate the result after complementing
zero.
2020-05-04 18:53:09 +03:00
relan 3fc0205178 Fix format warning.
Found by clang 902.0.39.2.
2020-05-04 18:53:09 +03:00
relan f15b0e4676 Fix more comparisons between signed and unsigned values.
Found by gcc 7.4.0.
2020-05-04 18:53:09 +03:00
noctis 00cd408632 Fix file contiguous judgement.
Signed-off-by: noctis <noctis.AKM@gmail.com>
2020-05-04 18:49:27 +03:00
relan 96ff4f2968 Add platform macros for illumos.
With this change fuse-exfat reportedly works on OpenIndiana.
2020-05-04 14:04:28 +03:00
relan 66e3a25514 Validate UTF-8 byte sequence.
The 2nd and subsequent bytes in a UTF-8 byte sequence must look like
10xxxxxx. The missing checks could lead to crash later.
2020-03-07 09:20:26 +03:00
relan 4610ce90f9 Rename UTF-related functions.
Avoid conflicts with Android's libutils. Those functions should have had
the "exfat" prefix from the very beginning...
2020-02-29 11:46:41 +03:00
relan 6893176e00 Fix comparisons between signed and unsigned values. 2020-02-29 11:40:56 +03:00
relan 02a35baff3 Suppress warnings about unused parameters. 2020-02-29 10:56:27 +03:00
relan dd1da06e6e Check offset in exfat_generic_pread()/exfat_generic_pwrite().
A negative offset makes no sense for those functions.
2020-02-29 10:54:57 +03:00
relan 360084b62e Fix some signedness warnings. 2019-08-17 19:51:27 +03:00
relan fdf4e96dc3 Fix unaligned accesses to packed struct members. 2019-07-25 06:59:12 +03:00
relan 8396b05b33 Soil super block after successful mount.
Leave volume state untouched until we are ready to serve writes.
2019-07-08 20:55:58 +03:00
relan 0dfb0893ca Define proper feature test macros for glibc. 2019-04-20 21:32:35 +03:00
Nathan Hunsperger 75f28b558a Add support for timezone offsets.
Timestamps are stored in local time. exFAT includes timezone offset
fields to allow timestamps to remain correct when mounted under a
different timezone. The timezone offset is now used to calculate the
correct timestamp on read, and set on write.
2019-04-20 21:14:49 +03:00
LongPing.WEI 68ba243d5d Android: remove "tags" from Android.bp.
Android's build system does not support "tags" anymore, remove this line
to fix compilation.
2018-12-01 15:39:15 +03:00
relan 2ce337dc26 Bump version to 1.3.0 and update changelog. v1.3.0 2018-09-15 08:03:24 +03:00
relan f9c0f1b75b Repairing: implement unknown entry type fix. 2018-09-15 07:52:46 +03:00
relan 53728e5a79 Repairing: implement invalid node checksum fix. 2018-09-15 07:52:46 +03:00