lukem
0c4ddb1599
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 01:09:06 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
mrg
4bc6feceb6
end the argument list to exec*(3) with a NULL instead of a bare '0', as
...
the latter isn't a pointer context in these varargs functions.
2006-05-11 00:22:52 +00:00
christos
cce62d0952
check pwd != NULL
2005-04-19 03:22:54 +00:00
christos
2e7a44f29b
- KNF fixes from John Nemeth
...
- Use getpwnam_r because pam may use getpw* and overwrite the static area
(from FreeBSD)
2005-03-30 01:07:47 +00:00
christos
62136d5653
PAMify: From John Nemeth with fixes from me.
2005-02-23 01:25:50 +00:00
ginsbach
e793dd138a
Fix thinko with last commit.
2005-01-10 19:01:09 +00:00
ginsbach
3596f57f42
ANSIfy; de-__P(); use STD*_FILENO rather than `magic' numbers
2005-01-08 03:14:02 +00:00
kleink
ab12386beb
Also set LOGNAME in the environment.
2004-05-11 08:07:37 +00:00
agc
8e6ab8837d
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
itojun
3e6b78200d
use strlcat
2003-05-17 22:56:31 +00:00
dsl
41880aca75
Call setsid so we don't change inetd's logname (and that of our peers).
...
(approved by christos)
2003-03-03 18:57:53 +00:00
thorpej
7ec31d736f
Avoid conflict with reserved identifier "log".
2002-12-06 01:59:22 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
a9fc5f306a
poll.h, not sys/poll.h
2002-09-23 03:32:34 +00:00
itojun
abec56361f
make it AF independent as much as possible
2002-06-05 23:05:34 +00:00
wiz
bf840df2cd
__STDC__ is always defined on NetBSD.
2002-05-26 00:02:06 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
is
48052d04a3
Format string cleanups by sommerfeld.
2000-10-10 19:54:37 +00:00
mycroft
5dd823ab5d
const poisoning.
1998-07-26 19:44:12 +00:00
mrg
fc0b820cbd
- KNF.
...
- check return call of several important system calls
- clean up some more cruft.
- support "rexecd -l" for extra (syslog(3)) logging.
- avoid *sprintf
1998-07-04 19:03:20 +00:00
mrg
da5c78b3aa
merge lite-2. WARNS?=1.
1997-10-07 10:11:29 +00:00
mrg
2a6bfcfdcf
call setlogin. from pr#1292 (James Jegers <jimj@miller.cs.uwm.edu>)
1996-05-21 11:06:49 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00