Currently, we include uk/user.h from the core's posix-user library to declare signatures for get/setresuid and get/setresgid. However, these definitions should be part of the C library and not Unikraft. This commit removes the dependency on the uk/user.h header and moves the function declaration into the unistd.h directly. It also adds the missing _GNU_SOURCE guard.
Currently, we include uk/user.h from the core's posix-user library to declare signatures for get/setresuid and get/setresgid. However, these definitions should be part of the C library and not Unikraft. This commit removes the dependency on the uk/user.h header and moves the function declaration into the unistd.h directly. It also adds the missing _GNU_SOURCE guard.
This PR is a prerequisite for https://github.com/unikraft/unikraft/pull/504