K
K
Kamikaze10242015-12-30 14:31:53
linux
Kamikaze1024, 2015-12-30 14:31:53

Under what conditions does the linux kernel ignore an ioctl call from userspace?

Why does the kernel ignore the user's ioctl request when working through the 0xff configuration node? Although on it the device opens and closes correctly. When working through other nodes 0x1, 0x0, ... there are no problems.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
jcmvbkbc, 2015-12-30
@jcmvbkbc

when working through the configuration node 0xff

When working through what?
You look under strace to see what goes there and what comes back.

K
Kamikadze1024, 2015-12-30
@Kamikadze1024

there are so-called. files - nodes, through them work with the driver is carried out. For example
int fd = open("/dev/vendor/node-0", O_RDWR);
And how to look under strace?

M
Maxim Moseychuk, 2017-05-29
@fshp

Re-clone the repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question