search for: vsyslog

Displaying 20 results from an estimated 52 matches for "vsyslog".

Did you mean: syslog
2003 Nov 25
2
[patch] ftruncate & vsyslog
Hi, Two patches to add ftruncate and vsyslog syscalls. These were in the klibc that Greg K-H has in the udev tarball. I got his permission to contribute them to the main-line klibc. mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com 613-266-2296 -------------- next part -------------- A non-text attachme...
2008 Jun 07
1
directing output of tftpd to stdout, instead of syslog()
...not used either started it normally or from the sample inetd... I'm thinking of doing: my_syslog(int priority, const char *format, ...) { va_list ap; va_start(ap, format); if(use_tty == TRUE) vfprintf(stderr, format, ap); else vsyslog(priority, format, ap); va_end(ap); } and building with -Dsyslog=my_syslog I like the fact when the startup options are incorrect, they're logged...so I need "use_tty" set up before anything else. marty
2003 Nov 11
4
isspace() and other ctype.h functions
Hm, finally subscribed here, forgot to... Anyway, I'm using klibc in udev and have added some needed functions (like ftruncate and vsyslog). Should I post the patches here before commiting them to the cvs tree? Also, it looks like ctype.h has a off-by-one bug. isspace(' ') returns 0 right now, but if you change the function from: __ctype_inline int isspace(int __c) { return __ctypes[__c+1] & __ctype_space; */ }...
2020 Aug 18
0
[PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...ctions are missing. Use the autoconf LIBOBJS mechanism to replace these functions. This includes replacement functions for: Function names Implementation Origin getdelim, getline general purpose NetBSD under a compatible license openlog, syslog, Win32 written by me vsyslog realpath Win32 written by me strndup general purpose written by me This should do nothing on existing supported platforms. It is only intended in preparation for porting nbdkit to Windows. --- configure.ac | 22 +++++++ Makefile.a...
2020 Aug 20
0
[PATCH nbdkit 01/13] common/replacements: Replace missing functions using LIBOBJS.
...ctions are missing. Use the autoconf LIBOBJS mechanism to replace these functions. This includes replacement functions for: Function names Implementation Origin getdelim, getline general purpose NetBSD under a compatible license openlog, syslog, Win32 written by me vsyslog realpath Win32 written by me strndup general purpose NetBSD under a compatible license This should do nothing on existing supported platforms. It is only intended in preparation for porting nbdkit to Windows. --- configure.ac | 22...
2020 Aug 20
1
Re: [PATCH nbdkit 01/13] common/replacements: Replace missing functions using LIBOBJS.
...hanism to replace these functions. > > This includes replacement functions for: > > Function names Implementation Origin > > getdelim, getline general purpose NetBSD under a compatible license > > openlog, syslog, Win32 written by me > vsyslog > > realpath Win32 written by me > > strndup general purpose NetBSD under a compatible license > > This should do nothing on existing supported platforms. It is only > intended in preparation for porting nbdkit to Windows. > --- &g...
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
...igure.ac 2015-10-02 17:06:54.147546590 +0200 @@ -187,7 +187,7 @@ dnl Checks for library functions. AC_TYPE_SIGNAL -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev], +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random recvmmsg select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev], [], [], [#include "src/have.h"] ) --- src/net_packet.c.original 20...
2020 Aug 18
1
Re: [PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...hanism to replace these functions. > > This includes replacement functions for: > > Function names Implementation Origin > > getdelim, getline general purpose NetBSD under a compatible license > > openlog, syslog, Win32 written by me > vsyslog > > realpath Win32 written by me > > strndup general purpose written by me > > This should do nothing on existing supported platforms. It is only > intended in preparation for porting nbdkit to Windows. > --- > @@ -464,6 +475,15...
2019 Jan 14
6
[PATCH nbdkit incomplete 0/5] Port to Windows.
This is an incomplete port to Windows. Currently the server compiles and starts up successfully, but goes into an infinite loop when you connect to it. Nevertheless I think the approach is ready for feedback. This being Windows the changes go quite deep. Rich.
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
...de "have.h"] ) @@ -122,7 +122,7 @@ dnl Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_ALLOCA AC_TYPE_SIGNAL -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system unsetenv vsyslog writev], +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name getpeereid gettimeofday mlockall putenv random select strdup strerror strsignal strtol system unsetenv vsyslog writev], [], [], [#include "have.h"] ) AC_FUNC_MALLOC diff --git a/src/control.c b/src...
2015 Dec 10
2
[PATCH] Receive multiple packets at a time
...klen_t, struct ether_header, struct arphdr, struct ether_arp, dnl Checks for library functions. AC_TYPE_SIGNAL -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall pselect putenv random select strdup strerror strsignal strtol system unsetenv usleep vsyslog writev], +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall pselect putenv random recvmmsg select strdup strerror strsignal strtol system unsetenv usleep vsyslog writev], [], [], [#include "src/have.h"] ) diff --git a/src/net_packet.c...
2015 Dec 02
0
[PATCH] Receive multiple packets at a time
...06:54.147546590 +0200 > @@ -187,7 +187,7 @@ > > dnl Checks for library functions. > AC_TYPE_SIGNAL > -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev], > +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random recvmmsg select strdup strerror strsignal strtol system time usleep unsetenv vsyslog writev], > [], [], [#include "src/have.h"] > ) > > --- src/n...
2005 Jan 07
1
CRASH with squirrelmail.
I'm using: [root at gwydion root]# rpm -q squirrelmail dovecot squirrelmail-1.4.3-0.f1.1 dovecot-0.99.12-2.1.fc1.rf [root at gwydion root]# It works very good (a bit slow I would say, but ok)... until I enable MySQL auth mechanism. When I do that, dovecot-auth crashes when squirrelmail try to login. I keep getting: Jan 7 01:28:31 gwydion dovecot: child 22782 (auth) killed with signal 11
2003 Oct 28
0
I: Segfault in Samba
...in smb_panic () #3 0x081ab587 in dbgtext () #4 <signal handler called> #5 0x40219abd in mallopt () from /lib/libc.so.6 #6 0x40219368 in mallopt () from /lib/libc.so.6 #7 0x40218553 in malloc () from /lib/libc.so.6 #8 0x4020e0e1 in open_memstream () from /lib/libc.so.6 #9 0x4027adb0 in vsyslog () from /lib/libc.so.6 #10 0x4027ad1f in syslog () from /lib/libc.so.6 #11 0x081ab067 in Debug1 () #12 0x081ab3dd in dbghdr () #13 0x081bfaa3 in read_data () #14 0x081bff89 in send_keepalive () #15 0x4037b008 in ?? () #16 0x00000004 in ?? ()
2004 Oct 21
0
define more syslog flags
...nnection immediately */ +#define LOG_NOWAIT 0x10 /* wait for child processes (unused on linux) */ +#define LOG_PERROR 0x20 /* additional logging to stderr */ + __extern void openlog(const char *, int, int); __extern void syslog(int, const char *, ...); __extern void vsyslog(int, const char *, va_list); -- Thayne Harbaugh Linux Networx -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.zytor.com/pipermail/klibc/...
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2006 Mar 17
1
[PATCH] OpenSSL RNG initialization
...re.in,v retrieving revision 1.266 diff -u -r1.266 configure.in --- configure.in 28 Feb 2006 08:36:41 -0000 1.266 +++ configure.in 10 Mar 2006 17:15:01 -0000 @@ -358,7 +358,8 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_aton sigaction getpagesize madvise \ strcasecmp stricmp vsnprintf vsyslog writev pread \ setrlimit setproctitle seteuid setreuid setegid setresgid \ - strtoull strtouq setpriority quotactl getmntent kqueue kevent) + strtoull strtouq setpriority quotactl getmntent kqueue kevent \ + getrusage) dnl * I/O loop function have_ioloop=no Index: sr...
2009 May 15
2
Trouble with Tinc at make level
...... yes checking for mlockall... yes checking for putenv... yes checking for random... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strsignal... yes checking for strtol... yes checking for system... yes checking for unsetenv... yes checking for vsyslog... yes checking for writev... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for socket... yes checking for gethostbyname... yes checking for freeaddrinfo... yes...
2020 Aug 18
0
[PATCH nbdkit 6/9] lib: Use replacement strategy for get_current_dir_name.
...file.am +++ b/common/replacements/Makefile.am @@ -40,6 +40,8 @@ libcompat_la_SOURCES = libcompat_la_LIBADD = $(LTLIBOBJS) EXTRA_DIST = \ + get_current_dir_name.c \ + get_current_dir_name.h \ getdelim.c \ getline.c \ getline.h \ @@ -51,3 +53,11 @@ EXTRA_DIST = \ syslog.c \ syslog.h \ vsyslog.c + +TESTS = \ + test-current-dir-name +check_PROGRAMS = $(TESTS) + +test_current_dir_name_SOURCES = test-current-dir-name.c get_current_dir_name.h +test_current_dir_name_CPPFLAGS = -I$(srcdir) +test_current_dir_name_CFLAGS = $(WARNINGS_CFLAGS) diff --git a/plugins/floppy/Makefile.am b/plugins/flop...
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in