CVS log for src/usr.bin/login/login_pam.c
Up to [cvs.NetBSD.org] / src / usr.bin / login
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 24 09:14:37 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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,
HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
s/begining/beginning/ in comments and messages.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Sep 10 21:52:17 2021 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
usr.bin: remove unnecessary lint comment CONSTCOND
Since 2021-01-31, lint no longer warns about 'do ... while (0)'.
No functional change.
Revision 1.25.16.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:16 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +4 -4
lines
Merge changes from current as of 20200406
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Feb 8 13:44:35 2020 UTC (4 years, 10 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4
lines
Avoid use-after-free bug in PAM environment
Traditional BSD putenv(3) was creating an internal copy of the passed
argument. Unfortunately this was causing memory leaks and was changed by
POSIX to not allocate.
Adapt the putenv(3) usage to modern POSIX (and NetBSD) semantics.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Oct 29 11:31:52 2015 UTC (9 years, 1 month 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-20191119,
phil-wifi-20190609,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +14 -6
lines
- Added error checks for initgroups(3) and setgroups(2).
- Reorder functions in privilege regain - setgroups(2) should be called after
seteuid(2).
OK christos@
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 11 08:34:17 2015 UTC (9 years, 10 months ago) by snj
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,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +2 -6
lines
Pull up following revision(s) (requested by aymeric in ticket #506):
usr.bin/login/login.c: revision 1.105
usr.bin/login/login_pam.c: revision 1.24
Remove the syslogging of a dial out login warning based on the tty name, because
the test is sloppy and doesn't correspond to the current naming anyway.
OK gdt@
PR#377 can remain closed.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Nov 12 22:23:38 2014 UTC (10 years, 1 month ago) by aymeric
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -6
lines
Remove the syslogging of a dial out login warning based on the tty name, because
the test is sloppy and doesn't correspond to the current naming anyway.
OK gdt@
PR#377 can remain closed.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:00 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -6
lines
Rebase to HEAD as of a few days ago.
Revision 1.20.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:45 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.20.6.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.6.1: +3 -6
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Oct 18 20:47:06 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -6
lines
fix unused variable warnings
Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:25 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -11
lines
sync with head.
Revision 1.20.8.2: download - view: text, markup, annotated - select for diffs
Tue May 8 13:38:13 2012 UTC (12 years, 7 months ago) by sborrill
Branches: netbsd-6
CVS tags: 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-1,
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,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.20.8.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.8.1: +3 -3
lines
Pull up the following revisions(s) (requested by martin in ticket #215):
usr.bin/login/login_pam.c: revision 1.22
Fix build.
trimusername (which does not exist) should be trimloginname.
Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Mon May 7 16:24:07 2012 UTC (12 years, 7 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -11
lines
Pull up following revision(s) (requested by christos in ticket #215):
usr.bin/login/login.c: revision 1.100
usr.bin/login/login.c: revision 1.101
usr.bin/login/login.c: revision 1.102
usr.bin/login/common.c: revision 1.4
usr.bin/login/common.h: revision 1.2
usr.bin/login/k5login.c: revision 1.28
usr.bin/login/k5login.c: revision 1.29
usr.bin/login/login.c: revision 1.99
usr.bin/login/login_pam.c: revision 1.21
usr.bin/login/Makefile: revision 1.53
usr.bin/login/Makefile: revision 1.54
usr.bin/login/Makefile: revision 1.55
usr.bin/login/k5login.c: revision 1.30
usr.bin/login/k5login.c: revision 1.31
usr.bin/login/k5login.c: revision 1.32
usr.bin/login/k5login.c: revision 1.33
make krb5 compile again. XXX: one function left that is deprecated, what's
the new equivalent?
centralize error function processing.
fix the USE_KERBEROS=no USE_PAM=no build.
remove obsolete comment.
make kerberos work again:
1. make notickets external
2. don't use the tty as part of the credential cache, since pts/1 will not work.
3. Attempt to use the newer functions, but punt for now since it does not work
yet.
don't abuse the instance variable
move more of the compat code in the compat block.
last commit before I nuke the old code.
no more KRB5_DEPRECATED
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:27:36 2012 UTC (12 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
trimusername (which does not exist) probably was meant to be called
trimloginname (which does exist, at least)
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Apr 22 23:26:19 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -11
lines
make krb5 compile again. XXX: one function left that is deprecated, what's
the new equivalent?
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Dec 29 19:26:13 2009 UTC (14 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
netbsd-6
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +22 -198
lines
PR/42540: Ed Ravin: /usr/bin/login does not log normal logins, and does not
log ip addresses.
- Factor out the common code in login.c and login_pam.c into common.c
- Always log a login event
- Check passed in sockaddr against the one from getpeername(2).
Revision 1.18.12.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:29:15 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -5
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 21 14:19:23 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-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -5
lines
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed May 9 01:56:25 2007 UTC (17 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: wrstuden-revivesa
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -6
lines
PR/36294: De Zeurkous: login(1) -- inconsistent exit behavior on EOF
- Always EXIT_FAILURE when login fails.
- Cleanup fork code in krb5 (old login).
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 17 16:29:44 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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,
netbsd-4,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +17 -17
lines
GC old signal handling and merge it in 4 places:
1. Immediately ignore all the signals we want to ignore and set the alarm.
2. Before we exit on error, restore all signals we modified
3. Before we exec a shell, restore all signals we modified and ignore TSTP.
Job control aware shells know how to deal with this.
4. Temporarily handle SIGINT while we read motd.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 22 15:36:49 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -2
lines
PR/33128: Martin Husemann: When login in on the console, SIGABRT is ignored
Both SIGINT and SIGABRT should be restored before executing the shell.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 19 22:52:01 2006 UTC (18 years, 8 months ago) by jnemeth
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2
lines
Fix Coverity run 5, issue 1931 -- memory leak. This was noted as being a
bug by cgilbert.
Approved by christos@.
Revision 1.4.2.4.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 13:28:24 2006 UTC (18 years, 9 months ago) by tron
Branches: netbsd-3-0
CVS tags: netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE
Diff to: previous 1.4.2.4.2.1: preferred, colored; branchpoint 1.4.2.4: preferred, colored; next MAIN 1.4.2.5: preferred, colored
Changes since revision 1.4.2.4.2.1: +6 -2
lines
Pull up following revision(s) (requested by jnemeth in ticket #1201):
usr.bin/login/login_pam.c: revision 1.14
PR/23616: Christian Biere: login might not back-off as expected
Revision 1.4.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 10 13:28:21 2006 UTC (18 years, 9 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.4.2.5: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.5: +6 -2
lines
Pull up following revision(s) (requested by jnemeth in ticket #1201):
usr.bin/login/login_pam.c: revision 1.14
PR/23616: Christian Biere: login might not back-off as expected
Revision 1.4.2.4.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 9 16:54:20 2006 UTC (18 years, 9 months ago) by tron
Branches: netbsd-3-0
Diff to: previous 1.4.2.4: preferred, colored
Changes since revision 1.4.2.4: +9 -3
lines
Pull up following revision(s) (requested by jnemeth in ticket #1199):
usr.bin/login/login_pam.c: revision 1.13
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 9 16:54:10 2006 UTC (18 years, 9 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.4.2.4: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.4: +9 -3
lines
Pull up following revision(s) (requested by jnemeth in ticket #1199):
usr.bin/login/login_pam.c: revision 1.13
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 8 03:09:04 2006 UTC (18 years, 9 months ago) by jnemeth
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -4
lines
PR/23616: Christian Biere: login might not back-off as expected
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Mar 6 23:06:18 2006 UTC (18 years, 9 months ago) by jnemeth
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -3
lines
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 20 05:05:16 2006 UTC (18 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -3
lines
Propagate change from login.c where if getpeername succeeded, then we have
the sockaddr from the remote peer.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Feb 19 00:12:36 2006 UTC (18 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Nov 1 15:47:43 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -15
lines
Update documentation for pam, and don't accept flags that we don't support
anymore.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 21 12:24:11 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -4
lines
use getgrnam_r; from Jon Nemeth
Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 9 22:42:12 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Branch point for: netbsd-3-0
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.3: +3 -3
lines
Pull up revision 1.8 (requested by lukem in ticket #531):
Terminate variable argument list with NULL, not 0.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 22:41:19 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +4 -2
lines
Pull up revision 1.7 (requested by lukem in ticket #531):
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
failures, especially as we're ignoring the return result.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 22:40:44 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +13 -16
lines
Pull up revision 1.6 (requested by lukem in ticket #531):
Don't report that we don't know the username. We don't want to give out
more information that we need to.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 22:38:07 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +46 -29
lines
Pull up revision 1.5 (requested by lukem in ticket #531):
- use getpwnam_r
- KNF
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 25 01:34:38 2005 UTC (19 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Terminate variable argument list with NULL, not 0.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Apr 19 03:40:58 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2
lines
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
failures, especially as we're ignoring the return result.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Apr 3 06:56:39 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -16
lines
Don't report that we don't know the username. We don't want to give out
more information that we need to.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Mar 30 01:30:21 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +46 -29
lines
- use getpwnam_r
- KNF
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Mar 3 02:06:16 2005 UTC (19 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -4
lines
1. Restore missing tty action.
2. Pass the nested user name to pam.
3. always try to fill in sockaddr.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Feb 28 16:11:36 2005 UTC (19 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +24 -5
lines
- deal with ptyfs pty names.
- put back chown pty code.
- use setproctitle(NULL) to kill our argument display.
- don't wait for any pid, just the one we forked.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 1 17:57:16 2005 UTC (19 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -2
lines
Add setting of PAM_SOCKADDR.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 23 09:47:43 2005 UTC (19 years, 10 months ago) by manu
Branches: MAIN
Add PAM support to login(8)
CVSweb <webmaster@jp.NetBSD.org>