The signature of ioctl uses a signed int as second argument. This, however, differs from the definition in Linux, glibc, and our own implementation in Unikraft, which use an unsigned long. Since using int has lead to all sorts of problems (e.g., overflow into sign bit), this commit adopts unsigned long also for the musl imported header.
The signature of ioctl uses a signed int as second argument. This, however, differs from the definition in Linux, glibc, and our own implementation in Unikraft, which use an unsigned long. Since using int has lead to all sorts of problems (e.g., overflow into sign bit), this commit adopts unsigned long also for the musl imported header.
This PR must be merged together with: