Skip to content

Fix wrong number of initial parameter num for commented syscall_socket#10

Merged
Pusnow merged 1 commit into
ANLAB-KAIST:masterfrom
soyoung97:master
Jun 10, 2020
Merged

Fix wrong number of initial parameter num for commented syscall_socket#10
Pusnow merged 1 commit into
ANLAB-KAIST:masterfrom
soyoung97:master

Conversation

@soyoung97

@soyoung97 soyoung97 commented Jun 9, 2020

Copy link
Copy Markdown
Contributor

At the initial KENS project, initial parameter for syscall_socket was
syscallUUID, pid, param.param1_int, param.param2_int. (commented out at systemCallback)
But, after reading the documentation and doing the project, I found out that syscall_socket needs "3" parameters other than syscallUUID and pid: domain, type, and protocol. So, the initial parameter should be
syscallUUID, pid, param.param1_int, param.param2_int, param.param3_int.
At first this caused me confusion, because the official KENS source code was written as 2 parameters.
Other commented out initial parameters (such as syscall_bind, syscall_close ..) was okay. I think that changing the typo with the right number of parameters should be necessary to avoid confusion.

Sorry for the late change request, but I thought that it is better late than never.

@leeopop leeopop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Pusnow This PR seems good.

@Pusnow Pusnow merged commit ed9bb03 into ANLAB-KAIST:master Jun 10, 2020
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.

3 participants