-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libshare cleanup, NFS path escaping #13165
Commits on May 10, 2022
-
freebsd: libshare/nfs: constify static const data
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for f994f9c - Browse repository at this point
Copy the full SHA f994f9cView commit details -
freebsd: libshare/nfs: write directly in translate_opts()
This renders it thread-safe Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for ea7be3a - Browse repository at this point
Copy the full SHA ea7be3aView commit details -
libshare/nfs: destaticify nfs_lock_fd
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for cd85882 - Browse repository at this point
Copy the full SHA cd85882View commit details -
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for f1fc801 - Browse repository at this point
Copy the full SHA f1fc801View commit details -
libshare: interface: {=> const} char *
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 6527040 - Browse repository at this point
Copy the full SHA 6527040View commit details -
libshare: use AVL tree with static data, pass all data in arguments
This makes it so we don't leak a consistent 64 bytes anymore, makes the searches simpler and faster, removes /all allocations/ from the driver (quite trivially, since they were absolutely needless), and makes libshare thread-safe (except, maybe, linux/smb, but that only does pointer-width loads/stores so it's also mostly fine, except for leaking smb_shares) Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for f227363 - Browse repository at this point
Copy the full SHA f227363View commit details -
libshare: delineate obsolete errors
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for f3d1f29 - Browse repository at this point
Copy the full SHA f3d1f29View commit details -
Publish libshare protocols, use enum-based API
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 522be28 - Browse repository at this point
Copy the full SHA 522be28View commit details -
Replace libzfs sharing _nfs() and _smb() APIs with protocol lists
With the additional benefit of removing all the _all() functions and treating a NULL list as "all" ‒ the remaining all function is for all /datasets/, which is consistent with the rest of the API Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 7fd7e44 - Browse repository at this point
Copy the full SHA 7fd7e44View commit details -
libzfs: mount: zfs_unshare: don't reallocate mountpoint
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for aba67e3 - Browse repository at this point
Copy the full SHA aba67e3View commit details -
linux: libshare/nfs: bsearch() over valid keys
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 8ed80bb - Browse repository at this point
Copy the full SHA 8ed80bbView commit details -
libshare/nfs: escape mount points when needed
Closes openzfs#13153 Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 7a2620b - Browse repository at this point
Copy the full SHA 7a2620bView commit details -
tests: add zfs_unshare_008_pos checking whitespace escaping
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for fc444b9 - Browse repository at this point
Copy the full SHA fc444b9View commit details -
libzfs: zfs_unshare: minor cleanup
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 96883d1 - Browse repository at this point
Copy the full SHA 96883d1View commit details -
linux: libshare/smb: cache smb_available
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Configuration menu - View commit details
-
Copy full SHA for 2eab875 - Browse repository at this point
Copy the full SHA 2eab875View commit details -
linux: libshare/nfs: don't do anything unless exportfs is available
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#13324
Configuration menu - View commit details
-
Copy full SHA for 4363ce4 - Browse repository at this point
Copy the full SHA 4363ce4View commit details