Searched refs:uid_t (Results 1 - 25 of 673) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.h37 keylen_t, algtype_t, uid_t, gid_t);
38 int key_removesecret_g_uid(uid_t, gid_t);
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Duid.c41 static int findunuseduid(uid_t start, uid_t stop, uid_t *ret);
42 static boolean_t isreserveduid(uid_t uid);
49 findnextuid(uid_t start, uid_t stop, uid_t *ret)
51 uid_t uid = start;
85 isreserveduid(uid_t uid)
95 findunuseduid(uid_t star
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dgetname.c57 getname(uid_t uid, char namebuf[])
61 if (uid == (uid_t)-1) {
79 uid_t
90 return pw ? pw->pw_uid : (uid_t)-1;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgetuid.c41 uid_t
44 static uid_t (*gptr)() = NULL;
55 ((gptr = (uid_t (*)())dlsym(handle, KRB5_UID)) == NULL)) {
/illumos-gate/usr/src/uts/common/sys/
H A Dtl.h52 uid_t tc_uid; /* Effective user id */
54 uid_t tc_ruid; /* Real user id */
56 uid_t tc_suid; /* Saved user id (from exec) */
H A Dcred.h89 extern uid_t crgetuid(const cred_t *);
90 extern uid_t crgetruid(const cred_t *);
91 extern uid_t crgetsuid(const cred_t *);
115 extern int crsetresuid(cred_t *, uid_t, uid_t, uid_t);
122 extern int crsetugid(cred_t *, uid_t, gid_t);
170 extern boolean_t valid_ephemeral_uid(struct zone *, uid_t);
173 extern int eph_uid_alloc(struct zone *, int, uid_t *, int);
H A Dcred_impl.h77 uid_t cr_uid; /* effective user id */
79 uid_t cr_ruid; /* real user id */
81 uid_t cr_suid; /* "saved" user id (from exec) */
/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmb_keychain.h50 int smbfs_keychain_add(uid_t uid, const char *domain, const char *user,
54 int smbfs_keychain_addhash(uid_t uid, const char *domain, const char *user,
58 int smbfs_keychain_del(uid_t uid, const char *domain, const char *user);
H A Dsmbfs_acl.h49 int smbfs_acl_get(int fd, acl_t **, uid_t *, gid_t *);
58 int smbfs_acl_set(int fd, acl_t *, uid_t, gid_t);
100 int smbfs_acl_sd2zfs(struct i_ntsd *, acl_t *, uid_t *, gid_t *);
101 int smbfs_acl_zfs2sd(acl_t *, uid_t, gid_t, uint32_t, struct i_ntsd **);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dpolicy.h40 int secpolicy_vnode_owner(const cred_t *, uid_t);
41 int secpolicy_vnode_access2(const cred_t *, vnode_t *, uid_t, mode_t, mode_t);
44 int secpolicy_vnode_setdac(const cred_t *, uid_t);
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.h49 uid_t sf_auid; /* -2 no value, > -1 otherwise */
50 uid_t sf_euid; /* -2 no value, > -1 otherwise */
55 uid_t sf_pauid; /* -2 no value */
56 uid_t sf_peuid; /* -2 no value */
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_inet.h38 extern AUTH *authunix_create(char *, uid_t, gid_t, int, gid_t *);
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_cache.h52 uid_t *uid);
60 uid_t *pid, int *is_user);
64 uid_t uid);
71 idmap_cache_lookup_winnamebyuid(char **winname, char **windomain, uid_t uid);
78 uid_t *uid);
85 idmap_cache_add_sid2uid(const char *sid_prefix, idmap_rid_t rid, uid_t uid,
93 idmap_cache_add_sid2pid(const char *sid_prefix, idmap_rid_t rid, uid_t pid,
98 uid_t uid, int direction);
H A Didmap.h94 idmap_rid_t, int, uid_t *, idmap_stat *);
102 idmap_rid_t, int, uid_t *, int *, idmap_stat *);
105 extern idmap_stat idmap_get_sidbyuid(idmap_get_handle_t *, uid_t, int,
123 extern idmap_stat idmap_getwinnamebyuid(uid_t, int, char **, char **);
129 extern idmap_stat idmap_getwinnamebypid(uid_t, int, int, char **, char **);
133 int, uid_t *);
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_private.h115 extern int audit_crontab_not_allowed(uid_t, char *);
124 extern int audit_cron_session(char *, char *, uid_t, gid_t, char *);
128 extern int audit_cron_create_anc_file(char *, char *, char *, uid_t);
176 extern void audit_rexd_fail(char *, char *, char *, uid_t, gid_t,
178 extern void audit_rexd_success(char *, char *, uid_t, gid_t,
H A Dadt.h44 #define ADT_NO_ATTRIB (uid_t)-1 /* unattributed user */
45 #define ADT_NO_CHANGE (uid_t)-2 /* no update for this parameter */
46 #define ADT_NO_AUDIT (uid_t)-3 /* unaudited user */
95 extern int adt_set_user(const adt_session_data_t *, uid_t, gid_t,
96 uid_t, gid_t, const adt_termid_t *,
/illumos-gate/usr/src/cmd/auditreduce/
H A Dauditrd.h43 uid_t m_usera; /* 'u' user id */
44 uid_t m_usere; /* 'e' effective user-id */
45 uid_t m_userr; /* 'r' real user-id */
60 uid_t obj_owner; /* object owner */
64 uid_t obj_user; /* 'o' user value */
/illumos-gate/usr/src/cmd/vntsd/
H A Dauth.c57 #include <sys/types.h> /* uid_t */
82 static uid_t
86 uid_t peer_euid;
93 return ((uid_t)-1);
161 auth_check_euid(uid_t euid, char *group_name)
167 if (euid == (uid_t)-1) {
198 uid_t peer_euid;
202 if (peer_euid == (uid_t)-1) { /* unknown EUID */
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_idmap.h72 uid_t *sim_id;
87 idmap_stat smb_idmap_getsid(uid_t, int, smb_sid_t **);
88 idmap_stat smb_idmap_getid(smb_sid_t *, uid_t *, int *);
96 uid_t, int);
/illumos-gate/usr/src/cmd/acct/lib/
H A Dnamtouid.c41 uid_t uuid;
47 uid_t
52 register uid_t tuid;
/illumos-gate/usr/src/head/
H A Ducred.h49 extern uid_t ucred_geteuid(const ucred_t *);
50 extern uid_t ucred_getruid(const ucred_t *);
51 extern uid_t ucred_getsuid(const ucred_t *);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauthsys_prot.c58 xdr_uid_t(xdrs, (uid_t *)&(p->aup_uid)) &&
68 * XDR user id types (uid_t)
71 xdr_uid_t(XDR *xdrs, uid_t *ip)
74 if (sizeof (uid_t) != sizeof (int))
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_policy.c41 secpolicy_vnode_access2(const cred_t *cr, vnode_t *vp, uid_t owner,
54 secpolicy_vnode_owner(const cred_t *cr, uid_t owner)
84 secpolicy_vnode_setdac(const cred_t *cred, uid_t owner)
/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Dcred.h74 extern uid_t crgetuid(const cred_t *);
75 extern uid_t crgetruid(const cred_t *);
76 extern uid_t crgetsuid(const cred_t *);
/illumos-gate/usr/src/uts/common/syscall/
H A Dchown.c58 fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag)
64 if (uid != (uid_t)-1 && !VALID_UID(uid, zone) ||
83 chown(char *path, uid_t uid, gid_t gid)
89 lchown(char *path, uid_t uid, gid_t gid)
95 fchown(int fd, uid_t uid, uid_t gid)

Completed in 305 milliseconds

1234567891011>>