| 1166 | } |
| 1167 | |
| 1168 | U32 KProcess::ioctl(KThread* thread, FD fildes, U32 request) { |
| 1169 | KFileDescriptorPtr fd = this->getFileDescriptor(fildes); |
| 1170 | |
| 1171 | if (fd == nullptr) { |
| 1172 | return -K_EBADF; |
| 1173 | } |
| 1174 | return fd->kobject->ioctl(thread, request); |
| 1175 | } |
| 1176 | |
| 1177 | U32 KProcess::umask(U32 umask) { |
| 1178 | U32 old = this->umaskValue; |
nothing calls this directly
no test coverage detected