summaryrefslogtreecommitdiff
path: root/src/key_call.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable key_prot API for backward compatibility with glibc's SunRPCChuck Lever2015-06-161-1/+1
| | | | | | | | The only missing file was key_prot.h. I copied the SunRPC-licenced version of key_prot.x from glibc, and generated key_prot.h using rpcgen. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
* Revert commit 3b6edd428fcf ('Makefile.am: Removed unsupported c-files')Chuck Lever2015-06-161-0/+446
| | | | | | | | | | | | These are part of backward compatibility with glibc, and cannot be removed yet. I realize these are not currently built. I think the glibc compatibility requirement means we have to restore them to functionality rather than remove them. Reported-by: Thorsten Kukuk <kukuk@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
* Makefile.am: Removed unsupported c-fileslibtirpc-0-2-6-rc4Steve Dickson2015-04-301-446/+0
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Fix location of various standard header includesNatanael Copa2015-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | poll.h, signal.h, errno.h and fcntl.h are all defined in POSIX and their location are not under sys/ This fixes various compile warning when building with musl libc like: In file included from clnt_dg.c:40:0: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] In file included from clnt_generic.c:32:0: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp] In file included from auth_time.c:34:0: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp] In file included from auth_time.c:35:0: /usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp] Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
* Avoid use of internal glibc sys/cdefs.h headerNatanael Copa2015-04-231-1/+0
| | | | | | | | | | | | This header was never intended to be used by programs. Expand the macros used, __BEGIN_CDECLS, __END_CDECLS and __P() The __THROW macro is a non-portable hint for optimization so we simply remove those. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
* key_call: Convert local debug() calls to LIBTIRPC_DEBUG() callsSteve Dickson2014-08-071-13/+8
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* key_call: utilize uname() all the timeMike Frysinger2013-02-121-12/+1
| | | | | | | Since we already rely on the utsname struct existing, and uname() is in POSIX, drop the ifdef trickery around the call. Signed-off-by: Steve Dickson <steved@redhat.com>
* Replace the Sun RPC license with the BSD license, with the explicitTom "spot" Callaway2009-05-281-26/+25
| | | | | | | permission of Sun Microsystems Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* libtirpc-0.1.10 - tsd destory at unloadIan Kent2009-04-201-1/+1
| | | | | | | | | | | | | | | | | If tsd keys are created that use a function local to the library and are not destroyed at library unload this can lead to a SEGV if the library is unloaded before the last thread is unloaded. Also, calling free() on an address previously belonging to the now unloaded library might not be very good either. I'm not to clear about what happens to data areas used by shared libraries in terms of their presence or otherwise in the lifcycle of a shared library. This patch assumes that all threads using the library have exited prior to the library being unloaded but may be worth more thought. Signed-off-by: Ian Kent <ikent@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Initial commit of libtirpc 0.1.7Steve Dickson2007-04-201-0/+464
Signed-off-by: Steve Dickson <steved@redhat.com>