1
0
Fork 0
android_kernel_rockchip_tart/fs/nfsd/auth.h
2025-06-27 00:32:42 -05:00

17 lines
385 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* nfsd-specific authentication stuff.
*
* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
*/
#ifndef LINUX_NFSD_AUTH_H
#define LINUX_NFSD_AUTH_H
/*
* Set the current process's fsuid/fsgid etc to those of the NFS
* client user
*/
int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp);
#endif /* LINUX_NFSD_AUTH_H */