Re: gpioctl on the ODROID C2

Robert Swindells <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Vincent DEFERT <[email protected]> wrote:
> How is that enforced?
> I've had a look at gpioctl.c, gpio.c and mesongxbb_pinctrl.c and they 
> don't even contain the word 'secure'...

See gpio_ioctl() in sys/dev/gpio/gpio.c, in the GPIOREAD case of the
select there is a call to kauth_authorize_device().


If you are looking for a project, meson_pinctrl.c doesn't have support
for configuring pins to generate interrupts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.