Go to the source code of this file.
Macros | |
| #define | NETATALK_DIOSZ_STACK 65536 |
| #define | NETATALK_DIOSZ_HEAP (1024*1024) |
Functions | |
| int | netatalk_unlink (const char *name) |
| system unlink with afp error code. | |
| int | netatalk_unlinkat (int dirfd, const char *name) |
| int | statat (int dirfd, const char *path, struct stat *st) |
| stat/fsstatat multiplexer | |
| DIR * | opendirat (int dirfd, const char *path) |
| opendir wrapper for *at semantics support | |
| int | netatalk_rmdir (int dirfd, const char *name) |
| System rmdir with afp error code, but ENOENT is not an error. | |
| int | netatalk_rmdir_all_errors (int dirfd, const char *name) |
| system rmdir with afp error code. | |
| int | setfilmode (const struct vol *vol, const char *name, mode_t mode, struct stat *st) |
| int | dir_rx_set (mode_t mode) |
| int | unix_rename (int sfd, const char *oldpath, int dfd, const char *newpath) |
| This is equivalent of unix rename(). | |
| int | copy_file (int sfd, const char *src, const char *dst, mode_t mode) |
| int | copy_file_fd (int sfd, int dfd) |
| 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. | |
| void | become_root (void) |
| void | unbecome_root (void) |
| int | gmem (gid_t gid, int ngroups, gid_t *groups) |
| int | set_groups (AFPObj *obj, struct passwd *pwd) |
| const char * | print_groups (int ngroups, gid_t *groups) |
| #define NETATALK_DIOSZ_HEAP (1024*1024) |
| #define NETATALK_DIOSZ_STACK 65536 |
|
extern |
seteuid(0) and back, if either fails and panic != 0 we PANIC
|
extern |
Copy an EA from one file to another.
|
extern |
Supports *at semantics, pass dirfd=-1 to ignore this
|
extern |
Copy all file data from one file fd to another
|
extern |
|
extern |
|
extern |
System rmdir with afp error code, but ENOENT is not an error.
|
extern |
system rmdir with afp error code.
|
extern |
system unlink with afp error code.
|
extern |
at wrapper for netatalk_unlink
|
extern |
opendir wrapper for *at semantics support
opendirat chdirs to dirfd if dirfd != -1 before calling opendir on path.
| [in] | dirfd | if != -1, chdir(dirfd) before opendir(path) |
| [in] | path | pathname |
|
extern |
|
extern |
|
extern |
|
extern |
stat/fsstatat multiplexer
statat mulitplexes stat and fstatat.
| [in] | dirfd | -1 gives AT_FDCWD |
| [in] | path | pathname |
| [in,out] | st | pointer to struct stat |
|
extern |
|
extern |
This is equivalent of unix rename().
unix_rename mulitplexes rename and renameat.
| [in] | sfd | -1 gives AT_FDCWD |
| [in] | oldpath | guess what |
| [in] | dfd | same as sfd |
| [in] | newpath | guess what |