/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | cred.c | 27 cred_t *kcred = &cred0; variable 58 return (kcred);
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | quotacalls.c | 274 B_INVAL, kcred, NULL); local 641 (int *)NULL, kcred); 645 qip->i_fs->fs_bsize, B_INVAL, kcred, NULL); local
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7clogd.c | 251 ret = VOP_WRITE(vp, &uio, 0, kcred, NULL); 281 1, (offset_t)0, kcred, NULL); 322 DIRECTIO_ON, 0, kcred, NULL, NULL); local 328 (void) VOP_REMOVE(nca_fio_dvp(&fio), symlink, kcred, NULL, 0); local 336 &attr, nca_fio_name(&fio), kcred, NULL, 0); 472 ret = VOP_READLINK(svp, &uio, kcred, NULL); 474 (void) VOP_REMOVE(dvp, symlink, kcred, NULL, 0); 501 (void) VOP_IOCTL(vp, _FIODIRECTIO, DIRECTIO_ON, 0, kcred, NULL, NULL); 523 (void) VOP_REMOVE(dvp, symlink, kcred, NULL, 0); 524 ret = VOP_SYMLINK(dvp, symlink, &attr, nca_fio_name(&fio), kcred, NUL 541 DIRECTIO_ON, 0, kcred, NULL, NULL); local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssd_clnt_stubs.c | 286 struct kgss_cred *kcred; local 288 kcred = KGSS_CRED_ALLOC(); 289 *output_cred_handle = (gss_cred_id_t)kcred; 291 desired_mechs, cred_usage, &kcred->gssd_cred, actual_mechs, 292 time_rec, uid, &kcred->gssd_cred_verifier); 294 KGSS_CRED_FREE(kcred); 594 struct kgss_cred *kcred; local 599 kcred = KCRED_TO_KGSS_CRED(*cred_handle); 601 err = kgss_release_cred_wrapped(minor_status, &kcred->gssd_cred, 602 uid, kcred 940 struct kgss_cred *kcred; local [all...] |
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vnops.c | 424 sdev_update_timestamps(dv->sdev_attrvp, kcred, 708 sdev_update_timestamps(vp, kcred, 748 sdev_update_timestamps(SDEVTOV(self), kcred, local 750 sdev_update_timestamps(dvp, kcred, AT_MTIME|AT_ATIME); 1099 onm, kcred, ct, 0); 1103 onm, fromparent->sdev_attrvp, kcred, ct, 0); 1186 sdev_update_timestamps(SDEVTOV(self), kcred, local 1188 sdev_update_timestamps(dvp, kcred, AT_MTIME|AT_ATIME); 1258 sdev_update_timestamps(SDEVTOV(self), kcred, local 1260 sdev_update_timestamps(dvp, kcred, AT_MTIM [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kp.c | 537 kcred, NULL); 1139 pl, PAGESIZE, seg, va, S_READ, kcred, NULL); 1249 * use kcred. 1252 B_ASYNC | B_FREE, kcred, NULL); local
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_clnt_stubs.c | 252 struct kgss_cred *kcred; local 254 kcred = KGSS_CRED_ALLOC(); 255 *output_cred_handle = (gss_cred_id_t)kcred; 259 &kcred->gssd_cred, actual_mechs, 261 &kcred->gssd_cred_verifier); 263 KGSS_CRED_FREE(kcred); 540 struct kgss_cred *kcred; local 545 kcred = KCRED_TO_KGSS_CRED(*cred_handle); 547 err = kgss_release_cred_wrapped(minor_status, &kcred->gssd_cred, 548 uid, kcred 858 struct kgss_cred *kcred; local [all...] |
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_subr.c | 789 error = VOP_MKDIR(rdvp, nm, &vattr, &rvp, kcred, 803 VREAD|VWRITE, &rvp, kcred, 0, NULL, NULL); 1219 * This use of kcred to distinguish between user and 1225 if ((dv->dv_flags & DV_INTERNAL) && (cred != kcred)) { 1544 NULL, NULLVP, kcred, 0); local 1658 error = VOP_READDIR(dirvp, &uio, kcred, &eof, NULL, 0); 1675 &vp, NULL, 0, NULL, kcred, NULL, NULL, NULL); 1691 (char *)nm, rvp, kcred, NULL, 0); 1697 error = VOP_REMOVE(dirvp, (char *)nm, kcred, 1756 error = VOP_LOOKUP(dirvp, nm, &vp, NULL, 0, rvp, kcred, [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | cred.c | 92 cred_t *kcred; variable 203 * kcred is used by anything that needs all privileges; it's 207 kcred = cralloc(); 209 bzero(kcred, crsize); 210 kcred->cr_ref = 1; 212 /* kcred is never freed, so we don't need zone_cred_hold here */ 213 kcred->cr_zone = &zone0; 215 priv_fillset(&CR_LPRIV(kcred)); 216 CR_IPRIV(kcred) = *priv_basic; 218 priv_addset(&CR_IPRIV(kcred), PRIV_PROC_SECFLAG [all...] |
/illumos-gate/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 529 #define kcred NULL macro
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_mddb.c | 217 if (dev_lopen(&ddi_dev, FREAD|FWRITE, OTYP_LYR, kcred) == 0) 227 (void) dev_lclose(md_dev64_to_dev(dev), FREAD|FWRITE, OTYP_LYR, kcred); local
|