Age | Commit message (Collapse) | Author |
|
Conditionally enable code that calls getgrouplist. Use `int'
instead of `size_t' for number of groups.
[!HAVE_GETGROUPLIST]: Add #warning about missing getgrouplist.
|
|
|
|
* idvec-auth.c (idvec_merge_auth): Really allow parameters
to be NULL.
|
|
* ugids.h: Fix obsolescent #endif syntax.
|
|
|
|
* idvec.h: Include <string.h> for memcmp decl.
|
|
* wire.c (map_extent): Add dead return stmt to silence gcc warning.
|
|
* timefmt.c: Include <time.h>. Reported by Arkadi E. Shishlov
<arkadi@it.lv>.
|
|
* wire.c: Include <error.h>.
|
|
|
|
* wire.c (map_extent): Pass second arg of RTLD_NOLOAD to dlopen.
(RTLD_NOLOAD): Define macro to zero if undefined.
|
|
|
|
* wire.c (map_extent): Rewrite using dlsym on library's _end symbol.
|
|
|
|
|
|
* options.c, options.h: Ancient unused files removed.
|
|
* exec-reauth.c (exec_reauth): Always destroy REF, even when we
get errors.
|
|
|
|
* maptime.h: Include <errno.h> for error_t decl.
|
|
|
|
* 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.
|