| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
just use _foo() <-- foo(). In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate. In the case of libc_r, we still need three names, which are
now _thread_sys_foo() <-- _foo() <-- foo().
Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().
Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().
Make thread cancellation fully POSIX-compliant.
Suggested by: deischen
Notes:
svn path=/head/; revision=56698
|
| |
|
|
|
|
|
|
|
| |
points. For library functions, the pattern is __sleep() <--
_libc_sleep() <-- sleep(). The arrows represent weak aliases. For
system calls, the pattern is _read() <-- _libc_read() <-- read().
Notes:
svn path=/head/; revision=55837
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
| |
Pointed out by: bde
Notes:
svn path=/head/; revision=35607
|
| |
|
|
| |
Notes:
svn path=/head/; revision=35570
|
| |
|
|
|
|
|
| |
Pointed out by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Notes:
svn path=/head/; revision=34075
|
| |
|
|
|
|
|
| |
Suggested by: Theo de Raadt <deraadt@openbsd.org>
Notes:
svn path=/head/; revision=34072
|
| |
|
|
|
|
|
|
| |
This wasn't a problem in practice as PATH_LOG and PATH_OLDLOG
are both < sizeof sockaddr::sa_data.
Notes:
svn path=/head/; revision=34059
|
| |
|
|
|
|
|
|
|
|
|
| |
modern FreeBSD systems will syslog properly on older systems that
still name the logging socket "/dev/log". This includes pre-2.2
versions of FreeBSD as well as BSD/OS systems. If the connect to
"/var/run/log" fails, the function now tries to connect to
"/dev/log" as a fallback.
Notes:
svn path=/head/; revision=24068
|
| |
|
|
|
|
|
|
| |
filesystem include updates, duplicate group suppression, cleanups,
filesystem whiteout support (unionfs), bidir popen().
Notes:
svn path=/head/; revision=23668
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22993
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
| |
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Notes:
svn path=/head/; revision=17141
|
| |
|
|
|
|
|
|
|
|
|
| |
reconnect once using the saved openlog() parameters.
This helps one of the system startup race conditions. If syslogd takes too
long to get going, some daemons can fail the connection and forever log
to the console even though the syslogd is running. That is ..unfortunate..
Notes:
svn path=/head/; revision=14332
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11659
|
| |
|
|
|
|
|
| |
fair bit. I forgot to add it when I made the fixes some time ago.
Notes:
svn path=/head/; revision=11606
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
What was happening, is if syslogd was not running, syslog() would do
a strcat("\r\n") on a non-null-terminated buffer, and write it to the console.
This meant that sometimes extra characters could be written to the console
during boot, depending on the stack contents.
This totally avoids the potential problem by using writev() like the rest
of the does, and avoid modifying the buffer after the trouble we've gone to
to carefully protect it.
This is actually a trivial fix, in spite of the long commit message.. :-)
It only appeared during boot and shutdown with syslogd stopped.
Notes:
svn path=/head/; revision=11192
|
| |
|
|
|
|
|
|
|
|
|
| |
control hooks.
It is similar to an unrolled multi-part snprintf(), in that a "FILE *" is
attached to a string buffer. There is also an optimisation for the case
where the syslog format string does not contain %m, which should improve
performance of "informational" logging, like from ftpd.
Notes:
svn path=/head/; revision=10794
|
| |
|
|
|
|
|
|
| |
change strftime to ctime. Logfiles must have default (english) date/time
representation for access/view from various places.
Notes:
svn path=/head/; revision=10414
|
| |
|
|
|
|
|
| |
Submitted by: Ruslan Belkin <rus@home2.UA.net>
Notes:
svn path=/head/; revision=8226
|
|
|
Notes:
svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573
|