[OpenWrt-Devel] [PATCH procd 2/4] ujail: remove useless arg in clone call

Paul Fertser fercerpav at gmail.com
Mon Nov 23 06:52:21 EST 2015


Hey Etienne,

Etienne Champetier <champetier.etienne at gmail.com> writes:
> i know that spawn_jail(void) is valid code, but then the clone call
> refuses to compile

That's type-safety for you. spawn_jail() is valid code too but it's not
type-safe, so AFAICT you're avoiding the errors by letting the compiler
ignore them, not by providing a proper solution. :)

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list