Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e310d3
)
Need to use O_RDONLY in solaris sys_lremovexattr().
author
Wayne Davison
<wayned@samba.org>
Thu, 3 Sep 2009 22:25:55 +0000
(15:25 -0700)
committer
Wayne Davison
<wayned@samba.org>
Thu, 3 Sep 2009 22:25:55 +0000
(15:25 -0700)
lib/sysxattrs.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/sysxattrs.c
b/lib/sysxattrs.c
index
ec11d7d
..
d55ee0c
100644
(file)
--- a/
lib/sysxattrs.c
+++ b/
lib/sysxattrs.c
@@
-217,7
+217,7
@@
int sys_lremovexattr(const char *path, const char *name)
int attrdirfd;
int ret;
- if ((attrdirfd = attropen(path, ".", O_RD
WR
)) < 0)
+ if ((attrdirfd = attropen(path, ".", O_RD
ONLY
)) < 0)
return -1;
ret = unlinkat(attrdirfd, name, 0);