summaryrefslogtreecommitdiff
path: root/web/src/pubcookie
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/pubcookie')
-rwxr-xr-xweb/src/pubcookie/wp_gssapi_proxybin0 -> 28756 bytes
-rwxr-xr-xweb/src/pubcookie/wp_tclshbin0 -> 22279 bytes
-rwxr-xr-xweb/src/pubcookie/wp_uidmapperbin0 -> 34929 bytes
-rw-r--r--web/src/pubcookie/wp_uidmapper.c5
-rwxr-xr-xweb/src/pubcookie/wp_umcbin0 -> 21337 bytes
5 files changed, 4 insertions, 1 deletions
diff --git a/web/src/pubcookie/wp_gssapi_proxy b/web/src/pubcookie/wp_gssapi_proxy
new file mode 100755
index 00000000..c0c2f33f
--- /dev/null
+++ b/web/src/pubcookie/wp_gssapi_proxy
Binary files differ
diff --git a/web/src/pubcookie/wp_tclsh b/web/src/pubcookie/wp_tclsh
new file mode 100755
index 00000000..99528161
--- /dev/null
+++ b/web/src/pubcookie/wp_tclsh
Binary files differ
diff --git a/web/src/pubcookie/wp_uidmapper b/web/src/pubcookie/wp_uidmapper
new file mode 100755
index 00000000..8f806e5b
--- /dev/null
+++ b/web/src/pubcookie/wp_uidmapper
Binary files differ
diff --git a/web/src/pubcookie/wp_uidmapper.c b/web/src/pubcookie/wp_uidmapper.c
index 662e9b3a..3126507e 100644
--- a/web/src/pubcookie/wp_uidmapper.c
+++ b/web/src/pubcookie/wp_uidmapper.c
@@ -10,8 +10,11 @@
* ========================================================================
*/
+#define _GNU_SOURCE
#include <system.h>
#include <general.h>
+#include <sys/stat.h>
+#include <sys/socket.h>
#include "id_table.h"
#include "wp_uidmapper_lib.h"
@@ -137,7 +140,7 @@ int main(int argc, char *argv[]) {
exit(1);
}
atexit(socketname_cleanup);
- chmod(ssock,sockmode);
+ fchmod(ssock,sockmode);
#ifndef DGRAM_MODE
if(listen(ssock,8)) {
diff --git a/web/src/pubcookie/wp_umc b/web/src/pubcookie/wp_umc
new file mode 100755
index 00000000..6fe5cd36
--- /dev/null
+++ b/web/src/pubcookie/wp_umc
Binary files differ