Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gpioctl on the ODROID C2



Vincent DEFERT <vincent.defert%posteo.net@localhost> 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.



Home | Main Index | Thread Index | Old Index