Ok to symlink /usr/include/sys -> /usr/src/sys/sys ?

I'm just hacking around with FreeBSD in a VM, mostly learning about kernel internals and adding some toy syscalls.

When I add a syscall, the contents of files in /usr/src/sys/sys/ (e.g. /usr/src/sys/sys/syscall.h) are properly updated. However, upon installing the customized kernel, the contents of /usr/include/sys/syscall.h are *not* updated.

I'm tempted to simply delete /usr/include/sys/ and replace it with a symlink to /usr/src/sys/src. Will doing this break anything? Or is there a better way to update the include headers?
 
Back
Top