From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:15:07 +0000 Subject: [PATCH] change system file --- kernel/include/linux/lockd/bind.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/lockd/bind.h b/kernel/include/linux/lockd/bind.h index 053a4ef..0520c0c 100644 --- a/kernel/include/linux/lockd/bind.h +++ b/kernel/include/linux/lockd/bind.h @@ -46,6 +46,7 @@ int noresvport; struct net *net; const struct nlmclnt_operations *nlmclnt_ops; + const struct cred *cred; }; /* @@ -75,7 +76,7 @@ }; extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data); -extern int lockd_up(struct net *net); +extern int lockd_up(struct net *net, const struct cred *cred); extern void lockd_down(struct net *net); #endif /* LINUX_LOCKD_BIND_H */ -- Gitblit v1.6.2