Commit Graph

28 Commits

Author SHA1 Message Date
njoly 2178b4237c Small typo in macro. 2012-05-13 17:08:31 +00:00
wiz 70c9435fd5 Sync usage with SYNOPSIS. 2012-04-27 06:30:48 +00:00
christos ed9eb31642 support the LOG_CONS/LOG_NDELAY. 2012-04-26 21:11:24 +00:00
wiz 3957bea1ef Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
joerg 924863260a static + __dead 2011-09-04 20:28:59 +00:00
jruoho 3ae25c77b6 RETURN VALUES -> EXIT STATUS. 2010-05-14 16:58:32 +00:00
lukem 743d88d8c2 fix sign-compare issue 2009-04-12 13:53:48 +00:00
christos d5e5a2c9eb PR/39912: Jukka Salmi: Logger eats the first word because of incorrect
syslogp invocation.
2008-11-13 15:51:07 +00:00
wiz b325f1d9d7 Sort options, add RETURN VALUES section. 2008-11-01 14:03:12 +00:00
christos 3f3059c920 fix compilation issue 2008-10-31 20:53:46 +00:00
christos 1c6aec2060 Import syslogd SoC project by Martin Schuette:
- new syslog protocol api syslogp(3) that supports structured data
	  and draft-rfc timestamps
	- reliable tcp connections with queueing
	- encrypted connections
2008-10-31 16:12:18 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
cgd c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
ad 94fcdfba6e KNF, const. 2000-09-21 10:17:24 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos e8ab739a14 char -> unsigned char 1998-12-19 19:45:09 +00:00
lukem 2dfca6c35c WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register, bcopy 1997-10-19 04:16:47 +00:00
jtc 7f8ee3fcb6 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 06:17:28 +00:00
jtc 73216f16dd Document the fact that logger is POSIX.2 compliant. 1993-08-28 04:57:17 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
deraadt e0be09ea04 fixed multiple inclusion problem 1993-04-26 01:48:05 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00