From a0a0dc83173ce11ff45105fd32e5d14356cdfb9c Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 14 Mar 2019 15:44:14 +0100 Subject: Remove obsolete, never-implemented XSI STREAMS declarations The stub implementations are turned into compat symbols. Linux actually has two reserved system call numbers (for getpmsg and putpmsg), but these system calls have never been implemented, and there are no plans to implement them, so this patch replaces the wrappers with the generic stubs. According to , the presence of the XSI STREAMS declarations is a minor portability hazard because they are not actually implemented. This commit does not change the TIRPC support code in sunrpc/rpc_svcout.c. It uses additional XTI functionality and therefore never worked with glibc. Reviewed-by: Carlos O'Donell --- posix/Versions | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'posix/Versions') diff --git a/posix/Versions b/posix/Versions index ad693ae9a7..7d06a6d0c0 100644 --- a/posix/Versions +++ b/posix/Versions @@ -80,6 +80,10 @@ libc { # w* waitid; wordexp; wordfree; } + GLIBC_2.1 { + # Compat symbols for the obsolete, unimplemented XSI streams extension. + fattach; fdetach; getmsg; getpmsg; isastream; putmsg; putpmsg; + } GLIBC_2.1.2 { # functions used in other libraries __vfork; @@ -141,6 +145,8 @@ libc { posix_spawn_file_actions_addchdir_np; posix_spawn_file_actions_addfchdir_np; } + GLIBC_2.30 { + } GLIBC_PRIVATE { __libc_fork; __libc_pread; __libc_pwrite; __nanosleep_nocancel; __pause_nocancel; -- cgit v1.2.3