projects
/
invirt/packages/python-afs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Figure out what realm an afs._pts.PTS instance authenticates against.
[invirt/packages/python-afs.git]
/
afs
/
_acl.pyx
diff --git
a/afs/_acl.pyx
b/afs/_acl.pyx
index
5f0360b
..
ef65388
100644
(file)
--- a/
afs/_acl.pyx
+++ b/
afs/_acl.pyx
@@
-16,12
+16,12
@@
cdef struct vcxstat2:
afs_int32 anyAccess
char mvstat
afs_int32 anyAccess
char mvstat
-READ = PRSFS_READ
-WRITE = PRSFS_WRITE
-INSERT = PRSFS_INSERT
-LOOKUP = PRSFS_LOOKUP
-DELETE = PRSFS_DELETE
-LOCK = PRSFS_LOCK
+READ = PRSFS_READ
+WRITE = PRSFS_WRITE
+INSERT = PRSFS_INSERT
+LOOKUP = PRSFS_LOOKUP
+DELETE = PRSFS_DELETE
+LOCK = PRSFS_LOCK
ADMINISTER = PRSFS_ADMINISTER
USR0 = PRSFS_USR0
USR1 = PRSFS_USR1
ADMINISTER = PRSFS_ADMINISTER
USR0 = PRSFS_USR0
USR1 = PRSFS_USR1
@@
-37,8
+37,7
@@
DEF MAXSIZE = 2048
def getAcl(char* dir, int follow=1):
cdef char space[MAXSIZE]
pioctl_read(dir, VIOCGETAL, space, MAXSIZE, follow)
def getAcl(char* dir, int follow=1):
cdef char space[MAXSIZE]
pioctl_read(dir, VIOCGETAL, space, MAXSIZE, follow)
- ret = space # Python managed string
- return ret
+ return space
def getCallerAccess(char *dir, int follow=1):
cdef vcxstat2 stat
def getCallerAccess(char *dir, int follow=1):
cdef vcxstat2 stat