summaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2010-11-07 12:05:27 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2010-11-07 12:05:27 +0000
commit7612f38ced29eb14aa8c63480da1733c56d714aa (patch)
treea5c28dd8af068213f99b7b54305fd93dac4eb106 /security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c
parent- Update to 0.87. (diff)
Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted
Computing Software Stack. It is mostly compliant with the TSS 1.2 specification. Obtained from: http://bsssd.sourceforge.net/
Notes
Notes: svn path=/head/; revision=264182
Diffstat (limited to 'security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c')
-rw-r--r--security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c b/security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c
new file mode 100644
index 000000000000..711938b712e0
--- /dev/null
+++ b/security/trousers/files/patch-src-tspi-rpc-tcstp-rpc.c
@@ -0,0 +1,11 @@
+--- src/tspi/rpc/tcstp/rpc.c.orig 2010-03-12 05:26:51.000000000 +0900
++++ src/tspi/rpc/tcstp/rpc.c 2010-10-24 21:04:04.846552639 +0900
+@@ -306,7 +306,7 @@
+ errno = 0;
+ if ((recv_size = recv(sock, buffer+recv_total, size-recv_total, 0)) <= 0) {
+ if (recv_size < 0) {
+- if (errno == EINTR)
++ if (errno == EINTR || errno == EAGAIN)
+ continue;
+ LogError("Socket receive connection error: %s.", strerror(errno));
+ } else {