#
1.40 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.39 |
|
02-Dec-2019 |
cheloha |
Revert "timeout(9): switch to tickless backend"
It appears to have caused major performance regressions all over the network stack.
Reported by bluhm@
ok deraadt@
|
#
1.38 |
|
26-Nov-2019 |
cheloha |
timeout(9): switch to tickless backend
Rebase the timeout wheel on the system uptime clock. Timeouts are now set to run at or after an absolute time as returned by nanouptime(9). Timeouts are thus "tickless": they expire at a real time on that clock instead of at a particular value of the global "ticks" variable.
To facilitate this change the timeout struct's .to_time member becomes a timespec. Hashing timeouts into a bucket on the wheel changes slightly: we build a 32-bit hash with 25 bits of seconds (.tv_sec) and 7 bits of subseconds (.tv_nsec). 7 bits of subseconds means the width of the lowest wheel level is now 2 seconds on all platforms and each bucket in that lowest level corresponds to 1/128 seconds on the uptime clock. These values were chosen to closely align with the current 100hz hardclock(9) typical on almost all of our platforms. At 100hz a bucket is currently ~1/100 seconds wide on the lowest level and the lowest level itself is ~2.56 seconds wide. Not a huge change, but a change nonetheless.
Because a bucket no longer corresponds to a single tick more than one bucket may be dumped during an average timeout_hardclock_update() call. On 100hz platforms you now dump ~2 buckets. On 64hz machines (sh) you dump ~4 buckets. On 1024hz machines (alpha) you dump only 1 bucket, but you are doing extra work in softclock() to reschedule timeouts that aren't due yet.
To avoid changing current behavior all timeout_add*(9) interfaces convert their timeout interval into ticks, compute an equivalent timespec interval, and then add that interval to the timestamp of the most recent timeout_hardclock_update() call to determine an absolute deadline. So all current timeouts still "use" ticks, but the ticks are faked in the timeout layer.
A new interface, timeout_at_ts(9), is introduced here to bypass this backwardly compatible behavior. It will be used in subsequent diffs to add absolute timeout support for userland and to clean up some of the messier parts of kernel timekeeping, especially at the syscall layer.
Because timeouts are based against the uptime clock they are subject to NTP adjustment via adjtime(2) and adjfreq(2). Unless you have a crazy adjfreq(2) adjustment set this will not change the expiration behavior of your timeouts.
Tons of design feedback from mpi@, visa@, guenther@, and kettenis@. Additional amd64 testing from anton@ and visa@. Octeon testing from visa@. macppc testing from me.
Positive feedback from deraadt@, ok visa@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.37 |
|
10-May-2018 |
bluhm |
TCP debug sockets still had code for old TCP timers that were implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
|
#
1.36 |
|
26-Apr-2018 |
guenther |
Use <fcntl.h> instead of <sys/file.h> for open() and friends. Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup.
ok deraadt@ krw@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.35 |
|
18-May-2017 |
mpi |
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.34 |
|
23-Dec-2016 |
lteo |
Replace the archaic n_time data type with u_int32_t. This also allows the removal of the <netinet/in_systm.h> include.
ok mpi@ stsp@
|
#
1.33 |
|
27-Aug-2016 |
guenther |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.32 |
|
20-Nov-2015 |
deraadt |
Appears to only need pledge "stdio" against open kvm
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.31 |
|
09-Feb-2015 |
deraadt |
clean up flags++ instances around getopt() ok florian
|
#
1.30 |
|
16-Jan-2015 |
deraadt |
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)
|
#
1.29 |
|
26-Nov-2014 |
millert |
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.28 |
|
04-Jul-2011 |
guenther |
<sys/socketvar.h> isn't actually needed here, so revert previous and drop that #include
ok mikeb@ halex@
|
#
1.27 |
|
04-Jul-2011 |
halex |
include sys/timeout.h with it's define/undef _KERNEL dance before we include sys/socket.h since the latter also includes the same but without _KERNEL defined
ok tedu@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.26 |
|
26-May-2010 |
deraadt |
libevent has named two of it's new macros by the same name as our kernel macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.25 |
|
27-Oct-2009 |
deraadt |
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
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.24 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.23 |
|
18-Feb-2007 |
jmc |
tidy up synopsis and usage(); from Igor Sobrado
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.22 |
|
13-Mar-2006 |
deraadt |
cleanup from dhill
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.21 |
|
03-May-2005 |
djm |
setresgid; ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
24-Sep-2004 |
markus |
pass segment size to userland; ok deraadt@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.19 |
|
19-Sep-2003 |
deraadt |
whack getopt ? matching; jeffi@rcn.com
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.17 |
|
26-May-2003 |
itojun |
IPv6 support.
|
#
1.16 |
|
14-May-2003 |
jason |
remove the last of the MI commons
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.15 |
|
09-Dec-2002 |
deraadt |
KNF
|
#
1.14 |
|
18-Nov-2002 |
itojun |
strto* usage audit. deraadt ok
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.13 |
|
19-Jun-2002 |
deraadt |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.12 |
|
14-Mar-2002 |
mpech |
kill more registers.
millert@ ok
|
#
1.11 |
|
08-Mar-2002 |
mickey |
fix a fallout from tcp timer conversion
|
#
1.10 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.9 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
25-Feb-2000 |
deraadt |
support -M and -N; jeff@cepheid.org
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.7 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.6 |
|
08-Sep-1997 |
deraadt |
use -lkvm, various other fixes; thorpej
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.5 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.4 |
|
22-Dec-1996 |
deraadt |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
03-Jun-1996 |
deraadt |
do not rely on constant folding equivelance
|
#
1.2 |
|
30-May-1996 |
deraadt |
revoke privs before opening kvm if user has specified mem/kernel paths
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.39 |
|
02-Dec-2019 |
cheloha |
Revert "timeout(9): switch to tickless backend"
It appears to have caused major performance regressions all over the network stack.
Reported by bluhm@
ok deraadt@
|
#
1.38 |
|
26-Nov-2019 |
cheloha |
timeout(9): switch to tickless backend
Rebase the timeout wheel on the system uptime clock. Timeouts are now set to run at or after an absolute time as returned by nanouptime(9). Timeouts are thus "tickless": they expire at a real time on that clock instead of at a particular value of the global "ticks" variable.
To facilitate this change the timeout struct's .to_time member becomes a timespec. Hashing timeouts into a bucket on the wheel changes slightly: we build a 32-bit hash with 25 bits of seconds (.tv_sec) and 7 bits of subseconds (.tv_nsec). 7 bits of subseconds means the width of the lowest wheel level is now 2 seconds on all platforms and each bucket in that lowest level corresponds to 1/128 seconds on the uptime clock. These values were chosen to closely align with the current 100hz hardclock(9) typical on almost all of our platforms. At 100hz a bucket is currently ~1/100 seconds wide on the lowest level and the lowest level itself is ~2.56 seconds wide. Not a huge change, but a change nonetheless.
Because a bucket no longer corresponds to a single tick more than one bucket may be dumped during an average timeout_hardclock_update() call. On 100hz platforms you now dump ~2 buckets. On 64hz machines (sh) you dump ~4 buckets. On 1024hz machines (alpha) you dump only 1 bucket, but you are doing extra work in softclock() to reschedule timeouts that aren't due yet.
To avoid changing current behavior all timeout_add*(9) interfaces convert their timeout interval into ticks, compute an equivalent timespec interval, and then add that interval to the timestamp of the most recent timeout_hardclock_update() call to determine an absolute deadline. So all current timeouts still "use" ticks, but the ticks are faked in the timeout layer.
A new interface, timeout_at_ts(9), is introduced here to bypass this backwardly compatible behavior. It will be used in subsequent diffs to add absolute timeout support for userland and to clean up some of the messier parts of kernel timekeeping, especially at the syscall layer.
Because timeouts are based against the uptime clock they are subject to NTP adjustment via adjtime(2) and adjfreq(2). Unless you have a crazy adjfreq(2) adjustment set this will not change the expiration behavior of your timeouts.
Tons of design feedback from mpi@, visa@, guenther@, and kettenis@. Additional amd64 testing from anton@ and visa@. Octeon testing from visa@. macppc testing from me.
Positive feedback from deraadt@, ok visa@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.37 |
|
10-May-2018 |
bluhm |
TCP debug sockets still had code for old TCP timers that were implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
|
#
1.36 |
|
26-Apr-2018 |
guenther |
Use <fcntl.h> instead of <sys/file.h> for open() and friends. Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup.
ok deraadt@ krw@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.35 |
|
18-May-2017 |
mpi |
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.34 |
|
23-Dec-2016 |
lteo |
Replace the archaic n_time data type with u_int32_t. This also allows the removal of the <netinet/in_systm.h> include.
ok mpi@ stsp@
|
#
1.33 |
|
27-Aug-2016 |
guenther |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.32 |
|
20-Nov-2015 |
deraadt |
Appears to only need pledge "stdio" against open kvm
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.31 |
|
09-Feb-2015 |
deraadt |
clean up flags++ instances around getopt() ok florian
|
#
1.30 |
|
16-Jan-2015 |
deraadt |
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)
|
#
1.29 |
|
26-Nov-2014 |
millert |
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.28 |
|
04-Jul-2011 |
guenther |
<sys/socketvar.h> isn't actually needed here, so revert previous and drop that #include
ok mikeb@ halex@
|
#
1.27 |
|
04-Jul-2011 |
halex |
include sys/timeout.h with it's define/undef _KERNEL dance before we include sys/socket.h since the latter also includes the same but without _KERNEL defined
ok tedu@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.26 |
|
26-May-2010 |
deraadt |
libevent has named two of it's new macros by the same name as our kernel macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.25 |
|
27-Oct-2009 |
deraadt |
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
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.24 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.23 |
|
18-Feb-2007 |
jmc |
tidy up synopsis and usage(); from Igor Sobrado
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.22 |
|
13-Mar-2006 |
deraadt |
cleanup from dhill
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.21 |
|
03-May-2005 |
djm |
setresgid; ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
24-Sep-2004 |
markus |
pass segment size to userland; ok deraadt@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.19 |
|
19-Sep-2003 |
deraadt |
whack getopt ? matching; jeffi@rcn.com
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.17 |
|
26-May-2003 |
itojun |
IPv6 support.
|
#
1.16 |
|
14-May-2003 |
jason |
remove the last of the MI commons
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.15 |
|
09-Dec-2002 |
deraadt |
KNF
|
#
1.14 |
|
18-Nov-2002 |
itojun |
strto* usage audit. deraadt ok
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.13 |
|
19-Jun-2002 |
deraadt |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.12 |
|
14-Mar-2002 |
mpech |
kill more registers.
millert@ ok
|
#
1.11 |
|
08-Mar-2002 |
mickey |
fix a fallout from tcp timer conversion
|
#
1.10 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.9 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
25-Feb-2000 |
deraadt |
support -M and -N; jeff@cepheid.org
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.7 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.6 |
|
08-Sep-1997 |
deraadt |
use -lkvm, various other fixes; thorpej
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.5 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.4 |
|
22-Dec-1996 |
deraadt |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
03-Jun-1996 |
deraadt |
do not rely on constant folding equivelance
|
#
1.2 |
|
30-May-1996 |
deraadt |
revoke privs before opening kvm if user has specified mem/kernel paths
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.38 |
|
26-Nov-2019 |
cheloha |
timeout(9): switch to tickless backend
Rebase the timeout wheel on the system uptime clock. Timeouts are now set to run at or after an absolute time as returned by nanouptime(9). Timeouts are thus "tickless": they expire at a real time on that clock instead of at a particular value of the global "ticks" variable.
To facilitate this change the timeout struct's .to_time member becomes a timespec. Hashing timeouts into a bucket on the wheel changes slightly: we build a 32-bit hash with 25 bits of seconds (.tv_sec) and 7 bits of subseconds (.tv_nsec). 7 bits of subseconds means the width of the lowest wheel level is now 2 seconds on all platforms and each bucket in that lowest level corresponds to 1/128 seconds on the uptime clock. These values were chosen to closely align with the current 100hz hardclock(9) typical on almost all of our platforms. At 100hz a bucket is currently ~1/100 seconds wide on the lowest level and the lowest level itself is ~2.56 seconds wide. Not a huge change, but a change nonetheless.
Because a bucket no longer corresponds to a single tick more than one bucket may be dumped during an average timeout_hardclock_update() call. On 100hz platforms you now dump ~2 buckets. On 64hz machines (sh) you dump ~4 buckets. On 1024hz machines (alpha) you dump only 1 bucket, but you are doing extra work in softclock() to reschedule timeouts that aren't due yet.
To avoid changing current behavior all timeout_add*(9) interfaces convert their timeout interval into ticks, compute an equivalent timespec interval, and then add that interval to the timestamp of the most recent timeout_hardclock_update() call to determine an absolute deadline. So all current timeouts still "use" ticks, but the ticks are faked in the timeout layer.
A new interface, timeout_at_ts(9), is introduced here to bypass this backwardly compatible behavior. It will be used in subsequent diffs to add absolute timeout support for userland and to clean up some of the messier parts of kernel timekeeping, especially at the syscall layer.
Because timeouts are based against the uptime clock they are subject to NTP adjustment via adjtime(2) and adjfreq(2). Unless you have a crazy adjfreq(2) adjustment set this will not change the expiration behavior of your timeouts.
Tons of design feedback from mpi@, visa@, guenther@, and kettenis@. Additional amd64 testing from anton@ and visa@. Octeon testing from visa@. macppc testing from me.
Positive feedback from deraadt@, ok visa@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.37 |
|
10-May-2018 |
bluhm |
TCP debug sockets still had code for old TCP timers that were implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
|
#
1.36 |
|
26-Apr-2018 |
guenther |
Use <fcntl.h> instead of <sys/file.h> for open() and friends. Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup.
ok deraadt@ krw@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.35 |
|
18-May-2017 |
mpi |
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.34 |
|
23-Dec-2016 |
lteo |
Replace the archaic n_time data type with u_int32_t. This also allows the removal of the <netinet/in_systm.h> include.
ok mpi@ stsp@
|
#
1.33 |
|
27-Aug-2016 |
guenther |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.32 |
|
20-Nov-2015 |
deraadt |
Appears to only need pledge "stdio" against open kvm
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.31 |
|
09-Feb-2015 |
deraadt |
clean up flags++ instances around getopt() ok florian
|
#
1.30 |
|
16-Jan-2015 |
deraadt |
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)
|
#
1.29 |
|
26-Nov-2014 |
millert |
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.28 |
|
04-Jul-2011 |
guenther |
<sys/socketvar.h> isn't actually needed here, so revert previous and drop that #include
ok mikeb@ halex@
|
#
1.27 |
|
04-Jul-2011 |
halex |
include sys/timeout.h with it's define/undef _KERNEL dance before we include sys/socket.h since the latter also includes the same but without _KERNEL defined
ok tedu@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.26 |
|
26-May-2010 |
deraadt |
libevent has named two of it's new macros by the same name as our kernel macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.25 |
|
27-Oct-2009 |
deraadt |
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
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.24 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.23 |
|
18-Feb-2007 |
jmc |
tidy up synopsis and usage(); from Igor Sobrado
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.22 |
|
13-Mar-2006 |
deraadt |
cleanup from dhill
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.21 |
|
03-May-2005 |
djm |
setresgid; ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
24-Sep-2004 |
markus |
pass segment size to userland; ok deraadt@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.19 |
|
19-Sep-2003 |
deraadt |
whack getopt ? matching; jeffi@rcn.com
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.17 |
|
26-May-2003 |
itojun |
IPv6 support.
|
#
1.16 |
|
14-May-2003 |
jason |
remove the last of the MI commons
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.15 |
|
09-Dec-2002 |
deraadt |
KNF
|
#
1.14 |
|
18-Nov-2002 |
itojun |
strto* usage audit. deraadt ok
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.13 |
|
19-Jun-2002 |
deraadt |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.12 |
|
14-Mar-2002 |
mpech |
kill more registers.
millert@ ok
|
#
1.11 |
|
08-Mar-2002 |
mickey |
fix a fallout from tcp timer conversion
|
#
1.10 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.9 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
25-Feb-2000 |
deraadt |
support -M and -N; jeff@cepheid.org
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.7 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.6 |
|
08-Sep-1997 |
deraadt |
use -lkvm, various other fixes; thorpej
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.5 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.4 |
|
22-Dec-1996 |
deraadt |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
03-Jun-1996 |
deraadt |
do not rely on constant folding equivelance
|
#
1.2 |
|
30-May-1996 |
deraadt |
revoke privs before opening kvm if user has specified mem/kernel paths
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.37 |
|
10-May-2018 |
bluhm |
TCP debug sockets still had code for old TCP timers that were implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
|
#
1.36 |
|
26-Apr-2018 |
guenther |
Use <fcntl.h> instead of <sys/file.h> for open() and friends. Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup.
ok deraadt@ krw@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.35 |
|
18-May-2017 |
mpi |
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.34 |
|
23-Dec-2016 |
lteo |
Replace the archaic n_time data type with u_int32_t. This also allows the removal of the <netinet/in_systm.h> include.
ok mpi@ stsp@
|
#
1.33 |
|
27-Aug-2016 |
guenther |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.32 |
|
20-Nov-2015 |
deraadt |
Appears to only need pledge "stdio" against open kvm
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.31 |
|
09-Feb-2015 |
deraadt |
clean up flags++ instances around getopt() ok florian
|
#
1.30 |
|
16-Jan-2015 |
deraadt |
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)
|
#
1.29 |
|
26-Nov-2014 |
millert |
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.28 |
|
04-Jul-2011 |
guenther |
<sys/socketvar.h> isn't actually needed here, so revert previous and drop that #include
ok mikeb@ halex@
|
#
1.27 |
|
04-Jul-2011 |
halex |
include sys/timeout.h with it's define/undef _KERNEL dance before we include sys/socket.h since the latter also includes the same but without _KERNEL defined
ok tedu@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.26 |
|
26-May-2010 |
deraadt |
libevent has named two of it's new macros by the same name as our kernel macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.25 |
|
27-Oct-2009 |
deraadt |
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
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.24 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.23 |
|
18-Feb-2007 |
jmc |
tidy up synopsis and usage(); from Igor Sobrado
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.22 |
|
13-Mar-2006 |
deraadt |
cleanup from dhill
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.21 |
|
03-May-2005 |
djm |
setresgid; ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
24-Sep-2004 |
markus |
pass segment size to userland; ok deraadt@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.19 |
|
19-Sep-2003 |
deraadt |
whack getopt ? matching; jeffi@rcn.com
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.17 |
|
26-May-2003 |
itojun |
IPv6 support.
|
#
1.16 |
|
14-May-2003 |
jason |
remove the last of the MI commons
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.15 |
|
09-Dec-2002 |
deraadt |
KNF
|
#
1.14 |
|
18-Nov-2002 |
itojun |
strto* usage audit. deraadt ok
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.13 |
|
19-Jun-2002 |
deraadt |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.12 |
|
14-Mar-2002 |
mpech |
kill more registers.
millert@ ok
|
#
1.11 |
|
08-Mar-2002 |
mickey |
fix a fallout from tcp timer conversion
|
#
1.10 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.9 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
25-Feb-2000 |
deraadt |
support -M and -N; jeff@cepheid.org
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.7 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.6 |
|
08-Sep-1997 |
deraadt |
use -lkvm, various other fixes; thorpej
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.5 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.4 |
|
22-Dec-1996 |
deraadt |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
03-Jun-1996 |
deraadt |
do not rely on constant folding equivelance
|
#
1.2 |
|
30-May-1996 |
deraadt |
revoke privs before opening kvm if user has specified mem/kernel paths
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.36 |
|
26-Apr-2018 |
guenther |
Use <fcntl.h> instead of <sys/file.h> for open() and friends. Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup.
ok deraadt@ krw@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.35 |
|
18-May-2017 |
mpi |
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.34 |
|
23-Dec-2016 |
lteo |
Replace the archaic n_time data type with u_int32_t. This also allows the removal of the <netinet/in_systm.h> include.
ok mpi@ stsp@
|
#
1.33 |
|
27-Aug-2016 |
guenther |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.32 |
|
20-Nov-2015 |
deraadt |
Appears to only need pledge "stdio" against open kvm
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.31 |
|
09-Feb-2015 |
deraadt |
clean up flags++ instances around getopt() ok florian
|
#
1.30 |
|
16-Jan-2015 |
deraadt |
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)
|
#
1.29 |
|
26-Nov-2014 |
millert |
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.28 |
|
04-Jul-2011 |
guenther |
<sys/socketvar.h> isn't actually needed here, so revert previous and drop that #include
ok mikeb@ halex@
|
#
1.27 |
|
04-Jul-2011 |
halex |
include sys/timeout.h with it's define/undef _KERNEL dance before we include sys/socket.h since the latter also includes the same but without _KERNEL defined
ok tedu@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.26 |
|
26-May-2010 |
deraadt |
libevent has named two of it's new macros by the same name as our kernel macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.25 |
|
27-Oct-2009 |
deraadt |
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
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.24 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.23 |
|
18-Feb-2007 |
jmc |
tidy up synopsis and usage(); from Igor Sobrado
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.22 |
|
13-Mar-2006 |
deraadt |
cleanup from dhill
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.21 |
|
03-May-2005 |
djm |
setresgid; ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
24-Sep-2004 |
markus |
pass segment size to userland; ok deraadt@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.19 |
|
19-Sep-2003 |
deraadt |
whack getopt ? matching; jeffi@rcn.com
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.17 |
|
26-May-2003 |
itojun |
IPv6 support.
|
#
1.16 |
|
14-May-2003 |
jason |
remove the last of the MI commons
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.15 |
|
09-Dec-2002 |
deraadt |
KNF
|
#
1.14 |
|
18-Nov-2002 |
itojun |
strto* usage audit. deraadt ok
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.13 |
|
19-Jun-2002 |
deraadt |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.12 |
|
14-Mar-2002 |
mpech |
kill more registers.
millert@ ok
|
#
1.11 |
|
08-Mar-2002 |
mickey |
fix a fallout from tcp timer conversion
|
#
1.10 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.9 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
25-Feb-2000 |
deraadt |
support -M and -N; jeff@cepheid.org
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.7 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.6 |
|
08-Sep-1997 |
deraadt |
use -lkvm, various other fixes; thorpej
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.5 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.4 |
|
22-Dec-1996 |
deraadt |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
03-Jun-1996 |
deraadt |
do not rely on constant folding equivelance
|
#
1.2 |
|
30-May-1996 |
deraadt |
revoke privs before opening kvm if user has specified mem/kernel paths
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.35 |
|
18-May-2017 |
mpi |
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.34 |
|
23-Dec-2016 |
lteo |
Replace the archaic n_time data type with u_int32_t. This also allows the removal of the <netinet/in_systm.h> include.
ok mpi@ stsp@
|
#
1.33 |
|
27-Aug-2016 |
guenther |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.32 |
|
20-Nov-2015 |
deraadt |
Appears to only need pledge "stdio" against open kvm
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.31 |
|
09-Feb-2015 |
deraadt |
clean up flags++ instances around getopt() ok florian
|
#
1.30 |
|
16-Jan-2015 |
deraadt |
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)
|
#
1.29 |
|
26-Nov-2014 |
millert |
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.28 |
|
04-Jul-2011 |
guenther |
<sys/socketvar.h> isn't actually needed here, so revert previous and drop that #include
ok mikeb@ halex@
|
#
1.27 |
|
04-Jul-2011 |
halex |
include sys/timeout.h with it's define/undef _KERNEL dance before we include sys/socket.h since the latter also includes the same but without _KERNEL defined
ok tedu@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.26 |
|
26-May-2010 |
deraadt |
libevent has named two of it's new macros by the same name as our kernel macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
|
Revision tags: OPENBSD_4_7_BASE
|
#
1.25 |
|
27-Oct-2009 |
deraadt |
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
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.24 |
|
26-Jun-2008 |
ray |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.23 |
|
18-Feb-2007 |
jmc |
tidy up synopsis and usage(); from Igor Sobrado
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.22 |
|
13-Mar-2006 |
deraadt |
cleanup from dhill
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.21 |
|
03-May-2005 |
djm |
setresgid; ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
24-Sep-2004 |
markus |
pass segment size to userland; ok deraadt@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.19 |
|
19-Sep-2003 |
deraadt |
whack getopt ? matching; jeffi@rcn.com
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.17 |
|
26-May-2003 |
itojun |
IPv6 support.
|
#
1.16 |
|
14-May-2003 |
jason |
remove the last of the MI commons
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.15 |
|
09-Dec-2002 |
deraadt |
KNF
|
#
1.14 |
|
18-Nov-2002 |
itojun |
strto* usage audit. deraadt ok
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.13 |
|
19-Jun-2002 |
deraadt |
mark which nlist[] kmem entries are not needed in the sysctl case, and which are
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.12 |
|
14-Mar-2002 |
mpech |
kill more registers.
millert@ ok
|
#
1.11 |
|
08-Mar-2002 |
mickey |
fix a fallout from tcp timer conversion
|
#
1.10 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.9 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.8 |
|
25-Feb-2000 |
deraadt |
support -M and -N; jeff@cepheid.org
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.7 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.6 |
|
08-Sep-1997 |
deraadt |
use -lkvm, various other fixes; thorpej
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.5 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.4 |
|
22-Dec-1996 |
deraadt |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
03-Jun-1996 |
deraadt |
do not rely on constant folding equivelance
|
#
1.2 |
|
30-May-1996 |
deraadt |
revoke privs before opening kvm if user has specified mem/kernel paths
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|