PERFORCE change 31803 for review
Peter Wemm
peter at FreeBSD.org
Sat May 24 11:19:07 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=31803
Change 31803 by peter at peter_overcee on 2003/05/24 11:18:59
IFC @31798
Affected files ...
.. //depot/projects/hammer/contrib/openpam/CREDITS#3 integrate
.. //depot/projects/hammer/contrib/openpam/HISTORY#4 integrate
.. //depot/projects/hammer/contrib/openpam/INSTALL#2 integrate
.. //depot/projects/hammer/contrib/openpam/LICENSE#2 integrate
.. //depot/projects/hammer/contrib/openpam/MANIFEST#3 integrate
.. //depot/projects/hammer/contrib/openpam/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/README#4 integrate
.. //depot/projects/hammer/contrib/openpam/RELNOTES#4 integrate
.. //depot/projects/hammer/contrib/openpam/bin/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/bin/su/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/bin/su/su.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/doc/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam.man#2 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_borrow_cred.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_free_data.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_get_option.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_log.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_nullconv.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_restore_cred.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_set_option.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/openpam_ttyconv.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam.man#2 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_acct_mgmt.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_authenticate.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_chauthtok.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_close_session.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_conv.3#2 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_end.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_error.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_get_authtok.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_get_data.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_get_item.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_get_user.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_getenv.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_getenvlist.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_info.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_open_session.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_prompt.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_putenv.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_set_data.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_set_item.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_setcred.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_setenv.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_acct_mgmt.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_authenticate.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_chauthtok.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_close_session.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_open_session.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_setcred.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_start.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_strerror.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_verror.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_vinfo.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/doc/man/pam_vprompt.3#4 integrate
.. //depot/projects/hammer/contrib/openpam/include/security/openpam.h#2 integrate
.. //depot/projects/hammer/contrib/openpam/include/security/openpam_version.h#3 integrate
.. //depot/projects/hammer/contrib/openpam/include/security/pam_appl.h#3 integrate
.. //depot/projects/hammer/contrib/openpam/include/security/pam_constants.h#4 integrate
.. //depot/projects/hammer/contrib/openpam/include/security/pam_modules.h#2 integrate
.. //depot/projects/hammer/contrib/openpam/include/security/pam_types.h#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_borrow_cred.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_configure.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_dispatch.c#4 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_dynamic.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_findenv.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_free_data.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_get_option.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_impl.h#4 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_load.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_log.c#4 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_nullconv.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_restore_cred.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_set_option.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_static.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/openpam_ttyconv.c#5 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_acct_mgmt.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_authenticate.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_authenticate_secondary.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_chauthtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_close_session.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_end.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_error.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_get_authtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_get_data.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_get_item.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_get_mapped_authtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_get_mapped_username.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_get_user.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_getenv.c#4 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_getenvlist.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_info.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_open_session.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_prompt.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_putenv.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_set_data.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_set_item.c#4 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_set_mapped_authtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_set_mapped_username.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_setcred.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_setenv.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_acct_mgmt.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_authenticate.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_authenticate_secondary.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_chauthtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_close_session.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_get_mapped_authtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_get_mapped_username.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_open_session.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_set_mapped_authtok.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_set_mapped_username.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_sm_setcred.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_start.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_strerror.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_verror.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_vinfo.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/lib/pam_vprompt.c#3 integrate
.. //depot/projects/hammer/contrib/openpam/misc/gendoc.pl#3 integrate
.. //depot/projects/hammer/contrib/openpam/modules/Makefile#3 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_deny/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_deny/pam_deny.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_dummy/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_dummy/pam_dummy.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_permit/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_permit/pam_permit.c#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_unix/Makefile#2 integrate
.. //depot/projects/hammer/contrib/openpam/modules/pam_unix/pam_unix.c#3 integrate
.. //depot/projects/hammer/lib/libc/amd64/SYS.h#5 integrate
.. //depot/projects/hammer/lib/libc/amd64/sys/brk.S#6 integrate
.. //depot/projects/hammer/lib/libc/amd64/sys/exect.S#7 integrate
.. //depot/projects/hammer/lib/libc/amd64/sys/ptrace.S#6 integrate
.. //depot/projects/hammer/lib/libc/amd64/sys/sbrk.S#6 integrate
.. //depot/projects/hammer/lib/libc/amd64/sys/setlogin.S#6 integrate
.. //depot/projects/hammer/lib/libc/amd64/sys/vfork.S#5 integrate
.. //depot/projects/hammer/lib/libpam/libpam/Makefile#6 integrate
.. //depot/projects/hammer/lib/libpam/libpam/pam_debug_log.c#2 integrate
.. //depot/projects/hammer/lib/libpam/libpam/pam_std_option.c#2 integrate
.. //depot/projects/hammer/lib/libpam/libpam/security/pam_mod_misc.h#3 integrate
.. //depot/projects/hammer/lib/libpthread/sys/lock.c#4 integrate
.. //depot/projects/hammer/lib/libpthread/sys/lock.h#4 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_cancel.c#6 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_concurrency.c#3 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_cond.c#7 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_create.c#6 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_detach.c#4 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_find_thread.c#4 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_join.c#5 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_kern.c#11 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_nanosleep.c#5 integrate
.. //depot/projects/hammer/lib/libpthread/thread/thr_sig.c#8 integrate
.. //depot/projects/hammer/lib/libthr/arch/i386/i386/_setcurthread.c#5 integrate
.. //depot/projects/hammer/lib/libthr/thread/thr_cond.c#4 integrate
.. //depot/projects/hammer/lib/libthr/thread/thr_private.h#4 integrate
.. //depot/projects/hammer/lib/libthr/thread/thr_spinlock.c#2 integrate
.. //depot/projects/hammer/share/man/man4/acpi.4#8 integrate
.. //depot/projects/hammer/sys/ia64/ia64/context.s#2 integrate
.. //depot/projects/hammer/sys/ia64/ia64/exception.s#10 integrate
.. //depot/projects/hammer/sys/ia64/ia64/locore.s#8 integrate
.. //depot/projects/hammer/sys/ia64/ia64/machdep.c#14 integrate
.. //depot/projects/hammer/sys/ia64/include/cpu.h#5 integrate
Differences ...
==== //depot/projects/hammer/contrib/openpam/CREDITS#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/HISTORY#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/INSTALL#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/LICENSE#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/MANIFEST#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/README#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/RELNOTES#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/bin/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/bin/su/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/bin/su/su.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam.man#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_borrow_cred.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_free_data.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_get_option.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_log.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_nullconv.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_restore_cred.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_set_option.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/openpam_ttyconv.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam.man#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_acct_mgmt.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_authenticate.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_chauthtok.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_close_session.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_conv.3#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_end.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_error.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_get_authtok.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_get_data.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_get_item.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_get_user.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_getenv.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_getenvlist.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_info.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_open_session.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_prompt.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_putenv.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_set_data.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_set_item.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_setcred.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_setenv.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_acct_mgmt.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_authenticate.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_chauthtok.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_close_session.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_open_session.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_sm_setcred.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_start.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_strerror.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_verror.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_vinfo.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/doc/man/pam_vprompt.3#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/include/security/openpam.h#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/include/security/openpam_version.h#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/include/security/pam_appl.h#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/include/security/pam_constants.h#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/include/security/pam_modules.h#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/include/security/pam_types.h#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_borrow_cred.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_configure.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_dispatch.c#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_dynamic.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_findenv.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_free_data.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_get_option.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_impl.h#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_load.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_log.c#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_nullconv.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_restore_cred.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_set_option.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_static.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/openpam_ttyconv.c#5 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_acct_mgmt.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_authenticate.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_authenticate_secondary.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_chauthtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_close_session.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_end.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_error.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_get_authtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_get_data.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_get_item.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_get_mapped_authtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_get_mapped_username.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_get_user.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_getenv.c#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_getenvlist.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_info.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_open_session.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_prompt.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_putenv.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_set_data.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_set_item.c#4 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_set_mapped_authtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_set_mapped_username.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_setcred.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_setenv.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_acct_mgmt.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_authenticate.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_authenticate_secondary.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_chauthtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_close_session.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_get_mapped_authtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_get_mapped_username.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_open_session.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_set_mapped_authtok.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_set_mapped_username.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_sm_setcred.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_start.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_strerror.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_verror.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_vinfo.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/lib/pam_vprompt.c#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/misc/gendoc.pl#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/Makefile#3 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_deny/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_deny/pam_deny.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_dummy/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_dummy/pam_dummy.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_permit/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_permit/pam_permit.c#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_unix/Makefile#2 (text) ====
==== //depot/projects/hammer/contrib/openpam/modules/pam_unix/pam_unix.c#3 (text) ====
==== //depot/projects/hammer/lib/libc/amd64/SYS.h#5 (text+ko) ====
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)SYS.h 5.5 (Berkeley) 5/7/91
- * $FreeBSD: src/lib/libc/amd64/SYS.h,v 1.25 2003/04/30 18:06:14 peter Exp $
+ * $FreeBSD: src/lib/libc/amd64/SYS.h,v 1.26 2003/05/24 17:35:23 peter Exp $
*/
#include <sys/syscall.h>
==== //depot/projects/hammer/lib/libc/amd64/sys/brk.S#6 (text+ko) ====
@@ -38,7 +38,7 @@
.asciz "@(#)brk.s 5.2 (Berkeley) 12/17/90"
#endif /* SYSLIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/brk.S,v 1.11 2003/04/30 18:16:33 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/brk.S,v 1.12 2003/05/24 17:35:23 peter Exp $");
#include "SYS.h"
==== //depot/projects/hammer/lib/libc/amd64/sys/exect.S#7 (text+ko) ====
@@ -38,7 +38,7 @@
.asciz "@(#)exect.s 5.1 (Berkeley) 4/23/90"
#endif /* SYSLIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/exect.S,v 1.10 2003/04/30 18:16:33 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/exect.S,v 1.11 2003/05/24 17:35:23 peter Exp $");
#include "SYS.h"
#include <machine/psl.h>
==== //depot/projects/hammer/lib/libc/amd64/sys/ptrace.S#6 (text+ko) ====
@@ -38,7 +38,7 @@
.asciz "@(#)ptrace.s 5.1 (Berkeley) 4/23/90"
#endif /* SYSLIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/ptrace.S,v 1.10 2003/04/30 18:16:33 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/ptrace.S,v 1.11 2003/05/24 17:35:23 peter Exp $");
#include "SYS.h"
@@ -48,7 +48,7 @@
movq PIC_GOT(CNAME(errno)),%r8
movl %eax,(%r8)
#else
- movl %eax,CNAME(errno)(%rip)
+ movl %eax,CNAME(errno)(%rip)
#endif
mov $SYS_ptrace,%eax
KERNCALL
==== //depot/projects/hammer/lib/libc/amd64/sys/sbrk.S#6 (text+ko) ====
@@ -38,7 +38,7 @@
.asciz "@(#)sbrk.s 5.1 (Berkeley) 4/23/90"
#endif /* SYSLIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/sbrk.S,v 1.12 2003/04/30 18:16:33 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/sbrk.S,v 1.13 2003/05/24 17:35:23 peter Exp $");
#include "SYS.h"
==== //depot/projects/hammer/lib/libc/amd64/sys/setlogin.S#6 (text+ko) ====
@@ -38,7 +38,7 @@
.asciz "@(#)setlogin.s 5.2 (Berkeley) 4/12/91"
#endif /* LIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/setlogin.S,v 1.10 2003/04/30 18:16:33 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/setlogin.S,v 1.11 2003/05/24 17:35:23 peter Exp $");
#include "SYS.h"
==== //depot/projects/hammer/lib/libc/amd64/sys/vfork.S#5 (text+ko) ====
@@ -38,7 +38,7 @@
.asciz "@(#)Ovfork.s 5.1 (Berkeley) 4/23/90"
#endif /* SYSLIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/vfork.S,v 1.20 2003/04/30 18:13:13 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/sys/vfork.S,v 1.21 2003/05/24 17:35:23 peter Exp $");
#include "SYS.h"
==== //depot/projects/hammer/lib/libpam/libpam/Makefile#6 (text+ko) ====
==== //depot/projects/hammer/lib/libpam/libpam/pam_debug_log.c#2 (text+ko) ====
==== //depot/projects/hammer/lib/libpam/libpam/pam_std_option.c#2 (text+ko) ====
==== //depot/projects/hammer/lib/libpam/libpam/security/pam_mod_misc.h#3 (text+ko) ====
==== //depot/projects/hammer/lib/libpthread/sys/lock.c#4 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libpthread/sys/lock.c,v 1.4 2003/05/16 19:58:29 deischen Exp $
+ * $FreeBSD: src/lib/libpthread/sys/lock.c,v 1.5 2003/05/24 02:29:25 deischen Exp $
*/
#include <sys/types.h>
@@ -64,7 +64,6 @@
lck->l_head->lr_locked = 0;
lck->l_head->lr_watcher = NULL;
lck->l_head->lr_owner = NULL;
- lck->l_head->lr_waiting = 0;
lck->l_head->lr_active = 1;
lck->l_tail = lck->l_head;
}
@@ -84,7 +83,6 @@
lu->lu_myreq->lr_locked = 1;
lu->lu_myreq->lr_watcher = NULL;
lu->lu_myreq->lr_owner = lu;
- lu->lu_myreq->lr_waiting = 0;
lu->lu_myreq->lr_active = 0;
lu->lu_watchreq = NULL;
lu->lu_priority = 0;
@@ -109,6 +107,7 @@
_lock_acquire(struct lock *lck, struct lockuser *lu, int prio)
{
int i;
+ long lval;
/**
* XXX - We probably want to remove these checks to optimize
@@ -126,7 +125,6 @@
LCK_ASSERT(lu->lu_myreq->lr_locked == 1);
LCK_ASSERT(lu->lu_myreq->lr_watcher == NULL);
LCK_ASSERT(lu->lu_myreq->lr_owner == lu);
- LCK_ASSERT(lu->lu_myreq->lr_waiting == 0);
LCK_ASSERT(lu->lu_watchreq == NULL);
lu->lu_priority = prio;
@@ -169,10 +167,13 @@
if (lu->lu_watchreq->lr_active == 0)
break;
}
- atomic_store_rel_long(&lu->lu_watchreq->lr_waiting, 1);
- while (lu->lu_watchreq->lr_locked != 0)
+ atomic_swap_long((long *)&lu->lu_watchreq->lr_locked,
+ 2, &lval);
+ if (lval == 0)
+ lu->lu_watchreq->lr_locked = 0;
+ else
lck->l_wait(lck, lu);
- atomic_store_rel_long(&lu->lu_watchreq->lr_waiting, 0);
+
}
}
lu->lu_myreq->lr_active = 1;
@@ -187,6 +188,7 @@
struct lockuser *lu_tmp, *lu_h;
struct lockreq *myreq;
int prio_h;
+ long lval;
/**
* XXX - We probably want to remove these checks to optimize
@@ -224,7 +226,6 @@
lu->lu_myreq->lr_locked = 1;
lu->lu_myreq->lr_owner = lu;
lu->lu_myreq->lr_watcher = NULL;
- lu->lu_myreq->lr_waiting = 0;
/*
* Traverse the list of lock requests in reverse order
* looking for the user with the highest priority.
@@ -238,17 +239,26 @@
}
if (lu_h != NULL) {
/* Give the lock to the highest priority user. */
- if ((lu_h->lu_watchreq->lr_waiting != 0) &&
- (lck->l_wakeup != NULL))
- /* Notify the sleeper */
- lck->l_wakeup(lck, lu_h->lu_myreq->lr_watcher);
+ if (lck->l_wakeup != NULL) {
+ atomic_swap_long(
+ (long *)&lu_h->lu_watchreq->lr_locked,
+ 0, &lval);
+ if (lval == 2)
+ /* Notify the sleeper */
+ lck->l_wakeup(lck,
+ lu_h->lu_myreq->lr_watcher);
+ }
else
- atomic_store_rel_long(&lu_h->lu_watchreq->lr_locked, 0);
+ atomic_store_rel_long(
+ &lu_h->lu_watchreq->lr_locked, 0);
} else {
- if ((myreq->lr_waiting != 0) &&
- (lck->l_wakeup != NULL))
- /* Notify the sleeper */
- lck->l_wakeup(lck, myreq->lr_watcher);
+ if (lck->l_wakeup != NULL) {
+ atomic_swap_long((long *)&myreq->lr_locked,
+ 0, &lval);
+ if (lval == 2)
+ /* Notify the sleeper */
+ lck->l_wakeup(lck, myreq->lr_watcher);
+ }
else
/* Give the lock to the previous request. */
atomic_store_rel_long(&myreq->lr_locked, 0);
@@ -263,10 +273,12 @@
lu->lu_myreq = lu->lu_watchreq;
lu->lu_watchreq = NULL;
lu->lu_myreq->lr_locked = 1;
- lu->lu_myreq->lr_waiting = 0;
- if (myreq->lr_waiting != 0 && lck->l_wakeup)
- /* Notify the sleeper */
- lck->l_wakeup(lck, myreq->lr_watcher);
+ if (lck->l_wakeup) {
+ atomic_swap_long((long *)&myreq->lr_locked, 0, &lval);
+ if (lval == 2)
+ /* Notify the sleeper */
+ lck->l_wakeup(lck, myreq->lr_watcher);
+ }
else
/* Give the lock to the previous request. */
atomic_store_rel_long(&myreq->lr_locked, 0);
@@ -277,7 +289,7 @@
void
_lock_grant(struct lock *lck /* unused */, struct lockuser *lu)
{
- atomic_store_rel_long(&lu->lu_watchreq->lr_locked, 0);
+ atomic_store_rel_long(&lu->lu_watchreq->lr_locked, 3);
}
void
==== //depot/projects/hammer/lib/libpthread/sys/lock.h#4 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libpthread/sys/lock.h,v 1.4 2003/05/16 19:58:29 deischen Exp $
+ * $FreeBSD: src/lib/libpthread/sys/lock.h,v 1.5 2003/05/24 02:29:25 deischen Exp $
*/
#ifndef _LOCK_H_
@@ -54,7 +54,6 @@
volatile long lr_locked; /* lock granted = 0, busy otherwise */
struct lockuser *lr_watcher; /* only used for priority locks */
struct lockuser *lr_owner; /* only used for priority locks */
- long lr_waiting; /* non-zero when wakeup needed */
volatile int lr_active; /* non-zero if the lock is last lock for thread */
};
@@ -73,7 +72,7 @@
#define _LCK_BUSY(lu) ((lu)->lu_watchreq->lr_locked != 0)
#define _LCK_ACTIVE(lu) ((lu)->lu_watchreq->lr_active != 0)
-#define _LCK_GRANTED(lu) ((lu)->lu_watchreq->lr_locked == 0)
+#define _LCK_GRANTED(lu) ((lu)->lu_watchreq->lr_locked == 3)
#define _LCK_SET_PRIVATE(lu, p) (lu)->lu_private = (void *)(p)
#define _LCK_GET_PRIVATE(lu) (lu)->lu_private
==== //depot/projects/hammer/lib/libpthread/thread/thr_cancel.c#6 (text+ko) ====
@@ -1,6 +1,6 @@
/*
* David Leonard <d at openbsd.org>, 1999. Public domain.
- * $FreeBSD: src/lib/libpthread/thread/thr_cancel.c,v 1.20 2003/05/06 00:02:54 deischen Exp $
+ * $FreeBSD: src/lib/libpthread/thread/thr_cancel.c,v 1.21 2003/05/24 02:29:25 deischen Exp $
*/
#include <sys/errno.h>
#include <pthread.h>
@@ -19,6 +19,7 @@
_pthread_cancel(pthread_t pthread)
{
struct pthread *curthread = _get_curthread();
+ struct pthread *joinee = NULL;
int ret;
if ((ret = _thr_ref_add(curthread, pthread, /*include dead*/0)) == 0) {
@@ -64,7 +65,17 @@
break;
case PS_JOIN:
+ /* Disconnect the thread from the joinee: */
+ joinee = pthread->join_status.thread;
+ pthread->join_status.thread = NULL;
pthread->cancelflags |= THR_CANCELLING;
+ _thr_setrunnable_unlocked(pthread);
+ if ((joinee != NULL) &&
+ (curthread->kseg == joinee->kseg)) {
+ /* Remove the joiner from the joinee. */
+ joinee->joiner = NULL;
+ joinee = NULL;
+ }
break;
case PS_SUSPENDED:
@@ -103,6 +114,15 @@
*/
THR_SCHED_UNLOCK(curthread, pthread);
_thr_ref_delete(curthread, pthread);
+
+ if ((joinee != NULL) &&
+ (_thr_ref_add(curthread, joinee, /* include dead */1) == 0)) {
+ /* Remove the joiner from the joinee. */
+ THR_SCHED_LOCK(curthread, joinee);
+ joinee->joiner = NULL;
+ THR_SCHED_UNLOCK(curthread, joinee);
+ _thr_ref_delete(curthread, joinee);
+ }
}
return (ret);
}
==== //depot/projects/hammer/lib/libpthread/thread/thr_concurrency.c#3 (text+ko) ====
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libpthread/thread/thr_concurrency.c,v 1.2 2003/04/28 23:56:11 deischen Exp $
+ * $FreeBSD: src/lib/libpthread/thread/thr_concurrency.c,v 1.3 2003/05/24 02:29:25 deischen Exp $
*/
#include <errno.h>
#include <pthread.h>
@@ -103,6 +103,7 @@
TAILQ_INSERT_TAIL(&newkse->k_kseg->kg_kseq,
newkse, k_kgqe);
newkse->k_kseg->kg_ksecount++;
+ newkse->k_flags |= KF_STARTED;
KSE_SCHED_UNLOCK(curthread->kse, newkse->k_kseg);
if (kse_create(&newkse->k_mbx, 0) != 0) {
KSE_SCHED_LOCK(curthread->kse, newkse->k_kseg);
==== //depot/projects/hammer/lib/libpthread/thread/thr_cond.c#7 (text+ko) ====
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libpthread/thread/thr_cond.c,v 1.41 2003/05/19 23:04:50 deischen Exp $
+ * $FreeBSD: src/lib/libpthread/thread/thr_cond.c,v 1.42 2003/05/24 02:29:25 deischen Exp $
*/
#include <stdlib.h>
#include <errno.h>
@@ -184,6 +184,9 @@
(rval = pthread_cond_init(cond, NULL)) != 0)
return (rval);
+ if (!_kse_isthreaded())
+ _kse_setthreaded(1);
+
/*
* Enter a loop waiting for a condition signal or broadcast
* to wake up this thread. A loop is needed in case the waiting
@@ -388,6 +391,9 @@
if (*cond == NULL && (rval = pthread_cond_init(cond, NULL)) != 0)
return (rval);
+ if (!_kse_isthreaded())
+ _kse_setthreaded(1);
+
/*
* Enter a loop waiting for a condition signal or broadcast
* to wake up this thread. A loop is needed in case the waiting
==== //depot/projects/hammer/lib/libpthread/thread/thr_create.c#6 (text+ko) ====
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: src/lib/libpthread/thread/thr_create.c,v 1.44 2003/05/04 16:17:01 deischen Exp $
+ * $FreeBSD: src/lib/libpthread/thread/thr_create.c,v 1.45 2003/05/24 02:29:25 deischen Exp $
*/
#include <errno.h>
#include <stdlib.h>
@@ -44,8 +44,6 @@
#include "thr_private.h"
#include "libc_private.h"
-static u_int64_t next_uniqueid = 1;
-
#define OFF(f) offsetof(struct pthread, f)
int _thread_next_offset = OFF(tle.tqe_next);
int _thread_uniqueid_offset = OFF(uniqueid);
@@ -145,8 +143,13 @@
|| ((kseg = _kseg_alloc(curthread)) == NULL))) {
/* Insufficient memory to create a new KSE/KSEG: */
ret = EAGAIN;
- if (kse != NULL)
+#ifndef KMF_DONE
+#define KMF_DONE 0x04
+#endif
+ if (kse != NULL) {
+ kse->k_mbx.km_flags |= KMF_DONE;
_kse_free(curthread, kse);
+ }
if ((new_thread->attr.flags & THR_STACK_USER) == 0) {
crit = _kse_critical_enter();
curkse = _get_curkse();
@@ -161,7 +164,8 @@
else {
if (kseg != NULL) {
/* Add the KSE to the KSEG's list of KSEs. */
- TAILQ_INSERT_HEAD(&kseg->kg_kseq, kse, k_qe);
+ TAILQ_INSERT_HEAD(&kseg->kg_kseq, kse, k_kgqe);
+ kseg->kg_ksecount = 1;
kse->k_kseg = kseg;
kse->k_schedq = &kseg->kg_schedq;
}
@@ -286,30 +290,11 @@
kse->k_mbx.km_curthread = NULL;
}
- crit = _kse_critical_enter();
- KSE_LOCK_ACQUIRE(curthread->kse, &_thread_list_lock);
/*
- * Initialise the unique id which GDB uses to
- * track threads.
- */
- new_thread->uniqueid = next_uniqueid++;
- /* Add the thread to the linked list of all threads: */
- THR_LIST_ADD(new_thread);
- KSE_LOCK_RELEASE(curthread->kse, &_thread_list_lock);
-
>>> TRUNCATED FOR MAIL (1000 lines) <<<
More information about the p4-projects
mailing list