Source-Changes-HG archive

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

[src/elad-kernelauth]: src/sys/nfs oops. fix function names... pointed out by...



details:   https://anonhg.NetBSD.org/src/rev/8d9c8570e3d3
branches:  elad-kernelauth
changeset: 589077:8d9c8570e3d3
user:      elad <elad%NetBSD.org@localhost>
date:      Fri Mar 31 01:18:16 2006 +0000

description:
oops. fix function names... pointed out by yamt@, thanks!

diffstat:

 sys/nfs/nfs_socket.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r b22113c841b8 -r 8d9c8570e3d3 sys/nfs/nfs_socket.c
--- a/sys/nfs/nfs_socket.c      Fri Mar 31 00:27:48 2006 +0000
+++ b/sys/nfs/nfs_socket.c      Fri Mar 31 01:18:16 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_socket.c,v 1.126.4.6 2006/03/31 00:27:48 elad Exp $        */
+/*     $NetBSD: nfs_socket.c,v 1.126.4.7 2006/03/31 01:18:16 elad Exp $        */
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1995
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.126.4.6 2006/03/31 00:27:48 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.126.4.7 2006/03/31 01:18:16 elad Exp $");
 
 #include "fs_nfs.h"
 #include "opt_nfs.h"
@@ -1067,12 +1067,12 @@
                        }
                        if (use_opencred)
                                break;
+                       kauth_cred_setuid(acred, uid);
                        kauth_cred_seteuid(acred, uid);
-                       kauth_cred_seteeuid(acred, uid);
-                       kauth_cred_setesvuid(acred, uid);
+                       kauth_cred_setsvuid(acred, uid);
+                       kauth_cred_setgid(acred, gid);
                        kauth_cred_setegid(acred, gid);
-                       kauth_cred_seteegid(acred, gid);
-                       kauth_cred_setesvgid(acred, gid);
+                       kauth_cred_setsvgid(acred, gid);
                        cred = acred;
                        break;
                default:



Home | Main Index | Thread Index | Old Index