Age | Commit message (Collapse) | Author |
|
|
|
* wire.c: Use a weak reference to _DYNAMIC.
|
|
* idvec.c (idvec_setid): Switch last two arguments in call to
idvec_insert_only.
* idvec.h: Doc fix.
|
|
* idvec.c (idvec_setid): Implement Posix saved set-user id
correctly.
(idvec_insert_only): Doc fix.
Reported by Mark Kettenis <kettenis@wins.uva.nl>.
|
|
|
|
* wire.c (map_extent): Use p_memsz instead of p_filesz.
(loaded): Return zero if _DYNAMIC has address zero (i.e., static link).
|
|
|
|
|
|
* mktime.c: File removed. Current libc code is good.
* Makefile (SRCS): Remove mktime.c.
|
|
|
|
* portinfo.h: Don't include <sys/types.h>, <sys/mman.h>.
This is an exported header, and its decls don't need them.
* portinfo.c: Include them here instead.
* xportinfo.c: And here.
|
|
* ugids-argp.c (parse_opt): Clarify if-then-else structure by
adding more braces.
* portinfo.h: Include <sys/types.h>.
* portxlate.c: Likewise.
* portinfo.c: (print_port_info): Cast first arg of munmap correctly.
(print_task_ports_info): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
|
|
* ugids-argp.c (parse_opt): Clarify if-then-else structure by
adding more braces.
* portinfo.c (print_port_info): Cast first arg of munmap
correctly.
(print_task_ports_info): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
|
|
|
|
* portinfo.h: Add #include <sys/mman.h> for munmap decl.
* fsysops.c: Likewise.
* idvec-auth.c: Likewise.
* portxlate.c: Likewise.
|
|
|
|
* portinfo.h: Add #include <sys/mman.h> for munmap decl.
* fsysops.c: Likewise.
* idvec-auth.c: Likewise.
|
|
* fsysops.c (fsys_get_readonly): Use munmap instead of vm_deallocate.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portinfo.c (print_port_info): Likewise.
(print_task_ports_info): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
|
|
|
|
* idvec-verify.c (SHADOW_PASSWORD_STRING): New macro.
(verify_id): Check for shadow password immediately after getpwuid_r
call, and replace PW->pw_passwd pointer with SP->sp_pwdp.
This is ok since the only use will be later in the function,
and we give the lookup buffer function scope.
(verify_passwd): Don't call CHECK_SHADOW for main passwd,
only when rechecking for wheel-group hack.
|
|
|
|
* idvec-verify.c (verify_passwd): Avoid nonreentrant getpwuid.
If pw_passwd is "x", use getspnam_r and use its sp_pwdp if it succeeds.
|
|
* ugids-verify-auth.c: Include <hurd/password.h> again and remove
temporary definitions of password_check_user and
password_check_group.
1998-11-29 Mark Kettenis <kettenis@phys.uva.nl>
* idvec-verify.c (verify_passwd): Grant access when the password
in the passwd DB is empty.
(verify_id): Also call verify_fn when the password in the password
DB is empty.
|
|
* Makefile (LCLHDRS): Purge argp-fmtstream.h and argp-namefrob.h.
|
|
|
|
* ugids-verify-auth.c (svma_state_add_auths): Allocate correct
number of bytes for new auth port array.
(server_verify_make_auth): Set check to password_check_group if
is_group is true and to password_check_user if not. Not the other
way around.
|
|
|
|
* cacheq.c (cacheq_set_length): Fix the limit of the destination
entries. Decide that there is no following entry if the current
entry is equal or greater than this limit.
|
|
|
|
|
|
* Makefile (SRCS): Remove argz-replace.c and argp-*.c from the list.
(installhdrs): Remove argp.h from the list.
|
|
* ugids-verify-auth.c (ugids_verify_make_auth): Fix typos in
svma_state change of 1998-08-11.
|
|
* idvec.c, idvec-auth.c (id_t): Remove typedef; use uid_t everywhere.
The name `id_t' is coopted in libc now for the SVID `waitid' interface.
|
|
|
|
* argz-replace.c: Removed, now in libcwhereitshouldbe.
|
|
* argp-ba.c, argp-eexst.c, argp-ex1.c, argp-ex2.c, argp-ex3.c,
argp-ex4.c, argp-fmtstream.c, argp-fmtstream.h argp-fs-xinl.c,
argp-help.c, argp-namefrob.h argp-parse.c, argp-pv.c, argp-pvh.c,
argp-test.c, argp-xinl.c, argp.h: Removed, now in libcwhereitshouldbe.
|
|
|
|
* ugids-verify-auth.c: Leave #include <hurd/password.h> there, but
commented out for the time being.
(password_check_user, password_check_group): Make symbols weak; these
are temporary defns until we get back in synch with libc.
* ugids-verify-auth.c (ugids_verify_make_auth): Properly initialize
SVMA_STATE members if they will be used.
|
|
* ugids-verify-auth.c: Don't include <hurd/password.h> for now.
|
|
|
|
Add ugids-verify-auth.c.
|
|
Change type of GETPASS_FN arg.
Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args.
Remove WHEEL_UID arg.
Use VERIFY_FN & VERIFY_HOOK instead of doing password comparison ourselves.
(verify_passwd, get_passwd):
New functions.
(idvec_verify):
Change type of GETPASS_FN arg.
Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args & use them.
|
|
Change type of GETPASS_FN arg.
Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args.
|
|
Change FROM arg into an array, & add NUM_FROM arg.
|
|
Change type of GETPASS_FN arg.
Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args.
|
|
Change type of GETPASS_FN arg.
Add GETPASS_HOOK, VERIFY_FN, and VERIFY_HOOK args.
(ugids_make_auth):
Change FROM arg into an array, & add NUM_FROM.
(ugids_verify_make_auth):
New declaration.
|
|
|
|
|
|
|
|
Add mktime.c (temporarily).
|