genode/repos/libports/src/lib/libc/patches/README
Emery Hemingway 226fcbc02f Remove remote shell support from libc
The remote shell facilities are past deprecation and there is an
obligation to prevent their use rather than to support them. This patch
removes the related function definitions from 'unistd.h', which have not
been been included in the Genode libc ABI regardless.

Fix #2530
2017-10-05 17:40:05 +02:00

33 lines
1.0 KiB
Plaintext

Manual modifications
####################
:'src/lib/include/rpcsvc/nis.x':
CPP seems not to be able to parse splitted lines and so fails with
'definition keyword expected' otherwise (though that's just a rough guess).
:'src/lib/libc/stdlib/malloc.c':
Undefine 'MALLOC_DSS' to avoid the usage of sbrk.
! //#define MALLOC_DSS
:'src/lib/libc/stdio/vfwprintf.c':
Fix warnings caused by conversions between (char *) and (wchar_t *).
This is just a cosmetic fix.
:'src/lib/libc/gen/_pthread_stubs.c':
Prevent definition of symbol 'pthread_cancel'. This symbol is provided by the
C++ support library as weak symbol. By redefining this symbol as non-weak in
the libc, the C++ support library would use the libc dummy stub instead its
own implementation, causing problems with handling exceptions.
:'src/lib/libc/resolv/res_send.c':
Disable usage of kqueue and fix building libresolv when kqueue is disabled.
:'src/lib/libc/include/unistd.h':
Remove definitions for remote network commands over unencrypted streams.