From: Aleš Křenek Date: Wed, 20 May 2009 11:03:08 +0000 (+0000) Subject: fake implementation of amIroot, due to linking wrt. recent changes in server X-Git-Tag: glite-lb-server_R_1_9_3_1~3 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c0938a90185c81e653e2822718c0d5f86137d488;p=jra1mw.git fake implementation of amIroot, due to linking wrt. recent changes in server (should not be called in proxy at all) --- diff --git a/org.glite.lb.proxy/src/lbproxy.c b/org.glite.lb.proxy/src/lbproxy.c index c6ee99e..87c3bf6 100644 --- a/org.glite.lb.proxy/src/lbproxy.c +++ b/org.glite.lb.proxy/src/lbproxy.c @@ -640,3 +640,9 @@ static int decrement_timeout(struct timeval *timeout, struct timeval before, str else return(0); } + +int amIroot(const char *subj, char **fqans) +{ + /* XXX: fake implementation, should not be called from proxy at all */ + abort(); +}