#
1.11 |
|
10-Nov-2017 |
christos |
Instead of opening the file and using popen(3), pass the file descriptor to sendmail directory. Idea and code from Todd Miller.
|
#
1.10 |
|
10-Nov-2017 |
christos |
make the checkok test stricter to avoid races, and use O_REGULAR.
|
#
1.9 |
|
04-Nov-2017 |
christos |
Don't use popenve() for portability; forking an extra shell here is not an issue.
|
#
1.8 |
|
04-Nov-2017 |
christos |
oops, accidendally committed an earlier non-working version; fixed.
|
#
1.7 |
|
04-Nov-2017 |
christos |
Deal safely with recovery mail files.
|
#
1.6 |
|
04-Nov-2017 |
christos |
be more careful about opening recovery files... in particular deal with people trying to get 'vi -r' stuck using named pipes, symlink attacks, and coercing others opening recovery files they did not create.
|
Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.5 |
|
26-Jan-2014 |
christos |
branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.18; 1.5.22; Fix RCSID's
|
#
1.4 |
|
30-Nov-2013 |
christos |
Fix recovery mode, there were multiple issues: 1. the btree filename was not set so that we always used a transient in-memory db for the data 2. we did not call sync after creation with R_RECNOSYNC so that the header of the btree was never written 3. we did not call the right flavor of sync before copying the tree to the preserved files
|
#
1.3 |
|
27-Nov-2013 |
christos |
CID 272343: Fix resource leak
|
#
1.2 |
|
22-Nov-2013 |
christos |
Apply our local changes.
|
#
1.1 |
|
22-Nov-2013 |
christos |
branches: 1.1.1; Initial revision
|
#
1.9 |
|
04-Nov-2017 |
christos |
Don't use popenve() for portability; forking an extra shell here is not an issue.
|
#
1.8 |
|
04-Nov-2017 |
christos |
oops, accidendally committed an earlier non-working version; fixed.
|
#
1.7 |
|
04-Nov-2017 |
christos |
Deal safely with recovery mail files.
|
#
1.6 |
|
04-Nov-2017 |
christos |
be more careful about opening recovery files... in particular deal with people trying to get 'vi -r' stuck using named pipes, symlink attacks, and coercing others opening recovery files they did not create.
|
Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 tls-maxphys-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.5 |
|
26-Jan-2014 |
christos |
branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.18; 1.5.22; Fix RCSID's
|
#
1.4 |
|
30-Nov-2013 |
christos |
Fix recovery mode, there were multiple issues: 1. the btree filename was not set so that we always used a transient in-memory db for the data 2. we did not call sync after creation with R_RECNOSYNC so that the header of the btree was never written 3. we did not call the right flavor of sync before copying the tree to the preserved files
|
#
1.3 |
|
27-Nov-2013 |
christos |
CID 272343: Fix resource leak
|
#
1.2 |
|
22-Nov-2013 |
christos |
Apply our local changes.
|
#
1.1 |
|
22-Nov-2013 |
christos |
branches: 1.1.1; Initial revision
|