Created
March 12, 2013 13:02
-
-
Save edwintorok/5142704 to your computer and use it in GitHub Desktop.
nixos gcc testcase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
# 1 "<built-in>" | |
# 1 "<command-line>" | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
# 18 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse.h" 1 | |
# 9 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse.h" | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 1 | |
# 26 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" 1 | |
# 18 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" 1 | |
# 76 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
struct fuse_opt { | |
const char *templ; | |
unsigned long offset; | |
int value; | |
}; | |
# 108 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
struct fuse_args { | |
int argc; | |
char **argv; | |
int allocated; | |
}; | |
# 179 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
typedef int (*fuse_opt_proc_t)(void *data, const char *arg, int key, | |
struct fuse_args *outargs); | |
# 202 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
int fuse_opt_parse(struct fuse_args *args, void *data, | |
const struct fuse_opt opts[], fuse_opt_proc_t proc); | |
# 212 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
int fuse_opt_add_opt(char **opts, const char *opt); | |
# 221 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
int fuse_opt_add_opt_escaped(char **opts, const char *opt); | |
# 230 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
int fuse_opt_add_arg(struct fuse_args *args, const char *arg); | |
# 245 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
int fuse_opt_insert_arg(struct fuse_args *args, int pos, const char *arg); | |
# 254 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
void fuse_opt_free_args(struct fuse_args *args); | |
# 264 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_opt.h" | |
int fuse_opt_match(const struct fuse_opt opts[], const char *opt); | |
# 19 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" 2 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stdint.h" 1 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 1 3 4 | |
# 25 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 1 3 4 | |
# 345 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdc-predef.h" 1 3 4 | |
# 346 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 2 3 4 | |
# 375 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/cdefs.h" 1 3 4 | |
# 385 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/cdefs.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 386 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/cdefs.h" 2 3 4 | |
# 376 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 2 3 4 | |
# 399 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/gnu/stubs.h" 1 3 4 | |
# 10 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/gnu/stubs.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/gnu/stubs-64.h" 1 3 4 | |
# 11 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/gnu/stubs.h" 2 3 4 | |
# 400 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/features.h" 2 3 4 | |
# 26 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wchar.h" 1 3 4 | |
# 22 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wchar.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 23 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wchar.h" 2 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 28 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 2 3 4 | |
# 36 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
typedef signed char int8_t; | |
typedef short int int16_t; | |
typedef int int32_t; | |
typedef long int int64_t; | |
typedef unsigned char uint8_t; | |
typedef unsigned short int uint16_t; | |
typedef unsigned int uint32_t; | |
typedef unsigned long int uint64_t; | |
# 65 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
typedef signed char int_least8_t; | |
typedef short int int_least16_t; | |
typedef int int_least32_t; | |
typedef long int int_least64_t; | |
typedef unsigned char uint_least8_t; | |
typedef unsigned short int uint_least16_t; | |
typedef unsigned int uint_least32_t; | |
typedef unsigned long int uint_least64_t; | |
# 90 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
typedef signed char int_fast8_t; | |
typedef long int int_fast16_t; | |
typedef long int int_fast32_t; | |
typedef long int int_fast64_t; | |
# 103 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
typedef unsigned char uint_fast8_t; | |
typedef unsigned long int uint_fast16_t; | |
typedef unsigned long int uint_fast32_t; | |
typedef unsigned long int uint_fast64_t; | |
# 119 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
typedef long int intptr_t; | |
typedef unsigned long int uintptr_t; | |
# 134 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdint.h" 3 4 | |
typedef long int intmax_t; | |
typedef unsigned long int uintmax_t; | |
# 4 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stdint.h" 2 3 4 | |
# 20 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 1 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/types.h" 1 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/types.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 28 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/types.h" 2 3 4 | |
typedef unsigned char __u_char; | |
typedef unsigned short int __u_short; | |
typedef unsigned int __u_int; | |
typedef unsigned long int __u_long; | |
typedef signed char __int8_t; | |
typedef unsigned char __uint8_t; | |
typedef signed short int __int16_t; | |
typedef unsigned short int __uint16_t; | |
typedef signed int __int32_t; | |
typedef unsigned int __uint32_t; | |
typedef signed long int __int64_t; | |
typedef unsigned long int __uint64_t; | |
typedef long int __quad_t; | |
typedef unsigned long int __u_quad_t; | |
# 130 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/types.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/typesizes.h" 1 3 4 | |
# 131 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/types.h" 2 3 4 | |
typedef unsigned long int __dev_t; | |
typedef unsigned int __uid_t; | |
typedef unsigned int __gid_t; | |
typedef unsigned long int __ino_t; | |
typedef unsigned long int __ino64_t; | |
typedef unsigned int __mode_t; | |
typedef unsigned long int __nlink_t; | |
typedef long int __off_t; | |
typedef long int __off64_t; | |
typedef int __pid_t; | |
typedef struct { int __val[2]; } __fsid_t; | |
typedef long int __clock_t; | |
typedef unsigned long int __rlim_t; | |
typedef unsigned long int __rlim64_t; | |
typedef unsigned int __id_t; | |
typedef long int __time_t; | |
typedef unsigned int __useconds_t; | |
typedef long int __suseconds_t; | |
typedef int __daddr_t; | |
typedef int __key_t; | |
typedef int __clockid_t; | |
typedef void * __timer_t; | |
typedef long int __blksize_t; | |
typedef long int __blkcnt_t; | |
typedef long int __blkcnt64_t; | |
typedef unsigned long int __fsblkcnt_t; | |
typedef unsigned long int __fsblkcnt64_t; | |
typedef unsigned long int __fsfilcnt_t; | |
typedef unsigned long int __fsfilcnt64_t; | |
typedef long int __fsword_t; | |
typedef long int __ssize_t; | |
typedef long int __syscall_slong_t; | |
typedef unsigned long int __syscall_ulong_t; | |
typedef __off64_t __loff_t; | |
typedef __quad_t *__qaddr_t; | |
typedef char *__caddr_t; | |
typedef long int __intptr_t; | |
typedef unsigned int __socklen_t; | |
# 30 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 2 3 4 | |
# 44 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef __loff_t loff_t; | |
typedef __ino64_t ino_t; | |
# 60 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef __dev_t dev_t; | |
typedef __gid_t gid_t; | |
typedef __mode_t mode_t; | |
typedef __nlink_t nlink_t; | |
typedef __uid_t uid_t; | |
typedef __off64_t off_t; | |
# 98 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef __pid_t pid_t; | |
typedef __id_t id_t; | |
typedef __ssize_t ssize_t; | |
# 122 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef __key_t key_t; | |
# 132 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 1 3 4 | |
# 57 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
typedef __clock_t clock_t; | |
# 73 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
typedef __time_t time_t; | |
# 91 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
typedef __clockid_t clockid_t; | |
# 103 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
typedef __timer_t timer_t; | |
# 133 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 2 3 4 | |
typedef __useconds_t useconds_t; | |
typedef __suseconds_t suseconds_t; | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 212 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 3 4 | |
typedef long unsigned int size_t; | |
# 147 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 2 3 4 | |
# 200 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); | |
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); | |
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); | |
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); | |
typedef int register_t __attribute__ ((__mode__ (__word__))); | |
# 228 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef __blksize_t blksize_t; | |
# 248 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
typedef __blkcnt64_t blkcnt_t; | |
typedef __fsblkcnt64_t fsblkcnt_t; | |
typedef __fsfilcnt64_t fsfilcnt_t; | |
# 270 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 1 3 4 | |
# 21 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 22 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 2 3 4 | |
# 60 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 3 4 | |
typedef unsigned long int pthread_t; | |
union pthread_attr_t | |
{ | |
char __size[56]; | |
long int __align; | |
}; | |
typedef union pthread_attr_t pthread_attr_t; | |
typedef struct __pthread_internal_list | |
{ | |
struct __pthread_internal_list *__prev; | |
struct __pthread_internal_list *__next; | |
} __pthread_list_t; | |
# 90 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 3 4 | |
typedef union | |
{ | |
struct __pthread_mutex_s | |
{ | |
int __lock; | |
unsigned int __count; | |
int __owner; | |
unsigned int __nusers; | |
int __kind; | |
int __spins; | |
__pthread_list_t __list; | |
# 115 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 3 4 | |
} __data; | |
char __size[40]; | |
long int __align; | |
} pthread_mutex_t; | |
typedef union | |
{ | |
char __size[4]; | |
int __align; | |
} pthread_mutexattr_t; | |
typedef union | |
{ | |
struct | |
{ | |
int __lock; | |
unsigned int __futex; | |
__extension__ unsigned long long int __total_seq; | |
__extension__ unsigned long long int __wakeup_seq; | |
__extension__ unsigned long long int __woken_seq; | |
void *__mutex; | |
unsigned int __nwaiters; | |
unsigned int __broadcast_seq; | |
} __data; | |
char __size[48]; | |
__extension__ long long int __align; | |
} pthread_cond_t; | |
typedef union | |
{ | |
char __size[4]; | |
int __align; | |
} pthread_condattr_t; | |
typedef unsigned int pthread_key_t; | |
typedef int pthread_once_t; | |
typedef union | |
{ | |
struct | |
{ | |
int __lock; | |
unsigned int __nr_readers; | |
unsigned int __readers_wakeup; | |
unsigned int __writer_wakeup; | |
unsigned int __nr_readers_queued; | |
unsigned int __nr_writers_queued; | |
int __writer; | |
int __shared; | |
unsigned long int __pad1; | |
unsigned long int __pad2; | |
unsigned int __flags; | |
} __data; | |
# 202 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/pthreadtypes.h" 3 4 | |
char __size[56]; | |
long int __align; | |
} pthread_rwlock_t; | |
typedef union | |
{ | |
char __size[8]; | |
long int __align; | |
} pthread_rwlockattr_t; | |
typedef volatile int pthread_spinlock_t; | |
typedef union | |
{ | |
char __size[32]; | |
long int __align; | |
} pthread_barrier_t; | |
typedef union | |
{ | |
char __size[4]; | |
int __align; | |
} pthread_barrierattr_t; | |
# 271 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/types.h" 2 3 4 | |
# 21 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" 2 | |
# 45 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
struct fuse_file_info { | |
int flags; | |
unsigned long fh_old; | |
int writepage; | |
unsigned int direct_io : 1; | |
unsigned int keep_cache : 1; | |
unsigned int flush : 1; | |
unsigned int nonseekable : 1; | |
unsigned int flock_release : 1; | |
unsigned int padding : 27; | |
uint64_t fh; | |
uint64_t lock_owner; | |
}; | |
# 140 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
struct fuse_conn_info { | |
unsigned proto_major; | |
unsigned proto_minor; | |
unsigned async_read; | |
unsigned max_write; | |
unsigned max_readahead; | |
unsigned capable; | |
unsigned want; | |
unsigned max_background; | |
unsigned congestion_threshold; | |
unsigned reserved[23]; | |
}; | |
struct fuse_session; | |
struct fuse_chan; | |
struct fuse_pollhandle; | |
# 206 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args); | |
void fuse_unmount(const char *mountpoint, struct fuse_chan *ch); | |
# 237 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
int fuse_parse_cmdline(struct fuse_args *args, char **mountpoint, | |
int *multithreaded, int *foreground); | |
int fuse_daemonize(int foreground); | |
int fuse_version(void); | |
void fuse_pollhandle_destroy(struct fuse_pollhandle *ph); | |
# 269 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
enum fuse_buf_flags { | |
FUSE_BUF_IS_FD = (1 << 1), | |
# 285 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
FUSE_BUF_FD_SEEK = (1 << 2), | |
# 294 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
FUSE_BUF_FD_RETRY = (1 << 3), | |
}; | |
enum fuse_buf_copy_flags { | |
# 310 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
FUSE_BUF_NO_SPLICE = (1 << 1), | |
FUSE_BUF_FORCE_SPLICE = (1 << 2), | |
# 327 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
FUSE_BUF_SPLICE_MOVE = (1 << 3), | |
# 336 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
FUSE_BUF_SPLICE_NONBLOCK= (1 << 4), | |
}; | |
struct fuse_buf { | |
size_t size; | |
enum fuse_buf_flags flags; | |
void *mem; | |
int fd; | |
off_t pos; | |
}; | |
# 386 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
struct fuse_bufvec { | |
size_t count; | |
size_t idx; | |
size_t off; | |
struct fuse_buf buf[1]; | |
}; | |
# 429 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
size_t fuse_buf_size(const struct fuse_bufvec *bufv); | |
# 439 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
ssize_t fuse_buf_copy(struct fuse_bufvec *dst, struct fuse_bufvec *src, | |
enum fuse_buf_copy_flags flags); | |
# 455 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
int fuse_set_signal_handlers(struct fuse_session *se); | |
# 465 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" | |
void fuse_remove_signal_handlers(struct fuse_session *se); | |
# 27 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 1 3 4 | |
# 28 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl.h" 1 3 4 | |
# 35 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl.h" 3 4 | |
struct flock | |
{ | |
short int l_type; | |
short int l_whence; | |
__off64_t l_start; | |
__off64_t l_len; | |
__pid_t l_pid; | |
}; | |
# 61 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl-linux.h" 1 3 4 | |
# 312 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl-linux.h" 3 4 | |
# 386 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl-linux.h" 3 4 | |
# 61 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/fcntl.h" 2 3 4 | |
# 36 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 2 3 4 | |
# 67 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 1 3 4 | |
# 120 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
struct timespec | |
{ | |
__time_t tv_sec; | |
__syscall_slong_t tv_nsec; | |
}; | |
# 68 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stat.h" 1 3 4 | |
# 46 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stat.h" 3 4 | |
struct stat | |
{ | |
__dev_t st_dev; | |
__ino_t st_ino; | |
__nlink_t st_nlink; | |
__mode_t st_mode; | |
__uid_t st_uid; | |
__gid_t st_gid; | |
int __pad0; | |
__dev_t st_rdev; | |
__off_t st_size; | |
__blksize_t st_blksize; | |
__blkcnt_t st_blocks; | |
# 91 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stat.h" 3 4 | |
struct timespec st_atim; | |
struct timespec st_mtim; | |
struct timespec st_ctim; | |
# 106 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stat.h" 3 4 | |
__syscall_slong_t __unused[3]; | |
# 115 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stat.h" 3 4 | |
}; | |
# 69 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 2 3 4 | |
# 154 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
extern int fcntl (int __fd, int __cmd, ...); | |
# 166 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
extern int open (const char *__file, int __oflag, ...) __asm__ ("" "open64") | |
__attribute__ ((__nonnull__ (1))); | |
# 191 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
extern int openat (int __fd, const char *__file, int __oflag, ...) __asm__ ("" "openat64") | |
__attribute__ ((__nonnull__ (2))); | |
# 212 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
extern int creat (const char *__file, mode_t __mode) __asm__ ("" "creat64") | |
__attribute__ ((__nonnull__ (1))); | |
# 259 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) __asm__ ("" "posix_fadvise64") __attribute__ ((__nothrow__ , __leaf__)) | |
; | |
# 280 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64") | |
; | |
# 299 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/fcntl.h" 3 4 | |
# 29 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 1 3 4 | |
# 29 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 38 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/time.h" 1 3 4 | |
# 42 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 2 3 4 | |
# 131 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
struct tm | |
{ | |
int tm_sec; | |
int tm_min; | |
int tm_hour; | |
int tm_mday; | |
int tm_mon; | |
int tm_year; | |
int tm_wday; | |
int tm_yday; | |
int tm_isdst; | |
long int __tm_gmtoff; | |
const char *__tm_zone; | |
}; | |
struct itimerspec | |
{ | |
struct timespec it_interval; | |
struct timespec it_value; | |
}; | |
struct sigevent; | |
# 186 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern double difftime (time_t __time1, time_t __time0) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t strftime (char *__restrict __s, size_t __maxsize, | |
const char *__restrict __format, | |
const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *strptime (const char *__restrict __s, | |
const char *__restrict __fmt, struct tm *__tp) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/xlocale.h" 1 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/xlocale.h" 3 4 | |
typedef struct __locale_struct | |
{ | |
struct __locale_data *__locales[13]; | |
const unsigned short int *__ctype_b; | |
const int *__ctype_tolower; | |
const int *__ctype_toupper; | |
const char *__names[13]; | |
} *__locale_t; | |
typedef __locale_t locale_t; | |
# 222 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 2 3 4 | |
extern size_t strftime_l (char *__restrict __s, size_t __maxsize, | |
const char *__restrict __format, | |
const struct tm *__restrict __tp, | |
__locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); | |
# 236 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct tm *gmtime_r (const time_t *__restrict __timer, | |
struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct tm *localtime_r (const time_t *__restrict __timer, | |
struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *asctime_r (const struct tm *__restrict __tp, | |
char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *ctime_r (const time_t *__restrict __timer, | |
char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *__tzname[2]; | |
extern int __daylight; | |
extern long int __timezone; | |
extern char *tzname[2]; | |
extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int daylight; | |
extern long int timezone; | |
# 334 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
extern int nanosleep (const struct timespec *__requested_time, | |
struct timespec *__remaining); | |
extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int clock_nanosleep (clockid_t __clock_id, int __flags, | |
const struct timespec *__req, | |
struct timespec *__rem); | |
extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_create (clockid_t __clock_id, | |
struct sigevent *__restrict __evp, | |
timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_settime (timer_t __timerid, int __flags, | |
const struct itimerspec *__restrict __value, | |
struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); | |
# 403 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
extern int getdate_err; | |
# 412 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
extern struct tm *getdate (const char *__string); | |
# 430 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/time.h" 3 4 | |
# 30 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/utime.h" 1 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/utime.h" 3 4 | |
# 37 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/utime.h" 3 4 | |
struct utimbuf | |
{ | |
__time_t actime; | |
__time_t modtime; | |
}; | |
extern int utime (const char *__file, | |
const struct utimbuf *__file_times) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 31 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 1 3 4 | |
# 104 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stat.h" 1 3 4 | |
# 107 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 2 3 4 | |
# 218 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (1, 2))); | |
extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2))); | |
# 244 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "fstatat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2, 3))); | |
# 268 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (1, 2))); | |
# 285 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int chmod (const char *__file, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 298 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int fchmodat (int __fd, const char *__file, __mode_t __mode, | |
int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); | |
# 322 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int mkdir (const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int mkdirat (int __fd, const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int mknodat (int __fd, const char *__path, __mode_t __mode, | |
__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int mkfifo (const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int utimensat (int __fd, const char *__path, | |
const struct timespec __times[2], | |
int __flags) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); | |
# 411 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (3))); | |
extern int __xstat (int __ver, const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2, 3))); | |
extern int __lxstat (int __ver, const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2, 3))); | |
extern int __fxstatat (int __ver, int __fildes, const char *__filename, struct stat *__stat_buf, int __flag) __asm__ ("" "__fxstatat64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (3, 4))); | |
# 443 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern int __xmknod (int __ver, const char *__path, __mode_t __mode, | |
__dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); | |
extern int __xmknodat (int __ver, int __fd, const char *__path, | |
__mode_t __mode, __dev_t *__dev) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); | |
extern __inline int | |
__attribute__ ((__nothrow__ , __leaf__)) stat (const char *__path, struct stat *__statbuf) | |
{ | |
return __xstat (1, __path, __statbuf); | |
} | |
extern __inline int | |
__attribute__ ((__nothrow__ , __leaf__)) lstat (const char *__path, struct stat *__statbuf) | |
{ | |
return __lxstat (1, __path, __statbuf); | |
} | |
extern __inline int | |
__attribute__ ((__nothrow__ , __leaf__)) fstat (int __fd, struct stat *__statbuf) | |
{ | |
return __fxstat (1, __fd, __statbuf); | |
} | |
extern __inline int | |
__attribute__ ((__nothrow__ , __leaf__)) fstatat (int __fd, const char *__filename, struct stat *__statbuf, int __flag) | |
{ | |
return __fxstatat (1, __fd, __filename, __statbuf, __flag); | |
} | |
# 491 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
extern __inline int | |
__attribute__ ((__nothrow__ , __leaf__)) mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) | |
{ | |
return __xmknodat (0, __fd, __path, __mode, &__dev); | |
} | |
# 535 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/stat.h" 3 4 | |
# 33 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 1 3 4 | |
# 25 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statvfs.h" 1 3 4 | |
# 29 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statvfs.h" 3 4 | |
struct statvfs | |
{ | |
unsigned long int f_bsize; | |
unsigned long int f_frsize; | |
# 41 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statvfs.h" 3 4 | |
__fsblkcnt64_t f_blocks; | |
__fsblkcnt64_t f_bfree; | |
__fsblkcnt64_t f_bavail; | |
__fsfilcnt64_t f_files; | |
__fsfilcnt64_t f_ffree; | |
__fsfilcnt64_t f_favail; | |
unsigned long int f_fsid; | |
unsigned long int f_flag; | |
unsigned long int f_namemax; | |
int __f_spare[6]; | |
}; | |
# 80 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statvfs.h" 3 4 | |
enum | |
{ | |
ST_RDONLY = 1, | |
ST_NOSUID = 2 | |
# 109 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statvfs.h" 3 4 | |
}; | |
# 26 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 2 3 4 | |
# 47 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 3 4 | |
# 56 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 3 4 | |
extern int statvfs (const char *__restrict __file, struct statvfs *__restrict __buf) __asm__ ("" "statvfs64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (1, 2))); | |
# 77 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 3 4 | |
extern int fstatvfs (int __fildes, struct statvfs *__buf) __asm__ ("" "fstatvfs64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2))); | |
# 88 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statvfs.h" 3 4 | |
# 34 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/uio.h" 1 3 4 | |
# 26 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/uio.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/uio.h" 1 3 4 | |
# 43 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/uio.h" 3 4 | |
struct iovec | |
{ | |
void *iov_base; | |
size_t iov_len; | |
}; | |
# 30 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/uio.h" 2 3 4 | |
# 40 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/uio.h" 3 4 | |
extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) | |
; | |
# 51 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/uio.h" 3 4 | |
extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) | |
; | |
# 121 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/uio.h" 3 4 | |
# 35 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" 2 | |
# 45 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse; | |
struct fuse_cmd; | |
# 58 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
typedef int (*fuse_fill_dir_t) (void *buf, const char *name, | |
const struct stat *stbuf, off_t off); | |
typedef struct fuse_dirhandle *fuse_dirh_t; | |
typedef int (*fuse_dirfil_t) (fuse_dirh_t h, const char *name, int type, | |
ino_t ino); | |
# 88 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse_operations { | |
int (*getattr) (const char *, struct stat *); | |
# 105 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*readlink) (const char *, char *, size_t); | |
int (*getdir) (const char *, fuse_dirh_t, fuse_dirfil_t); | |
int (*mknod) (const char *, mode_t, dev_t); | |
int (*mkdir) (const char *, mode_t); | |
int (*unlink) (const char *); | |
int (*rmdir) (const char *); | |
int (*symlink) (const char *, const char *); | |
int (*rename) (const char *, const char *); | |
int (*link) (const char *, const char *); | |
int (*chmod) (const char *, mode_t); | |
int (*chown) (const char *, uid_t, gid_t); | |
int (*truncate) (const char *, off_t); | |
int (*utime) (const char *, struct utimbuf *); | |
# 173 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*open) (const char *, struct fuse_file_info *); | |
# 186 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*read) (const char *, char *, size_t, off_t, | |
struct fuse_file_info *); | |
# 197 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*write) (const char *, const char *, size_t, off_t, | |
struct fuse_file_info *); | |
# 207 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*statfs) (const char *, struct statvfs *); | |
# 232 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*flush) (const char *, struct fuse_file_info *); | |
# 248 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*release) (const char *, struct fuse_file_info *); | |
# 257 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*fsync) (const char *, int, struct fuse_file_info *); | |
int (*setxattr) (const char *, const char *, const char *, size_t, int); | |
int (*getxattr) (const char *, const char *, char *, size_t); | |
int (*listxattr) (const char *, char *, size_t); | |
int (*removexattr) (const char *, const char *); | |
# 281 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*opendir) (const char *, struct fuse_file_info *); | |
# 304 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*readdir) (const char *, void *, fuse_fill_dir_t, off_t, | |
struct fuse_file_info *); | |
int (*releasedir) (const char *, struct fuse_file_info *); | |
# 320 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*fsyncdir) (const char *, int, struct fuse_file_info *); | |
# 332 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
void *(*init) (struct fuse_conn_info *conn); | |
# 341 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
void (*destroy) (void *); | |
# 354 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*access) (const char *, int); | |
# 368 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*create) (const char *, mode_t, struct fuse_file_info *); | |
# 382 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*ftruncate) (const char *, off_t, struct fuse_file_info *); | |
# 396 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *); | |
# 430 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*lock) (const char *, struct fuse_file_info *, int cmd, | |
struct flock *); | |
# 444 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*utimens) (const char *, const struct timespec tv[2]); | |
# 454 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*bmap) (const char *, size_t blocksize, uint64_t *idx); | |
# 466 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
unsigned int flag_nullpath_ok:1; | |
# 480 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
unsigned int flag_nopath:1; | |
unsigned int flag_utime_omit_ok:1; | |
unsigned int flag_reserved:29; | |
# 505 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*ioctl) (const char *, int cmd, void *arg, | |
struct fuse_file_info *, unsigned int flags, void *data); | |
# 525 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*poll) (const char *, struct fuse_file_info *, | |
struct fuse_pollhandle *ph, unsigned *reventsp); | |
# 536 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*write_buf) (const char *, struct fuse_bufvec *buf, off_t off, | |
struct fuse_file_info *); | |
# 555 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*read_buf) (const char *, struct fuse_bufvec **bufp, | |
size_t size, off_t off, struct fuse_file_info *); | |
# 577 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*flock) (const char *, struct fuse_file_info *, int op); | |
# 589 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int (*fallocate) (const char *, int, off_t, off_t, | |
struct fuse_file_info *); | |
}; | |
struct fuse_context { | |
struct fuse *fuse; | |
uid_t uid; | |
gid_t gid; | |
pid_t pid; | |
void *private_data; | |
mode_t umask; | |
}; | |
# 662 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args, | |
const struct fuse_operations *op, size_t op_size, | |
void *user_data); | |
# 676 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
void fuse_destroy(struct fuse *f); | |
# 687 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int fuse_loop(struct fuse *f); | |
void fuse_exit(struct fuse *f); | |
# 709 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int fuse_loop_mt(struct fuse *f); | |
# 719 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse_context *fuse_get_context(void); | |
# 739 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int fuse_getgroups(int size, gid_t list[]); | |
int fuse_interrupted(void); | |
int fuse_invalidate(struct fuse *f, const char *path); | |
int fuse_is_lib_option(const char *opt); | |
int fuse_main_real(int argc, char *argv[], const struct fuse_operations *op, | |
size_t op_size, void *user_data); | |
# 773 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int fuse_start_cleanup_thread(struct fuse *fuse); | |
void fuse_stop_cleanup_thread(struct fuse *fuse); | |
# 792 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int fuse_clean_cache(struct fuse *fuse); | |
# 803 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse_fs; | |
# 814 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
int fuse_fs_getattr(struct fuse_fs *fs, const char *path, struct stat *buf); | |
int fuse_fs_fgetattr(struct fuse_fs *fs, const char *path, struct stat *buf, | |
struct fuse_file_info *fi); | |
int fuse_fs_rename(struct fuse_fs *fs, const char *oldpath, | |
const char *newpath); | |
int fuse_fs_unlink(struct fuse_fs *fs, const char *path); | |
int fuse_fs_rmdir(struct fuse_fs *fs, const char *path); | |
int fuse_fs_symlink(struct fuse_fs *fs, const char *linkname, | |
const char *path); | |
int fuse_fs_link(struct fuse_fs *fs, const char *oldpath, const char *newpath); | |
int fuse_fs_release(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi); | |
int fuse_fs_open(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi); | |
int fuse_fs_read(struct fuse_fs *fs, const char *path, char *buf, size_t size, | |
off_t off, struct fuse_file_info *fi); | |
int fuse_fs_read_buf(struct fuse_fs *fs, const char *path, | |
struct fuse_bufvec **bufp, size_t size, off_t off, | |
struct fuse_file_info *fi); | |
int fuse_fs_write(struct fuse_fs *fs, const char *path, const char *buf, | |
size_t size, off_t off, struct fuse_file_info *fi); | |
int fuse_fs_write_buf(struct fuse_fs *fs, const char *path, | |
struct fuse_bufvec *buf, off_t off, | |
struct fuse_file_info *fi); | |
int fuse_fs_fsync(struct fuse_fs *fs, const char *path, int datasync, | |
struct fuse_file_info *fi); | |
int fuse_fs_flush(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi); | |
int fuse_fs_statfs(struct fuse_fs *fs, const char *path, struct statvfs *buf); | |
int fuse_fs_opendir(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi); | |
int fuse_fs_readdir(struct fuse_fs *fs, const char *path, void *buf, | |
fuse_fill_dir_t filler, off_t off, | |
struct fuse_file_info *fi); | |
int fuse_fs_fsyncdir(struct fuse_fs *fs, const char *path, int datasync, | |
struct fuse_file_info *fi); | |
int fuse_fs_releasedir(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi); | |
int fuse_fs_create(struct fuse_fs *fs, const char *path, mode_t mode, | |
struct fuse_file_info *fi); | |
int fuse_fs_lock(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi, int cmd, struct flock *lock); | |
int fuse_fs_flock(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi, int op); | |
int fuse_fs_chmod(struct fuse_fs *fs, const char *path, mode_t mode); | |
int fuse_fs_chown(struct fuse_fs *fs, const char *path, uid_t uid, gid_t gid); | |
int fuse_fs_truncate(struct fuse_fs *fs, const char *path, off_t size); | |
int fuse_fs_ftruncate(struct fuse_fs *fs, const char *path, off_t size, | |
struct fuse_file_info *fi); | |
int fuse_fs_utimens(struct fuse_fs *fs, const char *path, | |
const struct timespec tv[2]); | |
int fuse_fs_access(struct fuse_fs *fs, const char *path, int mask); | |
int fuse_fs_readlink(struct fuse_fs *fs, const char *path, char *buf, | |
size_t len); | |
int fuse_fs_mknod(struct fuse_fs *fs, const char *path, mode_t mode, | |
dev_t rdev); | |
int fuse_fs_mkdir(struct fuse_fs *fs, const char *path, mode_t mode); | |
int fuse_fs_setxattr(struct fuse_fs *fs, const char *path, const char *name, | |
const char *value, size_t size, int flags); | |
int fuse_fs_getxattr(struct fuse_fs *fs, const char *path, const char *name, | |
char *value, size_t size); | |
int fuse_fs_listxattr(struct fuse_fs *fs, const char *path, char *list, | |
size_t size); | |
int fuse_fs_removexattr(struct fuse_fs *fs, const char *path, | |
const char *name); | |
int fuse_fs_bmap(struct fuse_fs *fs, const char *path, size_t blocksize, | |
uint64_t *idx); | |
int fuse_fs_ioctl(struct fuse_fs *fs, const char *path, int cmd, void *arg, | |
struct fuse_file_info *fi, unsigned int flags, void *data); | |
int fuse_fs_poll(struct fuse_fs *fs, const char *path, | |
struct fuse_file_info *fi, struct fuse_pollhandle *ph, | |
unsigned *reventsp); | |
int fuse_fs_fallocate(struct fuse_fs *fs, const char *path, int mode, | |
off_t offset, off_t length, struct fuse_file_info *fi); | |
void fuse_fs_init(struct fuse_fs *fs, struct fuse_conn_info *conn); | |
void fuse_fs_destroy(struct fuse_fs *fs); | |
int fuse_notify_poll(struct fuse_pollhandle *ph); | |
# 904 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse_fs *fuse_fs_new(const struct fuse_operations *op, size_t op_size, | |
void *user_data); | |
# 917 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse_module { | |
const char *name; | |
# 937 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
struct fuse_fs *(*factory)(struct fuse_args *args, | |
struct fuse_fs *fs[]); | |
struct fuse_module *next; | |
struct fusemod_so *so; | |
int ctr; | |
}; | |
void fuse_register_module(struct fuse_module *mod); | |
# 976 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse.h" | |
typedef void (*fuse_processor_t)(struct fuse *, struct fuse_cmd *, void *); | |
struct fuse *fuse_setup(int argc, char *argv[], | |
const struct fuse_operations *op, size_t op_size, | |
char **mountpoint, int *multithreaded, | |
void *user_data); | |
void fuse_teardown(struct fuse *fuse, char *mountpoint); | |
struct fuse_cmd *fuse_read_cmd(struct fuse *f); | |
void fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd); | |
int fuse_loop_mt_proc(struct fuse *f, fuse_processor_t proc, void *data); | |
int fuse_exited(struct fuse *f); | |
void fuse_set_getcontext_func(struct fuse_context *(*func)(void)); | |
struct fuse_session *fuse_get_session(struct fuse *f); | |
# 9 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse.h" 2 | |
# 19 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse/fuse_common.h" 1 | |
# 20 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 1 3 4 | |
# 29 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 34 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 2 3 4 | |
# 44 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
struct _IO_FILE; | |
typedef struct _IO_FILE FILE; | |
# 64 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
typedef struct _IO_FILE __FILE; | |
# 74 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 1 3 4 | |
# 32 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/_G_config.h" 1 3 4 | |
# 15 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/_G_config.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 16 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/_G_config.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/wchar.h" 1 3 4 | |
# 82 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/wchar.h" 3 4 | |
typedef struct | |
{ | |
int __count; | |
union | |
{ | |
unsigned int __wch; | |
char __wchb[4]; | |
} __value; | |
} __mbstate_t; | |
# 21 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/_G_config.h" 2 3 4 | |
typedef struct | |
{ | |
__off_t __pos; | |
__mbstate_t __state; | |
} _G_fpos_t; | |
typedef struct | |
{ | |
__off64_t __pos; | |
__mbstate_t __state; | |
} _G_fpos64_t; | |
# 33 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 2 3 4 | |
# 50 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stdarg.h" 1 3 4 | |
# 40 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stdarg.h" 3 4 | |
typedef __builtin_va_list __gnuc_va_list; | |
# 51 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 2 3 4 | |
# 145 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
struct _IO_jump_t; struct _IO_FILE; | |
# 155 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
typedef void _IO_lock_t; | |
struct _IO_marker { | |
struct _IO_marker *_next; | |
struct _IO_FILE *_sbuf; | |
int _pos; | |
# 178 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
}; | |
enum __codecvt_result | |
{ | |
__codecvt_ok, | |
__codecvt_partial, | |
__codecvt_error, | |
__codecvt_noconv | |
}; | |
# 246 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
struct _IO_FILE { | |
int _flags; | |
char* _IO_read_ptr; | |
char* _IO_read_end; | |
char* _IO_read_base; | |
char* _IO_write_base; | |
char* _IO_write_ptr; | |
char* _IO_write_end; | |
char* _IO_buf_base; | |
char* _IO_buf_end; | |
char *_IO_save_base; | |
char *_IO_backup_base; | |
char *_IO_save_end; | |
struct _IO_marker *_markers; | |
struct _IO_FILE *_chain; | |
int _fileno; | |
int _flags2; | |
__off_t _old_offset; | |
unsigned short _cur_column; | |
signed char _vtable_offset; | |
char _shortbuf[1]; | |
_IO_lock_t *_lock; | |
# 294 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
__off64_t _offset; | |
# 303 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
void *__pad1; | |
void *__pad2; | |
void *__pad3; | |
void *__pad4; | |
size_t __pad5; | |
int _mode; | |
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; | |
}; | |
typedef struct _IO_FILE _IO_FILE; | |
struct _IO_FILE_plus; | |
extern struct _IO_FILE_plus _IO_2_1_stdin_; | |
extern struct _IO_FILE_plus _IO_2_1_stdout_; | |
extern struct _IO_FILE_plus _IO_2_1_stderr_; | |
# 339 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); | |
typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, | |
size_t __n); | |
typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); | |
typedef int __io_close_fn (void *__cookie); | |
# 391 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
extern int __underflow (_IO_FILE *); | |
extern int __uflow (_IO_FILE *); | |
extern int __overflow (_IO_FILE *, int); | |
# 435 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
extern int _IO_getc (_IO_FILE *__fp); | |
extern int _IO_putc (int __c, _IO_FILE *__fp); | |
extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int _IO_peekc_locked (_IO_FILE *__fp); | |
extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); | |
# 465 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/libio.h" 3 4 | |
extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, | |
__gnuc_va_list, int *__restrict); | |
extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, | |
__gnuc_va_list); | |
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); | |
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); | |
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); | |
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); | |
extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); | |
# 75 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 2 3 4 | |
typedef __gnuc_va_list va_list; | |
# 108 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
typedef _G_fpos64_t fpos_t; | |
# 164 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdio_lim.h" 1 3 4 | |
# 165 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 2 3 4 | |
extern struct _IO_FILE *stdin; | |
extern struct _IO_FILE *stdout; | |
extern struct _IO_FILE *stderr; | |
extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int renameat (int __oldfd, const char *__old, int __newfd, | |
const char *__new) __attribute__ ((__nothrow__ , __leaf__)); | |
# 198 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") ; | |
# 209 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 227 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern char *tempnam (const char *__dir, const char *__pfx) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern int fclose (FILE *__stream); | |
extern int fflush (FILE *__stream); | |
# 266 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
# 283 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64") | |
; | |
extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") | |
; | |
# 306 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 319 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) | |
__attribute__ ((__nothrow__ , __leaf__)) ; | |
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, | |
int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); | |
# 351 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fprintf (FILE *__restrict __stream, | |
const char *__restrict __format, ...); | |
extern int printf (const char *__restrict __format, ...); | |
extern int sprintf (char *__restrict __s, | |
const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, | |
__gnuc_va_list __arg); | |
extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | |
extern int vsprintf (char *__restrict __s, const char *__restrict __format, | |
__gnuc_va_list __arg) __attribute__ ((__nothrow__)); | |
extern int snprintf (char *__restrict __s, size_t __maxlen, | |
const char *__restrict __format, ...) | |
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); | |
extern int vsnprintf (char *__restrict __s, size_t __maxlen, | |
const char *__restrict __format, __gnuc_va_list __arg) | |
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); | |
# 412 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int vdprintf (int __fd, const char *__restrict __fmt, | |
__gnuc_va_list __arg) | |
__attribute__ ((__format__ (__printf__, 2, 0))); | |
extern int dprintf (int __fd, const char *__restrict __fmt, ...) | |
__attribute__ ((__format__ (__printf__, 2, 3))); | |
extern int fscanf (FILE *__restrict __stream, | |
const char *__restrict __format, ...) ; | |
extern int scanf (const char *__restrict __format, ...) ; | |
extern int sscanf (const char *__restrict __s, | |
const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); | |
# 443 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") | |
; | |
extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") | |
; | |
extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) | |
; | |
# 463 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | |
__gnuc_va_list __arg) | |
__attribute__ ((__format__ (__scanf__, 2, 0))) ; | |
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | |
__attribute__ ((__format__ (__scanf__, 1, 0))) ; | |
extern int vsscanf (const char *__restrict __s, | |
const char *__restrict __format, __gnuc_va_list __arg) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); | |
# 494 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") | |
__attribute__ ((__format__ (__scanf__, 2, 0))) ; | |
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") | |
__attribute__ ((__format__ (__scanf__, 1, 0))) ; | |
extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__format__ (__scanf__, 2, 0))); | |
# 522 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fgetc (FILE *__stream); | |
extern int getc (FILE *__stream); | |
extern int getchar (void); | |
# 550 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int getc_unlocked (FILE *__stream); | |
extern int getchar_unlocked (void); | |
# 565 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fputc (int __c, FILE *__stream); | |
extern int putc (int __c, FILE *__stream); | |
extern int putchar (int __c); | |
# 602 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int putc_unlocked (int __c, FILE *__stream); | |
extern int putchar_unlocked (int __c); | |
# 617 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | |
; | |
# 638 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern char *gets (char *__s) __attribute__ ((__deprecated__)); | |
# 665 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern __ssize_t __getdelim (char **__restrict __lineptr, | |
size_t *__restrict __n, int __delimiter, | |
FILE *__restrict __stream) ; | |
extern __ssize_t getdelim (char **__restrict __lineptr, | |
size_t *__restrict __n, int __delimiter, | |
FILE *__restrict __stream) ; | |
extern __ssize_t getline (char **__restrict __lineptr, | |
size_t *__restrict __n, | |
FILE *__restrict __stream) ; | |
extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | |
extern int puts (const char *__s); | |
extern int ungetc (int __c, FILE *__stream); | |
extern size_t fread (void *__restrict __ptr, size_t __size, | |
size_t __n, FILE *__restrict __stream) ; | |
extern size_t fwrite (const void *__restrict __ptr, size_t __size, | |
size_t __n, FILE *__restrict __s); | |
# 744 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fseek (FILE *__stream, long int __off, int __whence); | |
extern long int ftell (FILE *__stream) ; | |
extern void rewind (FILE *__stream); | |
# 781 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64") | |
; | |
extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); | |
# 806 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64") | |
; | |
extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64") | |
; | |
# 824 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 841 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern void perror (const char *__s); | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/sys_errlist.h" 1 3 4 | |
# 854 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 2 3 4 | |
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 873 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern FILE *popen (const char *__command, const char *__modes) ; | |
extern int pclose (FILE *__stream); | |
extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *cuserid (char *__s); | |
# 913 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
# 934 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdio.h" 1 3 4 | |
# 35 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdio.h" 3 4 | |
extern __inline int | |
vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) | |
{ | |
return vfprintf (stdout, __fmt, __arg); | |
} | |
extern __inline int | |
getchar (void) | |
{ | |
return _IO_getc (stdin); | |
} | |
# 62 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdio.h" 3 4 | |
extern __inline int | |
getc_unlocked (FILE *__fp) | |
{ | |
return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); | |
} | |
extern __inline int | |
getchar_unlocked (void) | |
{ | |
return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); | |
} | |
extern __inline int | |
putchar (int __c) | |
{ | |
return _IO_putc (__c, stdout); | |
} | |
# 97 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdio.h" 3 4 | |
extern __inline int | |
putc_unlocked (int __c, FILE *__stream) | |
{ | |
return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
} | |
extern __inline int | |
putchar_unlocked (int __c) | |
{ | |
return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); | |
} | |
# 935 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 2 3 4 | |
# 943 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdio.h" 3 4 | |
# 21 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 1 3 4 | |
# 32 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 324 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 3 4 | |
typedef int wchar_t; | |
# 33 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/waitflags.h" 1 3 4 | |
# 42 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/waitstatus.h" 1 3 4 | |
# 43 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 2 3 4 | |
# 95 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
typedef struct | |
{ | |
int quot; | |
int rem; | |
} div_t; | |
typedef struct | |
{ | |
long int quot; | |
long int rem; | |
} ldiv_t; | |
__extension__ typedef struct | |
{ | |
long long int quot; | |
long long int rem; | |
} lldiv_t; | |
# 139 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern double atof (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int atoi (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
extern long int atol (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
__extension__ extern long long int atoll (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
extern double strtod (const char *__restrict __nptr, | |
char **__restrict __endptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern float strtof (const char *__restrict __nptr, | |
char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long double strtold (const char *__restrict __nptr, | |
char **__restrict __endptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int strtol (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern unsigned long int strtoul (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 206 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
__extension__ | |
extern long long int strtoll (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
__extension__ | |
extern unsigned long long int strtoull (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 276 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern __inline int | |
__attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) | |
{ | |
return (int) strtol (__nptr, (char **) ((void *)0), 10); | |
} | |
extern __inline long int | |
__attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) | |
{ | |
return strtol (__nptr, (char **) ((void *)0), 10); | |
} | |
__extension__ extern __inline long long int | |
__attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) | |
{ | |
return strtoll (__nptr, (char **) ((void *)0), 10); | |
} | |
# 305 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern long int a64l (const char *__s) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
# 321 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *initstate (unsigned int __seed, char *__statebuf, | |
size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 372 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); | |
extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern long int nrand48 (unsigned short int __xsubi[3]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern long int jrand48 (unsigned short int __xsubi[3]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); | |
extern unsigned short int *seed48 (unsigned short int __seed16v[3]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 463 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern void *calloc (size_t __nmemb, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern void *realloc (void *__ptr, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); | |
extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); | |
# 502 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 512 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 529 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
# 538 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 577 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int setenv (const char *__name, const char *__value, int __replace) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 622 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") | |
__attribute__ ((__nonnull__ (1))) ; | |
# 662 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 711 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int system (const char *__command) ; | |
# 733 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern char *realpath (const char *__restrict __name, | |
char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; | |
typedef int (*__compar_fn_t) (const void *, const void *); | |
# 751 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern void *bsearch (const void *__key, const void *__base, | |
size_t __nmemb, size_t __size, __compar_fn_t __compar) | |
__attribute__ ((__nonnull__ (1, 2, 5))) ; | |
extern void qsort (void *__base, size_t __nmemb, size_t __size, | |
__compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); | |
# 770 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
__extension__ extern long long int llabs (long long int __x) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
extern div_t div (int __numer, int __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
extern ldiv_t ldiv (long int __numer, long int __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
__extension__ extern lldiv_t lldiv (long long int __numer, | |
long long int __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
# 856 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int mbtowc (wchar_t *__restrict __pwc, | |
const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern size_t mbstowcs (wchar_t *__restrict __pwcs, | |
const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t wcstombs (char *__restrict __s, | |
const wchar_t *__restrict __pwcs, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 895 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
extern int getsubopt (char **__restrict __optionp, | |
char *const *__restrict __tokens, | |
char **__restrict __valuep) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; | |
extern void setkey (const char *__key) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int posix_openpt (int __oflag) ; | |
extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 951 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdlib-float.h" 1 3 4 | |
# 24 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/stdlib-float.h" 3 4 | |
extern __inline double | |
__attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) | |
{ | |
return strtod (__nptr, (char **) ((void *)0)); | |
} | |
# 952 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 2 3 4 | |
# 964 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/stdlib.h" 3 4 | |
# 22 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 1 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 33 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 2 3 4 | |
extern void *memcpy (void *__restrict __dest, const void *__restrict __src, | |
size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void *memmove (void *__dest, const void *__src, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void *memccpy (void *__restrict __dest, const void *__restrict __src, | |
int __c, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int memcmp (const void *__s1, const void *__s2, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 92 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern void *memchr (const void *__s, int __c, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
# 123 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *strncpy (char *__restrict __dest, | |
const char *__restrict __src, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *strcat (char *__restrict __dest, const char *__restrict __src) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *strncat (char *__restrict __dest, const char *__restrict __src, | |
size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int strcmp (const char *__s1, const char *__s2) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int strncmp (const char *__s1, const char *__s2, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int strcoll (const char *__s1, const char *__s2) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern size_t strxfrm (char *__restrict __dest, | |
const char *__restrict __src, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
# 162 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, | |
__locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); | |
extern char *strdup (const char *__s) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); | |
extern char *strndup (const char *__string, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); | |
# 207 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
# 232 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strchr (const char *__s, int __c) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
# 259 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strrchr (const char *__s, int __c) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
# 278 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern size_t strcspn (const char *__s, const char *__reject) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern size_t strspn (const char *__s, const char *__accept) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 311 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strpbrk (const char *__s, const char *__accept) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 338 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strstr (const char *__haystack, const char *__needle) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *strtok (char *__restrict __s, const char *__restrict __delim) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern char *__strtok_r (char *__restrict __s, | |
const char *__restrict __delim, | |
char **__restrict __save_ptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | |
char **__restrict __save_ptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
# 393 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern size_t strlen (const char *__s) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
extern size_t strnlen (const char *__string, size_t __maxlen) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); | |
# 423 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2))); | |
# 441 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 562 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *__stpncpy (char *__restrict __dest, | |
const char *__restrict __src, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern char *stpncpy (char *__restrict __dest, | |
const char *__restrict __src, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 630 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string.h" 1 3 4 | |
# 631 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 1 3 4 | |
# 51 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/endian.h" 1 3 4 | |
# 36 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/endian.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/endian.h" 1 3 4 | |
# 37 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/endian.h" 2 3 4 | |
# 52 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 2 3 4 | |
# 393 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern void *__rawmemchr (const void *__s, int __c); | |
# 968 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern __inline size_t __strcspn_c1 (const char *__s, int __reject); | |
extern __inline size_t | |
__strcspn_c1 (const char *__s, int __reject) | |
{ | |
register size_t __result = 0; | |
while (__s[__result] != '\0' && __s[__result] != __reject) | |
++__result; | |
return __result; | |
} | |
extern __inline size_t __strcspn_c2 (const char *__s, int __reject1, | |
int __reject2); | |
extern __inline size_t | |
__strcspn_c2 (const char *__s, int __reject1, int __reject2) | |
{ | |
register size_t __result = 0; | |
while (__s[__result] != '\0' && __s[__result] != __reject1 | |
&& __s[__result] != __reject2) | |
++__result; | |
return __result; | |
} | |
extern __inline size_t __strcspn_c3 (const char *__s, int __reject1, | |
int __reject2, int __reject3); | |
extern __inline size_t | |
__strcspn_c3 (const char *__s, int __reject1, int __reject2, | |
int __reject3) | |
{ | |
register size_t __result = 0; | |
while (__s[__result] != '\0' && __s[__result] != __reject1 | |
&& __s[__result] != __reject2 && __s[__result] != __reject3) | |
++__result; | |
return __result; | |
} | |
# 1044 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern __inline size_t __strspn_c1 (const char *__s, int __accept); | |
extern __inline size_t | |
__strspn_c1 (const char *__s, int __accept) | |
{ | |
register size_t __result = 0; | |
while (__s[__result] == __accept) | |
++__result; | |
return __result; | |
} | |
extern __inline size_t __strspn_c2 (const char *__s, int __accept1, | |
int __accept2); | |
extern __inline size_t | |
__strspn_c2 (const char *__s, int __accept1, int __accept2) | |
{ | |
register size_t __result = 0; | |
while (__s[__result] == __accept1 || __s[__result] == __accept2) | |
++__result; | |
return __result; | |
} | |
extern __inline size_t __strspn_c3 (const char *__s, int __accept1, | |
int __accept2, int __accept3); | |
extern __inline size_t | |
__strspn_c3 (const char *__s, int __accept1, int __accept2, int __accept3) | |
{ | |
register size_t __result = 0; | |
while (__s[__result] == __accept1 || __s[__result] == __accept2 | |
|| __s[__result] == __accept3) | |
++__result; | |
return __result; | |
} | |
# 1120 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern __inline char *__strpbrk_c2 (const char *__s, int __accept1, | |
int __accept2); | |
extern __inline char * | |
__strpbrk_c2 (const char *__s, int __accept1, int __accept2) | |
{ | |
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) | |
++__s; | |
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
} | |
extern __inline char *__strpbrk_c3 (const char *__s, int __accept1, | |
int __accept2, int __accept3); | |
extern __inline char * | |
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) | |
{ | |
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 | |
&& *__s != __accept3) | |
++__s; | |
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
} | |
# 1170 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); | |
extern __inline char * | |
__strtok_r_1c (char *__s, char __sep, char **__nextp) | |
{ | |
char *__result; | |
if (__s == ((void *)0)) | |
__s = *__nextp; | |
while (*__s == __sep) | |
++__s; | |
__result = ((void *)0); | |
if (*__s != '\0') | |
{ | |
__result = __s++; | |
while (*__s != '\0') | |
if (*__s++ == __sep) | |
{ | |
__s[-1] = '\0'; | |
break; | |
} | |
} | |
*__nextp = __s; | |
return __result; | |
} | |
# 1202 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern char *__strsep_g (char **__stringp, const char *__delim); | |
# 1220 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/string2.h" 3 4 | |
extern __inline char *__strsep_1c (char **__s, char __reject); | |
extern __inline char * | |
__strsep_1c (char **__s, char __reject) | |
{ | |
register char *__retval = *__s; | |
if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) | |
*(*__s)++ = '\0'; | |
return __retval; | |
} | |
extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); | |
extern __inline char * | |
__strsep_2c (char **__s, char __reject1, char __reject2) | |
{ | |
register char *__retval = *__s; | |
if (__retval != ((void *)0)) | |
{ | |
register char *__cp = __retval; | |
while (1) | |
{ | |
if (*__cp == '\0') | |
{ | |
__cp = ((void *)0); | |
break; | |
} | |
if (*__cp == __reject1 || *__cp == __reject2) | |
{ | |
*__cp++ = '\0'; | |
break; | |
} | |
++__cp; | |
} | |
*__s = __cp; | |
} | |
return __retval; | |
} | |
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, | |
char __reject3); | |
extern __inline char * | |
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) | |
{ | |
register char *__retval = *__s; | |
if (__retval != ((void *)0)) | |
{ | |
register char *__cp = __retval; | |
while (1) | |
{ | |
if (*__cp == '\0') | |
{ | |
__cp = ((void *)0); | |
break; | |
} | |
if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) | |
{ | |
*__cp++ = '\0'; | |
break; | |
} | |
++__cp; | |
} | |
*__s = __cp; | |
} | |
return __retval; | |
} | |
# 634 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 2 3 4 | |
# 642 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/string.h" 3 4 | |
# 23 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/strings.h" 1 3 4 | |
# 29 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/strings.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 30 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/strings.h" 2 3 4 | |
# 109 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/strings.h" 3 4 | |
extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((const)); | |
extern int strcasecmp (const char *__s1, const char *__s2) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); | |
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); | |
# 128 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/strings.h" 3 4 | |
extern int strcasecmp_l (const char *__s1, const char *__s2, __locale_t __loc) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
extern int strncasecmp_l (const char *__s1, const char *__s2, | |
size_t __n, __locale_t __loc) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); | |
# 24 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 1 3 4 | |
# 27 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
# 202 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/posix_opt.h" 1 3 4 | |
# 203 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/environments.h" 1 3 4 | |
# 22 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/environments.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 23 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/environments.h" 2 3 4 | |
# 207 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 2 3 4 | |
# 226 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 227 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 2 3 4 | |
# 274 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
typedef __socklen_t socklen_t; | |
# 287 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 304 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int faccessat (int __fd, const char *__file, int __type, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
# 337 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__)) | |
; | |
# 353 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int close (int __fd); | |
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; | |
extern ssize_t write (int __fd, const void *__buf, size_t __n) ; | |
# 388 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") | |
; | |
extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") | |
; | |
# 417 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 432 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); | |
# 444 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern unsigned int sleep (unsigned int __seconds); | |
# 469 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int pause (void); | |
extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int fchownat (int __fd, const char *__file, __uid_t __owner, | |
__gid_t __group, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 511 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 531 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); | |
# 543 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern char **__environ; | |
extern int execve (const char *__path, char *const __argv[], | |
char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int execv (const char *__path, char *const __argv[]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execle (const char *__path, const char *__arg, ...) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execl (const char *__path, const char *__arg, ...) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execvp (const char *__file, char *const __argv[]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execlp (const char *__file, const char *__arg, ...) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 598 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void _exit (int __status) __attribute__ ((__noreturn__)); | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/confname.h" 1 3 4 | |
# 25 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/confname.h" 3 4 | |
enum | |
{ | |
_PC_LINK_MAX, | |
_PC_MAX_CANON, | |
_PC_MAX_INPUT, | |
_PC_NAME_MAX, | |
_PC_PATH_MAX, | |
_PC_PIPE_BUF, | |
_PC_CHOWN_RESTRICTED, | |
_PC_NO_TRUNC, | |
_PC_VDISABLE, | |
_PC_SYNC_IO, | |
_PC_ASYNC_IO, | |
_PC_PRIO_IO, | |
_PC_SOCK_MAXBUF, | |
_PC_FILESIZEBITS, | |
_PC_REC_INCR_XFER_SIZE, | |
_PC_REC_MAX_XFER_SIZE, | |
_PC_REC_MIN_XFER_SIZE, | |
_PC_REC_XFER_ALIGN, | |
_PC_ALLOC_SIZE_MIN, | |
_PC_SYMLINK_MAX, | |
_PC_2_SYMLINKS | |
}; | |
enum | |
{ | |
_SC_ARG_MAX, | |
_SC_CHILD_MAX, | |
_SC_CLK_TCK, | |
_SC_NGROUPS_MAX, | |
_SC_OPEN_MAX, | |
_SC_STREAM_MAX, | |
_SC_TZNAME_MAX, | |
_SC_JOB_CONTROL, | |
_SC_SAVED_IDS, | |
_SC_REALTIME_SIGNALS, | |
_SC_PRIORITY_SCHEDULING, | |
_SC_TIMERS, | |
_SC_ASYNCHRONOUS_IO, | |
_SC_PRIORITIZED_IO, | |
_SC_SYNCHRONIZED_IO, | |
_SC_FSYNC, | |
_SC_MAPPED_FILES, | |
_SC_MEMLOCK, | |
_SC_MEMLOCK_RANGE, | |
_SC_MEMORY_PROTECTION, | |
_SC_MESSAGE_PASSING, | |
_SC_SEMAPHORES, | |
_SC_SHARED_MEMORY_OBJECTS, | |
_SC_AIO_LISTIO_MAX, | |
_SC_AIO_MAX, | |
_SC_AIO_PRIO_DELTA_MAX, | |
_SC_DELAYTIMER_MAX, | |
_SC_MQ_OPEN_MAX, | |
_SC_MQ_PRIO_MAX, | |
_SC_VERSION, | |
_SC_PAGESIZE, | |
_SC_RTSIG_MAX, | |
_SC_SEM_NSEMS_MAX, | |
_SC_SEM_VALUE_MAX, | |
_SC_SIGQUEUE_MAX, | |
_SC_TIMER_MAX, | |
_SC_BC_BASE_MAX, | |
_SC_BC_DIM_MAX, | |
_SC_BC_SCALE_MAX, | |
_SC_BC_STRING_MAX, | |
_SC_COLL_WEIGHTS_MAX, | |
_SC_EQUIV_CLASS_MAX, | |
_SC_EXPR_NEST_MAX, | |
_SC_LINE_MAX, | |
_SC_RE_DUP_MAX, | |
_SC_CHARCLASS_NAME_MAX, | |
_SC_2_VERSION, | |
_SC_2_C_BIND, | |
_SC_2_C_DEV, | |
_SC_2_FORT_DEV, | |
_SC_2_FORT_RUN, | |
_SC_2_SW_DEV, | |
_SC_2_LOCALEDEF, | |
_SC_PII, | |
_SC_PII_XTI, | |
_SC_PII_SOCKET, | |
_SC_PII_INTERNET, | |
_SC_PII_OSI, | |
_SC_POLL, | |
_SC_SELECT, | |
_SC_UIO_MAXIOV, | |
_SC_IOV_MAX = _SC_UIO_MAXIOV, | |
_SC_PII_INTERNET_STREAM, | |
_SC_PII_INTERNET_DGRAM, | |
_SC_PII_OSI_COTS, | |
_SC_PII_OSI_CLTS, | |
_SC_PII_OSI_M, | |
_SC_T_IOV_MAX, | |
_SC_THREADS, | |
_SC_THREAD_SAFE_FUNCTIONS, | |
_SC_GETGR_R_SIZE_MAX, | |
_SC_GETPW_R_SIZE_MAX, | |
_SC_LOGIN_NAME_MAX, | |
_SC_TTY_NAME_MAX, | |
_SC_THREAD_DESTRUCTOR_ITERATIONS, | |
_SC_THREAD_KEYS_MAX, | |
_SC_THREAD_STACK_MIN, | |
_SC_THREAD_THREADS_MAX, | |
_SC_THREAD_ATTR_STACKADDR, | |
_SC_THREAD_ATTR_STACKSIZE, | |
_SC_THREAD_PRIORITY_SCHEDULING, | |
_SC_THREAD_PRIO_INHERIT, | |
_SC_THREAD_PRIO_PROTECT, | |
_SC_THREAD_PROCESS_SHARED, | |
_SC_NPROCESSORS_CONF, | |
_SC_NPROCESSORS_ONLN, | |
_SC_PHYS_PAGES, | |
_SC_AVPHYS_PAGES, | |
_SC_ATEXIT_MAX, | |
_SC_PASS_MAX, | |
_SC_XOPEN_VERSION, | |
_SC_XOPEN_XCU_VERSION, | |
_SC_XOPEN_UNIX, | |
_SC_XOPEN_CRYPT, | |
_SC_XOPEN_ENH_I18N, | |
_SC_XOPEN_SHM, | |
_SC_2_CHAR_TERM, | |
_SC_2_C_VERSION, | |
_SC_2_UPE, | |
_SC_XOPEN_XPG2, | |
_SC_XOPEN_XPG3, | |
_SC_XOPEN_XPG4, | |
_SC_CHAR_BIT, | |
_SC_CHAR_MAX, | |
_SC_CHAR_MIN, | |
_SC_INT_MAX, | |
_SC_INT_MIN, | |
_SC_LONG_BIT, | |
_SC_WORD_BIT, | |
_SC_MB_LEN_MAX, | |
_SC_NZERO, | |
_SC_SSIZE_MAX, | |
_SC_SCHAR_MAX, | |
_SC_SCHAR_MIN, | |
_SC_SHRT_MAX, | |
_SC_SHRT_MIN, | |
_SC_UCHAR_MAX, | |
_SC_UINT_MAX, | |
_SC_ULONG_MAX, | |
_SC_USHRT_MAX, | |
_SC_NL_ARGMAX, | |
_SC_NL_LANGMAX, | |
_SC_NL_MSGMAX, | |
_SC_NL_NMAX, | |
_SC_NL_SETMAX, | |
_SC_NL_TEXTMAX, | |
_SC_XBS5_ILP32_OFF32, | |
_SC_XBS5_ILP32_OFFBIG, | |
_SC_XBS5_LP64_OFF64, | |
_SC_XBS5_LPBIG_OFFBIG, | |
_SC_XOPEN_LEGACY, | |
_SC_XOPEN_REALTIME, | |
_SC_XOPEN_REALTIME_THREADS, | |
_SC_ADVISORY_INFO, | |
_SC_BARRIERS, | |
_SC_BASE, | |
_SC_C_LANG_SUPPORT, | |
_SC_C_LANG_SUPPORT_R, | |
_SC_CLOCK_SELECTION, | |
_SC_CPUTIME, | |
_SC_THREAD_CPUTIME, | |
_SC_DEVICE_IO, | |
_SC_DEVICE_SPECIFIC, | |
_SC_DEVICE_SPECIFIC_R, | |
_SC_FD_MGMT, | |
_SC_FIFO, | |
_SC_PIPE, | |
_SC_FILE_ATTRIBUTES, | |
_SC_FILE_LOCKING, | |
_SC_FILE_SYSTEM, | |
_SC_MONOTONIC_CLOCK, | |
_SC_MULTI_PROCESS, | |
_SC_SINGLE_PROCESS, | |
_SC_NETWORKING, | |
_SC_READER_WRITER_LOCKS, | |
_SC_SPIN_LOCKS, | |
_SC_REGEXP, | |
_SC_REGEX_VERSION, | |
_SC_SHELL, | |
_SC_SIGNALS, | |
_SC_SPAWN, | |
_SC_SPORADIC_SERVER, | |
_SC_THREAD_SPORADIC_SERVER, | |
_SC_SYSTEM_DATABASE, | |
_SC_SYSTEM_DATABASE_R, | |
_SC_TIMEOUTS, | |
_SC_TYPED_MEMORY_OBJECTS, | |
_SC_USER_GROUPS, | |
_SC_USER_GROUPS_R, | |
_SC_2_PBS, | |
_SC_2_PBS_ACCOUNTING, | |
_SC_2_PBS_LOCATE, | |
_SC_2_PBS_MESSAGE, | |
_SC_2_PBS_TRACK, | |
_SC_SYMLOOP_MAX, | |
_SC_STREAMS, | |
_SC_2_PBS_CHECKPOINT, | |
_SC_V6_ILP32_OFF32, | |
_SC_V6_ILP32_OFFBIG, | |
_SC_V6_LP64_OFF64, | |
_SC_V6_LPBIG_OFFBIG, | |
_SC_HOST_NAME_MAX, | |
_SC_TRACE, | |
_SC_TRACE_EVENT_FILTER, | |
_SC_TRACE_INHERIT, | |
_SC_TRACE_LOG, | |
_SC_LEVEL1_ICACHE_SIZE, | |
_SC_LEVEL1_ICACHE_ASSOC, | |
_SC_LEVEL1_ICACHE_LINESIZE, | |
_SC_LEVEL1_DCACHE_SIZE, | |
_SC_LEVEL1_DCACHE_ASSOC, | |
_SC_LEVEL1_DCACHE_LINESIZE, | |
_SC_LEVEL2_CACHE_SIZE, | |
_SC_LEVEL2_CACHE_ASSOC, | |
_SC_LEVEL2_CACHE_LINESIZE, | |
_SC_LEVEL3_CACHE_SIZE, | |
_SC_LEVEL3_CACHE_ASSOC, | |
_SC_LEVEL3_CACHE_LINESIZE, | |
_SC_LEVEL4_CACHE_SIZE, | |
_SC_LEVEL4_CACHE_ASSOC, | |
_SC_LEVEL4_CACHE_LINESIZE, | |
_SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, | |
_SC_RAW_SOCKETS, | |
_SC_V7_ILP32_OFF32, | |
_SC_V7_ILP32_OFFBIG, | |
_SC_V7_LP64_OFF64, | |
_SC_V7_LPBIG_OFFBIG, | |
_SC_SS_REPL_MAX, | |
_SC_TRACE_EVENT_NAME_MAX, | |
_SC_TRACE_NAME_MAX, | |
_SC_TRACE_SYS_MAX, | |
_SC_TRACE_USER_EVENT_MAX, | |
_SC_XOPEN_STREAMS, | |
_SC_THREAD_ROBUST_PRIO_INHERIT, | |
_SC_THREAD_ROBUST_PRIO_PROTECT | |
}; | |
enum | |
{ | |
_CS_PATH, | |
_CS_V6_WIDTH_RESTRICTED_ENVS, | |
_CS_GNU_LIBC_VERSION, | |
_CS_GNU_LIBPTHREAD_VERSION, | |
_CS_V5_WIDTH_RESTRICTED_ENVS, | |
_CS_V7_WIDTH_RESTRICTED_ENVS, | |
_CS_LFS_CFLAGS = 1000, | |
_CS_LFS_LDFLAGS, | |
_CS_LFS_LIBS, | |
_CS_LFS_LINTFLAGS, | |
_CS_LFS64_CFLAGS, | |
_CS_LFS64_LDFLAGS, | |
_CS_LFS64_LIBS, | |
_CS_LFS64_LINTFLAGS, | |
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100, | |
_CS_XBS5_ILP32_OFF32_LDFLAGS, | |
_CS_XBS5_ILP32_OFF32_LIBS, | |
_CS_XBS5_ILP32_OFF32_LINTFLAGS, | |
_CS_XBS5_ILP32_OFFBIG_CFLAGS, | |
_CS_XBS5_ILP32_OFFBIG_LDFLAGS, | |
_CS_XBS5_ILP32_OFFBIG_LIBS, | |
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS, | |
_CS_XBS5_LP64_OFF64_CFLAGS, | |
_CS_XBS5_LP64_OFF64_LDFLAGS, | |
_CS_XBS5_LP64_OFF64_LIBS, | |
_CS_XBS5_LP64_OFF64_LINTFLAGS, | |
_CS_XBS5_LPBIG_OFFBIG_CFLAGS, | |
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS, | |
_CS_XBS5_LPBIG_OFFBIG_LIBS, | |
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V6_ILP32_OFF32_CFLAGS, | |
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS, | |
_CS_POSIX_V6_ILP32_OFF32_LIBS, | |
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, | |
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, | |
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, | |
_CS_POSIX_V6_ILP32_OFFBIG_LIBS, | |
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V6_LP64_OFF64_CFLAGS, | |
_CS_POSIX_V6_LP64_OFF64_LDFLAGS, | |
_CS_POSIX_V6_LP64_OFF64_LIBS, | |
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V7_ILP32_OFF32_CFLAGS, | |
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS, | |
_CS_POSIX_V7_ILP32_OFF32_LIBS, | |
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, | |
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, | |
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, | |
_CS_POSIX_V7_ILP32_OFFBIG_LIBS, | |
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V7_LP64_OFF64_CFLAGS, | |
_CS_POSIX_V7_LP64_OFF64_LDFLAGS, | |
_CS_POSIX_V7_LP64_OFF64_LIBS, | |
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, | |
_CS_V6_ENV, | |
_CS_V7_ENV | |
}; | |
# 610 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 2 3 4 | |
extern long int pathconf (const char *__path, int __name) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); | |
extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 646 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); | |
# 672 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 689 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 722 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 778 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern __pid_t fork (void) __attribute__ ((__nothrow__)); | |
# 792 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int ttyname_r (int __fd, char *__buf, size_t __buflen) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
# 812 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int link (const char *__from, const char *__to) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; | |
extern int linkat (int __fromfd, const char *__from, int __tofd, | |
const char *__to, int __flags) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ; | |
extern int symlink (const char *__from, const char *__to) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; | |
extern ssize_t readlink (const char *__restrict __path, | |
char *__restrict __buf, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; | |
extern int symlinkat (const char *__from, int __tofd, | |
const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ; | |
extern ssize_t readlinkat (int __fd, const char *__restrict __path, | |
char *__restrict __buf, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ; | |
extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int unlinkat (int __fd, const char *__name, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *getlogin (void); | |
extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); | |
# 893 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/getopt.h" 1 3 4 | |
# 58 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/getopt.h" 3 4 | |
extern char *optarg; | |
# 72 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/getopt.h" 3 4 | |
extern int optind; | |
extern int opterr; | |
extern int optopt; | |
# 151 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/getopt.h" 3 4 | |
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 894 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 2 3 4 | |
extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 978 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int fsync (int __fd); | |
# 991 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern long int gethostid (void); | |
extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1019 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (1))) ; | |
# 1041 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__)) | |
; | |
# 1106 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") | |
; | |
# 1134 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
extern int fdatasync (int __fildes); | |
extern char *crypt (const char *__key, const char *__salt) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void swab (const void *__restrict __from, void *__restrict __to, | |
ssize_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 1172 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/unistd.h" 3 4 | |
# 25 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 1 3 4 | |
# 28 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
# 62 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/dirent.h" 1 3 4 | |
# 22 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/dirent.h" 3 4 | |
struct dirent | |
{ | |
__ino64_t d_ino; | |
__off64_t d_off; | |
unsigned short int d_reclen; | |
unsigned char d_type; | |
char d_name[256]; | |
}; | |
# 63 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 2 3 4 | |
# 128 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
typedef struct __dirstream DIR; | |
extern DIR *opendir (const char *__name) __attribute__ ((__nonnull__ (1))); | |
extern DIR *fdopendir (int __fd); | |
extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); | |
# 166 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
extern struct dirent *readdir (DIR *__dirp) __asm__ ("" "readdir64") | |
__attribute__ ((__nonnull__ (1))); | |
# 190 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __asm__ ("" "readdir64_r") | |
__attribute__ ((__nonnull__ (1, 2, 3))); | |
# 209 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 245 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stddef.h" 1 3 4 | |
# 246 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 2 3 4 | |
# 263 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
extern int scandir (const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (const struct dirent *), int (*__cmp) (const struct dirent **, const struct dirent **)) __asm__ ("" "scandir64") | |
__attribute__ ((__nonnull__ (1, 2))); | |
# 330 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
extern int alphasort (const struct dirent **__e1, const struct dirent **__e2) __asm__ ("" "alphasort64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 402 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/dirent.h" 3 4 | |
# 28 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/errno.h" 1 3 4 | |
# 31 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/errno.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/errno.h" 1 3 4 | |
# 24 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/errno.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/linux/errno.h" 1 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/asm/errno.h" 1 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/asm-generic/errno.h" 1 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/asm-generic/errno-base.h" 1 3 4 | |
# 5 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/asm-generic/errno.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/asm/errno.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/linux/errno.h" 2 3 4 | |
# 25 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/errno.h" 2 3 4 | |
# 50 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/errno.h" 3 4 | |
extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
# 36 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/errno.h" 2 3 4 | |
# 58 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/errno.h" 3 4 | |
# 29 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 1 3 4 | |
# 28 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/time.h" 1 3 4 | |
# 30 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/time.h" 3 4 | |
struct timeval | |
{ | |
__time_t tv_sec; | |
__suseconds_t tv_usec; | |
}; | |
# 29 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 1 3 4 | |
# 30 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/select.h" 1 3 4 | |
# 22 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/select.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/wordsize.h" 1 3 4 | |
# 23 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/select.h" 2 3 4 | |
# 31 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/sigset.h" 1 3 4 | |
# 23 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/sigset.h" 3 4 | |
typedef int __sig_atomic_t; | |
typedef struct | |
{ | |
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
} __sigset_t; | |
# 34 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 2 3 4 | |
typedef __sigset_t sigset_t; | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/time.h" 1 3 4 | |
# 46 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 2 3 4 | |
# 54 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
typedef long int __fd_mask; | |
# 64 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
typedef struct | |
{ | |
__fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; | |
} fd_set; | |
# 96 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
# 106 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
extern int select (int __nfds, fd_set *__restrict __readfds, | |
fd_set *__restrict __writefds, | |
fd_set *__restrict __exceptfds, | |
struct timeval *__restrict __timeout); | |
# 118 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
extern int pselect (int __nfds, fd_set *__restrict __readfds, | |
fd_set *__restrict __writefds, | |
fd_set *__restrict __exceptfds, | |
const struct timespec *__restrict __timeout, | |
const __sigset_t *__restrict __sigmask); | |
# 131 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/select.h" 3 4 | |
# 31 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 2 3 4 | |
# 64 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 3 4 | |
typedef void *__restrict __timezone_ptr_t; | |
extern int gettimeofday (struct timeval *__restrict __tv, | |
__timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 92 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 3 4 | |
enum __itimer_which | |
{ | |
ITIMER_REAL = 0, | |
ITIMER_VIRTUAL = 1, | |
ITIMER_PROF = 2 | |
}; | |
struct itimerval | |
{ | |
struct timeval it_interval; | |
struct timeval it_value; | |
}; | |
typedef int __itimer_which_t; | |
extern int getitimer (__itimer_which_t __which, | |
struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setitimer (__itimer_which_t __which, | |
const struct itimerval *__restrict __new, | |
struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int utimes (const char *__file, const struct timeval __tvp[2]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 190 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/time.h" 3 4 | |
# 31 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/inttypes.h" 1 3 4 | |
# 34 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/inttypes.h" 3 4 | |
typedef int __gwchar_t; | |
# 273 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/inttypes.h" 3 4 | |
typedef struct | |
{ | |
long int quot; | |
long int rem; | |
} imaxdiv_t; | |
# 297 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/inttypes.h" 3 4 | |
extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern intmax_t strtoimax (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); | |
extern uintmax_t strtoumax (const char *__restrict __nptr, | |
char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); | |
extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, | |
__gwchar_t **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, | |
__gwchar_t ** __restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern long int __strtol_internal (const char *__restrict __nptr, | |
char **__restrict __endptr, | |
int __base, int __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern __inline intmax_t | |
__attribute__ ((__nothrow__ , __leaf__)) strtoimax (const char *__restrict nptr, char **__restrict endptr, int base) | |
{ | |
return __strtol_internal (nptr, endptr, base, 0); | |
} | |
extern unsigned long int __strtoul_internal (const char *__restrict __nptr, | |
char ** __restrict __endptr, | |
int __base, int __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern __inline uintmax_t | |
__attribute__ ((__nothrow__ , __leaf__)) strtoumax (const char *__restrict nptr, char **__restrict endptr, int base) | |
{ | |
return __strtoul_internal (nptr, endptr, base, 0); | |
} | |
extern long int __wcstol_internal (const __gwchar_t * __restrict __nptr, | |
__gwchar_t **__restrict __endptr, | |
int __base, int __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern __inline intmax_t | |
__attribute__ ((__nothrow__ , __leaf__)) wcstoimax (const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) | |
{ | |
return __wcstol_internal (nptr, endptr, base, 0); | |
} | |
extern unsigned long int __wcstoul_internal (const __gwchar_t * | |
__restrict __nptr, | |
__gwchar_t ** | |
__restrict __endptr, | |
int __base, int __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern __inline uintmax_t | |
__attribute__ ((__nothrow__ , __leaf__)) wcstoumax (const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) | |
{ | |
return __wcstoul_internal (nptr, endptr, base, 0); | |
} | |
# 439 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/inttypes.h" 3 4 | |
# 32 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/vfs.h" 1 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statfs.h" 1 3 4 | |
# 25 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statfs.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statfs.h" 1 3 4 | |
# 24 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/statfs.h" 3 4 | |
struct statfs | |
{ | |
__fsword_t f_type; | |
__fsword_t f_bsize; | |
__fsblkcnt64_t f_blocks; | |
__fsblkcnt64_t f_bfree; | |
__fsblkcnt64_t f_bavail; | |
__fsfilcnt64_t f_files; | |
__fsfilcnt64_t f_ffree; | |
__fsid_t f_fsid; | |
__fsword_t f_namelen; | |
__fsword_t f_frsize; | |
__fsword_t f_flags; | |
__fsword_t f_spare[4]; | |
}; | |
# 26 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statfs.h" 2 3 4 | |
extern int statfs (const char *__file, struct statfs *__buf) __asm__ ("" "statfs64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (1, 2))); | |
# 54 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statfs.h" 3 4 | |
extern int fstatfs (int __fildes, struct statfs *__buf) __asm__ ("" "fstatfs64") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__nonnull__ (2))); | |
# 65 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/statfs.h" 3 4 | |
# 4 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/vfs.h" 2 3 4 | |
# 34 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 42 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.h" 1 | |
# 23 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.h" | |
typedef struct { | |
char *path; | |
int path_len; | |
int fd; | |
unsigned char rw; | |
} branch_entry_t; | |
# 43 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/opts.h" 1 | |
# 11 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/opts.h" | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse.h" 1 | |
# 12 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/opts.h" 2 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stdbool.h" 1 3 4 | |
# 13 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/opts.h" 2 | |
typedef struct { | |
int nbranches; | |
branch_entry_t *branches; | |
_Bool stats_enabled; | |
_Bool cow_enabled; | |
_Bool statfs_omit_ro; | |
int doexit; | |
int retval; | |
char *chroot; | |
_Bool debug; | |
char *dbgpath; | |
_Bool hide_meta_files; | |
_Bool relaxed_permissions; | |
} uopt_t; | |
enum { | |
KEY_CHROOT, | |
KEY_COW, | |
KEY_DEBUG, | |
KEY_DEBUG_FILE, | |
KEY_DIRS, | |
KEY_HELP, | |
KEY_HIDE_META_FILES, | |
KEY_HIDE_METADIR, | |
KEY_MAX_FILES, | |
KEY_NOINITGROUPS, | |
KEY_RELAXED_PERMISSIONS, | |
KEY_STATFS_OMIT_RO, | |
KEY_STATS, | |
KEY_VERSION | |
}; | |
extern uopt_t uopt; | |
void uopt_init(); | |
int unionfs_opt_proc(void *data, const char *arg, int key, struct fuse_args *outargs); | |
void unionfs_post_opts(); | |
# 44 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/stats.h" 1 | |
# 14 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/stats.h" | |
struct stats_t { | |
unsigned int r_b, r_k, r_m, r_g, r_t; | |
unsigned int w_b, w_k, w_m, w_g, w_t; | |
}; | |
struct stats_t stats; | |
void stats_init(struct stats_t*); | |
void stats_sprint(struct stats_t*, char *); | |
void stats_add_read(struct stats_t*, unsigned int); | |
void stats_add_written(struct stats_t*, unsigned int); | |
# 45 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/debug.h" 1 | |
# 12 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/debug.h" | |
extern FILE* dbgfile; | |
# 37 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/debug.h" | |
int debug_init(); | |
void dbg_in(const char *function); | |
# 46 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/findbranch.h" 1 | |
# 10 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/findbranch.h" | |
typedef enum searchflag { | |
RWRO, | |
RWONLY | |
} searchflag_t; | |
int find_rorw_branch(const char *path); | |
int find_lowest_rw_branch(int branch_ro); | |
int find_rw_branch_cutlast(const char *path); | |
int __find_rw_branch_cutlast(const char *path, int rw_hint); | |
int find_rw_branch_cow(const char *path); | |
# 47 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/general.h" 1 | |
# 12 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/general.h" | |
enum whiteout { | |
WHITEOUT_FILE, | |
WHITEOUT_DIR | |
}; | |
typedef enum filetype { | |
NOT_EXISTING=-1, | |
IS_DIR=0, | |
IS_FILE=1, | |
} filetype_t; | |
int path_hidden(const char *path, int branch); | |
int remove_hidden(const char *path, int maxbranch); | |
int hide_file(const char *path, int branch_rw); | |
int hide_dir(const char *path, int branch_rw); | |
filetype_t path_is_dir (const char *path); | |
int maybe_whiteout(const char *path, int branch_rw, enum whiteout mode); | |
int set_owner(const char *path); | |
# 48 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unlink.h" 1 | |
# 10 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unlink.h" | |
int unionfs_unlink(const char *path); | |
# 50 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/rmdir.h" 1 | |
# 10 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/rmdir.h" | |
int unionfs_rmdir(const char *path); | |
# 51 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/readdir.h" 1 | |
# 1 "/nix/store/i7w0vzkhv1c1ci5xa9v5qr17vzy1p6hr-fuse-2.9.2/include/fuse.h" 1 | |
# 5 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/readdir.h" 2 | |
int unionfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi); | |
int dir_not_empty(const char *path); | |
# 52 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/cow.h" 1 | |
# 12 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/cow.h" | |
int cow_cp(const char *path, int branch_ro, int branch_rw); | |
int path_create(const char *path, int nbranch_ro, int nbranch_rw); | |
int path_create_cutlast(const char *path, int nbranch_ro, int nbranch_rw); | |
int copy_directory(const char *path, int branch_ro, int branch_rw); | |
# 53 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/string.h" 1 | |
# 12 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/string.h" | |
char *whiteout_tag(const char *fname); | |
int build_path(char *dest, int max_len, const char *callfunc, int line, ...); | |
char *u_dirname(const char *path); | |
unsigned int string_hash(void *s); | |
# 29 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/string.h" | |
static inline int string_equal(void *s1, void *s2) { | |
if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s1) && __builtin_constant_p (s2) && (__s1_len = strlen (s1), __s2_len = strlen (s2), (!((size_t)(const void *)((s1) + 1) - (size_t)(const void *)(s1) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((s2) + 1) - (size_t)(const void *)(s2) == 1) || __s2_len >= 4)) ? __builtin_strcmp (s1, s2) : (__builtin_constant_p (s1) && ((size_t)(const void *)((s1) + 1) - (size_t)(const void *)(s1) == 1) && (__s1_len = strlen (s1), __s1_len < 4) ? (__builtin_constant_p (s2) && ((size_t)(const void *)((s2) + 1) - (size_t)(const void *)(s2) == 1) ? __builtin_strcmp (s1, s2) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (s2); register int __result = (((const unsigned char *) (const char *) (s1))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (s1))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (s1))[ | |
2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (s1))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (s2) && ((size_t)(const void *)((s2) + 1) - (size_t)(const void *)(s2) == 1) && (__s2_len = strlen (s2), __s2_len < 4) ? (__builtin_constant_p (s1) && ((size_t)(const void *)((s1) + 1) - (size_t)(const void *)(s1) == 1) ? __builtin_strcmp (s1, s2) : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (s1); register int __result = __s1[0] - ((const unsigned char *) (const char *) (s2))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) (s2))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) (s2))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((const unsigned char *) (const char *) (s2))[3]); } } __result; }))) : __builtin_strcmp (s1, s2)))); }) == 0) return 1; | |
return 0; | |
} | |
# 54 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
# 1 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/usyslog.h" 1 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/syslog.h" 1 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/syslog.h" 1 3 4 | |
# 37 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/syslog.h" 3 4 | |
# 1 "/nix/store/hi387lq9x38cfwb915vv4b0zdh76wazc-gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/stdarg.h" 1 3 4 | |
# 38 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/syslog.h" 2 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/bits/syslog-path.h" 1 3 4 | |
# 41 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/syslog.h" 2 3 4 | |
# 169 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/syslog.h" 3 4 | |
extern void closelog (void); | |
extern void openlog (const char *__ident, int __option, int __facility); | |
extern int setlogmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void syslog (int __pri, const char *__fmt, ...) | |
__attribute__ ((__format__ (__printf__, 2, 3))); | |
# 213 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/sys/syslog.h" 3 4 | |
# 1 "/nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17/include/syslog.h" 2 3 4 | |
# 7 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/usyslog.h" 2 | |
typedef struct ulogs { | |
int priority; | |
char message[256]; | |
_Bool used; | |
pthread_mutex_t lock; | |
struct ulogs *next; | |
} ulogs_t; | |
void init_syslog(void); | |
void usyslog(int priority, const char *format, ...); | |
# 55 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" 2 | |
static struct fuse_opt unionfs_opts[] = { | |
{ "chroot=%s,", -1U, KEY_CHROOT }, | |
{ "cow", -1U, KEY_COW }, | |
{ "-d", -1U, KEY_DEBUG }, | |
{ "debug_file=%s", -1U, KEY_DEBUG_FILE }, | |
{ "dirs=%s", -1U, KEY_DIRS }, | |
{ "--help", -1U, KEY_HELP }, | |
{ "-h", -1U, KEY_HELP }, | |
{ "hide_meta_dir", -1U, KEY_HIDE_METADIR }, | |
{ "hide_meta_files", -1U, KEY_HIDE_META_FILES }, | |
{ "max_files=%s", -1U, KEY_MAX_FILES }, | |
{ "noinitgroups", -1U, KEY_NOINITGROUPS }, | |
{ "relaxed_permissions", -1U, KEY_RELAXED_PERMISSIONS }, | |
{ "statfs_omit_ro", -1U, KEY_STATFS_OMIT_RO }, | |
{ "stats", -1U, KEY_STATS }, | |
{ "--version", -1U, KEY_VERSION }, | |
{ "-V", -1U, KEY_VERSION }, | |
{ ((void *)0), 0, 0 } | |
}; | |
static int unionfs_chmod(const char *path, mode_t mode) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 78); fprintf(dbgfile, "%s(): %d: ", __func__, 78); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cow(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 81); fprintf(dbgfile, "%s(): %d: ", __func__, 81); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 84, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 84); fprintf(dbgfile, "%s(): %d: ", __func__, 84); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = chmod(p, mode); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 87); fprintf(dbgfile, "%s(): %d: ", __func__, 87); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 89); fprintf(dbgfile, "%s(): %d: ", __func__, 89); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_chown(const char *path, uid_t uid, gid_t gid) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 93); fprintf(dbgfile, "%s(): %d: ", __func__, 93); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cow(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 96); fprintf(dbgfile, "%s(): %d: ", __func__, 96); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 99, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 99); fprintf(dbgfile, "%s(): %d: ", __func__, 99); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = lchown(p, uid, gid); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 102); fprintf(dbgfile, "%s(): %d: ", __func__, 102); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 104); fprintf(dbgfile, "%s(): %d: ", __func__, 104); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_create(const char *path, mode_t mode, struct fuse_file_info *fi) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 112); fprintf(dbgfile, "%s(): %d: ", __func__, 112); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cutlast(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 115); fprintf(dbgfile, "%s(): %d: ", __func__, 115); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 118, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 118); fprintf(dbgfile, "%s(): %d: ", __func__, 118); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = open(p, fi->flags, 0); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 125); fprintf(dbgfile, "%s(): %d: ", __func__, 125); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
set_owner(p); | |
fchmod(res, mode); | |
fi->fh = res; | |
remove_hidden(path, i); | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 135); fprintf(dbgfile, "%s(): %d: ", __func__, 135); fprintf(stderr, "fd = %" "l" "x" "\n", fi->fh); fprintf(dbgfile, "fd = %" "l" "x" "\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 136); fprintf(dbgfile, "%s(): %d: ", __func__, 136); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_flush(const char *path, struct fuse_file_info *fi) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 146); fprintf(dbgfile, "%s(): %d: ", __func__, 146); fprintf(stderr, "fd = %""l" "x""\n", fi->fh); fprintf(dbgfile, "fd = %""l" "x""\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 148); fprintf(dbgfile, "%s(): %d: ", __func__, 148); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
int fd = dup(fi->fh); | |
if (fd == -1) { | |
if (fsync(fi->fh) == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 154); fprintf(dbgfile, "%s(): %d: ", __func__, 154); fprintf(stderr, "return %d\n",-5); fprintf(dbgfile, "return %d\n",-5); fflush(stderr); fflush(stdout); } while (0); return -5; } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 156); fprintf(dbgfile, "%s(): %d: ", __func__, 156); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
} | |
int res = close(fd); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 160); fprintf(dbgfile, "%s(): %d: ", __func__, 160); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 162); fprintf(dbgfile, "%s(): %d: ", __func__, 162); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_fsync(const char *path, int isdatasync, struct fuse_file_info *fi) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 169); fprintf(dbgfile, "%s(): %d: ", __func__, 169); fprintf(stderr, "fd = %""l" "x""\n", fi->fh); fprintf(dbgfile, "fd = %""l" "x""\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 171); fprintf(dbgfile, "%s(): %d: ", __func__, 171); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
int res; | |
if (isdatasync) { | |
res = fdatasync(fi->fh); | |
} else { | |
res = fsync(fi->fh); | |
} | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 184); fprintf(dbgfile, "%s(): %d: ", __func__, 184); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 186); fprintf(dbgfile, "%s(): %d: ", __func__, 186); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_getattr(const char *path, struct stat *stbuf) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 190); fprintf(dbgfile, "%s(): %d: ", __func__, 190); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) { | |
memset(stbuf, 0, sizeof(stbuf)); | |
stbuf->st_mode = 0100000 | 0444; | |
stbuf->st_nlink = 1; | |
stbuf->st_size = 2048; | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 197); fprintf(dbgfile, "%s(): %d: ", __func__, 197); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
int i = find_rorw_branch(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 201); fprintf(dbgfile, "%s(): %d: ", __func__, 201); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 204, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 204); fprintf(dbgfile, "%s(): %d: ", __func__, 204); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = lstat(p, stbuf); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 207); fprintf(dbgfile, "%s(): %d: ", __func__, 207); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
# 216 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
if (((((stbuf->st_mode)) & 0170000) == (0040000))) stbuf->st_nlink = 1; | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 218); fprintf(dbgfile, "%s(): %d: ", __func__, 218); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static void * unionfs_init(struct fuse_conn_info *conn) { | |
(void) conn->max_readahead; | |
if (uopt.chroot) { | |
int res = chroot(uopt.chroot); | |
if (res) { | |
do { do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, | |
235 | |
# 234 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(dbgfile, "%s(): %d: ", __func__, | |
235 | |
# 234 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(stderr, "Chdir to %s failed: %s ! Aborting!\n", uopt.chroot, strerror((*__errno_location ()))); fprintf(dbgfile, "Chdir to %s failed: %s ! Aborting!\n", uopt.chroot, strerror((*__errno_location ()))); fflush(stderr); fflush(stdout); } while (0); usyslog(4, "Chdir to %s failed: %s ! Aborting!\n", uopt.chroot, strerror((*__errno_location ()))); } while (0); | |
; | |
exit(1); | |
} | |
} | |
return ((void *)0); | |
} | |
static int unionfs_link(const char *from, const char *to) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 243); fprintf(dbgfile, "%s(): %d: ", __func__, 243); fprintf(stderr, "from %s to %s\n", from, to); fprintf(dbgfile, "from %s to %s\n", from, to); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cow(from); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 247); fprintf(dbgfile, "%s(): %d: ", __func__, 247); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
int j = __find_rw_branch_cutlast(to, i); | |
if (j == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 250); fprintf(dbgfile, "%s(): %d: ", __func__, 250); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 252); fprintf(dbgfile, "%s(): %d: ", __func__, 252); fprintf(stderr, "from branch: %d to branch: %d\n", i, j); fprintf(dbgfile, "from branch: %d to branch: %d\n", i, j); fflush(stderr); fflush(stdout); } while (0); | |
char f[1024], t[1024]; | |
if (build_path(f, 1024, __func__, 255, uopt.branches[i].path, from, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 255); fprintf(dbgfile, "%s(): %d: ", __func__, 255); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
if (build_path(t, 1024, __func__, 256, uopt.branches[j].path, to, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 256); fprintf(dbgfile, "%s(): %d: ", __func__, 256); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = link(f, t); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 259); fprintf(dbgfile, "%s(): %d: ", __func__, 259); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
remove_hidden(to, i); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 264); fprintf(dbgfile, "%s(): %d: ", __func__, 264); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_mkdir(const char *path, mode_t mode) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 274); fprintf(dbgfile, "%s(): %d: ", __func__, 274); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cutlast(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 277); fprintf(dbgfile, "%s(): %d: ", __func__, 277); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 280, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 280); fprintf(dbgfile, "%s(): %d: ", __func__, 280); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = mkdir(p, 0); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 283); fprintf(dbgfile, "%s(): %d: ", __func__, 283); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
set_owner(p); | |
chmod(p, mode); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 289); fprintf(dbgfile, "%s(): %d: ", __func__, 289); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_mknod(const char *path, mode_t mode, dev_t rdev) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 293); fprintf(dbgfile, "%s(): %d: ", __func__, 293); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cutlast(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 296); fprintf(dbgfile, "%s(): %d: ", __func__, 296); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 299, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 299); fprintf(dbgfile, "%s(): %d: ", __func__, 299); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int file_type = mode & 0170000; | |
int file_perm = mode & ((04000| 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3))); | |
int res = -1; | |
if ((file_type) == 0100000) { | |
do { do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 311); fprintf(dbgfile, "%s(): %d: ", __func__, 311); fprintf(stderr, "deprecated mknod workaround, tell the unionfs-fuse authors if you see this!\n"); fprintf(dbgfile, "deprecated mknod workaround, tell the unionfs-fuse authors if you see this!\n"); fflush(stderr); fflush(stdout); } while (0); usyslog(6, "deprecated mknod workaround, tell the unionfs-fuse authors if you see this!\n"); } while (0);; | |
res = creat(p, 0); | |
if (res > 0 && close(res) == -1) do { do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 314); fprintf(dbgfile, "%s(): %d: ", __func__, 314); fprintf(stderr, "Warning, cannot close file\n"); fprintf(dbgfile, "Warning, cannot close file\n"); fflush(stderr); fflush(stdout); } while (0); usyslog(4, "Warning, cannot close file\n"); } while (0);; | |
} else { | |
res = mknod(p, file_type, rdev); | |
} | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 319); fprintf(dbgfile, "%s(): %d: ", __func__, 319); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
set_owner(p); | |
chmod(p, file_perm); | |
remove_hidden(path, i); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 327); fprintf(dbgfile, "%s(): %d: ", __func__, 327); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_open(const char *path, struct fuse_file_info *fi) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 331); fprintf(dbgfile, "%s(): %d: ", __func__, 331); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) { | |
if ((fi->flags & 3) == 00) { | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 337); fprintf(dbgfile, "%s(): %d: ", __func__, 337); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 339); fprintf(dbgfile, "%s(): %d: ", __func__, 339); fprintf(stderr, "return %d\n",-13); fprintf(dbgfile, "return %d\n",-13); fflush(stderr); fflush(stdout); } while (0); return -13; } while (0); | |
} | |
int i; | |
if (fi->flags & (01 | 02)) { | |
i = find_rw_branch_cutlast(path); | |
} else { | |
i = find_rorw_branch(path); | |
} | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 349); fprintf(dbgfile, "%s(): %d: ", __func__, 349); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 352, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 352); fprintf(dbgfile, "%s(): %d: ", __func__, 352); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int fd = open(p, fi->flags); | |
if (fd == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 355); fprintf(dbgfile, "%s(): %d: ", __func__, 355); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
if (fi->flags & (01 | 02)) { | |
remove_hidden(path, i); | |
} | |
fi->fh = (unsigned long)fd; | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 367); fprintf(dbgfile, "%s(): %d: ", __func__, 367); fprintf(stderr, "fd = %""l" "x""\n", fi->fh); fprintf(dbgfile, "fd = %""l" "x""\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 368); fprintf(dbgfile, "%s(): %d: ", __func__, 368); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 372); fprintf(dbgfile, "%s(): %d: ", __func__, 372); fprintf(stderr, "fd = %""l" "x""\n", fi->fh); fprintf(dbgfile, "fd = %""l" "x""\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) { | |
char out[2048] = ""; | |
stats_sprint(&stats, out); | |
off_t s = size; | |
if (offset < (off_t) strlen(out)) { | |
if (s > (off_t) strlen(out) - offset) s = strlen(out)-offset; | |
memcpy(buf, out+offset, s); | |
} else { | |
s = 0; | |
} | |
return s; | |
} | |
int res = pread(fi->fh, buf, size, offset); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 391); fprintf(dbgfile, "%s(): %d: ", __func__, 391); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
if (uopt.stats_enabled) stats_add_read(&stats, size); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 395); fprintf(dbgfile, "%s(): %d: ", __func__, 395); fprintf(stderr, "return %d\n",res); fprintf(dbgfile, "return %d\n",res); fflush(stderr); fflush(stdout); } while (0); return res; } while (0); | |
} | |
static int unionfs_readlink(const char *path, char *buf, size_t size) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 399); fprintf(dbgfile, "%s(): %d: ", __func__, 399); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rorw_branch(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 402); fprintf(dbgfile, "%s(): %d: ", __func__, 402); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 405, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 405); fprintf(dbgfile, "%s(): %d: ", __func__, 405); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = readlink(p, buf, size - 1); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 409); fprintf(dbgfile, "%s(): %d: ", __func__, 409); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
buf[res] = '\0'; | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 413); fprintf(dbgfile, "%s(): %d: ", __func__, 413); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_release(const char *path, struct fuse_file_info *fi) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 417); fprintf(dbgfile, "%s(): %d: ", __func__, 417); fprintf(stderr, "fd = %""l" "x""\n", fi->fh); fprintf(dbgfile, "fd = %""l" "x""\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 419); fprintf(dbgfile, "%s(): %d: ", __func__, 419); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
int res = close(fi->fh); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 422); fprintf(dbgfile, "%s(): %d: ", __func__, 422); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 424); fprintf(dbgfile, "%s(): %d: ", __func__, 424); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_rename(const char *from, const char *to) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 433); fprintf(dbgfile, "%s(): %d: ", __func__, 433); fprintf(stderr, "from %s to %s\n", from, to); fprintf(dbgfile, "from %s to %s\n", from, to); fflush(stderr); fflush(stdout); } while (0); | |
_Bool is_dir = 0; | |
int j = find_rw_branch_cutlast(to); | |
if (j == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 438); fprintf(dbgfile, "%s(): %d: ", __func__, 438); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
int i = find_rorw_branch(from); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 441); fprintf(dbgfile, "%s(): %d: ", __func__, 441); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
if (!uopt.branches[i].rw) { | |
i = find_rw_branch_cow(from); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 445); fprintf(dbgfile, "%s(): %d: ", __func__, 445); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
} | |
if (i != j) { | |
do { do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, | |
450 | |
# 449 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(dbgfile, "%s(): %d: ", __func__, | |
450 | |
# 449 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(stderr, "%s: from and to are on different writable branches %d vs %d, which" "is not supported yet.\n", __func__, i, j); fprintf(dbgfile, "%s: from and to are on different writable branches %d vs %d, which" "is not supported yet.\n", __func__, i, j); fflush(stderr); fflush(stdout); } while (0); usyslog(3, "%s: from and to are on different writable branches %d vs %d, which" "is not supported yet.\n", __func__, i, j); } while (0); | |
; | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 451); fprintf(dbgfile, "%s(): %d: ", __func__, 451); fprintf(stderr, "return %d\n",-18); fprintf(dbgfile, "return %d\n",-18); fflush(stderr); fflush(stdout); } while (0); return -18; } while (0); | |
} | |
char f[1024], t[1024]; | |
if (build_path(f, 1024, __func__, 455, uopt.branches[i].path, from, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 455); fprintf(dbgfile, "%s(): %d: ", __func__, 455); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
if (build_path(t, 1024, __func__, 456, uopt.branches[i].path, to, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 456); fprintf(dbgfile, "%s(): %d: ", __func__, 456); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
filetype_t ftype = path_is_dir(f); | |
if (ftype == NOT_EXISTING) | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 460); fprintf(dbgfile, "%s(): %d: ", __func__, 460); fprintf(stderr, "return %d\n",-2); fprintf(dbgfile, "return %d\n",-2); fflush(stderr); fflush(stdout); } while (0); return -2; } while (0); | |
else if (ftype == IS_DIR) | |
is_dir = 1; | |
int res; | |
if (!uopt.branches[i].rw) { | |
if (is_dir) | |
res = hide_dir(from, i); | |
else | |
res = hide_file(from, i); | |
if (res) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 472); fprintf(dbgfile, "%s(): %d: ", __func__, 472); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
} | |
res = rename(f, t); | |
if (res == -1) { | |
int err = (*__errno_location ()); | |
if (!uopt.branches[i].rw) { | |
if (unlink(f)) | |
do { do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, | |
483 | |
# 482 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(dbgfile, "%s(): %d: ", __func__, | |
483 | |
# 482 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(stderr, "%s: cow of %s succeeded, but rename() failed and now " "also unlink() failed\n", __func__, from); fprintf(dbgfile, "%s: cow of %s succeeded, but rename() failed and now " "also unlink() failed\n", __func__, from); fflush(stderr); fflush(stdout); } while (0); usyslog(3, "%s: cow of %s succeeded, but rename() failed and now " "also unlink() failed\n", __func__, from); } while (0); | |
; | |
if (remove_hidden(from, i)) | |
do { do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, | |
487 | |
# 486 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(dbgfile, "%s(): %d: ", __func__, | |
487 | |
# 486 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
); fprintf(stderr, "%s: cow of %s succeeded, but rename() failed and now " "also removing the whiteout failed\n", __func__, from); fprintf(dbgfile, "%s: cow of %s succeeded, but rename() failed and now " "also removing the whiteout failed\n", __func__, from); fflush(stderr); fflush(stdout); } while (0); usyslog(3, "%s: cow of %s succeeded, but rename() failed and now " "also removing the whiteout failed\n", __func__, from); } while (0); | |
; | |
} | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 489); fprintf(dbgfile, "%s(): %d: ", __func__, 489); fprintf(stderr, "return %d\n",-err); fprintf(dbgfile, "return %d\n",-err); fflush(stderr); fflush(stdout); } while (0); return -err; } while (0); | |
} | |
if (uopt.branches[i].rw) { | |
if (is_dir) | |
maybe_whiteout(from, i, WHITEOUT_DIR); | |
else | |
maybe_whiteout(from, i, WHITEOUT_FILE); | |
} | |
remove_hidden(to, i); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 503); fprintf(dbgfile, "%s(): %d: ", __func__, 503); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
# 513 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
static int statvfs_local(const char *path, struct statvfs *stbuf) { | |
struct statfs stfs; | |
int res = statfs(path, &stfs); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 522); fprintf(dbgfile, "%s(): %d: ", __func__, 522); fprintf(stderr, "return %d\n",res); fprintf(dbgfile, "return %d\n",res); fflush(stderr); fflush(stdout); } while (0); return res; } while (0); | |
memset(stbuf, 0, sizeof(*stbuf)); | |
stbuf->f_bsize = stfs.f_bsize; | |
if (stfs.f_frsize) | |
stbuf->f_frsize = stfs.f_frsize; | |
else | |
stbuf->f_frsize = stfs.f_bsize; | |
stbuf->f_blocks = stfs.f_blocks; | |
stbuf->f_bfree = stfs.f_bfree; | |
stbuf->f_bavail = stfs.f_bavail; | |
stbuf->f_files = stfs.f_files; | |
stbuf->f_ffree = stfs.f_ffree; | |
stbuf->f_favail = stfs.f_ffree; | |
stbuf->f_flag = 0; | |
stbuf->f_namemax = stfs.f_namelen; | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 545); fprintf(dbgfile, "%s(): %d: ", __func__, 545); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
# 558 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
static int unionfs_statfs(const char *path, struct statvfs *stbuf) { | |
(void)path; | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 561); fprintf(dbgfile, "%s(): %d: ", __func__, 561); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int first = 1; | |
dev_t devno[uopt.nbranches]; | |
int i = 0; | |
for (i = 0; i < uopt.nbranches; i++) { | |
struct statvfs stb; | |
int res = statvfs_local(uopt.branches[i].path, &stb); | |
if (res == -1) continue; | |
struct stat st; | |
res = stat(uopt.branches[i].path, &st); | |
if (res == -1) continue; | |
devno[i] = st.st_dev; | |
if (first) { | |
memcpy(stbuf, &stb, sizeof(*stbuf)); | |
first = 0; | |
stbuf->f_fsid = stb.f_fsid << 8; | |
continue; | |
} | |
int j = 0; | |
for (j = 0; j < i; j ++) { | |
if (st.st_dev == devno[j]) break; | |
} | |
if (j == i) { | |
double ratio = (double)stb.f_bsize / (double)stbuf->f_bsize; | |
if (uopt.branches[i].rw) { | |
stbuf->f_blocks += stb.f_blocks * ratio; | |
stbuf->f_bfree += stb.f_bfree * ratio; | |
stbuf->f_bavail += stb.f_bavail * ratio; | |
stbuf->f_files += stb.f_files; | |
stbuf->f_ffree += stb.f_ffree; | |
stbuf->f_favail += stb.f_favail; | |
} else if (!uopt.statfs_omit_ro) { | |
stbuf->f_blocks += stb.f_blocks * ratio; | |
stbuf->f_files += stb.f_files; | |
} | |
if (!(stb.f_flag & ST_RDONLY)) stbuf->f_flag &= ~ST_RDONLY; | |
if (!(stb.f_flag & ST_NOSUID)) stbuf->f_flag &= ~ST_NOSUID; | |
if (stb.f_namemax < stbuf->f_namemax) stbuf->f_namemax = stb.f_namemax; | |
} | |
} | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 618); fprintf(dbgfile, "%s(): %d: ", __func__, 618); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_symlink(const char *from, const char *to) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 622); fprintf(dbgfile, "%s(): %d: ", __func__, 622); fprintf(stderr, "from %s to %s\n", from, to); fprintf(dbgfile, "from %s to %s\n", from, to); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cutlast(to); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 625); fprintf(dbgfile, "%s(): %d: ", __func__, 625); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char t[1024]; | |
if (build_path(t, 1024, __func__, 628, uopt.branches[i].path, to, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 628); fprintf(dbgfile, "%s(): %d: ", __func__, 628); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = symlink(from, t); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 631); fprintf(dbgfile, "%s(): %d: ", __func__, 631); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
set_owner(t); | |
remove_hidden(to, i); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 636); fprintf(dbgfile, "%s(): %d: ", __func__, 636); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_truncate(const char *path, off_t size) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 640); fprintf(dbgfile, "%s(): %d: ", __func__, 640); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
int i = find_rw_branch_cow(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 643); fprintf(dbgfile, "%s(): %d: ", __func__, 643); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 646, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 646); fprintf(dbgfile, "%s(): %d: ", __func__, 646); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = truncate(p, size); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 650); fprintf(dbgfile, "%s(): %d: ", __func__, 650); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 652); fprintf(dbgfile, "%s(): %d: ", __func__, 652); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_utimens(const char *path, const struct timespec ts[2]) { | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 656); fprintf(dbgfile, "%s(): %d: ", __func__, 656); fprintf(stderr, "%s\n", path); fprintf(dbgfile, "%s\n", path); fflush(stderr); fflush(stdout); } while (0); | |
if (uopt.stats_enabled && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (path) && __builtin_constant_p ("/stats") && (__s1_len = strlen (path), __s2_len = strlen ("/stats"), (!((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) || __s2_len >= 4)) ? __builtin_strcmp (path, "/stats") : (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) && (__s1_len = strlen (path), __s1_len < 4) ? (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ("/stats"); register int __result = (((const unsigned char *) (const char *) (path))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[1] - | |
__s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) (const char *) (path))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) (path))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("/stats") && ((size_t)(const void *)(("/stats") + 1) - (size_t)(const void *)("/stats") == 1) && (__s2_len = strlen ("/stats"), __s2_len < 4) ? (__builtin_constant_p (path) && ((size_t)(const void *)((path) + 1) - (size_t)(const void *)(path) == 1) ? __builtin_strcmp (path, "/stats") : (__extension__ ({ const unsigned char *__s1 = (const unsigned char *) (const char *) (path); register int __result = __s1[0] - ((const unsigned char *) (const char *) ("/stats"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((const unsigned char *) (const char *) ("/stats"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((const unsigned char *) (const char *) ("/stats"))[2]); if (__s2_len > 2 && __result == 0) __result = | |
(__s1[3] - ((const unsigned char *) (const char *) ("/stats"))[3]); } } __result; }))) : __builtin_strcmp (path, "/stats")))); }) == 0) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 658); fprintf(dbgfile, "%s(): %d: ", __func__, 658); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
int i = find_rw_branch_cow(path); | |
if (i == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 661); fprintf(dbgfile, "%s(): %d: ", __func__, 661); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
char p[1024]; | |
if (build_path(p, 1024, __func__, 664, uopt.branches[i].path, path, ((void *)0))) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 664); fprintf(dbgfile, "%s(): %d: ", __func__, 664); fprintf(stderr, "return %d\n",-36); fprintf(dbgfile, "return %d\n",-36); fflush(stderr); fflush(stdout); } while (0); return -36; } while (0); | |
int res = utimensat(0, p, ts, 0x100); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 668); fprintf(dbgfile, "%s(): %d: ", __func__, 668); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 670); fprintf(dbgfile, "%s(): %d: ", __func__, 670); fprintf(stderr, "return %d\n",0); fprintf(dbgfile, "return %d\n",0); fflush(stderr); fflush(stdout); } while (0); return 0; } while (0); | |
} | |
static int unionfs_write(const char *path, const char *buf, size_t size, off_t offset, struct fuse_file_info *fi) { | |
(void)path; | |
do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 676); fprintf(dbgfile, "%s(): %d: ", __func__, 676); fprintf(stderr, "fd = %""l" "x""\n", fi->fh); fprintf(dbgfile, "fd = %""l" "x""\n", fi->fh); fflush(stderr); fflush(stdout); } while (0); | |
int res = pwrite(fi->fh, buf, size, offset); | |
if (res == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 679); fprintf(dbgfile, "%s(): %d: ", __func__, 679); fprintf(stderr, "return %d\n",-(*__errno_location ())); fprintf(dbgfile, "return %d\n",-(*__errno_location ())); fflush(stderr); fflush(stdout); } while (0); return -(*__errno_location ()); } while (0); | |
if (uopt.stats_enabled) stats_add_written(&stats, size); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 683); fprintf(dbgfile, "%s(): %d: ", __func__, 683); fprintf(stderr, "return %d\n",res); fprintf(dbgfile, "return %d\n",res); fflush(stderr); fflush(stdout); } while (0); return res; } while (0); | |
} | |
# 752 "/tmp/nix-build-unionfs-fuse-0.26.drv-4/unionfs-fuse-0.26/src/unionfs.c" | |
static struct fuse_operations unionfs_oper = { | |
.chmod = unionfs_chmod, | |
.chown = unionfs_chown, | |
.create = unionfs_create, | |
.flush = unionfs_flush, | |
.fsync = unionfs_fsync, | |
.getattr = unionfs_getattr, | |
.init = unionfs_init, | |
.link = unionfs_link, | |
.mkdir = unionfs_mkdir, | |
.mknod = unionfs_mknod, | |
.open = unionfs_open, | |
.read = unionfs_read, | |
.readlink = unionfs_readlink, | |
.readdir = unionfs_readdir, | |
.release = unionfs_release, | |
.rename = unionfs_rename, | |
.rmdir = unionfs_rmdir, | |
.statfs = unionfs_statfs, | |
.symlink = unionfs_symlink, | |
.truncate = unionfs_truncate, | |
.unlink = unionfs_unlink, | |
.utimens = unionfs_utimens, | |
.write = unionfs_write, | |
}; | |
int main(int argc, char *argv[]) { | |
struct fuse_args args = { argc, argv, 0 }; | |
init_syslog(); | |
uopt_init(); | |
if (fuse_opt_parse(&args, ((void *)0), unionfs_opts, unionfs_opt_proc) == -1) do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 790); fprintf(dbgfile, "%s(): %d: ", __func__, 790); fprintf(stderr, "return %d\n",1); fprintf(dbgfile, "return %d\n",1); fflush(stderr); fflush(stdout); } while (0); return 1; } while (0); | |
if (uopt.debug) debug_init(); | |
if (!uopt.doexit) { | |
if (uopt.nbranches == 0) { | |
printf("You need to specify at least one branch!\n"); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 797); fprintf(dbgfile, "%s(): %d: ", __func__, 797); fprintf(stderr, "return %d\n",1); fprintf(dbgfile, "return %d\n",1); fflush(stderr); fflush(stdout); } while (0); return 1; } while (0); | |
} | |
if (uopt.stats_enabled) stats_init(&stats); | |
} | |
int uid = getuid(); | |
int gid = getgid(); | |
_Bool default_permissions = 1; | |
if (uid != 0 && gid != 0 && uopt.relaxed_permissions) { | |
default_permissions = 0; | |
} else if (uopt.relaxed_permissions) { | |
fprintf(stderr, "Relaxed permissions disallowed for root!\n"); | |
exit(1); | |
} | |
if (default_permissions) { | |
if (fuse_opt_add_arg(&args, "-odefault_permissions")) { | |
fprintf(stderr, "Severe failure, can't enable permssion checks, aborting!\n"); | |
exit(1); | |
} | |
} | |
unionfs_post_opts(); | |
if (fuse_opt_add_arg(&args, "-obig_writes")) { | |
fprintf(stderr, "Failed to enable big writes!\n"); | |
exit(1); | |
} | |
umask(0); | |
int res = fuse_main_real(args.argc, args.argv, &unionfs_oper, sizeof(*(&unionfs_oper)), ((void *)0)); | |
do { if (uopt.debug) do { if (!uopt.debug) break; fprintf(stderr, "%s(): %d: ", __func__, 836); fprintf(dbgfile, "%s(): %d: ", __func__, 836); fprintf(stderr, "return %d\n",uopt.doexit ? uopt.retval : res); fprintf(dbgfile, "return %d\n",uopt.doexit ? uopt.retval : res); fflush(stderr); fflush(stdout); } while (0); return uopt.doexit ? uopt.retval : res; } while (0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment