Skip to content
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

lib/posix-socket: Expose internal socket syscalls #1337

Merged
merged 1 commit into from
May 29, 2024

Conversation

andreittr
Copy link
Contributor

Description of changes

This change exposes Unikraft-internal syscalls that create sockets. Both versions returning raw uk_files as well as opened file descriptors are provided.

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran the checkpatch.uk on your commit series before opening this PR;
  • Updated relevant documentation.

Base target

  • Architecture(s): N/A
  • Platform(s): N/A
  • Application(s): N/A

Additional configuration

N/A

@andreittr andreittr requested a review from a team as a code owner February 23, 2024 13:25
@github-actions github-actions bot added area/lib Internal Unikraft Microlibrary lang/c Issues or PRs to do with C/C++ labels Feb 23, 2024
@razvand razvand requested review from RaduNichita, StefanJum and Mihnea0Firoiu and removed request for a team March 17, 2024 18:17
@razvand razvand added this to the v0.17.0 (Calypso) milestone Mar 17, 2024
Copy link
Member

@Mihnea0Firoiu Mihnea0Firoiu left a comment

Choose a reason for hiding this comment

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

All good!
Reviewed-by: Mihnea Firoiu mihneafiroiu0@gmail.com

Copy link
Contributor

@RaduNichita RaduNichita left a comment

Choose a reason for hiding this comment

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

Thanks @andreittr, it looks good.

Reviewed-by: Radu Nichita radunichita99@gmail.com

Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

@andreittr should we also add the exposed symbols in exportsyms.uk?

@andreittr
Copy link
Contributor Author

andreittr commented May 22, 2024

@andreittr should we also add the exposed symbols in exportsyms.uk?

Good catch @StefanJum, thanks! Added & rebased to current staging.

@andreittr andreittr requested a review from StefanJum May 22, 2024 07:58
Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com

This change exposes Unikraft-internal syscalls that create sockets.
Both versions returning raw uk_files as well as opened file descriptors
are provided.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
@andreittr
Copy link
Contributor Author

Force-push: rebased on current staging & patched to work with changes introduced in a922af7.

Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

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

Approved-by: Razvan Deaconescu razvand@unikraft.io

@razvand razvand changed the base branch from staging to staging-1337 May 29, 2024 04:36
@razvand razvand merged commit 1a774f9 into unikraft:staging-1337 May 29, 2024
12 checks passed
razvand pushed a commit that referenced this pull request May 29, 2024
This change exposes Unikraft-internal syscalls that create sockets.
Both versions returning raw uk_files as well as opened file descriptors
are provided.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Mihnea Firoiu <mihneafiroiu0@gmail.com>
Reviewed-by: Radu Nichita <radunichita99@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1337
@andreittr andreittr deleted the ttr/socket-intapi branch May 30, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/lib Internal Unikraft Microlibrary lang/c Issues or PRs to do with C/C++
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants