CVS log for src/libexec/mail.local/mail.local.c
Up to [cvs.NetBSD.org] / src / libexec / mail.local
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Sep 6 22:08:38 2023 UTC (15 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
use the correct constant
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Sep 6 22:08:06 2023 UTC (15 months ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3
lines
fix merge botch
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Sep 6 20:16:04 2023 UTC (15 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +24 -28
lines
KNF, clarify/provide warning messages, set rval to fail initially and only
set to success once everything works.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Sep 6 08:12:09 2023 UTC (15 months ago) by shm
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +37 -8
lines
- remove lock file on error
- clarify diagnostic messages
- initialize struct stat if lstat(2) failed (from mhal at rbox dot co)
- ensure appending to a regular file
Revision 1.28.6.1: download - view: text, markup, annotated - select for diffs
Tue May 17 12:12:14 2022 UTC (2 years, 6 months ago) by bouyer
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -5
lines
Pull up following revision(s) (requested by kre in ticket #1743):
libexec/mail.local/mail.local.c: revision 1.29
fix local privilege escalation due to a race condition
NetBSD-SA2016-006 included an incomplete fix for CVE-2016-6253,
a local privilege escalation vulnerability in mail.local(8).
mail.local(8) attempts to open(2) a user's existing mailbox file
to append to it. If that call fails, mail.local(8) will then issue
a second open(2) call to create the file (O_CREAT).
An attacker had the opportunity to create the file in question (as
a symlink, or link to some other file) in between these two open(2) calls.
Fix this by using O_EXCL in the 2nd open call, if the file exists when
that one happens, something is going wrong, so just abort. Also, only
attempt that 2nd open if the reason the first failed was that the file
did not exist (this doesn't fix the issue, but it potentially saves
some cycles).
Thanks to Jan Schaumann for bringing this to our attention.
Revision 1.28.16.1: download - view: text, markup, annotated - select for diffs
Tue May 17 12:10:25 2022 UTC (2 years, 6 months ago) by bouyer
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -5
lines
Pull up following revision(s) (requested by kre in ticket #1455):
libexec/mail.local/mail.local.c: revision 1.29
fix local privilege escalation due to a race condition
NetBSD-SA2016-006 included an incomplete fix for CVE-2016-6253,
a local privilege escalation vulnerability in mail.local(8).
mail.local(8) attempts to open(2) a user's existing mailbox file
to append to it. If that call fails, mail.local(8) will then issue
a second open(2) call to create the file (O_CREAT).
An attacker had the opportunity to create the file in question (as
a symlink, or link to some other file) in between these two open(2) calls.
Fix this by using O_EXCL in the 2nd open call, if the file exists when
that one happens, something is going wrong, so just abort. Also, only
attempt that 2nd open if the reason the first failed was that the file
did not exist (this doesn't fix the issue, but it potentially saves
some cycles).
Thanks to Jan Schaumann for bringing this to our attention.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue May 17 11:18:58 2022 UTC (2 years, 6 months ago) by kre
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -5
lines
fix local privilege escalation due to a race condition
NetBSD-SA2016-006 included an incomplete fix for CVE-2016-6253,
a local privilege escalation vulnerability in mail.local(8).
mail.local(8) attempts to open(2) a user's existing mailbox file
to append to it. If that call fails, mail.local(8) will then issue
a second open(2) call to create the file (O_CREAT).
An attacker had the opportunity to create the file in question (as
a symlink, or link to some other file) in between these two open(2) calls.
Fix this by using O_EXCL in the 2nd open call, if the file exists when
that one happens, something is going wrong, so just abort. Also, only
attempt that 2nd open if the reason the first failed was that the file
did not exist (this doesn't fix the issue, but it potentially saves
some cycles).
Thanks to Jan Schaumann for bringing this to our attention.
Revision 1.26.24.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:16 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +38 -14
lines
Sync with HEAD
Revision 1.26.10.2: download - view: text, markup, annotated - select for diffs
Thu Jul 21 13:13:30 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-6-0
Diff to: previous 1.26.10.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.10.1: +4 -4
lines
Pull up following revision(s) (requested by shm in ticket #1392):
libexec/mail.local/mail.local.c: revision 1.28
Fix error checks in open(2) calls.
Revision 1.26.16.2: download - view: text, markup, annotated - select for diffs
Thu Jul 21 12:59:00 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-6-1
Diff to: previous 1.26.16.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.16.1: +4 -4
lines
Pull up following revision(s) (requested by shm in ticket #1392):
libexec/mail.local/mail.local.c: revision 1.28
Fix error checks in open(2) calls.
Revision 1.26.4.2: download - view: text, markup, annotated - select for diffs
Thu Jul 21 12:57:37 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.26.4.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.4.1: +4 -4
lines
Pull up following revision(s) (requested by shm in ticket #1392):
libexec/mail.local/mail.local.c: revision 1.28
Fix error checks in open(2) calls.
Revision 1.26.22.2: download - view: text, markup, annotated - select for diffs
Thu Jul 21 12:55:26 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE
Diff to: previous 1.26.22.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.22.1: +4 -4
lines
Pull up following revision(s) (requested by shm in ticket #1207):
libexec/mail.local/mail.local.c: revision 1.28
Fix error checks in open(2) calls.
Revision 1.26.20.2: download - view: text, markup, annotated - select for diffs
Thu Jul 21 12:54:09 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Diff to: previous 1.26.20.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.20.1: +4 -4
lines
Pull up following revision(s) (requested by shm in ticket #1207):
libexec/mail.local/mail.local.c: revision 1.28
Fix error checks in open(2) calls.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jul 21 12:29:37 2016 UTC (8 years, 4 months ago) by shm
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-9,
netbsd-8
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4
lines
Fix error checks in open(2) calls.
Revision 1.26.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 19 14:23:10 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-6-0
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -14
lines
Pull up following revision(s) (requested by shm in ticket #1391):
libexec/mail.local/mail.local.c: revision 1.27
Fix race condition in deliver(), fix resource leak.
Revision 1.26.16.1: download - view: text, markup, annotated - select for diffs
Tue Jul 19 14:21:04 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-6-1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -14
lines
Pull up following revision(s) (requested by shm in ticket #1391):
libexec/mail.local/mail.local.c: revision 1.27
Fix race condition in deliver(), fix resource leak.
Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Tue Jul 19 14:18:30 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -14
lines
Pull up following revision(s) (requested by shm in ticket #1391):
libexec/mail.local/mail.local.c: revision 1.27
Fix race condition in deliver(), fix resource leak.
Revision 1.26.22.1: download - view: text, markup, annotated - select for diffs
Tue Jul 19 14:12:10 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -14
lines
Pull up following revision(s) (requested by shm in ticket #1206):
libexec/mail.local/mail.local.c: revision 1.27
Fix race condition in deliver(), fix resource leak.
Revision 1.26.20.1: download - view: text, markup, annotated - select for diffs
Tue Jul 19 14:08:19 2016 UTC (8 years, 4 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -14
lines
Pull up following revision(s) (requested by shm in ticket #1206):
libexec/mail.local/mail.local.c: revision 1.27
Fix race condition in deliver(), fix resource leak.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jul 19 13:11:38 2016 UTC (8 years, 4 months ago) by shm
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +38 -14
lines
Fix race condition in deliver(), fix resource leak.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:40:31 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
pgoyette-localcount-base,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-1-RELEASE,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
agc-symver-base,
agc-symver
Branch point for: pgoyette-localcount,
netbsd-7-0,
netbsd-7,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +18 -29
lines
De-__P. staticfy. Use __dead, __printflike.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:39:18 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -4
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:09:07 2008 UTC (16 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Remove the \n and tabs from the __COPYRIGHT() strings.
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:12 2008 UTC (16 years, 6 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +63 -37
lines
Sync with netbsd-4.
Revision 1.23.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:45 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +63 -37
lines
sync with head.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Sat May 17 16:30:33 2008 UTC (16 years, 6 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +63 -37
lines
Pull up following revision(s) (requested by manu in ticket #1148):
libexec/mail.local/mail.local.c: revision 1.24
Make sure temporary errors are reported as such, using status code
EX_TEMPFAIL (cannot lookup user through NSS, may be because of an
unreachable NIS or LDAP server), or EX_OSERR (other file or memory
related problems).
Sendmail and Postfix should honour EX_TEMPFAIL and EX_OSERR by
queueing the message.
This avoids problems with transcient NSS errors, where the MTA may
successfully lookup a user at a time while mail.local can fail a
few secoonds later.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun May 4 03:03:11 2008 UTC (16 years, 7 months ago) by manu
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +63 -37
lines
Make sure temporary errors are reported as such, using status code
EX_TEMPFAIL (cannot lookup user through NSS, may be because of an
unreachable NIS or LDAP server), or EX_OSERR (other file or memory
related problems).
Sendmail and Postfix should honour EX_TEMPFAIL and EX_OSERR by
queueing the message.
This avoids problems with transcient NSS errors, where the MTA may
successfully lookup a user at a time while mail.local can fail a
few secoonds later.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Sep 27 17:15:20 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
wrstuden-fixsa-base-1,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: yamt-pf42,
wrstuden-fixsa,
netbsd-4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -2
lines
Coverity CID 3931: Fix memory leak.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Aug 7 09:46:45 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
CVS tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Nov 16 15:41:17 2002 UTC (22 years ago) by itojun
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2
lines
die if strdup fails
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 26 00:02:08 2002 UTC (22 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -19
lines
__STDC__ is always defined on NetBSD.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Dec 20 20:10:35 2001 UTC (22 years, 11 months ago) by soren
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Sync getopt() / man page with actual getopt options.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jan 4 17:29:05 2001 UTC (23 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
use more standard %ll_ in favour of %q_
Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Tue Oct 17 22:41:49 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -3
lines
Pullup libexec string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 10 21:48:05 2000 UTC (24 years, 2 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -3
lines
Pull up revision 1.17 (requested by is):
Format string cleanup.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Oct 10 19:54:38 2000 UTC (24 years, 2 months ago) by is
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -3
lines
Format string cleanups by sommerfeld.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 10 02:57:23 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-5-base,
netbsd-1-5-ALPHA2,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
minoura-xpg4dl-base,
minoura-xpg4dl,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: netbsd-1-5,
netbsd-1-4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4
lines
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jul 26 19:48:10 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5
lines
const poisoning.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 8 01:03:00 1997 UTC (27 years, 2 months ago) by enami
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Put a whitespace after the keyword `switch'.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Oct 8 01:02:00 1997 UTC (27 years, 2 months ago) by enami
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Compare a return value of getopt() against -1 instead of EOF.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 7 13:13:41 1997 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -3
lines
fix warnings on alpha.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Oct 7 13:07:45 1997 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +26 -20
lines
WARNS?=1. RCS ids. did not merge very much of lite-2.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Oct 7 12:23:20 1997 UTC (27 years, 2 months ago) by mrg
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +665 -105
lines
lite-2.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 21 11:29:28 1997 UTC (27 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -13
lines
KNF. RCSids. be safe with buffers.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 3 22:47:20 1995 UTC (29 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2
lines
Fill in sin_len.
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 05:54:49 1994 UTC (30 years, 4 months ago) by mycroft
Branches: netbsd-1-0
CVS tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +2 -2
lines
update from trunk
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Aug 5 23:41:15 1994 UTC (30 years, 4 months ago) by jtc
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Change format specification from %ld to %qd, as off_t's are now quads.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu May 5 10:06:32 1994 UTC (30 years, 7 months ago) by deraadt
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
fix from <arndt@uniko.uni-koblenz.de>
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 19 13:28:29 1994 UTC (30 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Another off_t glitch.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 10 05:33:21 1994 UTC (30 years, 10 months ago) by briggs
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Initialize return value from deliver() to zero. I guess the 386 crowd
has been fortunate. It's odd to see mail delivered and get a bounce
back, though, which is what was happening--spent a while thinking it
was sendmail.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:30:13 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
Add RCS identifiers.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 00:06:15 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2
lines
Fix bogus handling of short writes.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon May 24 07:30:38 1993 UTC (31 years, 6 months ago) by deraadt
Branches: MAIN
CVS tags: netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +32 -21
lines
mail.local can now use username.lock files as well as flock(). Use the
-l flag in your favorite sendmail.cf file.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>