[PATCH] cifs-utils: add documentation for upcall_target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ritvik Budhiraja <rbudhiraja@xxxxxxxxxxxxx>

Update man page with documentation for upcal_target
mount parameter.

Signed-off-by: Ritvik Budhiraja <rbudhiraja@xxxxxxxxxxxxx>
---
 mount.cifs.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/mount.cifs.rst b/mount.cifs.rst
index 67c5138..631482d 100644
--- a/mount.cifs.rst
+++ b/mount.cifs.rst
@@ -636,6 +636,21 @@ acdirmax=arg
   If this option is not specified, then acdirmax value will be set to
``actimeo``
   value, see ``actimeo`` for more details.

+upcall_target=arg
+  Determines the namespace in which upcalls from the SMB filesystem
should be handled.
+  Allowed values are:
+  - ``mount`` - Resolve upcalls to the host namespace.
+  - ``app`` - Resolve upcalls in the namespace of the calling thread
(application).
+  Default value is ``app``.
+  This option is useful in environments like Kubernetes, where the mount
+  may be performed by a driver pod on behalf of an application running
+  in a separate container. It ensures that Kerberos credentials and other
+  user-specific data are accessed in the correct namespace.
+  By specifying ``app``, upcalls can be resolved in the application's
namespace,
+  ensuring the correct credentials are used. ``mount`` allows resolution in the
+  host namespace, which may be necessary when credentials or configurations
+  are managed outside the container.
+
 multichannel
   This option enables multichannel feature. Multichannel is an SMB3 protocol
   feature that allows client to establish multiple transport connections to an
--
2.43.0




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux