News for hackers. Stuff that matters.
Re:Four lines of code it was four lines of code by abetusk on Monday July 01, 2024 @08:29AM (#40845119)
My apologies, I'm just unfamiliar with what would look normal. These are the results of the buggy TCP implementation? Could you show a comparison for the fixed TCP implementation and the TLS implementation?
Re:Four lines of code it was four lines of code by spc476 on Monday July 01, 2024 @03:17PM (#40849450)
> These are the results of the buggy TCP implementation?

Yes. Here's the fixed TCP implementation.

    4542 open
    3041 read
    2990 close
    2478 old_mmap
    2475 munmap
    2470 fstat64
    1501 epoll_ctl
    1007 fcntl64
    1002 epoll_wait
    1002 clock_gettime
I didn't do the TLS implementation, but I suspect it would be similar to the above (since it didn't exhibit the problem). You can see that ioctl() dropped from the list, and that epoll_ctl() and epoll_wait() dropped down the list.