Searched defs:scrp (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_xattr.c243 struct smb_cred *scrp)
282 error = smbfs_smb_lookup(pnp, &name, &nlen, fap, scrp);
242 smbfs_xa_getfattr(struct smbnode *xnp, struct smbfattr *fap, struct smb_cred *scrp) argument
H A Dsmbfs_smb.c71 struct smbfattr *fap, struct smb_cred *scrp);
73 struct smb_cred *scrp, uint16_t infolevel);
76 statvfs64_t *sbp, struct smb_cred *scrp);
78 statvfs64_t *sbp, struct smb_cred *scrp);
82 struct smb_cred *scrp);
86 struct smb_cred *scrp);
90 struct timespec *mtime, struct smb_cred *scrp);
101 struct smb_cred *scrp, uint32_t timeout)
121 error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_LOCKING_ANDX, scrp);
167 struct smb_cred *scrp, uint32_
99 smbfs_smb_lockandx(struct smbnode *np, int op, uint32_t pid, offset_t start, uint64_t len, int largelock, struct smb_cred *scrp, uint32_t timeout) argument
165 smbfs_smb_lock(struct smbnode *np, int op, caddr_t id, offset_t start, uint64_t len, int largelock, struct smb_cred *scrp, uint32_t timeout) argument
192 smbfs_smb_getfattr( struct smbnode *np, struct smbfattr *fap, struct smb_cred *scrp) argument
227 smbfs_smb_trans2_query(struct smbnode *np, struct smbfattr *fap, struct smb_cred *scrp, uint16_t infolevel) argument
385 smbfs_smb_qfsattr(struct smb_share *ssp, struct smb_fs_attr_info *fsa, struct smb_cred *scrp) argument
465 smbfs_smb_statfsLM2(struct smb_share *ssp, statvfs64_t *sbp, struct smb_cred *scrp) argument
532 smbfs_smb_statfsLM1(struct smb_share *ssp, statvfs64_t *sbp, struct smb_cred *scrp) argument
595 smbfs_smb_seteof(struct smb_share *ssp, uint16_t fid, uint64_t newsize, struct smb_cred *scrp) argument
627 smbfs_smb_t2rename(struct smbnode *np, struct smbnode *tdnp, const char *tname, int tnmlen, struct smb_cred *scrp, int overwrite) argument
689 smbfs_smb_flush(struct smbnode *np, struct smb_cred *scrp) argument
728 smbfs_smb_setfsize(struct smbnode *np, uint16_t fid, uint64_t newsize, struct smb_cred *scrp) argument
782 smbfs_smb_query_info(struct smbnode *np, const char *name, int nmlen, struct smbfattr *fap, struct smb_cred *scrp) argument
842 smbfs_smb_setpattr1(struct smbnode *np, const char *name, int len, uint32_t attr, struct timespec *mtime, struct smb_cred *scrp) argument
887 smbfs_smb_hideit(struct smbnode *np, const char *name, int len, struct smb_cred *scrp) argument
905 smbfs_smb_unhideit(struct smbnode *np, const char *name, int len, struct smb_cred *scrp) argument
926 smbfs_smb_setfattr( struct smbnode *np, int fid, uint32_t attr, struct timespec *mtime, struct timespec *atime, struct smb_cred *scrp) argument
964 smbfs_smb_setftime1( struct smbnode *np, uint16_t fid, struct timespec *mtime, struct timespec *atime, struct smb_cred *scrp) argument
1019 smbfs_smb_setfattrNT( struct smbnode *np, int fid, uint32_t attr, struct timespec *mtime, struct timespec *atime, struct smb_cred *scrp) argument
1102 smbfs_smb_ntcreatex( struct smbnode *np, const char *name, int nmlen, int xattr, uint32_t req_acc, uint32_t efa, uint32_t share_acc, uint32_t disp, uint32_t createopt, struct smb_cred *scrp, uint16_t *fidp, uint32_t *cr_act_p, struct smbfattr *fap) argument
1192 smbfs_smb_oldopen( struct smbnode *np, const char *name, int nmlen, int xattr, int accmode, struct smb_cred *scrp, uint16_t *fidp, uint16_t *granted_mode_p, smbfattr_t *fap) argument
1290 smbfs_smb_tmpopen(struct smbnode *np, uint32_t rights, struct smb_cred *scrp, uint16_t *fidp) argument
1337 smbfs_smb_tmpclose(struct smbnode *np, uint16_t fid, struct smb_cred *scrp) argument
1372 smbfs_smb_open( struct smbnode *np, const char *name, int nmlen, int xattr, uint32_t rights, struct smb_cred *scrp, uint16_t *fidp, uint32_t *rightsp, smbfattr_t *fap) argument
1417 smbfs_smb_close(struct smb_share *ssp, uint16_t fid, struct timespec *mtime, struct smb_cred *scrp) argument
1445 smbfs_smb_oldcreate(struct smbnode *dnp, const char *name, int nmlen, int xattr, struct smb_cred *scrp, uint16_t *fidp) argument
1500 smbfs_smb_create( struct smbnode *dnp, const char *name, int nmlen, int xattr, uint32_t disp, struct smb_cred *scrp, uint16_t *fidp) argument
1539 smbfs_smb_delete(struct smbnode *np, struct smb_cred *scrp, const char *name, int nmlen, int xattr) argument
1567 smbfs_smb_rename(struct smbnode *src, struct smbnode *tdnp, const char *tname, int tnmlen, struct smb_cred *scrp) argument
1615 smbfs_smb_move(struct smbnode *src, struct smbnode *tdnp, const char *tname, int tnmlen, uint16_t flags, struct smb_cred *scrp) argument
1651 smbfs_smb_oldmkdir(struct smbnode *dnp, const char *name, int len, struct smb_cred *scrp) argument
1677 smbfs_smb_mkdir(struct smbnode *dnp, const char *name, int nmlen, struct smb_cred *scrp) argument
1711 smbfs_smb_rmdir(struct smbnode *np, struct smb_cred *scrp) argument
2256 smbfs_smb_findopen(struct smbnode *dnp, const char *wild, int wlen, int attr, struct smb_cred *scrp, struct smbfs_fctx **ctxpp) argument
2290 smbfs_smb_findnext(struct smbfs_fctx *ctx, int limit, struct smb_cred *scrp) argument
2342 smbfs_smb_findclose(struct smbfs_fctx *ctx, struct smb_cred *scrp) argument
2368 smbfs_smb_lookup(struct smbnode *dnp, const char **namep, int *nmlenp, struct smbfattr *fap, struct smb_cred *scrp) argument
2449 smbfs_smb_getsec_m(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, mblk_t **res, uint32_t *reslen) argument
2553 smbfs_smb_getsec(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, struct ntsecdesc **res) argument
2598 smbfs_smb_setsec_m(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, mblk_t **mp) argument
2637 smbfs_smb_setsec(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, uint16_t flags, struct ntsid *owner, struct ntsid *group, struct ntacl *sacl, struct ntacl *dacl) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c365 struct smb_cred *scrp,
382 error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_NT_CREATE_ANDX, scrp);
479 struct smb_cred *scrp)
486 error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_CLOSE, scrp);
516 struct smb_cred *scrp,
527 error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_OPEN_PRINT_FILE, scrp);
579 struct smb_cred *scrp)
586 SMB_COM_CLOSE_PRINT_FILE, scrp);
355 smb_smb_ntcreate( struct smb_share *ssp, struct mbchain *name_mb, uint32_t cr_flags, uint32_t req_acc, uint32_t efa, uint32_t share_acc, uint32_t open_disp, uint32_t createopt, uint32_t impersonate, struct smb_cred *scrp, uint16_t *fidp, uint32_t *cr_act_p, struct smbfattr *fap) argument
478 smb_smb_close(struct smb_share *ssp, uint16_t fid, struct timespec *mtime, struct smb_cred *scrp) argument
511 smb_smb_open_prjob( struct smb_share *ssp, char *title, uint16_t setuplen, uint16_t mode, struct smb_cred *scrp, uint16_t *fidp) argument
578 smb_smb_close_prjob(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp) argument
/illumos-gate/usr/src/uts/common/os/
H A Dcred.c580 * "scrp" has permission to act on credentials set "tcrp". It enforces the
586 * (2) if the zone ids don't match, and scrp is not in the global zone or
588 * (3) if the real or effective user id of scrp matches the real or saved
589 * user id of tcrp or scrp has the PRIV_PROC_OWNER privilege, the check
594 hasprocperm(const cred_t *tcrp, const cred_t *scrp) argument
596 if (scrp == tcrp)
598 if (scrp->cr_zone != tcrp->cr_zone &&
599 (scrp->cr_zone != global_zone ||
600 secpolicy_proc_zone(scrp) != 0))
602 if (scrp
619 prochasprocperm(proc_t *tp, proc_t *sp, const cred_t *scrp) argument
[all...]

Completed in 74 milliseconds