#
1.27 |
|
28-Jun-2019 |
deraadt |
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.
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.26 |
|
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)
|
Revision tags: 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.25 |
|
05-Feb-2012 |
guenther |
Fix handling of msg queues when in crash dump mode: the kernel structures have changed, so update to match
ok miod@ blambert@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.24 |
|
06-Apr-2011 |
miod |
Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' for chars.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.23 |
|
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_3_BASE
|
#
1.22 |
|
02-Sep-2007 |
deraadt |
more malloc(n * m) -> calloc(n, m); from Igor Zinovik
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.21 |
|
22-Feb-2005 |
jmc |
sort options; sync usage();
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.20 |
|
04-Jun-2003 |
deraadt |
term 3 & 4 from tholo after permission
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.19 |
|
17-Dec-2002 |
millert |
Make SysV-style shared memory and semaphore limits sysctl'able. Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable).
The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.18 |
|
15-Jun-2002 |
matthieu |
enlarge ID column to fix output alignment. ok deraadt@, millert@.
|
#
1.17 |
|
12-Jun-2002 |
mpech |
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
|
#
1.16 |
|
28-Sep-2001 |
millert |
Use the new KERN_SYSVIPC_*_INFO sysctls; simonb@netbsd.org
|
#
1.15 |
|
13-Aug-2001 |
millert |
Declare globals made extern in sys/sem.h; naddy@
|
#
1.14 |
|
13-Aug-2001 |
millert |
Don't reference seminfo.semmap as it no longer exists.
|
#
1.13 |
|
12-Jul-2001 |
deraadt |
first pass at a -Wall cleanup
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.12 |
|
14-Feb-2001 |
tholo |
Relax advertising requirements on copyright
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.11 |
|
29-May-2000 |
angelos |
Print space between the last process to attach/use and the access time.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.10 |
|
01-May-2000 |
deraadt |
do not use semconfig()
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.9 |
|
16-Aug-1999 |
millert |
nuke unused variable
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.8 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.7 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.6 |
|
22-Dec-1996 |
tholo |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.5 |
|
11-Aug-1996 |
deraadt |
one incorrect variable; jin@george.lbl.gov via freebsd
|
#
1.4 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.3 |
|
16-Jun-1996 |
deraadt |
sync
|
#
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_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.26 |
|
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)
|
Revision tags: 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.25 |
|
05-Feb-2012 |
guenther |
Fix handling of msg queues when in crash dump mode: the kernel structures have changed, so update to match
ok miod@ blambert@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.24 |
|
06-Apr-2011 |
miod |
Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' for chars.
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.23 |
|
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_3_BASE
|
#
1.22 |
|
02-Sep-2007 |
deraadt |
more malloc(n * m) -> calloc(n, m); from Igor Zinovik
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.21 |
|
22-Feb-2005 |
jmc |
sort options; sync usage();
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.20 |
|
04-Jun-2003 |
deraadt |
term 3 & 4 from tholo after permission
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.19 |
|
17-Dec-2002 |
millert |
Make SysV-style shared memory and semaphore limits sysctl'able. Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable).
The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.18 |
|
15-Jun-2002 |
matthieu |
enlarge ID column to fix output alignment. ok deraadt@, millert@.
|
#
1.17 |
|
12-Jun-2002 |
mpech |
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
|
#
1.16 |
|
28-Sep-2001 |
millert |
Use the new KERN_SYSVIPC_*_INFO sysctls; simonb@netbsd.org
|
#
1.15 |
|
13-Aug-2001 |
millert |
Declare globals made extern in sys/sem.h; naddy@
|
#
1.14 |
|
13-Aug-2001 |
millert |
Don't reference seminfo.semmap as it no longer exists.
|
#
1.13 |
|
12-Jul-2001 |
deraadt |
first pass at a -Wall cleanup
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.12 |
|
14-Feb-2001 |
tholo |
Relax advertising requirements on copyright
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.11 |
|
29-May-2000 |
angelos |
Print space between the last process to attach/use and the access time.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.10 |
|
01-May-2000 |
deraadt |
do not use semconfig()
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.9 |
|
16-Aug-1999 |
millert |
nuke unused variable
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.8 |
|
08-Jul-1998 |
deraadt |
whack kmem gid after kvm_openfiles()
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.7 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
1.6 |
|
22-Dec-1996 |
tholo |
Deal with _POSIX_SAVED_IDS when relinquishing privileges
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.5 |
|
11-Aug-1996 |
deraadt |
one incorrect variable; jin@george.lbl.gov via freebsd
|
#
1.4 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.3 |
|
16-Jun-1996 |
deraadt |
sync
|
#
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
|