Pavel Roskin
6664aac00f
Use "void" for empty argument list in declarations
...
In C, an empty argument list in a declaration means that the function
can accept any arguments. Use "void" instead, it means "no arguments".
C++ treats void and empty list as "no arguments".
8 years ago
Pavel Roskin
e46d15ca84
Fix C++ errors and warnings in FUSE code
8 years ago
Pavel Roskin
2ab321a7c6
Use fuse_ino_t for FUSE inodes, not tui32 or int
8 years ago
Pavel Roskin
f622a17c75
Remove write-only FileId variable
8 years ago
Pavel Roskin
46f4025372
Cast pointer to uint64_t through tintptr to avoid warnings
...
Cast to long would damage a pointer on Win64.
8 years ago
Pavel Roskin
e92c4f3b40
Use constant strings to fix warnings
8 years ago
Pavel Roskin
a4e3952d65
Disable or remove dead code to prevent it from throwing warnings
8 years ago
Pavel Roskin
a547cc3784
Include needed files in chansrv_fuse.c, remove duplicate declarations
8 years ago
Pavel Roskin
bf39fed6e4
Fix misuse of NULL for arithmetic type
8 years ago
Pavel Roskin
4234ed278e
Use FUSE_CFLAGS and FUSE_LIBS from pkg-config
...
Include <fuse_lowlevel.h>, not <fuse/fuse_lowlevel.h>, the include path
should be set up for that.
Don't define _FILE_OFFSET_BITS in one file, FUSE_CFLAGS would enable it
for the whole xrdp-chansrv build if needed.
8 years ago
Pavel Roskin
7fce469cbc
Fix format warnings if FUSE is enabled
8 years ago
Pavel Roskin
92423a466e
Fix potential buffer overflow in strncat() invocation
...
strncat() will copy at most the specified number of characters and append
the null character on top of that. strlen() doesn't count the final null
character.
8 years ago
jsorg71
8353baab3d
Merge pull request #390 from proski/june21
...
Cleanups and C++ compatibility
8 years ago
Kentaro Hayashi
8f3fb2f7c8
chansrv: avoid chansrv SEGV when xinode is NULL
...
When xfuse_create_file_in_xrdp_fs is failed, it returns NULL.
Without this fix, xinode->size causes SEGV, so implementation is changed
to return -1 and check the return value in caller.
9 years ago
Pavel Roskin
d1efb0d5ba
Fix signed to unsigned comparisons reported by g++ 6.1.0
9 years ago
Pavel Roskin
0629b25d5f
Fix warnings about unused variables and functions
9 years ago
Pavel Roskin
92a6833e9b
Fix typos
9 years ago
Jay Sorg
ded462ab8e
chansrv: fix some warnings
9 years ago
Jay Sorg
8261459707
chansrv: fix a crash in fuse
9 years ago
Koichiro IWAO
53ea01d51e
fuse: use EIO instead of EREMOTEIO for BSDs
...
FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
10 years ago
Koichiro IWAO
647c72b75b
chansrv: explicit include in chansrv_fuse.c
...
chansrv_fuse.c includes chansrv_fuse.h even if XRDP_FUSE is not
defined. However, time_t is used in chansrv_fuse.h. This causes
build failure on FreeBSD.
10 years ago
Laxmikant Rashinkar
a9d7c13147
coverity: read from pointer after free
11 years ago
Laxmikant Rashinkar
0311a82c0a
coverity: copy into fixed sized buffer
11 years ago
Laxmikant Rashinkar
1c423dadf4
coverity: copy into fixed sized buffer
11 years ago
Laxmikant Rashinkar
0c63a8feb3
coverity: Dereference after null check
11 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
11 years ago
Jay Sorg
03a5914609
chansrv: make fuse mount directory configurable
...
Conflicts:
sesman/sesman.ini
11 years ago
Laxmikant Rashinkar
379685bfca
FUSE: we now process only one opendir command at a time
11 years ago
Laxmikant Rashinkar
6381941c78
FUSE: changed architecture to use opendir/readdir instead of just readdir
12 years ago
Laxmikant Rashinkar
23433c9c7e
fuse: added support for detecting files/directories deleted locally
12 years ago
Jay Sorg
29420b3134
chansrv: no logic change, work on warning
12 years ago
Laxmikant Rashinkar
6ad1d7f78d
folder redirection: fixed language issues
12 years ago
Laxmikant Rashinkar
2029867510
folder redirection: made changes to read/write routines to avoid race conditions
12 years ago
Laxmikant Rashinkar
652bacf07f
file system redirection:
...
o vi now works with freerdp and rdesktop
12 years ago
Laxmikant Rashinkar
0f15c482e1
file system redirection:
...
o vi now works when connected via freerdp but does not fully work with rdesktop
12 years ago
Laxmikant Rashinkar
315ef8ad71
file system redirection:
...
o touch <file> was not working - fixed
o echo "this is a string" > filename was not working - fixed
o echo "this is a string" >> filename was not working - fixed
o vi was not working - working now but swap files are not
being deleted automatically - work in progress
12 years ago
Laxmikant Rashinkar
89b7cd269e
smartcard: developer checkin for smartcard support
12 years ago
Laxmikant Rashinkar
ca61050b74
file system redirection: resolved merge conflicts
12 years ago
Laxmikant Rashinkar
771e2248b2
file system redirection: made changes to support rdesktop
12 years ago
Jay Sorg
e4b19abd1d
chanarv: x prefix for stream functions to avoid name collision
12 years ago
Laxmikant Rashinkar
58158e6a3b
hooked up clipboard code with FUSE
12 years ago
Laxmikant Rashinkar
97c483c8b3
swapped cb_lookup and cb_readdir
12 years ago
Laxmikant Rashinkar
f021640369
folder redirection: we can now detect devices plugged in after a session has started
12 years ago
Laxmikant Rashinkar
debdb031f1
o in file system redirection, added support for renaming files and directories
12 years ago
Laxmikant Rashinkar
561b263b91
o added some dummy functions to stop build from breaking
...
when --enable-fuse is not specified
12 years ago
Laxmikant Rashinkar
5d7ffc1431
Merge branch 'master' of github.com:FreeRDP/xrdp
12 years ago
Laxmikant Rashinkar
5acc54cd1d
o added support for deleteing files and directories
12 years ago
Jay Sorg
05de2e592a
chansrv: fix for building without fuse
12 years ago
Laxmikant Rashinkar
78d4e19258
o early checkin for drive redirection
...
o basic drive redirection is working
o functions currently supported: open:
read, write, create, get/set attribute
o requires latest NeutrinoRDP to work
o note: clipboard is broken because of the move from
linked lists to inodes in the FUSE code
12 years ago
Jay Sorg
0e111e64de
chansrv: ignore directory clipboard copies for now and clean up logging
12 years ago