https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209113

--- Comment #4 from rday <r...@ryanday.net> ---
I think you're right, a hard limit would be better. I can't find a maximum
parameter count or a maximum parameter size in the documentation though. I
don't think I'm familiar enough with the system to come up with a value.

On the other hand, if root issues a malicious ioctl() then root's process just
waits(using M_WAITOK). This doesn't seem like much of a concern.

Lacking a sufficient hard limit, would it be best to simply change the `size`
parameter's type to size_t? Removing the M_NOWAIT change?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-geom@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"

Reply via email to