Welcome to the Linux Foundation Forum!

ioctl command on a symlink file id

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?

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training