[OpenWrt-Devel] [PATCH procd 2/4] ujail: remove useless arg in clone call
Etienne Champetier
champetier.etienne at gmail.com
Mon Nov 23 07:12:24 EST 2015
Hey,
2015-11-23 12:52 GMT+01:00 Paul Fertser <fercerpav at gmail.com>:
> 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. :)
>
clone really want a function like "int fn(void * arg)"
Is
> *static int spawn_jail(void * _notused)*
>
ok for you both?
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151123/dc37fa71/attachment.htm>
-------------- next part --------------
_______________________________________________
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