1. 19 5月, 2023 1 次提交
  2. 18 5月, 2023 1 次提交
    • Z
      【挑单3.2Release】修复time中TIMEZONE优先使用RTC模块的问题 · 9603f02f
      zhangdengyu 提交于
      方案描述:
      1、time中timezone全局变量修改为优先从RTC获取
      2、settimeofday接口,linux和posix标准有差异,m核中对齐posix标准,具体如下:
      int settimeofday(const struct timeval *tv, const struct timezone *tz)
      2.1、linux中:
              tz参数已弃用,一般设置为NULL;
              tv参数,为NULL时返回0,不设置错误码,表示不修改当前时间;
      2.2、posix中:
              tv或tz全部为NULL时,返回-1,设置错误码EFAULT;
              tv或tz有一个不为NULL时,不设置相应的参数,返回0;不设置错误码;
      3、新增settimeofday接口设置timezone测试用例
      
      BREAKING CHANGE:
      修复time中TIMEZONE优先使用RTC模块的问题对外变更描述:
      修改int settimeofday(const struct timeval *tv, const struct timezone *tz)接口
      settimeofday接口对入参的判断逻辑修改:
      1、tv或tz全部为NULL时,返回-1,设置错误码EFAULT;
      2、tv或tz有一个不为NULL时,不设置相应的参数,返回0;不设置错误码;
      
      Close: #I73MT7
      Signed-off-by: Nzhangdengyu <zhangdengyu2@huawei.com>
      Change-Id: If16491f909e9564010cf4bb291f0d92b5b8fce3c
      9603f02f
  3. 17 4月, 2023 1 次提交
  4. 04 4月, 2023 1 次提交
  5. 18 3月, 2023 1 次提交
  6. 17 3月, 2023 1 次提交
  7. 02 3月, 2023 1 次提交
  8. 01 3月, 2023 1 次提交
  9. 22 2月, 2023 2 次提交
  10. 11 2月, 2023 1 次提交
  11. 10 2月, 2023 1 次提交
  12. 17 1月, 2023 2 次提交
  13. 16 1月, 2023 2 次提交
  14. 13 1月, 2023 2 次提交
  15. 10 1月, 2023 2 次提交
  16. 03 1月, 2023 1 次提交
  17. 30 12月, 2022 1 次提交
  18. 29 12月, 2022 2 次提交
  19. 26 12月, 2022 1 次提交
  20. 24 12月, 2022 1 次提交
    • F
      fix: VfsMpFind optimize · 46bad48e
      Far 提交于
      1. provide VfsMpFind which doesn't support mounting recursively;
      2. provide a macro to set whether supporting recursive-mount or not.
      3. adding path length checking
      
      BREAKING CHANGE:
      new config option:
      LOSCFG_FS_SUPPORT_MOUNT_TARGET_RECURSIVE
      
      fix #I677ZT
      Signed-off-by: NFar <yesiyuan2@huawei.com>
      Change-Id: I92a752fe2bcdd2b036630b5e4e8d7df1562629e0
      46bad48e
  21. 23 12月, 2022 1 次提交
  22. 22 12月, 2022 3 次提交
  23. 19 12月, 2022 2 次提交
  24. 17 12月, 2022 2 次提交
  25. 16 12月, 2022 1 次提交
    • A
      refactor: vfs opt · 85218174
      arvinzzz 提交于
        1. vfs重构优化,统一fs模块的对外接口,减少不必要的冗余调用,由fs组件直接提供posix对外接口
        2. vfs与libc关系整理
        3. fs接口实现规范化
      
      BREAKING CHANGE:
      删除API:
      int LOS_Open(const char *path, int flags, ...);
      int LOS_Close(int fd);
      ssize_t LOS_Read(int fd, void *buff, size_t bytes);
      ssize_t LOS_Write(int fd, const void *buff, size_t bytes);
      off_t LOS_Lseek(int fd, off_t off, int whence);
      int LOS_Stat(const char *path, struct stat *stat);
      int LOS_Statfs(const char *path, struct statfs *buf);
      int LOS_Unlink(const char *path);
      int LOS_Rename(const char *oldpath, const char *newpath);
      int LOS_Fsync(int fd);
      DIR *LOS_Opendir(const char *path);
      struct dirent *LOS_Readdir(DIR *dir);
      int LOS_Closedir(DIR *dir);
      int LOS_Mkdir(const char *path, mode_t mode);
      int LOS_Rmdir(const char *path);
      int LOS_Lstat(const char *path, struct stat *buffer);
      int LOS_Fstat(int fd, struct stat *buf);
      int LOS_Fcntl(int fd, int cmd, ...);
      int LOS_Ioctl(int fd, int req, ...);
      ssize_t LOS_Readv(int fd, const struct iovec *iovBuf, int iovcnt);
      ssize_t LOS_Writev(int fd, const struct iovec *iovBuf, int iovcnt);
      ssize_t LOS_Pread(int fd, void *buff, size_t bytes, off_t off);
      ssize_t LOS_Pwrite(int fd, const void *buff, size_t bytes, off_t off);
      int LOS_Isatty(int fd);
      int LOS_Access(const char *path, int amode);
      int LOS_Ftruncate(int fd, off_t length);
      int LOS_FsUmount(const char *target);
      int LOS_FsUmount2(const char *target, int flag);
      int LOS_FsMount(const char *source, const char *target,
                      const char *fsType, unsigned long mountflags,
                      const void *data);
      int OsFcntl(int fd, int cmd, va_list ap);
      int OsIoctl(int fd, int req, va_list ap);
      
      Close #I66F6I
      Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com>
      85218174
  26. 09 12月, 2022 1 次提交
  27. 08 12月, 2022 2 次提交
  28. 07 12月, 2022 2 次提交