summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/cred.h
diff options
context:
space:
mode:
authorThomas Haynes <Thomas.Haynes@Sun.COM>2009-03-24 00:52:12 -0500
committerThomas Haynes <Thomas.Haynes@Sun.COM>2009-03-24 00:52:12 -0500
commit546a399722fe82dc300c308a8fb86a11d2ca3ba3 (patch)
tree6354898ab7461743e148e7cd242ec2aa97065bd1 /usr/src/uts/common/sys/cred.h
parent438076eb789b90b4483862b49c4b9c62ba84ed6a (diff)
downloadillumos-joyent-546a399722fe82dc300c308a8fb86a11d2ca3ba3.tar.gz
6775211 mirror mounts use the zcred; should use caller's cr augmented w/ PRIV_SYS_MOUNT
Diffstat (limited to 'usr/src/uts/common/sys/cred.h')
-rw-r--r--usr/src/uts/common/sys/cred.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/cred.h b/usr/src/uts/common/sys/cred.h
index e84f1e0430..1b07a5d6f3 100644
--- a/usr/src/uts/common/sys/cred.h
+++ b/usr/src/uts/common/sys/cred.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -34,8 +34,6 @@
#ifndef _SYS_CRED_H
#define _SYS_CRED_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#ifdef __cplusplus
@@ -79,6 +77,7 @@ extern cred_t *crdup(cred_t *);
extern void crdup_to(cred_t *, cred_t *);
extern cred_t *crgetcred(void);
extern void crset(struct proc *, cred_t *);
+extern void crset_zone_privall(cred_t *);
extern int groupmember(gid_t, const cred_t *);
extern int supgroupmember(gid_t, const cred_t *);
extern int hasprocperm(const cred_t *, const cred_t *);