hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/lockd/bind.h
....@@ -46,6 +46,7 @@
4646 int noresvport;
4747 struct net *net;
4848 const struct nlmclnt_operations *nlmclnt_ops;
49
+ const struct cred *cred;
4950 };
5051
5152 /*
....@@ -75,7 +76,7 @@
7576 };
7677
7778 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
78
-extern int lockd_up(struct net *net);
79
+extern int lockd_up(struct net *net, const struct cred *cred);
7980 extern void lockd_down(struct net *net);
8081
8182 #endif /* LINUX_LOCKD_BIND_H */