/illumos-gate/usr/src/uts/common/sys/ |
H A D | cred_impl.h | 75 struct cred { struct 83 cred_priv_t cr_priv; /* privileges */ argument 87 struct credklpd *cr_klpd; /* pointer to the cred's klpd */ argument 88 credsid_t *cr_ksid; /* pointer to SIDs */ argument 89 credgrp_t *cr_grps; /* supplemental groups */ argument
|
H A D | policy.h | 220 #define PRIV_POLICY(cred, priv, all, err, reason) \ argument 227 #define PRIV_POLICY_CHOICE(cred, priv, all) \ argument 235 #define PRIV_POLICY_ONLY(cred, priv, all) \ argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/ |
H A D | libfruaccess.c | 149 fru_get_num_sections(container_hdl_t container, door_cred_t *cred) in fru_get_num_sections() 168 int max_sections, door_cred_t *cred) in fru_get_sections() 187 fru_get_num_segments(section_hdl_t section, door_cred_t *cred) in fru_get_num_segments() 206 door_cred_t *cred) in fru_get_segments() 226 section_hdl_t *newsection, door_cred_t *cred) in fru_add_segment() 256 door_cred_t *cred) in fru_delete_segment() 282 door_cred_t *cred) in fru_read_segment() 302 segment_hdl_t *newsegment, door_cred_t *cred) in fru_write_segment() 323 fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred) in fru_get_num_packets() 342 door_cred_t *cred) in fru_get_packets() [all …]
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_door.c | 80 dlmgmt_checkprivs(datalink_class_t class, ucred_t *cred) in dlmgmt_checkprivs() 144 ucred_t *cred) in dlmgmt_upcall_create() 284 ucred_t *cred) in dlmgmt_upcall_update() 360 ucred_t *cred) in dlmgmt_upcall_destroy() 408 ucred_t *cred) in dlmgmt_getname() 438 ucred_t *cred) in dlmgmt_getlinkid() 472 ucred_t *cred) in dlmgmt_getnext() 516 ucred_t *cred) in dlmgmt_upcall_getattr() 538 ucred_t *cred) in dlmgmt_createid() 589 ucred_t *cred) in dlmgmt_destroyid() [all …]
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun_ctl.c | 39 iptun_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_create() 46 iptun_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_delete() 53 iptun_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_modify() 60 iptun_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_info() 67 iptun_ioc_set_6to4relay(void *karg, intptr_t arg, int mode, cred_t *cred, in iptun_ioc_set_6to4relay() 81 iptun_ioc_get_6to4relay(void *karg, intptr_t arg, int mode, cred_t *cred, in iptun_ioc_get_6to4relay()
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vnops.c | 124 auto_open(vnode_t **vpp, int flag, cred_t *cred, caller_context_t *ct) in auto_open() 159 cred_t *cred, in auto_close() 170 cred_t *cred, in auto_getattr() 279 cred_t *cred, in auto_setattr() 313 cred_t *cred, in auto_access() 361 cred_t *cred, in auto_lookup() 671 cred_t *cred, in auto_create() 706 cred_t *cred, in auto_remove() 740 cred_t *cred, in auto_link() 869 cred_t *cred, in auto_mkdir() [all …]
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 323 drv_ioc_checkprivs(datalink_class_t class, cred_t *cred) in drv_ioc_checkprivs() 335 drv_ioc_attr(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_attr() 376 drv_ioc_phys_attr(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_phys_attr() 428 drv_ioc_hwgrpget(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_hwgrpget() 562 drv_ioc_macaddrget(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_macaddrget() 631 cred_t *cred, int mode) in drv_ioc_prop_common() 836 drv_ioc_setprop(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_setprop() 843 drv_ioc_getprop(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_getprop() 856 drv_ioc_rename(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_rename() 1010 drv_ioc_doorserver(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_doorserver() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | validate.c | 78 __dh_validate_cred(dh_cred_id_t cred) in __dh_validate_cred() 89 __dh_install_cred(dh_cred_id_t cred) in __dh_install_cred() 100 __dh_remove_cred(dh_cred_id_t cred) in __dh_remove_cred()
|
H A D | cred.c | 58 gss_cred_id_t *cred, /* The return credential */ in __dh_gss_acquire_cred() 172 gss_cred_id_t cred, /* cred of interest */ in __dh_gss_inquire_cred() 245 gss_cred_id_t cred, /* Cred to iquire about */ in __dh_gss_inquire_cred_by_mech() 291 gss_cred_id_t *cred /* The cred to free */) in __dh_gss_release_cred()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vnops.c | 319 sdev_open(struct vnode **vpp, int flag, struct cred *cred, caller_context_t *ct) in sdev_open() 351 offset_t offset, struct cred *cred, caller_context_t *ct) in sdev_close() 374 sdev_read(struct vnode *vp, struct uio *uio, int ioflag, struct cred *cred, in sdev_read() 401 sdev_write(struct vnode *vp, struct uio *uio, int ioflag, struct cred *cred, in sdev_write() 433 struct cred *cred, int *rvalp, caller_context_t *ct) in sdev_ioctl() 483 struct cred *cred, caller_context_t *ctp) in sdev_setattr() 619 struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, in sdev_lookup() 640 int mode, struct vnode **vpp, struct cred *cred, int flag, in sdev_create() 793 sdev_remove(struct vnode *dvp, char *nm, struct cred *cred, in sdev_remove() 908 struct cred *cred, caller_context_t *ct, int flags) in sdev_rename() [all …]
|
H A D | sdev_vtops.c | 152 void **arg, cred_t *cred, void *whatever, char *whichever) in devvt_create_rvp() 185 struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, in devvt_lookup() 230 devvt_create_snode(struct sdev_node *ddv, char *nm, struct cred *cred, int type) in devvt_create_snode() 354 devvt_cleandir(struct vnode *dvp, struct cred *cred) in devvt_cleandir() 428 devvt_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, in devvt_readdir() 447 int mode, struct vnode **vpp, struct cred *cred, int flag, in devvt_create()
|
H A D | sdev_ptsops.c | 163 void **arg, cred_t *cred, void *whatever, char *whichever) in devpts_create_rvp() 288 struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, in devpts_lookup() 327 int mode, struct vnode **vpp, struct cred *cred, int flag, in devpts_create() 362 devpts_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, in devpts_readdir() 386 struct cred *cred, caller_context_t *ctp) in devpts_setattr()
|
H A D | sdev_subr.c | 369 void *args, struct cred *cred) in sdev_nodeready() 440 struct vnode *avp, struct cred *cred) in sdev_mkroot() 671 struct vattr *vap, struct vnode *avp, void *args, struct cred *cred, in sdev_mknode() 752 sdev_update_timestamps(struct vnode *vp, cred_t *cred, uint_t mask) in sdev_update_timestamps() 946 sdev_checkpath(struct sdev_node *sdv, struct sdev_node *tdv, struct cred *cred) in sdev_checkpath() 985 struct cred *cred) in sdev_rnmnode() 1297 sdev_filldir_from_store(struct sdev_node *ddv, int dlen, struct cred *cred) in sdev_filldir_from_store() 1464 sdev_shadow_node(struct sdev_node *dv, struct cred *cred) in sdev_shadow_node() 1639 int (*callback)(struct sdev_node *, char *, void **, struct cred *, in sdev_call_dircallback() 1640 void *, char *), int flags, struct cred *cred) in sdev_call_dircallback() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cons.c | 277 cnopen(dev_t *dev, int flag, int state, struct cred *cred) in cnopen() 350 cnclose(dev_t dev __unused, int flag, int state, struct cred *cred) in cnclose() 377 cnread(dev_t dev __unused, struct uio *uio, struct cred *cred) in cnread() 404 cnwrite(dev_t dev __unused, struct uio *uio, struct cred *cred) in cnwrite() 444 struct cred *cred, int *rvalp) in cnprivateioc() 496 cnioctl(dev_t dev, int cmd, intptr_t arg, int flag, struct cred *cred, in cnioctl()
|
H A D | iwscons.c | 283 iwscnread(dev_t dev, uio_t *uio, cred_t *cred) in iwscnread() 298 iwscnwrite(dev_t dev, uio_t *uio, cred_t *cred) in iwscnwrite() 330 cred_t *cred, int *rvalp) in iwscnioctl() 466 iwscnopen(dev_t *devp, int flag, int state, cred_t *cred) in iwscnopen() 569 iwscnclose(dev_t dev, int flag, int state, cred_t *cred) in iwscnclose()
|
H A D | smbios.c | 69 smb_open(dev_t *dp, int flag, int otyp, cred_t *cred) in smb_open() 101 smb_close(dev_t dev, int flag, int otyp, cred_t *cred) in smb_close() 159 smb_read(dev_t dev, uio_t *uio, cred_t *cred) in smb_read() 173 uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred) in smb_segmap()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 82 tmp_open(struct vnode **vpp, int flag, struct cred *cred, caller_context_t *ct) in tmp_open() 100 struct cred *cred, in tmp_close() 582 tmp_read(struct vnode *vp, struct uio *uiop, int ioflag, cred_t *cred, in tmp_read() 611 tmp_write(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cred, in tmp_write() 652 struct cred *cred, in tmp_ioctl() 665 struct cred *cred, in tmp_getattr() 728 struct cred *cred, in tmp_setattr() 808 struct cred *cred, in tmp_access() 829 struct cred *cred, in tmp_lookup() 948 struct cred *cred, in tmp_create() [all …]
|
H A D | tmp_dir.c | 195 struct cred *cred) in tdirlookup() 243 struct cred *cred, in tdirenter() 492 struct cred *cred) in tdirdelete() 737 struct cred *cred) in tdircheckpath() 795 struct cred *cred) /* credentials */ in tdirrename() 1077 struct cred *cred) in tdirmaketnode()
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | cred.c | 32 struct cred { struct 45 * kcred, otherwise tests like: (cred == kcred) are always true. argument
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 74 devfs_open(struct vnode **vpp, int flag, struct cred *cred, in devfs_open() 91 offset_t offset, struct cred *cred, caller_context_t *ct) in devfs_close() 109 devfs_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cred, in devfs_read() 124 devfs_write(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cred, in devfs_write() 140 struct cred *cred, int *rvalp, caller_context_t *ct) in devfs_ioctl() 811 struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, in devfs_lookup() 831 int mode, struct vnode **vpp, struct cred *cred, int flag, in devfs_create() 864 devfs_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, int *eofp, in devfs_readdir() 1037 devfs_fsync(struct vnode *vp, int syncflag, struct cred *cred, in devfs_fsync() 1058 devfs_inactive(struct vnode *vp, struct cred *cred, caller_context_t *ct) in devfs_inactive()
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 39 aggr_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_modify() 86 aggr_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_create() 132 aggr_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_delete() 201 aggr_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_info() 255 aggr_ioc_add(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_add() 262 aggr_ioc_remove(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_remove()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | utl_nohash_validate.c | 49 int g_save_cred_id(vdb, cred) in g_save_cred_id() argument 76 int g_validate_cred_id(vdb, cred) in g_validate_cred_id() argument 103 int g_delete_cred_id(vdb, cred) in g_delete_cred_id() argument
|
/illumos-gate/usr/src/uts/common/io/vnic/ |
H A D | vnic_ctl.c | 195 vnic_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_create() 300 vnic_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_modify() 312 vnic_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_delete() 321 vnic_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_info()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | val_cred.c | 40 krb5_gss_cred_id_t cred; in krb5_gss_validate_cred_1() local 91 krb5_gss_cred_id_t cred = (krb5_gss_cred_id_t) cred_handle; local
|
/illumos-gate/usr/src/uts/common/io/vio9p/ |
H A D | vio9p.c | 601 vio9p_open(dev_t *dev, int flag, int otyp, cred_t *cred) in vio9p_open() 638 vio9p_close(dev_t dev, int flag, int otyp, cred_t *cred) in vio9p_close() 669 vio9p_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, in vio9p_ioctl() 691 vio9p_read(dev_t dev, struct uio *uio, cred_t *cred) in vio9p_read() 760 vio9p_write(dev_t dev, struct uio *uio, cred_t *cred) in vio9p_write()
|