-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ut_lind_fs_mkdir_invalid_modebits
#43
Merged
Merged
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8368098
change to latest fdtables
Yaxuan-w 11ad01e
using newest fdtables
Yaxuan-w 36edba7
mmap debug
Yaxuan-w 5c0279b
mmap debug
Yaxuan-w 5dd1db2
mmap debug
Yaxuan-w 563f581
porting test suite
Yaxuan-w 80d87b8
porting test suite
Yaxuan-w 323c394
Add more detailed comments
Yaxuan-w 255b216
Fix directory cleanup issue in ut_lind_fs_mmap_invalid_flags_both tes…
ChinmayShringi f80e5b1
fix: test case ut-lind-fs-fchdir-invalid-args
7da2f39
Merge pull request #23 from Lind-Project/fix-ut-lind-fs-fchdir-invali…
rennergade adca652
Fix out-of-range file descriptor error in `getdents` syscall (#17)
ChinmayShringi 26e41f0
Fix `getcwd_syscall` to Handle Invalid Arguments and Correctly Set `e…
ChinmayShringi f284122
Fix mmap test case to handle invalid flags scenario correctly (#18)
ChinmayShringi e1fde15
Fix Test `ut_lind_fs_pread_from_directory` from Directory to Return C…
ChinmayShringi c9f0ea0
fix: test case ut-lind-fs-write-to-directory (#19)
ChinmayShringi 16771ea
fix: ut-lind-fs-simple (#21)
ChinmayShringi 395f8c6
Fix `ut_lind_fs_rmdir_nowriteperm_parent_dir` rmdir Nowrite Permissio…
ChinmayShringi 0169e4e
Fix ut lind fs mkdir nonexisting directory (#25)
ChinmayShringi faeeafb
Fix EISDIR Error in `ut_lind_fs_getdents_bufsize_too_small` Test by A…
ChinmayShringi 197b681
Fix EEXIST Error in `ut_lind_fs_close_directory` Test by Removing Exi…
ChinmayShringi 28a3346
Fix EEXIST Error in `ut_lind_fs_dir_multiple` Test by Removing Existi…
ChinmayShringi 215463e
Fix EEXIST Error in `ut_lind_fs_dir_mode` Test by Removing Existing D…
ChinmayShringi 3cb39be
Fix EEXIST Error in `ut_lind_fs_unlink_directory` (#34)
ChinmayShringi f408200
fix: test case ut_lind_fs_rmdir_nonexist_dir (#36)
ChinmayShringi 799a8a4
fix: test case ut_lind_fs_rmdir_nonempty_dir (#37)
ChinmayShringi b3cf1bb
fix: test case ut_lind_fs_link_directory (#38)
ChinmayShringi 71d4129
fix: test case ut_lind_fs_read_from_directory (#39)
ChinmayShringi c245167
fix: test case ut_lind_fs_rename (#41)
ChinmayShringi 98fedea
Fix in `ut_lind_fs_tmp_file_test` ensure /tmp Directory Is Properly S…
ChinmayShringi 4f91e9b
fix: test case ut_lind_fs_mkdir_invalid_modebits
265637d
Squashed commit of the following:
ChinmayShringi 0b355f5
Merge branch 'main' into fix-ut-lind-fs-mkdir-invalid-modebits
ChinmayShringi a0f97d2
feat: updated directory creation with libc::mkdir
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is currently rawposix returned in this situation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently it return a -1 value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you test with
get_errno()
to see the errno returned by libc::mmap?Sth like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This case should be handled in rust libc as well... So we don't need those checks