Re: dt: Do not panic on insufficient permissions

2020-03-20 Thread Martin Pieuchot
On 19/03/20(Thu) 20:53, Klemens Nanni wrote: > Changing file permissions on /dev/dt to allow non-root access and a > simple `btrace -l' as non-root user already dt(4)'s KASSERT()s. Would you mind sharing traces? > Instead of panicing the machine I think we can return early just like > in other

dt: Do not panic on insufficient permissions

2020-03-19 Thread Klemens Nanni
Changing file permissions on /dev/dt to allow non-root access and a simple `btrace -l' as non-root user already dt(4)'s KASSERT()s. Instead of panicing the machine I think we can return early just like in other failure cases and either allow the requested operation as non-root (listing available