Hi everyone,
I'm new to FreeBSD and I faced a problem compiling FreeBSD kernel. Here is more details:
For an academic research project, I want to modify the header fields of TCP packets leaving the host.
My modification is quite simple, and I decided to to modify the kernel source code in this file
Now, I'm not sure how to compile and install my changes. I have tried to add some intentional syntax error to the code, but following commands are telling me the kernel is successfully compiled.
Do I miss something here? How can I make sure my new changes are being compiled?
I'm new to FreeBSD and I faced a problem compiling FreeBSD kernel. Here is more details:
For an academic research project, I want to modify the header fields of TCP packets leaving the host.
My modification is quite simple, and I decided to to modify the kernel source code in this file
/usr/src/sys/netinet/tcp_subr.c
(I'd be happy if you can suggest me a better way)Now, I'm not sure how to compile and install my changes. I have tried to add some intentional syntax error to the code, but following commands are telling me the kernel is successfully compiled.
Code:
sudo make -j4 buildworld KERNCONF=GENERIC
sudo make installworld KERNCONF=GENERIC
Do I miss something here? How can I make sure my new changes are being compiled?