#
1.17 |
|
02-Jan-2021 |
millert |
Check auth_mkvalue(3) return value for NULL (malloc failure). For constant strings we don't actually need to use auth_mkvalue(3). Problem reported by Ross L Richardson.
|
Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.16 |
|
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_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.15 |
|
22-Dec-2015 |
mmcc |
assign pointers to NULL rather than 0
|
#
1.14 |
|
19-Nov-2015 |
millert |
Call syslog() if login_* pledge fails; OK deraadt@
|
#
1.13 |
|
17-Oct-2015 |
bluhm |
login_token needs pledge "flock" now. OK millert@
|
#
1.12 |
|
15-Oct-2015 |
bluhm |
Pledge login_token with "stdio rpath wpath cpath fattr getpw tty". OK deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
03-Dec-2013 |
deraadt |
use LOGIN_NAME_MAX instead of L_cuserid, and adjust .h includes; ok millert
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
13-Jan-2013 |
fgsch |
Fix warnings. millert@ ok.
|
#
1.9 |
|
04-Dec-2012 |
deraadt |
remove some unnecessary sys/param.h inclusions
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE 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 OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.8 |
|
10-Mar-2004 |
millert |
More checking for a NULL return value from getpass(). otto@ OK
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
|
#
1.7 |
|
06-Sep-2002 |
deraadt |
spaces
|
#
1.6 |
|
02-Jun-2002 |
deraadt |
minor KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.5 |
|
07-Dec-2001 |
millert |
Block keyboard-generated signals during database accesses.
|
#
1.4 |
|
06-Dec-2001 |
millert |
Do not set handler for SIGINT and SIGQUIT to SIG_IGN since it prevents getpass()/readpassphrase() from being able to restore the tty mode on keyboard interrupt. Along with the recent readpassphrase.c commit this means that if you ^C things that use login scripts (like su(1)) with a non-CBREAK shell your tty mode will be restored nicely.
TODO: The various login scripts need to install handlers to avoid leaving turd files or otherwise ending in a bad state. It would also be nice to send BI_REJECT to the back channel.
|
#
1.3 |
|
24-Oct-2001 |
mpech |
getopt(3) returns -1 when out of args, not EOF.
millert@ ok
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
20-Dec-2000 |
markus |
use arc4random, clear secrets, use readpassphrase in tokeninit; ok millert@
|
#
1.1 |
|
20-Dec-2000 |
millert |
Provides ActivCard, CRYPTOCard and SNK-004 authentication from BSDi Will be used when BSD authentication is enabled
|
#
1.16 |
|
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_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.15 |
|
22-Dec-2015 |
mmcc |
assign pointers to NULL rather than 0
|
#
1.14 |
|
19-Nov-2015 |
millert |
Call syslog() if login_* pledge fails; OK deraadt@
|
#
1.13 |
|
17-Oct-2015 |
bluhm |
login_token needs pledge "flock" now. OK millert@
|
#
1.12 |
|
15-Oct-2015 |
bluhm |
Pledge login_token with "stdio rpath wpath cpath fattr getpw tty". OK deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
03-Dec-2013 |
deraadt |
use LOGIN_NAME_MAX instead of L_cuserid, and adjust .h includes; ok millert
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
13-Jan-2013 |
fgsch |
Fix warnings. millert@ ok.
|
#
1.9 |
|
04-Dec-2012 |
deraadt |
remove some unnecessary sys/param.h inclusions
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE 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 OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.8 |
|
10-Mar-2004 |
millert |
More checking for a NULL return value from getpass(). otto@ OK
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
|
#
1.7 |
|
06-Sep-2002 |
deraadt |
spaces
|
#
1.6 |
|
02-Jun-2002 |
deraadt |
minor KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.5 |
|
07-Dec-2001 |
millert |
Block keyboard-generated signals during database accesses.
|
#
1.4 |
|
06-Dec-2001 |
millert |
Do not set handler for SIGINT and SIGQUIT to SIG_IGN since it prevents getpass()/readpassphrase() from being able to restore the tty mode on keyboard interrupt. Along with the recent readpassphrase.c commit this means that if you ^C things that use login scripts (like su(1)) with a non-CBREAK shell your tty mode will be restored nicely.
TODO: The various login scripts need to install handlers to avoid leaving turd files or otherwise ending in a bad state. It would also be nice to send BI_REJECT to the back channel.
|
#
1.3 |
|
24-Oct-2001 |
mpech |
getopt(3) returns -1 when out of args, not EOF.
millert@ ok
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
20-Dec-2000 |
markus |
use arc4random, clear secrets, use readpassphrase in tokeninit; ok millert@
|
#
1.1 |
|
20-Dec-2000 |
millert |
Provides ActivCard, CRYPTOCard and SNK-004 authentication from BSDi Will be used when BSD authentication is enabled
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.15 |
|
22-Dec-2015 |
mmcc |
assign pointers to NULL rather than 0
|
#
1.14 |
|
19-Nov-2015 |
millert |
Call syslog() if login_* pledge fails; OK deraadt@
|
#
1.13 |
|
17-Oct-2015 |
bluhm |
login_token needs pledge "flock" now. OK millert@
|
#
1.12 |
|
15-Oct-2015 |
bluhm |
Pledge login_token with "stdio rpath wpath cpath fattr getpw tty". OK deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
03-Dec-2013 |
deraadt |
use LOGIN_NAME_MAX instead of L_cuserid, and adjust .h includes; ok millert
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
13-Jan-2013 |
fgsch |
Fix warnings. millert@ ok.
|
#
1.9 |
|
04-Dec-2012 |
deraadt |
remove some unnecessary sys/param.h inclusions
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE 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 OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.8 |
|
10-Mar-2004 |
millert |
More checking for a NULL return value from getpass(). otto@ OK
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
|
#
1.7 |
|
06-Sep-2002 |
deraadt |
spaces
|
#
1.6 |
|
02-Jun-2002 |
deraadt |
minor KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.5 |
|
07-Dec-2001 |
millert |
Block keyboard-generated signals during database accesses.
|
#
1.4 |
|
06-Dec-2001 |
millert |
Do not set handler for SIGINT and SIGQUIT to SIG_IGN since it prevents getpass()/readpassphrase() from being able to restore the tty mode on keyboard interrupt. Along with the recent readpassphrase.c commit this means that if you ^C things that use login scripts (like su(1)) with a non-CBREAK shell your tty mode will be restored nicely.
TODO: The various login scripts need to install handlers to avoid leaving turd files or otherwise ending in a bad state. It would also be nice to send BI_REJECT to the back channel.
|
#
1.3 |
|
24-Oct-2001 |
mpech |
getopt(3) returns -1 when out of args, not EOF.
millert@ ok
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
20-Dec-2000 |
markus |
use arc4random, clear secrets, use readpassphrase in tokeninit; ok millert@
|
#
1.1 |
|
20-Dec-2000 |
millert |
Provides ActivCard, CRYPTOCard and SNK-004 authentication from BSDi Will be used when BSD authentication is enabled
|