Welcome to the Linux Foundation Forum!

ioctl command on a symlink file id

raduvi Posts: 1

I am trying to send a ioctl command on a symlink opened handle but I am getting errno = 9 (Bad file descriptor) and the call is no reaching my file system f_op->unlocked_ioctl.
Do the kernel restrict ioctl calls to symlink file ids? If so is there a workaround?



Upcoming Training