Age | Commit message (Collapse) | Author |
|
|
|
* 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).
|
|
|
|
Do all ids in UIDS even if one returns an error.
|
|
Ignore errors from idvec_merge_implied_gids.
|
|
Ignore errors from idvec_merge_implied_gids.
|
|
|
|
Allow MTIME to be mapped anywhere.
|
|
|
|
|
|
Add argz-replace.c (temporarily).
|
|
For the device-file case, don't use wierd file_get_storage_info method for
getting device port, just use io_map to get a memory object directly from
the file.
|
|
|
|
|
|
|
|
Pretty print.
Standardize the multiple-include protect (for libc).
|
|
|