/[hurd]/hurd/trans/fakeroot.c
ViewVC logotype

Diff of /hurd/trans/fakeroot.c

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

revision 1.18 by marcus, Thu May 23 12:57:45 2002 UTC revision 1.19 by roland, Fri May 24 00:18:14 2002 UTC
# Line 645  netfs_attempt_write (struct iouser *cred Line 645  netfs_attempt_write (struct iouser *cred
645  error_t  error_t
646  netfs_report_access (struct iouser *cred, struct node *np, int *types)  netfs_report_access (struct iouser *cred, struct node *np, int *types)
647  {  {
648    *types = np->nn->openmodes    *types = O_RDWR|O_EXEC;
     & ((np->nn_stat.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)) ? ~0 : ~O_EXEC);  
649    return 0;    return 0;
650  }  }
651    

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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