commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/proc wait.c pgrp.c info.c host.c


From: Roland McGrath
Subject: hurd/proc wait.c pgrp.c info.c host.c
Date: Sun, 15 Apr 2001 01:10:44 -0700

CVSROOT:        /cvs
Module name:    hurd
Changes by:             01/04/15 01:10:44

Modified files:
        proc           : wait.c pgrp.c info.c host.c 

Log message:
        2000-04-03  Neal H Walfield  <address@hidden>
        
        * host.c: Doc fix: ``Implement foo as described in <hurd/proc.defs>''
        => ``Implement foo as described in <hurd/process.defs>''
        * info.c: Likewise.
        * mgt.c: Likewise.
        * pgrp.c: Likewise.
        * wait.c: Likewise.
        * host.c (S_proc_setexecdata):  Check for memory allocation errors.
        Use memcpy, not bcopy.
        (S_proc_getexecdata): Likewise.
        (S_proc_execdata_notify): Check return of malloc.
        (S_proc_register_version): Likewise.
        (initialize_version_info): Add asserts.
        * info.c (S_proc_pid2task): Do not bother searching for the pid
        if we do not have a valid caller.
        (S_proc_pid2proc): Likewise.
        Use memcpy, not bcopy.
        (S_proc_getprocinfo): Doc fixes.  Use MAP_FAILED not -1.  Use
        memcpy, not bcopy.
        (S_proc_getloginpids): Check return value of malloc.  Use realloc
        correctly.
        (S_proc_setlogin): Check return value of malloc.
        * main.c (main): Assert allocate_proc.
        * mgt.c (make_ids): Check return value of malloc and fail
        accordingly.
        (S_proc_reauthenticate): Check return value of make_ids and fail
        accordingly.
        (S_proc_child): Call task_find after we know that we were passed
        a valid child.
        (S_proc_reassign): Likewise.
        (S_proc_handle_exceptions): Use memcpy, not bcopy.
        (allocate_proc): Check return value of ports_create_port and fail
        accordingly.
        (create_startup_proc): Add asserts.
        (complete_proc): Do not assume the length of "<none>".
        * msg.c (S_proc_getmsgport): Call pid_find_allow_zombie after
        we know we were passed a valid caller.
        * pgrp.c: Include assert.h.
        (new_pgrp): Check return value of malloc and fail accordingly.
        (new_session): Likewise.
        (boot_setsid): Assert sess.
        (S_proc_getsessionpids): Use MAP_FAILED not -1.
        (S_proc_getsessionppids): Likewise.
        (S_proc_getpgrppids): Likewise.
        * wait.c (S_proc_wait): Use memset, not bzero.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/proc/wait.c.diff?cvsroot=OldCVS&tr1=1.25&tr2=1.26&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/proc/pgrp.c.diff?cvsroot=OldCVS&tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/proc/info.c.diff?cvsroot=OldCVS&tr1=1.40&tr2=1.41&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/proc/host.c.diff?cvsroot=OldCVS&tr1=1.14&tr2=1.15&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]