1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

r24547: Fix #4897, patch from David S. Collier-Brown <davecb@spamcop.net> -- Thanks!

(This used to be commit 4a90264d173ef5a870f2a44554c3bb9e738e98fb)
This commit is contained in:
Volker Lendecke 2007-08-19 19:52:18 +00:00 committed by Gerald (Jerry) Carter
parent a2c3e56a49
commit 06dd8d28ae

View File

@ -1686,12 +1686,12 @@ int sys_dup2(int oldfd, int newfd)
/******** Solaris EA helper function prototypes ********/
#ifdef HAVE_ATTROPEN
#define SOLARIS_ATTRMODE S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP
int solaris_write_xattr(int attrfd, const char *value, size_t size);
ssize_t solaris_read_xattr(int attrfd, void *value, size_t size);
ssize_t solaris_list_xattr(int attrdirfd, char *list, size_t size);
int solaris_unlinkat(int attrdirfd, const char *name);
int solaris_attropen(const char *path, const char *attrpath, int oflag, mode_t mode);
int solaris_openat(int fildes, const char *path, int oflag, mode_t mode);
static int solaris_write_xattr(int attrfd, const char *value, size_t size);
static ssize_t solaris_read_xattr(int attrfd, void *value, size_t size);
static ssize_t solaris_list_xattr(int attrdirfd, char *list, size_t size);
static int solaris_unlinkat(int attrdirfd, const char *name);
static int solaris_attropen(const char *path, const char *attrpath, int oflag, mode_t mode);
static int solaris_openat(int fildes, const char *path, int oflag, mode_t mode);
#endif
/**************************************************************************