#
1.23 |
|
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_6_5_BASE
|
#
1.22 |
|
10-Feb-2019 |
phessler |
"non-existant" is one of those words that don't exist, so use "non-existent" instead
From Pamela Mosiejczuk, many thanks! OK phessler@ deraadt@
|
Revision tags: OPENBSD_6_4_BASE
|
#
1.21 |
|
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_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.20 |
|
14-Aug-2016 |
guenther |
Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull. Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position.
ok and a ull->ll tweak from natano@, ok tedu@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.19 |
|
04-Nov-2015 |
tedu |
replace setbuf with setvbuf, from Frederic Nowak
|
#
1.18 |
|
20-Oct-2015 |
deraadt |
believe this will work with "stdio rpath wpath cpath inet" now that SO_RCVBUF is permitted. It may even be possible to lose the "inet" a bit later in the code. Anyone want to test?
|
#
1.17 |
|
16-Oct-2015 |
deraadt |
ugly white space
|
#
1.16 |
|
20-Sep-2015 |
halex |
Add a set of flags to rmt(8) to make it run in a restricted mode, designed to work with rdump(8) to remote disk.
-d <directory> confines rmt to operate within a single directory. -r enforces read-only mode. -w enforces write-only mode.
This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys:
command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3...
ok semarie@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.15 |
|
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_5_BASE OPENBSD_5_6_BASE
|
#
1.14 |
|
03-Dec-2013 |
deraadt |
no need to use sgttyb.h
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.13 |
|
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_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.12 |
|
07-Mar-2005 |
henning |
make device MAXPATHLEN long instead of 64, fixes remote dumps with long target file names, PR4137, ok miod beck mcbride deraadt
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.10 |
|
08-Nov-2002 |
millert |
Use STDIN_FILENO and STDOUT_FILENO & ANSI prototypes; Chad Loder
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
04-Jul-2002 |
millert |
Fix off by one error found by aaron@; my fix
|
#
1.8 |
|
29-May-2002 |
deraadt |
more sprintf
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
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_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.6 |
|
20-Jul-2000 |
jason |
add openbsd tag, fix cpp warning about SSIZE redefinition
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
|
#
1.5 |
|
03-Jun-1998 |
deraadt |
fix a bunch of sloppy c uses
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.4 |
|
30-Jun-1997 |
millert |
lseek(2) takes an off_t which is quad_t so we use strtoq(3) not atoi(3).
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.3 |
|
17-Jan-1997 |
millert |
Fix potential buf oflow wrt strerror and sprintf.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
10-Aug-1996 |
deraadt |
protos in scope
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.22 |
|
10-Feb-2019 |
phessler |
"non-existant" is one of those words that don't exist, so use "non-existent" instead
From Pamela Mosiejczuk, many thanks! OK phessler@ deraadt@
|
Revision tags: OPENBSD_6_4_BASE
|
#
1.21 |
|
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_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.20 |
|
14-Aug-2016 |
guenther |
Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull. Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position.
ok and a ull->ll tweak from natano@, ok tedu@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.19 |
|
04-Nov-2015 |
tedu |
replace setbuf with setvbuf, from Frederic Nowak
|
#
1.18 |
|
20-Oct-2015 |
deraadt |
believe this will work with "stdio rpath wpath cpath inet" now that SO_RCVBUF is permitted. It may even be possible to lose the "inet" a bit later in the code. Anyone want to test?
|
#
1.17 |
|
16-Oct-2015 |
deraadt |
ugly white space
|
#
1.16 |
|
20-Sep-2015 |
halex |
Add a set of flags to rmt(8) to make it run in a restricted mode, designed to work with rdump(8) to remote disk.
-d <directory> confines rmt to operate within a single directory. -r enforces read-only mode. -w enforces write-only mode.
This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys:
command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3...
ok semarie@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.15 |
|
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_5_BASE OPENBSD_5_6_BASE
|
#
1.14 |
|
03-Dec-2013 |
deraadt |
no need to use sgttyb.h
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.13 |
|
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_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.12 |
|
07-Mar-2005 |
henning |
make device MAXPATHLEN long instead of 64, fixes remote dumps with long target file names, PR4137, ok miod beck mcbride deraadt
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.10 |
|
08-Nov-2002 |
millert |
Use STDIN_FILENO and STDOUT_FILENO & ANSI prototypes; Chad Loder
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
04-Jul-2002 |
millert |
Fix off by one error found by aaron@; my fix
|
#
1.8 |
|
29-May-2002 |
deraadt |
more sprintf
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
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_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.6 |
|
20-Jul-2000 |
jason |
add openbsd tag, fix cpp warning about SSIZE redefinition
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
|
#
1.5 |
|
03-Jun-1998 |
deraadt |
fix a bunch of sloppy c uses
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.4 |
|
30-Jun-1997 |
millert |
lseek(2) takes an off_t which is quad_t so we use strtoq(3) not atoi(3).
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.3 |
|
17-Jan-1997 |
millert |
Fix potential buf oflow wrt strerror and sprintf.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
10-Aug-1996 |
deraadt |
protos in scope
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.21 |
|
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_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.20 |
|
14-Aug-2016 |
guenther |
Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull. Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position.
ok and a ull->ll tweak from natano@, ok tedu@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.19 |
|
04-Nov-2015 |
tedu |
replace setbuf with setvbuf, from Frederic Nowak
|
#
1.18 |
|
20-Oct-2015 |
deraadt |
believe this will work with "stdio rpath wpath cpath inet" now that SO_RCVBUF is permitted. It may even be possible to lose the "inet" a bit later in the code. Anyone want to test?
|
#
1.17 |
|
16-Oct-2015 |
deraadt |
ugly white space
|
#
1.16 |
|
20-Sep-2015 |
halex |
Add a set of flags to rmt(8) to make it run in a restricted mode, designed to work with rdump(8) to remote disk.
-d <directory> confines rmt to operate within a single directory. -r enforces read-only mode. -w enforces write-only mode.
This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys:
command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3...
ok semarie@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.15 |
|
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_5_BASE OPENBSD_5_6_BASE
|
#
1.14 |
|
03-Dec-2013 |
deraadt |
no need to use sgttyb.h
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.13 |
|
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_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.12 |
|
07-Mar-2005 |
henning |
make device MAXPATHLEN long instead of 64, fixes remote dumps with long target file names, PR4137, ok miod beck mcbride deraadt
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.10 |
|
08-Nov-2002 |
millert |
Use STDIN_FILENO and STDOUT_FILENO & ANSI prototypes; Chad Loder
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
04-Jul-2002 |
millert |
Fix off by one error found by aaron@; my fix
|
#
1.8 |
|
29-May-2002 |
deraadt |
more sprintf
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
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_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.6 |
|
20-Jul-2000 |
jason |
add openbsd tag, fix cpp warning about SSIZE redefinition
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
|
#
1.5 |
|
03-Jun-1998 |
deraadt |
fix a bunch of sloppy c uses
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.4 |
|
30-Jun-1997 |
millert |
lseek(2) takes an off_t which is quad_t so we use strtoq(3) not atoi(3).
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.3 |
|
17-Jan-1997 |
millert |
Fix potential buf oflow wrt strerror and sprintf.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
10-Aug-1996 |
deraadt |
protos in scope
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.20 |
|
14-Aug-2016 |
guenther |
Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull. Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position.
ok and a ull->ll tweak from natano@, ok tedu@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.19 |
|
04-Nov-2015 |
tedu |
replace setbuf with setvbuf, from Frederic Nowak
|
#
1.18 |
|
20-Oct-2015 |
deraadt |
believe this will work with "stdio rpath wpath cpath inet" now that SO_RCVBUF is permitted. It may even be possible to lose the "inet" a bit later in the code. Anyone want to test?
|
#
1.17 |
|
16-Oct-2015 |
deraadt |
ugly white space
|
#
1.16 |
|
20-Sep-2015 |
halex |
Add a set of flags to rmt(8) to make it run in a restricted mode, designed to work with rdump(8) to remote disk.
-d <directory> confines rmt to operate within a single directory. -r enforces read-only mode. -w enforces write-only mode.
This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys:
command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3...
ok semarie@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.15 |
|
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_5_BASE OPENBSD_5_6_BASE
|
#
1.14 |
|
03-Dec-2013 |
deraadt |
no need to use sgttyb.h
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.13 |
|
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_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.12 |
|
07-Mar-2005 |
henning |
make device MAXPATHLEN long instead of 64, fixes remote dumps with long target file names, PR4137, ok miod beck mcbride deraadt
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.10 |
|
08-Nov-2002 |
millert |
Use STDIN_FILENO and STDOUT_FILENO & ANSI prototypes; Chad Loder
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
04-Jul-2002 |
millert |
Fix off by one error found by aaron@; my fix
|
#
1.8 |
|
29-May-2002 |
deraadt |
more sprintf
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
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_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.6 |
|
20-Jul-2000 |
jason |
add openbsd tag, fix cpp warning about SSIZE redefinition
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
|
#
1.5 |
|
03-Jun-1998 |
deraadt |
fix a bunch of sloppy c uses
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.4 |
|
30-Jun-1997 |
millert |
lseek(2) takes an off_t which is quad_t so we use strtoq(3) not atoi(3).
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.3 |
|
17-Jan-1997 |
millert |
Fix potential buf oflow wrt strerror and sprintf.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
10-Aug-1996 |
deraadt |
protos in scope
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|