#define XFLG_ANCHORED2ABS (1<<2)
#define XFLG_ABS_IF_SLASH (1<<3)
-#define PERMS_REPORT (1<<0)
-#define PERMS_SKIP_MTIME (1<<1)
+#define ATTRS_REPORT (1<<0)
+#define ATTRS_SKIP_MTIME (1<<1)
#define FULL_FLUSH 1
#define NORMAL_FLUSH 0
struct hlink *links;
} link_u;
time_t modtime;
- mode_t mode;
uid_t uid;
gid_t gid;
+ mode_t mode;
uchar flags; /* this item MUST remain last */
};
int current_file_index;
};
+struct chmod_mode_struct;
#include "byteorder.h"
#include "lib/mdfour.h"
#define INADDR_NONE 0xffffffff
#endif
-#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode))
+#define IS_SPECIAL(mode) (S_ISSOCK(mode) || S_ISFIFO(mode))
+#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode))
/* Initial mask on permissions given to temporary files. Mask off setuid
bits and group access because of potential race-condition security
#endif
#define UNUSED(x) x __attribute__((__unused__))
-
-extern const char *io_write_phase, *io_read_phase;