Lines 1-4
Link Here
|
1 |
/* |
1 |
/*/* |
2 |
|
2 |
|
3 |
Copyright 1988, 1998 The Open Group |
3 |
Copyright 1988, 1998 The Open Group |
4 |
|
4 |
|
Lines 74-79
Link Here
|
74 |
# endif |
74 |
# endif |
75 |
#endif |
75 |
#endif |
76 |
|
76 |
|
|
|
77 |
#if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG_H) |
78 |
# define USE_SYSLOG |
79 |
# include <syslog.h> |
80 |
# ifndef LOG_AUTHPRIV |
81 |
# define LOG_AUTHPRIV LOG_AUTH |
82 |
# endif |
83 |
# ifndef LOG_PID |
84 |
# define LOG_PID 0 |
85 |
# endif |
86 |
#endif |
87 |
|
77 |
static int runAndWait (char **args, char **environ); |
88 |
static int runAndWait (char **args, char **environ); |
78 |
|
89 |
|
79 |
#ifdef HAVE_GRP_H |
90 |
#ifdef HAVE_GRP_H |
Lines 319-324
Link Here
|
319 |
} |
330 |
} |
320 |
#endif |
331 |
#endif |
321 |
|
332 |
|
|
|
333 |
#ifdef USE_SYSLOG |
334 |
openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV); |
335 |
#endif |
336 |
|
322 |
/* tell the possibly dynamically loaded greeter function |
337 |
/* tell the possibly dynamically loaded greeter function |
323 |
* what data structure formats to expect. |
338 |
* what data structure formats to expect. |
324 |
* These version numbers are registered with The Open Group. */ |
339 |
* These version numbers are registered with The Open Group. */ |