}
// child continues...
+ umask(S_IRWXG | S_IRWXO);
// threads && Globus
if (edg_wll_gss_initialize()) {
fprintf(pidf,"%d\n",getpid());
fclose(pidf);
+ umask(S_IRWXG | S_IRWXO);
+
#ifdef LB_PERF
/* this must be called after installing signal handlers */
glite_wll_perftest_init(NULL, /* host */
#include <stdio.h>
+#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
fprintf(pidf,"%d\n",getpid());
fclose(pidf);
+ umask(S_IRWXG | S_IRWXO);
+
/*
* Main loop
*/
if (fprintf(fpid, "%d", getpid()) <= 0) { perror(pidfile); return 1; }
if (fclose(fpid) != 0) { perror(pidfile); return 1; }
+ umask(S_IRWXG | S_IRWXO);
+
if (policy_file && parse_server_policy(ctx, policy_file, &authz_policy)) {
char *et, *ed;