mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
libc: match ioctl request type to contrib type
There is a type mismatch as in the FreeBSD contrib code the type of the request is 'unsigned long'. So far, only I/O controls where the request falls into the signed range where used and this was not a problem. Some of the SNDCTL requests, however, have the bit set. Fixes #3887.
This commit is contained in:
committed by
Christian Helmuth
parent
85a84f5042
commit
2312ad35dd
@ -110,7 +110,7 @@ namespace Libc {
|
||||
virtual int getsockopt(File_descriptor *, int level,
|
||||
int optname, void *optval,
|
||||
socklen_t *optlen);
|
||||
virtual int ioctl(File_descriptor *, int request, char *argp);
|
||||
virtual int ioctl(File_descriptor *, unsigned long request, char *argp);
|
||||
virtual int listen(File_descriptor *, int backlog);
|
||||
virtual ::off_t lseek(File_descriptor *, ::off_t offset, int whence);
|
||||
virtual int mkdir(const char *pathname, mode_t mode);
|
||||
|
Reference in New Issue
Block a user