Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
663841ab
Commit
663841ab
authored
Jul 18, 2000
by
Brian Wellington
Browse files
338. [bug] lwresd logged to syslog as named, not lwresd.
parent
e54e6744
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
663841ab
338. [bug] lwresd logged to syslog as named, not lwresd.
337. [bug] "dig" did not recognize "nsap-ptr" as an RR type
on the command line.
...
...
bin/named/main.c
View file @
663841ab
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: main.c,v 1.7
3
2000/07/1
0
1
1:34:56 tale
Exp $ */
/* $Id: main.c,v 1.7
4
2000/07/1
8
1
7:49:59 bwelling
Exp $ */
#include <config.h>
...
...
@@ -483,7 +483,7 @@ main(int argc, char *argv[]) {
isc_error_setfatal
(
library_fatal_error
);
isc_error_setunexpected
(
library_unexpected_error
);
ns_os_init
();
ns_os_init
(
program_name
);
result
=
isc_app_start
();
if
(
result
!=
ISC_R_SUCCESS
)
...
...
bin/named/unix/include/named/os.h
View file @
663841ab
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: os.h,v 1.
8
2000/07/
01 00:48:06 tale
Exp $ */
/* $Id: os.h,v 1.
9
2000/07/
18 17:50:02 bwelling
Exp $ */
#ifndef NS_OS_H
#define NS_OS_H 1
...
...
@@ -23,7 +23,7 @@
#include <isc/types.h>
void
ns_os_init
(
void
);
ns_os_init
(
const
char
*
progname
);
void
ns_os_daemonize
(
void
);
...
...
bin/named/unix/os.c
View file @
663841ab
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: os.c,v 1.2
6
2000/07/
0
8
00:12:2
1 bwelling Exp $ */
/* $Id: os.c,v 1.2
7
2000/07/
1
8
17:50:0
1 bwelling Exp $ */
#include <config.h>
...
...
@@ -175,7 +175,7 @@ linux_keepcaps(void) {
static
void
setup_syslog
(
void
)
{
setup_syslog
(
const
char
*
progname
)
{
int
options
;
options
=
LOG_PID
;
...
...
@@ -183,12 +183,12 @@ setup_syslog(void) {
options
|=
LOG_NDELAY
;
#endif
openlog
(
"
name
d"
,
options
,
LOG_DAEMON
);
openlog
(
prog
name
,
options
,
LOG_DAEMON
);
}
void
ns_os_init
(
void
)
{
setup_syslog
();
ns_os_init
(
const
char
*
progname
)
{
setup_syslog
(
progname
);
#ifdef HAVE_LINUX_CAPABILITY_H
linux_initialprivs
();
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment