Skip to content

Fork documentation and comments#281

Merged
rennergade merged 4 commits intodevelopfrom
anway-fork-syscall
Jul 7, 2024
Merged

Fork documentation and comments#281
rennergade merged 4 commits intodevelopfrom
anway-fork-syscall

Conversation

@Anway-Agte
Copy link
Copy Markdown
Contributor

Description

The following changes include the tests and comments in the code for the fork_syscall system call

Fixes # (issue)

Type of change

  • This change adds tests and documentation to the fork syscall

How Has This Been Tested?

All the test cases are in the sys_tests.rs file

  • Test A - ut_lind_fork()

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been added to a pull request and/or merged in other modules (native-client, lind-glibc, lind-project)

@yashaswi2000
Copy link
Copy Markdown
Contributor

@namanlalitnyu can you take a first look.

Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/safeposix/syscalls/sys_calls.rs Outdated
@namanlalitnyu
Copy link
Copy Markdown
Contributor

@namanlalitnyu can you take a first look.

Reviewed and added some comments.

@namanlalitnyu
Copy link
Copy Markdown
Contributor

Mostly the changes look good to me!

Comment thread src/safeposix/syscalls/sys_calls.rs
Comment thread src/tests/sys_tests.rs
Copy link
Copy Markdown
Contributor

@namanlalitnyu namanlalitnyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rennergade
Copy link
Copy Markdown
Contributor

@rupeshkoushik07 can you review this?

Copy link
Copy Markdown
Member

@rupeshkoushik07 rupeshkoushik07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments and tests are on point. Resolve the conflicts

Copy link
Copy Markdown
Contributor

@rennergade rennergade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@rennergade rennergade merged commit f89f2d8 into develop Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants