rhynec
f6a3b0147d
Fix PS3 Build - Include nfs4 files in compilation.
...
Compilation failed due to changes introduced in cdb377532a
. This is a test patch to see if compilation succeeds with this minor change.
2021-10-02 12:32:42 -05:00
Ronnie Sahlberg
f965ec74cf
ps2ee: PS2 EE support
...
Initial support for building a library for PS2 EmotionEngine
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-09-17 07:27:44 +10:00
Ronnie Sahlberg
f88cca547d
nfsv4: fix inode in readdir and nulltermination of readlink
...
Reported-by: Hemambara Kurma <hemambara.kurma@rubrik.com>
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-09-08 10:27:57 +10:00
Ronnie Sahlberg
fca28fe112
url: add support for using escaped characters in the url.
...
We need to allow users to specify escaped characters as part of the 'path'
field of a URL.
For example, '?' is used to separate the part and the optional list of
arguments.
IF 'path' contains a '?' character then that must be escaped as %3F.
So that libnfs will be able to tell it apart from the '?' separator.
I.e.
nfs://127.0.0.1/my?path/?version=4
must be escaped as
nfs://127.0.0.1/my%3Fpath/?version=4
before passed to any of the URL parsing functions.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-09-01 08:17:23 +10:00
Ronnie Sahlberg
820dc73e32
nfsv3: fix crash when performing very large reads
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-08-11 06:12:06 +10:00
Ronnie Sahlberg
965b1914ef
Allow setting max read/write size from the api
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-08-10 16:29:42 +10:00
Ronnie Sahlberg
af90dbfbcf
nfs4: update the makefile to do the c++ tweaks automatically
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-20 19:07:36 +10:00
Ronnie Sahlberg
d1494d41de
nfs4: tweak the raw headerfile for c++
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-20 18:16:41 +10:00
Ronnie Sahlberg
752cb4134d
url: add support for server:port syntax in the url
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-18 07:46:09 +10:00
Ronnie Sahlberg
cdb377532a
acl: add support and helpers to read nfsv4 acls
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-17 20:11:56 +10:00
Ronnie Sahlberg
1cdc8657de
nfs-io: stat, print sStT bits properly
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-17 20:11:46 +10:00
Ronnie Sahlberg
be437aa102
utils: add a nfs-stat utility
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-17 20:11:37 +10:00
Ronnie Sahlberg
a7c6637980
Merge pull request #336 from Daniel-Abrecht/master
...
Define u_int in libnfs-zdr.h for mingw again
2020-11-28 06:58:55 +10:00
Daniel Abrecht
4ae2f12b74
Define u_int in libnfs-zdr.h for mingw again
...
The typedef for u_int was removed in 172f46756e
,
assuming that sys/types.h defines it. This doesn't seam to be the case on mingw.
2020-11-27 20:43:43 +01:00
Ronnie Sahlberg
9a10e17800
Merge pull request #330 from bucanero/master
...
sys/time.h include clean-up (PS3 PPU)
2020-08-18 11:38:20 +10:00
Damian
901d4a0040
sys/time.h include clean-up (PS3 PPU)
2020-08-17 21:14:30 -03:00
Ronnie Sahlberg
bbb9c337b5
Merge pull request #329 from bucanero/master
...
Rename to avoid linking issues
2020-08-18 07:22:14 +10:00
Damian Parrino
5f74b69624
Rename to avoid linking issues
2020-08-17 11:15:07 -03:00
Ronnie Sahlberg
da61d648e6
Merge pull request #328 from bucanero/master
...
PlayStation 3 port
2020-08-16 04:02:18 +10:00
Damian
0df1d4beac
include clean-up
2020-08-15 11:35:55 -03:00
Damián Parrino
ef0056cd13
Update README
2020-08-15 11:31:11 -03:00
Damian
1bafddb264
Include clean-up
2020-08-15 11:28:04 -03:00
Damian
c14a5acb51
Porting to PS3
2020-08-14 19:30:00 -03:00
Damian
c7ad0762d8
Porting library to PS3 (psl1ght)
2020-08-14 11:47:39 -03:00
Ronnie Sahlberg
ef0ca03565
Merge pull request #326 from asomers/u_int
...
Don't define u_int
2020-08-01 07:19:41 +10:00
Ronnie Sahlberg
8cf8c620f3
Merge pull request #325 from asomers/gitignore
...
Remove .c and .h from .gitignore
2020-08-01 07:18:09 +10:00
Alan Somers
172f46756e
Don't define u_int
...
It's usually defined by the platform in types.h or sys/types.h.
The compiler complains if libnfs redefines it.
2020-07-26 15:13:13 -06:00
Alan Somers
2b3e8f450b
Remove .c and .h from .gitignore
...
I think these were accidentally included in revision
6c437065d3
2020-07-26 15:12:42 -06:00
Ronnie Sahlberg
cf47ea7e6a
Merge pull request #324 from adamyi/master
...
Fix seekdir
2020-06-23 08:35:35 +10:00
Adam Yi
dfa85d4c36
Fix seekdir
...
The previous implementation doesn't actually update dir->current but
resets dir->current to dir->entries
2020-06-23 02:11:33 +10:00
Ronnie Sahlberg
17f882fbdb
tests: disable test 0101
...
Modern versions of portmapper/mount daemon no longer respond to
broadcast rpc so nfs server discovery no longer works.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-09 13:44:49 +10:00
Ronnie Sahlberg
c5d022b638
nfsv4.1 Add SECINFO[_NO_NAME] operations
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:42:16 +10:00
Ronnie Sahlberg
da2a3dd9d3
nfsv4.1 Add RECLAIM_COMPLETE operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:29:17 +10:00
Ronnie Sahlberg
ff73bb6cc3
nfsv4.1 Add DESTROY_CLIENTID operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:26:42 +10:00
Ronnie Sahlberg
de3d1e5f3f
nfsv4.1 Add WANT_DELEGATION operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:24:09 +10:00
Ronnie Sahlberg
d690031049
nfsv4.1 Add TEST_STATEID operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:18:26 +10:00
Ronnie Sahlberg
523df1eee4
nfsv4.1 Add SET_SSV operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:16:01 +10:00
Ronnie Sahlberg
52f905291c
nfsv4.1 Add SEQUENCE operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:12:19 +10:00
Ronnie Sahlberg
a45799ca50
nfsv4.1 Add LAYOUTRETURN operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:07:14 +10:00
Ronnie Sahlberg
61d235ae44
nfsv4.1 Add LAYOUTGET operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 14:03:11 +10:00
Ronnie Sahlberg
f7b6bef8ef
nfsv4.1 Add LAYOUTCOMMIT operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 13:49:33 +10:00
Ronnie Sahlberg
af97775bfc
nfsv4.1: Add GETDEVICELIST operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 13:43:39 +10:00
Ronnie Sahlberg
0b4c428ed3
nfsv4.1: Add GETDEVICEINFO operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 13:41:01 +10:00
Ronnie Sahlberg
b994dd08a3
nfsv4.1 Add GET_DIR_DELEGATION operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 13:20:00 +10:00
Ronnie Sahlberg
a18aff5e7a
nfsv4.1 Add FREE_STATEID operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 13:14:21 +10:00
Ronnie Sahlberg
0971e9531f
nfsv4.1 Add DESTROY_CONTEXT operation
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 12:45:23 +10:00
Ronnie Sahlberg
03a47809cb
nfs4.1: add marshalling of CREATE_SESSION command
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 12:34:22 +10:00
Ronnie Sahlberg
be084815fa
Update nfsv4 makefile to match new size of dot-x header boilerplate
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-08 12:29:02 +10:00
Ronnie Sahlberg
edce6654a3
fix return value for mount_getexports
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2020-06-05 06:58:42 +10:00
Ronnie Sahlberg
4f1925c280
Merge pull request #323 from peak3d/timeout
...
Implement mount_getexports_timeout
2020-06-05 06:56:57 +10:00