Home
last modified time | relevance | path

Searched defs:cr (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c151 #define FAST_BASIC_CHECK(cr, priv) \ argument
1258 cred_t *cr) in secpolicy_setid_setsticky_clear()
1638 secpolicy_acct(const cred_t *cr) in secpolicy_acct()
1727 secpolicy_pset(const cred_t *cr) in secpolicy_pset()
1749 secpolicy_pbind(const cred_t *cr) in secpolicy_pbind()
1763 secpolicy_pool(const cred_t *cr) in secpolicy_pool()
1860 drv_priv(cred_t *cr) in drv_priv()
2058 secpolicy_nfs(const cred_t *cr) in secpolicy_nfs()
2297 secpolicy_sti(const cred_t *cr) in secpolicy_sti()
2443 secpolicy_zfs(const cred_t *cr) in secpolicy_zfs()
[all …]
H A Dcred.c277 cred_t *cr = cralloc(); in cralloc_ksid() local
347 crhold(cred_t *cr) in crhold()
358 crfree(cred_t *cr) in crfree()
384 crcopy(cred_t *cr) in crcopy()
465 crdup(cred_t *cr) in crdup()
504 cred_t *cr; in crgetcred() local
520 suser(cred_t *cr) in suser()
678 crgetuid(const cred_t *cr) in crgetuid()
1021 cred_t *cr; in pgetucred() local
1042 crnetadjust(cred_t *cr) in crnetadjust()
[all …]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcred.c62 crfree(cred_t *cr) in crfree()
68 crhold(cred_t *cr) in crhold()
74 crgetuid(const cred_t *cr) in crgetuid()
81 crgetruid(const cred_t *cr) in crgetruid()
88 crgetgid(const cred_t *cr) in crgetgid()
95 crgetngroups(const cred_t *cr) in crgetngroups()
102 crgetgroups(const cred_t *cr) in crgetgroups()
109 crgetzoneid(const cred_t *cr) in crgetzoneid()
116 crgetzone(const cred_t *cr) in crgetzone()
129 crgetsid(const cred_t *cr, int i) in crgetsid()
H A Dksocket.c128 struct cred *cr) in ksocket_socket()
162 struct cred *cr) in ksocket_bind()
225 struct cred *cr) in ksocket_connect()
241 size_t *sent, struct cred *cr) in ksocket_send()
295 size_t *sent, struct cred *cr) in ksocket_sendmsg()
343 size_t *recvd, struct cred *cr) in ksocket_recv()
397 struct cred *cr) in ksocket_recvmsg()
438 ksocket_close(ksocket_t ks, struct cred *cr) in ksocket_close()
474 struct cred *cr) in ksocket_getsockname()
493 struct cred *cr) in ksocket_getpeername()
[all …]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsock_notsupp.c38 sock_upper_handle_t upper, struct cred *cr) in sock_accept_notsupp()
46 socklen_t namelen, struct cred *cr) in sock_bind_notsupp()
54 struct cred *cr) in sock_listen_notsupp()
63 struct cred *cr) in sock_connect_notsupp()
71 socklen_t *len, struct cred *cr) in sock_getsockname_notsupp()
79 socklen_t *addrlen, struct cred *cr) in sock_getpeername_notsupp()
87 int option_name, void *optval, socklen_t *optlenp, struct cred *cr) in sock_getsockopt_notsupp()
95 int option_name, const void *optval, socklen_t optlen, struct cred *cr) in sock_setsockopt_notsupp()
103 struct msghdr *msg, struct cred *cr) in sock_send_notsupp()
111 struct nmsghdr *msg, struct cred *cr) in sock_senduio_notsupp()
[all …]
H A Dnl7cnca.c232 nl7c_uri_ttl_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nl7c_uri_ttl_get()
249 nca_logging_on_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_logging_on_get()
274 nca_version_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_version_get()
282 nca_httpd_version_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_httpd_version_get()
290 nca_logd_version_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_logd_version_get()
298 nca_httpd_door_inst_get(queue_t *q, mblk_t *mp, caddr_t nu, cred_t *cr) in nca_httpd_door_inst_get()
306 nca_param_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_param_get()
331 nca_obsolete(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_obsolete()
339 nca_ip_obsolete(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_ip_obsolete()
347 nca_tcp_obsolete(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *cr) in nca_tcp_obsolete()
[all …]
H A Dsockcommon.c69 int flags, int version, struct cred *cr, int *errorp) in socket_create()
135 struct cred *cr; in socket_newconn() local
173 int flags, cred_t *cr) in socket_bind()
256 socklen_t *addrlen, boolean_t accept, cred_t *cr) in socket_getpeername()
268 socklen_t *addrlen, cred_t *cr) in socket_getsockname()
278 socket_shutdown(struct sonode *so, int how, cred_t *cr) in socket_shutdown()
317 cred_t *cr) in socket_sendmsg()
355 struct cred *cr, mblk_t **mpp) in socket_sendmblk()
368 cred_t *cr) in socket_recvmsg()
397 struct cred *cr, int32_t *rvalp) in socket_ioctl()
[all …]
H A Dsockcommon_vnops.c118 socket_vop_open(struct vnode **vpp, int flag, struct cred *cr, in socket_vop_open()
138 struct cred *cr, caller_context_t *ct) in socket_vop_close()
173 socket_vop_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cr, in socket_vop_read()
188 struct cred *cr, caller_context_t *ct) in socket_vop_write()
209 struct cred *cr, int32_t *rvalp, caller_context_t *ct) in socket_vop_ioctl()
224 socket_vop_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, in socket_vop_setfl()
282 struct cred *cr, caller_context_t *ct) in socket_vop_getattr()
364 struct cred *cr, caller_context_t *ct) in socket_vop_setattr()
397 socket_vop_access(struct vnode *vp, int mode, int flags, struct cred *cr, in socket_vop_access()
418 socket_vop_fsync(struct vnode *vp, int syncflag, struct cred *cr, in socket_vop_fsync()
[all …]
H A Dsockcommon_sops.c72 struct cred *cr, struct sonode **nsop) in so_accept_notsupp()
87 socklen_t *len, struct cred *cr) in so_getsockname_notsupp()
95 socklen_t *addrlen, boolean_t accept, struct cred *cr) in so_getpeername_notsupp()
110 struct cred *cr, mblk_t **mpp) in so_sendmblk_notsupp()
128 int flags, struct cred *cr) in so_bind()
370 struct cred *cr) in so_sendmsg()
486 struct cred *cr, mblk_t **mpp, sof_instance_t *fil, in so_sendmblk_impl()
584 struct cred *cr, mblk_t **mpp) in so_sendmblk()
653 socklen_t *addrlen, struct cred *cr) in so_getsockname()
870 struct cred *cr, int32_t *rvalp) in so_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c108 struct cred *cr, in lo_close()
146 struct cred *cr, in lo_ioctl()
169 struct cred *cr, in lo_getattr()
188 struct cred *cr, in lo_setattr()
203 struct cred *cr, in lo_access()
298 struct cred *cr, in lo_lookup()
670 struct cred *cr, in lo_create()
1041 cred_t *cr, in lo_frlock()
1187 cred_t *cr, in lo_pageio()
1200 cred_t *cr, in lo_dispose()
[all …]
/illumos-gate/usr/src/uts/common/io/ksocket/
H A Dksocket.c50 struct cred *cr) in ksocket_socket()
103 struct cred *cr) in ksocket_bind()
172 struct cred *cr) in ksocket_connect()
186 size_t *sent, struct cred *cr) in ksocket_send()
453 struct cred *cr) in ksocket_recvmsg()
566 struct cred *cr) in ksocket_getsockname()
586 struct cred *cr) in ksocket_getpeername()
629 int optlen, struct cred *cr) in ksocket_setsockopt()
651 struct cred *cr) in ksocket_setcallbacks()
731 struct cred *cr) in ksocket_spoll()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c63 cred_t *cr, in fop_open()
86 cred_t *cr, in fop_close()
115 cred_t *cr, in fop_read()
170 cred_t *cr, in fop_write()
217 cred_t *cr, in fop_ioctl()
252 cred_t *cr, in fop_setfl()
265 cred_t *cr, in fop_getattr()
287 cred_t *cr, in fop_setattr()
333 cred_t *cr, in fop_access()
417 cred_t *cr, in fop_lookup()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c584 cred_t *cr, in smb_fsop_mkdir()
731 cred_t *cr, in smb_fsop_remove()
933 cred_t *cr, in smb_fsop_rmdir()
1138 cred_t *cr, in smb_fsop_rename()
1519 cred_t *cr, in smb_fsop_write()
1631 cred_t *cr, in smb_fsop_next_alloc_range()
1655 cred_t *cr, in smb_fsop_statfs()
1809 cred_t *cr, in smb_fsop_lookup_name()
1858 cred_t *cr, in smb_fsop_lookup_file()
1927 cred_t *cr, in smb_fsop_lookup_stream()
[all …]
H A Dsmb_vops.c265 cred_t *cr) in smb_vop_write()
323 int flags, cred_t *cr) in smb_vop_getattr()
466 int flags, cred_t *cr) in smb_vop_setattr()
521 offset_t offset, cred_t *cr) in smb_vop_space()
603 cred_t *cr) in smb_vop_lookup()
769 int flags, cred_t *cr) in smb_vop_link()
902 smb_vop_commit(vnode_t *vp, cred_t *cr) in smb_vop_commit()
1104 cred_t *cr) in smb_vop_stream_lookup()
1201 cred_t *cr) in smb_vop_lookup_xattrdir()
1256 cred_t *cr) in smb_vop_acl_read()
[all …]
H A Dsmb_fem.c227 cred_t *cr, in smb_fem_fcn_create()
263 cred_t *cr, in smb_fem_fcn_remove()
288 cred_t *cr, in smb_fem_fcn_rename()
322 cred_t *cr, in smb_fem_fcn_mkdir()
347 cred_t *cr, in smb_fem_fcn_rmdir()
371 cred_t *cr, in smb_fem_fcn_link()
396 cred_t *cr, in smb_fem_fcn_symlink()
426 cred_t *cr, in smb_fem_oplock_open()
476 cred_t *cr, in smb_fem_oplock_read()
509 cred_t *cr, in smb_fem_oplock_write()
[all …]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c177 sosdp_accept(struct sonode *lso, int fflag, struct cred *cr, in sosdp_accept()
216 int flags, struct cred *cr) in sosdp_bind()
278 sosdp_listen(struct sonode *so, int backlog, struct cred *cr) in sosdp_listen()
419 struct cred *cr) in sosdp_recvmsg()
485 struct cred *cr) in sosdp_sendmsg()
539 boolean_t accept, struct cred *cr) in sosdp_getpeername()
557 struct cred *cr) in sosdp_getsockname()
587 sosdp_shutdown(struct sonode *so, int how, struct cred *cr) in sosdp_shutdown()
958 struct cred *cr, int32_t *rvalp) in sosdp_ioctl()
1133 sosdp_close(struct sonode *so, int flag, struct cred *cr) in sosdp_close()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_acl.c71 smbfs_getsd(vnode_t *vp, uint32_t selector, mblk_t **mp, cred_t *cr) in smbfs_getsd()
134 smbfs_setsd(vnode_t *vp, uint32_t selector, mblk_t **mp, cred_t *cr) in smbfs_setsd()
195 smbfs_acl_iocget(vnode_t *vp, intptr_t arg, int flag, cred_t *cr) in smbfs_acl_iocget()
256 smbfs_acl_iocset(vnode_t *vp, intptr_t arg, int flag, cred_t *cr) in smbfs_acl_iocset()
299 smbfs_acl_refresh(vnode_t *vp, cred_t *cr) in smbfs_acl_refresh()
392 smbfs_acl_getids(vnode_t *vp, cred_t *cr) in smbfs_acl_getids()
428 int flag, cred_t *cr) in smbfs_acl_getvsa()
481 uint32_t selector, cred_t *cr) in smbfs_acl_store()
529 smbfs_acl_setids(vnode_t *vp, vattr_t *vap, cred_t *cr) in smbfs_acl_setids()
560 int flag, cred_t *cr) in smbfs_acl_setvsa()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c826 int flags, cred_t *cr) in nfs_rdwrlbn()
948 int count, size_t *residp, cred_t *cr) in nfsread()
1400 nfs_accessx(void *vp, int mode, cred_t *cr) in nfs_accessx()
3378 nfs_bio(struct buf *bp, cred_t *cr) in nfs_bio()
3629 enum seg_rw rw, cred_t *cr, caller_context_t *ct) in nfs_getpage()
3706 enum seg_rw rw, cred_t *cr) in nfs_getapage()
3968 cred_t *cr) in nfs_readahead()
4118 int flags, cred_t *cr) in nfs_putapage()
4241 int flags, cred_t *cr) in nfs_sync_putapage()
4917 int flags, cred_t *cr) in nfs_sync_pageio()
[all …]
H A Dnfs3_vnops.c931 int flags, cred_t *cr) in nfs3_rdwrlbn()
1129 size_t *residp, cred_t *cr) in nfs3read()
4610 enum seg_rw rw, cred_t *cr) in nfs3_getapage()
4878 cred_t *cr) in nfs3_readahead()
5030 int flags, cred_t *cr) in nfs3_putapage()
5151 int flags, cred_t *cr) in nfs3_sync_putapage()
5215 cred_t *cr, caller_context_t *ct) in nfs3_map()
5329 cred_t *cr, caller_context_t *ct) in nfs3_addmap()
5917 int flags, cred_t *cr) in nfs3_sync_pageio()
6571 cred_t *cr) in nfs3_sync_commit()
[all …]
H A Dnfs4_deleg_ops.c102 deleg_rd_open(femarg_t *arg, int mode, cred_t *cr, caller_context_t *ct) in deleg_rd_open()
127 deleg_wr_open(femarg_t *arg, int mode, cred_t *cr, caller_context_t *ct) in deleg_wr_open()
155 deleg_wr_read(femarg_t *arg, uio_t *uiop, int ioflag, cred_t *cr, in deleg_wr_read()
176 deleg_rd_write(femarg_t *arg, uio_t *uiop, int ioflag, cred_t *cr, in deleg_rd_write()
195 deleg_wr_write(femarg_t *arg, uio_t *uiop, int ioflag, cred_t *cr, in deleg_wr_write()
213 deleg_rd_setattr(femarg_t *arg, vattr_t *vap, int flags, cred_t *cr, in deleg_rd_setattr()
233 deleg_wr_setattr(femarg_t *arg, vattr_t *vap, int flags, cred_t *cr, in deleg_wr_setattr()
295 offset_t offset, cred_t *cr, caller_context_t *ct) in deleg_rd_space()
310 offset_t offset, cred_t *cr, caller_context_t *ct) in deleg_wr_space()
327 deleg_rd_setsecattr(femarg_t *arg, vsecattr_t *vsap, int flag, cred_t *cr, in deleg_rd_setsecattr()
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c151 xattr_file_access(vnode_t *vp, int mode, int flags, cred_t *cr, in xattr_file_access()
165 cred_t *cr, caller_context_t *ct) in xattr_file_close()
212 cred_t *cr, caller_context_t *ct) in xattr_fill_nvlist()
459 cred_t *cr, caller_context_t *ct) in xattr_file_size()
519 xattr_file_read(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, in xattr_file_read()
565 xattr_file_write(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, in xattr_file_write()
910 cred_t *cr, caller_context_t *ct) in xattr_copy()
957 cred_t *cr, caller_context_t *ct) in xattr_dir_realdir()
1167 xattr_dir_access(vnode_t *vp, int mode, int flags, cred_t *cr, in xattr_dir_access()
1264 cred_t *cr, caller_context_t *ct, int flags) in xattr_dir_rename()
[all …]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vnops.c44 bootfs_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct) in bootfs_open()
59 bootfs_read(vnode_t *vp, struct uio *uiop, int ioflag, cred_t *cr, in bootfs_read()
130 cred_t *cr, int *rvalp, caller_context_t *ct) in bootfs_ioctl()
137 bootfs_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, in bootfs_getattr()
151 bootfs_access(vnode_t *vp, int mode, int flags, cred_t *cr, in bootfs_access()
170 int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, in bootfs_lookup()
207 bootfs_readdir(vnode_t *vp, struct uio *uiop, cred_t *cr, int *eofp, in bootfs_readdir()
329 bootfs_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in bootfs_inactive()
368 cred_t *cr) in bootfs_getapage()
419 cred_t *cr, caller_context_t *ct) in bootfs_getpage()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c91 struct cred *cr) /* credentials from ufs_ioctl */ in ufs_fioio()
218 struct cred *cr) /* credentials from ufs_ioctl */ in ufs_fiosatime()
284 struct cred *cr) /* credentials from ufs_ioctl */ in ufs_fiogdio()
309 struct cred *cr) /* credentials from ufs_ioctl */ in ufs_fiosdio()
406 struct cred *cr) /* credentials from ufs_ioctl */ in ufs_fioffs()
508 ufs_fioisbusy(struct vnode *vp, int *isbusy, struct cred *cr) in ufs_fioisbusy()
537 ufs_fiodirectio(struct vnode *vp, int cmd, struct cred *cr) in ufs_fiodirectio()
563 ufs_fiotune(struct vnode *vp, struct fiotune *uftp, struct cred *cr) in ufs_fiotune()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vnode.c323 cred_t *cr, in vn_rdwr()
969 cred_t *cr, in fop_open()
1033 cred_t *cr, in fop_close()
1064 cred_t *cr, in fop_read()
1083 cred_t *cr, in fop_write()
1103 cred_t *cr, in fop_ioctl()
1121 cred_t *cr, in fop_setfl()
1138 cred_t *cr, in fop_getattr()
1171 cred_t *cr, in fop_setattr()
1204 cred_t *cr, in fop_access()
[all …]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c105 ctfs_endpoint_ioctl(ctfs_endpoint_t *endpt, int cmd, intptr_t arg, cred_t *cr, in ctfs_endpoint_ioctl()
198 cred_t *cr, in ctfs_ev_access()
222 ctfs_ev_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *cct) in ctfs_ev_open()
243 ctfs_ev_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in ctfs_ev_inactive()
270 cred_t *cr, in ctfs_ev_getattr()
299 cred_t *cr, in ctfs_ev_ioctl()
386 ctfs_bu_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct) in ctfs_bu_open()
404 ctfs_bu_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in ctfs_bu_inactive()
429 cred_t *cr, in ctfs_bu_getattr()
459 cred_t *cr, in ctfs_bu_ioctl()

12345678910>>...18