/[hurd]/hurd/pflocal/io.c
ViewVC logotype

Diff of /hurd/pflocal/io.c

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

revision 1.37 by kettenis, Wed Aug 2 20:19:45 2000 UTC revision 1.38 by roland, Wed May 8 10:16:18 2002 UTC
# Line 1  Line 1 
1  /* Socket I/O operations  /* Socket I/O operations
2    
3     Copyright (C) 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc.     Copyright (C) 1995,96,98,99,2000,02 Free Software Foundation, Inc.
4       Written by Miles Bader <miles@gnu.org>
    Written by Miles Bader <miles@gnu.ai.mit.edu>  
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
7     modify it under the terms of the GNU General Public License as     modify it under the terms of the GNU General Public License as
# Line 392  S_io_reauthenticate (struct sock_user *u Line 391  S_io_reauthenticate (struct sock_user *u
391    uid_t *uids = uids_buf, *aux_uids = aux_uids_buf;    uid_t *uids = uids_buf, *aux_uids = aux_uids_buf;
392    gid_t gids_buf[NIDS], aux_gids_buf[NIDS];    gid_t gids_buf[NIDS], aux_gids_buf[NIDS];
393    gid_t *gids = gids_buf, *aux_gids = aux_gids_buf;    gid_t *gids = gids_buf, *aux_gids = aux_gids_buf;
394    unsigned num_uids = NIDS, num_aux_uids = NIDS;    size_t num_uids = NIDS, num_aux_uids = NIDS;
395    unsigned num_gids = NIDS, num_aux_gids = NIDS;    size_t num_gids = NIDS, num_aux_gids = NIDS;
396    
397    if (!user)    if (!user)
398      return EOPNOTSUPP;      return EOPNOTSUPP;
# Line 437  error_t Line 436  error_t
436  S_io_restrict_auth (struct sock_user *user,  S_io_restrict_auth (struct sock_user *user,
437                      mach_port_t *new_port,                      mach_port_t *new_port,
438                      mach_msg_type_name_t *new_port_type,                      mach_msg_type_name_t *new_port_type,
439                      uid_t *uids, unsigned num_uids,                      uid_t *uids, size_t num_uids,
440                      uid_t *gids, unsigned num_gids)                      uid_t *gids, size_t num_gids)
441  {  {
442    if (!user)    if (!user)
443      return EOPNOTSUPP;      return EOPNOTSUPP;

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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