Searched refs:ucred (Results 1 - 25 of 85) sorted by relevance

1234

/netbsd-current/external/bsd/tmux/dist/compat/
H A Dgetpeereid.c24 #include <ucred.h>
33 struct ucred uc;
42 ucred_t *ucred = NULL;
44 if (getpeerucred(s, &ucred) == -1)
46 if ((*uid = ucred_geteuid(ucred)) == -1)
48 if ((*gid = ucred_getrgid(ucred)) == -1)
50 ucred_free(ucred);
/netbsd-current/external/cddl/osnet/sys/sys/
H A Dzone.h36 struct ucred;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.reverse/
H A Drecvmsg-reverse.c40 char wc[CMSG_SPACE (sizeof (struct ucred)) + CMSG_SPACE (sizeof (int))];
56 char rc[CMSG_SPACE (sizeof (struct ucred)) + 7];
73 cm1->cmsg_len = CMSG_LEN (sizeof (struct ucred));
76 struct ucred *uc = (void *) CMSG_DATA (cm1);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/
H A Drecvmsg-reverse.c40 char wc[CMSG_SPACE (sizeof (struct ucred)) + CMSG_SPACE (sizeof (int))];
56 char rc[CMSG_SPACE (sizeof (struct ucred)) + 7];
73 cm1->cmsg_len = CMSG_LEN (sizeof (struct ucred));
76 struct ucred *uc = (void *) CMSG_DATA (cm1);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dgetpeereid.c37 struct ucred cred;
/netbsd-current/sys/sys/
H A Ddtrace_bsd.h52 struct ucred;
145 struct vnode *, struct mbuf *, struct ucred *, int);
150 struct vnode *, struct mbuf *, struct ucred *, int, int);
/netbsd-current/lib/libc/compat/gen/
H A Dcompat_getmntinfo.c45 #include <sys/ucred.h>
/netbsd-current/lib/libc/gen/
H A Dgetmntinfo.c43 #include <sys/ucred.h>
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/ipc/
H A Dhi_locl.h55 #include <ucred.h>
/netbsd-current/crypto/external/bsd/heimdal/dist/kcm/
H A Dheaders.h67 #include <sys/ucred.h>
/netbsd-current/lib/librpcsvc/
H A Dbootparam_prot.x45 %#include <sys/ucred.h>
/netbsd-current/sys/compat/linux32/arch/aarch64/
H A Dlinux32_missing.c42 #include <sys/ucred.h>
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dgetpeereid.c20 #define _GNU_SOURCE 1 /* Needed for glibc struct ucred */
37 #include <ucred.h>
52 #include <sys/ucred.h>
74 struct ucred peercred;
/netbsd-current/sys/compat/linux32/arch/amd64/
H A Dlinux32_missing.c13 #include <sys/ucred.h>
/netbsd-current/sys/fs/nfs/client/
H A Dnfsnode.h45 struct ucred *s_cred;
125 struct ucred *n_writecred; /* Cred. for putpages */
H A Dnfs_clrpcops.c95 struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, void *);
96 static int nfsrpc_readrpc(vnode_t , struct uio *, struct ucred *,
99 struct ucred *, nfsv4stateid_t *, NFSPROC_T *, struct nfsvattr *, int *,
102 nfsquad_t, int, struct ucred *, NFSPROC_T *, struct nfsvattr *,
105 nfsquad_t, int, struct nfsclowner *, struct nfscldeleg **, struct ucred *,
110 u_int32_t, struct ucred *, NFSPROC_T *, int);
111 static int nfsrpc_setaclrpc(vnode_t, struct ucred *, NFSPROC_T *,
115 struct ucred *, NFSPROC_T *);
121 struct nfsclflayout *, uint64_t, uint64_t, struct ucred *, NFSPROC_T *);
123 struct nfsclds *, uint64_t, int, struct nfsfh *, struct ucred *,
[all...]
H A Dnfs_clstate.c108 struct ucred *, NFSPROC_T *);
110 struct nfsmount *, struct ucred *, NFSPROC_T *);
111 static void nfscl_recover(struct nfsclclient *, struct ucred *, NFSPROC_T *);
138 struct nfscldeleg *, struct ucred *, NFSPROC_T *);
141 struct nfscllockowner *, struct nfscllock *, struct ucred *, NFSPROC_T *);
144 struct nfscldeleg **, int, u_int32_t, struct ucred *, NFSPROC_T *);
147 struct ucred *, NFSPROC_T *);
149 struct nfsclopen *, struct nfscldeleg **, struct ucred *, NFSPROC_T *);
154 struct nfscldeleg *, vnode_t, struct ucred *, NFSPROC_T *, int);
157 static int nfscl_trydelegreturn(struct nfscldeleg *, struct ucred *,
[all...]
/netbsd-current/tests/fs/nfs/nfsservice/
H A Dgetmntinfo.c42 #include <sys/ucred.h>
/netbsd-current/sys/fs/nfs/common/
H A Dnfs_commonport.c58 extern void (*nfsd_call_recall)(struct vnode *, int, struct ucred *,
136 static int nfssvc_call(struct thread *, struct nfssvc_args *, struct ucred *);
242 newnfs_copycred(struct nfscred *nfscr, struct ucred *cr)
311 struct ucred *cred, struct thread *p)
364 newnfs_setroot(struct ucred *cred)
375 struct ucred *
378 struct ucred *cred;
450 nfssvc_call(struct thread *p, struct nfssvc_args *uap, struct ucred *cred)
/netbsd-current/external/bsd/am-utils/dist/include/
H A Dmount_headers1.h56 # include <sys/ucred.h>
/netbsd-current/sys/compat/linux32/common/
H A Dlinux32_mman.c47 #include <sys/ucred.h>
H A Dlinux32_socketcall.c40 #include <sys/ucred.h>
H A Dlinux32_utsname.c47 #include <sys/ucred.h>
/netbsd-current/tests/bin/df/
H A Dgetmntinfo.c29 #include <sys/ucred.h>
/netbsd-current/sys/fs/nfs/server/
H A Dnfs_nfsdport.c89 struct ucred *);
189 nfsvno_getattr(struct vnode *vp, struct nfsvattr *nvap, struct ucred *cred,
240 nfsvno_accchk(struct vnode *vp, accmode_t accmode, struct ucred *cred,
332 nfsvno_setattr(struct vnode *vp, struct nfsvattr *nvap, struct ucred *cred,
575 nfsvno_readlink(struct vnode *vp, struct ucred *cred, struct thread *p,
638 nfsvno_read(struct vnode *vp, off_t off, int cnt, struct ucred *cred,
728 struct mbuf *mp, char *cp, struct ucred *cred, struct thread *p)
887 nfsvno_mknod(struct nameidata *ndp, struct nfsvattr *nvap, struct ucred *cred,
947 struct ucred *cred, struct thread *p, struct nfsexstuff *exp)
976 int pathlen, int not_v2, uid_t saved_uid, struct ucred *cre
[all...]

Completed in 398 milliseconds

1234