28#define NETATALK_DIOSZ_STACK 65536
29#define NETATALK_DIOSZ_HEAP (1024*1024)
36extern int statat(
int dirfd,
const char *
path,
struct stat *st);
46extern int unix_rename(
int sfd,
const char *oldpath,
int dfd,
48extern int copy_file(
int sfd,
const char *src,
const char *dst, mode_t mode);
50extern int copy_ea(
const char *
ea,
int sfd,
const char *src,
const char *dst,
void unbecome_root(void)
Definition libatalk/util/unix.c:186
int setfilmode(const struct vol *vol, const char *name, mode_t mode, struct stat *st)
Definition libatalk/vfs/unix.c:36
int netatalk_rmdir(int dirfd, const char *name)
System rmdir with afp error code, but ENOENT is not an error.
Definition libatalk/vfs/unix.c:109
void become_root(void)
Definition libatalk/util/unix.c:175
int copy_file_fd(int sfd, int dfd)
Definition libatalk/vfs/unix.c:151
int copy_file(int sfd, const char *src, const char *dst, mode_t mode)
Definition libatalk/vfs/unix.c:191
int set_groups(AFPObj *obj, struct passwd *pwd)
Definition libatalk/util/unix.c:696
int copy_ea(const char *ea, int sfd, const char *src, const char *dst, mode_t mode)
Copy an EA from one file to another.
Definition libatalk/vfs/unix.c:243
int dir_rx_set(mode_t mode)
Definition libatalk/vfs/unix.c:30
const char * print_groups(int ngroups, gid_t *groups)
Definition libatalk/util/unix.c:728
int gmem(gid_t gid, int ngroups, gid_t *groups)
Definition libatalk/util/unix.c:583
int netatalk_unlinkat(int dirfd, const char *name)
Definition libatalk/vfs/unix.c:282
DIR * opendirat(int dirfd, const char *path)
opendir wrapper for *at semantics support
Definition libatalk/vfs/unix.c:361
int unix_rename(int sfd, const char *oldpath, int dfd, const char *newpath)
This is equivalent of unix rename().
Definition libatalk/vfs/unix.c:318
int netatalk_rmdir_all_errors(int dirfd, const char *name)
system rmdir with afp error code.
Definition libatalk/vfs/unix.c:70
int statat(int dirfd, const char *path, struct stat *st)
stat/fsstatat multiplexer
Definition libatalk/vfs/unix.c:344
int netatalk_unlink(const char *name)
system unlink with afp error code.
Definition libatalk/vfs/unix.c:124
static AFPObj obj
Definition netatalk.c:62
Definition include/atalk/directory.h:81
Definition include/atalk/volume.h:30