Age | Commit message (Collapse) | Author |
|
* inode.c (diskfs_get_translator): Fail with EFTYPE if the length
field stored on disk is unreasonable. Don't crash on ENOMEM.
Use memcpy instead of bcopy.
|
|
|
|
* inode.c (diskfs_get_translator): Fail with EFTYPE if the length
field stored on disk is unreasonable. Don't crash on ENOMEM.
Use memcpy instead of bcopy.
|
|
|
|
* wait.c (S_proc_wait: reap): Set *PID_STATUS to CHILD->p_pid.
Reported by Neal H Walfield <neal@cs.uml.edu>.
|
|
* mgt.c (allocate_proc): Don't zero P->p_pi.
Reported by Neal H Walfield <neal@cs.uml.edu>.
|
|
|
|
* wait.c (sample_rusage): New function.
(S_proc_mark_exit): Call it.
|
|
|
|
* proc.h (struct proc): New members p_rusage, p_child_rusage.
* wait.c (rusage_add): New static function.
(alert_parent): Use it to add dead child's p_rusage into parent's
p_child_rusage.
(S_proc_wait): Fill *RU out param with CHILD->p_rusage, not just zeros.
Rewrote subfunction child_ready and its two callers into new
subfunction reap to reduce duplicated code.
|
|
* mgt.c (process_has_exited): Call ports_interrupt_rpcs last thing.
|
|
|
|
* mgt.c (S_proc_reauthenticate): Release global_lock while making RPC.
Don't mach_port_deallocate an argument port when returning an error,
because mig does it for us.
2001-08-03 Roland McGrath <roland@frob.com>
* mgt.c (allocate_proc): Use memset instead of lots of 0 initializers.
|
|
|
|
* Makefile (HURDLIBS): Define it so we link in libshouldbeinlibc.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Handle symlinks to "".
|
|
|
|
* mgt.c (genpid): Rewritten.
|
|
* mgt.c (genpid): Before checking if NEXTPID is free, check if it
is greater than WRAP, and if yes, start over.
|
|
* mux.c (free_name): Swap order of memory releases.
Reported by Kalle Olavi Niemitalo <kon@iki.fi>
|
|
wasn't already.
(msg_control, msg_controllen, struct cmsghdr, cmsg_len, cmsg_type,
cmsg_level, CMSG_FIRSTHDR, CMSG_NXTHDR, CMSG_DATA, CMSG_LEN): Only
define if CMSG_DATA wasn't already defined.
|
|
and threads (done by Thomas in 1997).
|
|
|
|
* panic.c: Fix obsolescent #endif syntax.
* ext2_file_io.c: Likewise.
* disk_inode_ffs.h: Likewise.
* ffs_file_io.c: Likewise.
|
|
|
|
* panic.c: Fix obsolescent #endif syntax.
|
|
* copyright: Refer to new directory.
* rules: Move documentation to share directory.
Add -isp to dpkg-gencontrol invocation.
Remove crufty hurd.info.
* control: Bump up standards version.
|
|
* rc: Do not excempt random-seed when cleaning up /var/run. State
data should be in /var/lib (FHS) or /var/state.
* changelog: Update to current version.
* debian/servers.boot: Add die $(serverboot).
|
|
* linux-src/net/ipv4/devinit.c (configure_device): Initialize IFA
correctly. If we are setting the peer on an IFF_POINTOPOINT link,
force the netmask to 255.255.255.255.
By Neal H Walfield <neal@cs.uml.edu>.
|
|
* options.c (parse_opt): In the cases where we hold global_lock
and fail, we must release the lock before calling FAIL.
|
|
* host.c (S_proc_getexecdata): New variable PORTS_ALLOCATED.
Set it if we allocated a new buffer for PORTS. If it is set,
and allocation of a new buffer for INTS fails, unmap the buffer
for PORTS.
* host.c (S_proc_getexecdata): New variable I. Go over all
standard ports and increase the send right user reference by one.
Set *PORTSPOLY to MACH_MSG_TYPE_MOVE_SEND.
|
|
* fs.defs (routine file_get_storage_info): Add dealloc to all out
parameters (PORTS, INTS, OFFSETS, DATA).
(routine file_get_fs_options): Add dealloc to out parameter OPTIONS.
* fsys.defs (routine fsys_get_options): Add dealloc to out
parameter OPTIONS.
* process.defs (routine proc_getprocinfo): Add dealloc to out
paramter PROCINFO.
|
|
|
|
* file-getcontrol.c (netfs_S_file_getcontrol): When checking if
we can give the control port out, use fshelp_iscontroller rather
than doing the check by hand.
|
|
* file-getcontrol.c (diskfs_S_file_getcontrol): When checking
if we can give the control port out, use fshelp_iscontroller
rather than doing the check by hand.
|
|
* fshelp.h (fshelp_iscontroller): Declare new function.
* perms-iscontroller.c: New file.
* Makefile (SRCS): Add it.
|
|
|
|
* init.c (reboot_system): Don't pass null pointer to RPC out param.
Thanks to Moritz Schulte <moritz@chaosdorf.de> for finding this.
|
|
* info.c (S_proc_getprocinfo): If we return because mmap failed
for *PIARRAY, be sure to munmap THDS if necessary.
|
|
that there have been a lot of them! This only documents changes made until
Jan 2001, and only changes to the applications, not to the libraries.
It still holds that this needs more work, trolling through ChangeLogs.
|
|
Conditionally enable code that calls getgrouplist. Use `int'
instead of `size_t' for number of groups.
[!HAVE_GETGROUPLIST]: Add #warning about missing getgrouplist.
|
|
|
|
* changelog: Update to current version.
|
|
* main.c (S_exec_init): Use iohelp_create_empty_iouser.
|
|
|
|
* dir-lookup.c (netfs_S_dir_lookup): Use
iohelp_create_empty_iouser. Use iohelp_dup_iouser
as per the new semantics.
* dir-mkfile.c (netfs_S_dir_mkfile): Use iohelp_dup_iouser
as per the new semantics.
* file-exec.c (netfs_S_file_exec): Likewise.
* file-reparent.c (netfs_S_file_reparent): Likewise.
* fsys-getroot.c (netfs_S_fsys_getroot): Use
iohelp_create_complex_iouser.
* fsys-syncfs.c (netfs_S_fsys_syncfs): Use
iohelp_create_simple_iouser.
* io-duplicate.c (netfs_S_io_duplicate): Use iohelp_dup_iouser
as per the new semantics.
* io-reauthenticate.c (netfs_S_io_reauthenticate): Use
iohelp_reauth as per the new semantics.
* io-restrict-auth.c (netfs_S_io_restrict_auth): Use
iohelp_create_complex_iouser. Check return values.
* trans-callback.c (_netfs_transcallback2_fn): Use
iohelp_create_simple_iouser.
|
|
* file-set-trans.c (diskfs_S_file_set_translator): Add some parens.
|
|
* dir-lookup.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser as
per the new semantics.
* fsys-getroot.c (trivfs_S_fsys_getroot): Use
iohelp_create_complex_iouser.
* io-reauthenticate.c (trivfs_S_io_reauthenticate):
Use iohelp_reauth as per the new semantics.
* io-restrict-auth.c (trivfs_S_io_restrict_auth):
Use iohelp_create_complex_iouser. Check return values.
* protid-dup.c (trivfs_protid_dup): Use iohelp_dup_iouser
as per the new semantics.
|
|
|
|
* users.c (S_termctty_open_terminal): Use iohelp_create_empty_iouser.
|