1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat/unix
Andy Green 22e6d5212b spawn: in discrete env setting case do it readonly
OSX changed to blow a segfault on write to .rodata, exposing that
we're dropping a NUL in what can be .rodata to set the environment
manually.  We don't do this on Linux typically because we take the
code path where execvpe() is available to do the env for us.

Adapt the code to treat it as const, and underscore it by changing
its type to be const char ** in the info struct.
2020-10-19 16:35:03 +01:00
..
android cleaning 2020-01-05 22:17:58 +00:00
CMakeLists.txt lws_plugins 2020-08-31 16:51:37 +01:00
private-lib-plat-unix.h ios: adapt to MSG_NOSIGNAL available in iOS SDK 12+ 2020-09-21 12:47:11 +01:00
unix-caps.c coverity: 49785: confirm initgroups worked 2020-08-19 07:21:55 +01:00
unix-fds.c smp: unable to check for fd reuse since another thread can accept it 2020-08-31 16:51:37 +01:00
unix-file.c _GNU_SOURCE: only define if not already defined 2019-12-22 18:17:45 +00:00
unix-init.c docs: switch to use main 2020-10-19 16:35:03 +01:00
unix-misc.c roles: netlink 2020-10-19 16:35:03 +01:00
unix-pipe.c roles: netlink 2020-10-19 16:35:03 +01:00
unix-plugins.c lws_plugins 2020-08-31 16:51:37 +01:00
unix-resolv.c roles: netlink 2020-10-19 16:35:03 +01:00
unix-service.c coverity: 62374: no need to init n 2020-08-18 14:00:54 +01:00
unix-sockets.c unix plat: avoid strict aliasing complaint from a toolchain 2020-09-16 07:07:04 +01:00
unix-spawn.c spawn: in discrete env setting case do it readonly 2020-10-19 16:35:03 +01:00