Print this page
NEX-16818 Add fksmbcl development tool
NEX-17264 SMB client test tp_smbutil_013 fails after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (fix ref leaks)
NEX-3776 SMB should handle PreviousSessionID
Reviewed by: Gordon Ross <gwr@nexenta.com>
SMB-50 User-mode SMB server
Includes work by these authors:
Thomas Keiser <thomas.keiser@nexenta.com>
Albert Lee <trisk@nexenta.com>
*** 17,27 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
! * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
* Copyright 2017 RackTop Systems.
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
--- 17,27 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
! * Copyright 2016 Nexenta Systems, Inc. All rights reserved.
* Copyright 2017 RackTop Systems.
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
*** 52,61 ****
--- 52,62 ----
#if defined(_KERNEL) || defined(_FAKE_KERNEL)
cred_t *_curcred(void);
#define CRED() (_curcred()) /* current cred_t pointer */
+ struct ksid;
extern int ngroups_max;
/*
* kcred is used when you need all privileges.
*** 64,83 ****
--- 65,88 ----
extern void cred_init(void);
extern void crhold(cred_t *);
extern void crfree(cred_t *);
+ extern int groupmember(gid_t, const cred_t *);
+
extern cred_t *zone_kcred(void);
extern uid_t crgetuid(const cred_t *);
extern uid_t crgetruid(const cred_t *);
extern uid_t crgetsuid(const cred_t *);
extern gid_t crgetgid(const cred_t *);
extern gid_t crgetrgid(const cred_t *);
extern gid_t crgetsgid(const cred_t *);
extern zoneid_t crgetzoneid(const cred_t *);
+ extern struct zone *crgetzone(const cred_t *);
extern projid_t crgetprojid(const cred_t *);
+ extern struct ksid *crgetsid(const cred_t *, int);
extern const gid_t *crgetgroups(const cred_t *);
extern int crgetngroups(const cred_t *);
#endif /* _KERNEL */