#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include <atalk/acl.h>
#include <atalk/adouble.h>
#include <atalk/afp.h>
#include <atalk/logger.h>
#include <atalk/unix.h>
#include <atalk/util.h>
#include <atalk/vfs.h>
#include "auth.h"
#include "directory.h"
#include "fork.h"
#include "unix.h"
#include "volume.h"
Functions | |
int | ustatfs_getvolspace (const struct vol *vol, VolSpace *bfree, VolSpace *btotal, uint32_t *bsize) |
static int | utombits (mode_t bits) |
static void | utommode (const AFPObj *obj, const struct stat *stat, struct maccess *ma) |
void | accessmode (const AFPObj *obj, const struct vol *vol, char *path, struct maccess *ma, struct dir *dir _U_, struct stat *st) |
static mode_t | mtoubits (uint8_t bits) |
mode_t | mtoumode (struct maccess *ma) |
int | setfilunixmode (const struct vol *vol, struct path *path, mode_t mode) |
int | setdirunixmode (const struct vol *vol, char *name, mode_t mode) |
int | setfilowner (const struct vol *vol, const uid_t uid, const gid_t gid, struct path *path) |
int | setdirowner (const struct vol *vol, const char *name, const uid_t uid, const gid_t gid) |
void accessmode | ( | const AFPObj * | obj, |
const struct vol * | vol, | ||
char * | path, | ||
struct maccess * | ma, | ||
struct dir *dir | _U_, | ||
struct stat * | st ) |
|
static |
mode_t mtoumode | ( | struct maccess * | ma | ) |
int setdirowner | ( | const struct vol * | vol, |
const char * | name, | ||
const uid_t | uid, | ||
const gid_t | gid ) |
int setdirunixmode | ( | const struct vol * | vol, |
char * | name, | ||
mode_t | mode ) |
int ustatfs_getvolspace | ( | const struct vol * | vol, |
VolSpace * | bfree, | ||
VolSpace * | btotal, | ||
uint32_t * | bsize ) |
|
static |