)]}'
{
  "commit": "db363b0a1d9e6b9dc556296f1b1007aeb496a8cf",
  "tree": "6b5079359537034d238d9520c1ab187f01fe743f",
  "parents": [
    "7a2158b73c36903e8822dae5442c27d6d0e1014b"
  ],
  "author": {
    "name": "Ritvik Budhiraja",
    "email": "rbudhiraja@microsoft.com",
    "time": "Mon Nov 11 11:43:51 2024 +0000"
  },
  "committer": {
    "name": "Steve French",
    "email": "stfrench@microsoft.com",
    "time": "Thu Nov 21 10:44:03 2024 -0600"
  },
  "message": "CIFS: New mount option for cifs.upcall namespace resolution\n\nIn the current implementation, the SMB filesystem on a mount point can\ntrigger upcalls from the kernel to the userspace to enable certain\nfunctionalities like spnego, dns_resolution, amongst others. These upcalls\nusually either happen in the context of the mount or in the context of an\napplication/user. The upcall handler for cifs, cifs.upcall already has\nexisting code which switches the namespaces to the caller\u0027s namespace\nbefore handling the upcall. This behaviour is expected for scenarios like\nmultiuser mounts, but might not cover all single user scenario with\nservices such as Kubernetes, where the mount can happen from different\nlocations such as on the host, from an app container, or a driver pod\nwhich does the mount on behalf of a different pod.\n\nThis patch introduces a new mount option called upcall_target, to\ncustomise the upcall behaviour. upcall_target can take \u0027mount\u0027 and \u0027app\u0027\nas possible values. This aids use cases like Kubernetes where the mount\nhappens on behalf of the application in another container altogether.\nHaving this new mount option allows the mount command to specify where the\nupcall should happen: \u0027mount\u0027 for resolving the upcall to the host\nnamespace, and \u0027app\u0027 for resolving the upcall to the ns of the calling\nthread. This will enable both the scenarios where the Kerberos credentials\ncan be found on the application namespace or the host namespace to which\njust the mount operation is \"delegated\".\n\nReviewed-by: Shyam Prasad \u003cshyam.prasad@microsoft.com\u003e\nReviewed-by: Bharath S M \u003cbharathsm@microsoft.com\u003e\nReviewed-by: Ronnie Sahlberg \u003cronniesahlberg@gmail.com\u003e\nSigned-off-by: Ritvik Budhiraja \u003crbudhiraja@microsoft.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "af7849e5974ff36619405a12e667e7543bb3926f",
      "old_mode": 33188,
      "old_path": "fs/smb/client/cifs_spnego.c",
      "new_id": "28f568b5fc2771b7a11d0e83d0ac1cb9baf20636",
      "new_mode": 33188,
      "new_path": "fs/smb/client/cifs_spnego.c"
    },
    {
      "type": "modify",
      "old_id": "20cafdff5081068dfbc2cddf4e51588d453d10c2",
      "old_mode": 33188,
      "old_path": "fs/smb/client/cifsfs.c",
      "new_id": "97985347102792a987b419300c90d710ca93ad1d",
      "new_mode": 33188,
      "new_path": "fs/smb/client/cifsfs.c"
    },
    {
      "type": "modify",
      "old_id": "5041b1ffc244b0ecb0e9d05268ff0a678070c815",
      "old_mode": 33188,
      "old_path": "fs/smb/client/cifsglob.h",
      "new_id": "63d194ebbd7d9b7edfa8b74fc2b15b3afa2655c7",
      "new_mode": 33188,
      "new_path": "fs/smb/client/cifsglob.h"
    },
    {
      "type": "modify",
      "old_id": "0ce2d704b1f3f8848155c4a2a75078294bd35d82",
      "old_mode": 33188,
      "old_path": "fs/smb/client/connect.c",
      "new_id": "0a97228c06b1e77246f2723a3c327fef7cb98ea8",
      "new_mode": 33188,
      "new_path": "fs/smb/client/connect.c"
    },
    {
      "type": "modify",
      "old_id": "5c5a52019efada1c09997be00d8fe32d6364eb12",
      "old_mode": 33188,
      "old_path": "fs/smb/client/fs_context.c",
      "new_id": "c87879e4739b1a48653cb61ec8ea5565f21cec0e",
      "new_mode": 33188,
      "new_path": "fs/smb/client/fs_context.c"
    },
    {
      "type": "modify",
      "old_id": "890d6d9d4a592f754fae6c75d74accdac442096d",
      "old_mode": 33188,
      "old_path": "fs/smb/client/fs_context.h",
      "new_id": "67b7fc48ac583c2b04dbac4d81373af4080004bd",
      "new_mode": 33188,
      "new_path": "fs/smb/client/fs_context.h"
    }
  ]
}
