#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
ab2dae90 |
| 05-Feb-2016 |
mestre <mestre@openbsd.org> |
pledge(2) for talkd(8):
rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT inet/dns: the intervening hosts in the conversation may be rem
pledge(2) for talkd(8):
rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT inet/dns: the intervening hosts in the conversation may be remote, or not, but since we will never know beforehand then it'll always need inet and dns to resolve the hostnames
ok jca@ and also discussed with tb@
show more ...
|
#
f652621f |
| 01-Feb-2016 |
mestre <mestre@openbsd.org> |
Remove unused headers and sort the remaining
OK tb@
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
show more ...
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
show more ...
|
#
adbf56d7 |
| 08-Aug-2004 |
deraadt <deraadt@openbsd.org> |
spacing
|
#
c258a5d6 |
| 26-Jun-2003 |
deraadt <deraadt@openbsd.org> |
simple protos
|
#
6bcb9e83 |
| 11-Jun-2003 |
deraadt <deraadt@openbsd.org> |
ansi cleanup; ok ian markus
|
#
e33d3bd3 |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
b68d276f |
| 25-Nov-2002 |
itojun <itojun@openbsd.org> |
avoid size_t -> int conversion. style nit for sizeof(). David Krause
|
#
e296701d |
| 08-Oct-2002 |
itojun <itojun@openbsd.org> |
sa_family on wire is network byteorder. from Alexander Yurchenko <grange@rt.mipt.ru>
|
#
d74953b6 |
| 25-Sep-2002 |
itojun <itojun@openbsd.org> |
- "resposne" is used without initialization, so zero-fill - sendto(2) performed with osockaddr, so avoid that - reject anything other than AF_INET
based on patch from xs@kittenz.org. deraadt/miller
- "resposne" is used without initialization, so zero-fill - sendto(2) performed with osockaddr, so avoid that - reject anything other than AF_INET
based on patch from xs@kittenz.org. deraadt/millert ok
show more ...
|
#
71fc4cb2 |
| 06-Sep-2002 |
deraadt <deraadt@openbsd.org> |
use socklen_t more; henning ok
|
#
32b1573f |
| 03-Jul-2002 |
vincent <vincent@openbsd.org> |
add a missing newline to an error message.
from Jean-Francois Brousseau <krapht@secureops.com>
ok deraadt@
|
#
74040066 |
| 21-Jun-2002 |
millert <millert@openbsd.org> |
o Use *_FILENO defines instead of numbers o Kill sockt global, it is not needed o Use STDOUT_FILENO as the 1st arg to sendto().
Previously we used sockt in sendto() which only worked because a) glob
o Use *_FILENO defines instead of numbers o Kill sockt global, it is not needed o Use STDOUT_FILENO as the 1st arg to sendto().
Previously we used sockt in sendto() which only worked because a) globals are intialized to 0 and b) inetd sets up fds 0-2 dup'd to the same thing so it didn't matter that we were sending to stdin, not stdout.
show more ...
|
#
78359a7b |
| 16-May-2002 |
deraadt <deraadt@openbsd.org> |
KNF
|
#
4af80cab |
| 19-Feb-2002 |
mpech <mpech@openbsd.org> |
Fix gethostname() usage.
deraadt@ ok
|
#
a5553e71 |
| 08-Jul-2001 |
deraadt <deraadt@openbsd.org> |
-Wall
|
#
6734807b |
| 11-Jan-2001 |
deraadt <deraadt@openbsd.org> |
save_errno in signal handler
|
#
9038a532 |
| 08-Jul-1998 |
millert <millert@openbsd.org> |
Force NUL termination of strings in request we get from client; okir@monad.swb.de
|
#
fbfbd66c |
| 19-Jul-1996 |
millert <millert@openbsd.org> |
Patch to catch non-printables in the announce string (ala the 'flash' hack) from FreeBSD (cleanup of patch from Dima Ruban <dima@demos.su>).
Also fixes a syslog() message--we use recvfrom now.
|
#
0aa06933 |
| 18-Jul-1996 |
deraadt <deraadt@openbsd.org> |
param.h
|
#
00e374c4 |
| 18-Jul-1996 |
deraadt <deraadt@openbsd.org> |
full hostnames; from cstruble@singularity.bevc.blacksburg.va.us
|
#
e4de0f9a |
| 15-Jul-1996 |
mickey <mickey@openbsd.org> |
fix time differencies computations (orig from alan@parsys.co.uk, but don't use difftime(3), it returns double) use <sys/queue.h> for queue maintanance
|
#
ebad6d3c |
| 28-Apr-1996 |
mickey <mickey@openbsd.org> |
Fix the bugs w/ that osockaddr. minor cleanups. this was tested w/: OpenBSD, Kleenux, BSDi (in all combinations).
|