/[hurd]/hurd/proc/mgt.c
ViewVC logotype

Diff of /hurd/proc/mgt.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.64 by marcus, Tue Aug 14 19:09:13 2001 UTC revision 1.65 by roland, Wed May 8 09:24:52 2002 UTC
# Line 1  Line 1 
1  /* Process management  /* Process management
2     Copyright (C) 1992,93,94,95,96,99,2000,01 Free Software Foundation, Inc.     Copyright (C) 1992,93,94,95,96,99,2000,01,02 Free Software Foundation, Inc.
3    
4  This file is part of the GNU Hurd.  This file is part of the GNU Hurd.
5    
# Line 90  S_proc_reauthenticate (struct proc *p, m Line 90  S_proc_reauthenticate (struct proc *p, m
90    error_t err;    error_t err;
91    uid_t gubuf[50], aubuf[50], ggbuf[50], agbuf[50];    uid_t gubuf[50], aubuf[50], ggbuf[50], agbuf[50];
92    uid_t *gen_uids, *aux_uids, *gen_gids, *aux_gids;    uid_t *gen_uids, *aux_uids, *gen_gids, *aux_gids;
93    u_int ngen_uids, naux_uids, ngen_gids, naux_gids;    size_t ngen_uids, naux_uids, ngen_gids, naux_gids;
94    
95    if (!p)    if (!p)
96      return EOPNOTSUPP;      return EOPNOTSUPP;
# Line 332  S_proc_dostop (struct proc *p, Line 332  S_proc_dostop (struct proc *p,
332                 thread_t contthread)                 thread_t contthread)
333  {  {
334    thread_t threadbuf[2], *threads = threadbuf;    thread_t threadbuf[2], *threads = threadbuf;
335    int nthreads = sizeof (threadbuf) / sizeof (thread_t);    size_t nthreads = sizeof (threadbuf) / sizeof (thread_t);
336    int i;    int i;
337    error_t err;    error_t err;
338    
# Line 409  S_proc_exception_raise (mach_port_t excp Line 409  S_proc_exception_raise (mach_port_t excp
409                          mach_msg_type_name_t reply_type,                          mach_msg_type_name_t reply_type,
410                          mach_port_t thread,                          mach_port_t thread,
411                          mach_port_t task,                          mach_port_t task,
412                          int exception,                          integer_t exception,
413                          int code,                          integer_t code,
414                          int subcode)                          integer_t subcode)
415  {  {
416    error_t err;    error_t err;
417    struct proc *p;    struct proc *p;
# Line 505  S_proc_exception_raise (mach_port_t excp Line 505  S_proc_exception_raise (mach_port_t excp
505  kern_return_t  kern_return_t
506  S_proc_getallpids (struct proc *p,  S_proc_getallpids (struct proc *p,
507                     pid_t **pids,                     pid_t **pids,
508                     u_int *pidslen)                     size_t *pidslen)
509  {  {
510    int nprocs;    int nprocs;
511    pid_t *loc;    pid_t *loc;
# Line 792  struct proc * Line 792  struct proc *
792  add_tasks (task_t task)  add_tasks (task_t task)
793  {  {
794    mach_port_t *psets;    mach_port_t *psets;
795    u_int npsets;    size_t npsets;
796    int i;    int i;
797    struct proc *foundp = 0;    struct proc *foundp = 0;
798    
# Line 801  add_tasks (task_t task) Line 801  add_tasks (task_t task)
801      {      {
802        mach_port_t psetpriv;        mach_port_t psetpriv;
803        mach_port_t *tasks;        mach_port_t *tasks;
804        u_int ntasks;        size_t ntasks;
805        int j;        int j;
806    
807        if (!foundp)        if (!foundp)

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26