History log of /openbsd-current/sys/lib/libsa/readdir.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 11-Jan-2022 visa

Remove dead store to f and avoid use of unvalidated fd.

Found by LLVM scan-build.

OK millert@ deraadt@


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 OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.9 19-Nov-2014 miod

Sprinkle const whenever possible.


Revision tags: 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 OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.8 11-Oct-2006 deraadt

use SEEK_SET; chl@tuxfamily.org


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE SMP_SYNC_A SMP_SYNC_B
# 1.7 11-Aug-2003 deraadt

ansification and knf and protos


# 1.6 02-Jun-2003 mickey

three four kill ...


# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE SMP_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B kame_19991208
# 1.4 21-Jul-1997 mickey

branches: 1.4.12;
proper errno


# 1.3 21-Jul-1997 mickey

do opendir for dirs only


Revision tags: OPENBSD_2_1_BASE
# 1.2 02-Apr-1997 mickey

fd < 0 is evil


# 1.1 16-Feb-1997 mickey

and here comes the readdir!


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.9 19-Nov-2014 miod

Sprinkle const whenever possible.


Revision tags: 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 OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.8 11-Oct-2006 deraadt

use SEEK_SET; chl@tuxfamily.org


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE SMP_SYNC_A SMP_SYNC_B
# 1.7 11-Aug-2003 deraadt

ansification and knf and protos


# 1.6 02-Jun-2003 mickey

three four kill ...


# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE SMP_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B kame_19991208
# 1.4 21-Jul-1997 mickey

branches: 1.4.12;
proper errno


# 1.3 21-Jul-1997 mickey

do opendir for dirs only


Revision tags: OPENBSD_2_1_BASE
# 1.2 02-Apr-1997 mickey

fd < 0 is evil


# 1.1 16-Feb-1997 mickey

and here comes the readdir!