/netbsd/sys/sys/ |
H A D | kauth.h | 488 kauth_cred_t kauth_cred_alloc(void); 489 void kauth_cred_free(kauth_cred_t); 490 void kauth_cred_clone(kauth_cred_t, kauth_cred_t); 491 kauth_cred_t kauth_cred_dup(kauth_cred_t); 492 kauth_cred_t kauth_cred_copy(kauth_cred_t); 494 uid_t kauth_cred_getuid(kauth_cred_t); 495 uid_t kauth_cred_geteuid(kauth_cred_t); 497 gid_t kauth_cred_getgid(kauth_cred_t); 512 void kauth_cred_hold(kauth_cred_t); 527 int kauth_cred_uidmatch(kauth_cred_t, kauth_cred_t); [all …]
|
H A D | vnode_if.h | 111 kauth_cred_t a_cred; 121 kauth_cred_t a_cred; 131 kauth_cred_t a_cred; 141 kauth_cred_t a_cred; 151 kauth_cred_t a_cred; 161 kauth_cred_t a_cred; 172 kauth_cred_t a_cred; 183 kauth_cred_t a_cred; 215 kauth_cred_t a_cred; 594 kauth_cred_t); [all …]
|
H A D | file.h | 88 kauth_cred_t, int); 90 kauth_cred_t, int); 141 kauth_cred_t f_cred; /* creds associated with descriptor */ 228 int fbadop_read(struct file *, off_t *, struct uio *, kauth_cred_t, int); 229 int fbadop_write(struct file *, off_t *, struct uio *, kauth_cred_t, int);
|
/netbsd/sys/coda/ |
H A D | coda_venus.h | 36 kauth_cred_t cred, struct proc *p, 41 kauth_cred_t cred, struct lwp *l, 46 kauth_cred_t cred, struct lwp *l); 57 kauth_cred_t cred, struct lwp *l); 61 kauth_cred_t cred, struct lwp *l, 66 kauth_cred_t cred, struct lwp *l); 70 kauth_cred_t cred, struct lwp *l); 74 kauth_cred_t cred, struct lwp *l, 84 kauth_cred_t cred, struct lwp *l, 90 kauth_cred_t cred, struct lwp *l, [all …]
|
H A D | coda_venus.c | 204 kauth_cred_t cred, struct proc *p, in venus_root() 223 kauth_cred_t cred, struct lwp *l, in venus_open() 249 kauth_cred_t cred, struct lwp *l) in venus_close() 287 kauth_cred_t cred, struct lwp *l) in venus_ioctl() 342 kauth_cred_t cred, struct lwp *l, in venus_getattr() 363 kauth_cred_t cred, struct lwp *l) in venus_setattr() 381 kauth_cred_t cred, struct lwp *l) in venus_access() 399 kauth_cred_t cred, struct lwp *l, in venus_readlink() 456 kauth_cred_t cred, struct lwp *l) in venus_fsync() 474 kauth_cred_t cred, struct lwp *l, in venus_lookup() [all …]
|
H A D | coda_namecache.h | 94 kauth_cred_t cred; /* user credentials */ 119 kauth_cred_t, struct cnode *); 121 kauth_cred_t); 125 extern void coda_nc_zapvnode(CodaFid *, kauth_cred_t, enum dc_status);
|
/netbsd/sys/miscfs/genfs/ |
H A D | genfs.h | 67 int genfs_can_chtimes(struct vnode *, kauth_cred_t, uid_t, u_int); 68 int genfs_can_chflags(struct vnode *, kauth_cred_t, uid_t, bool); 69 int genfs_can_sticky(struct vnode *, kauth_cred_t, uid_t, uid_t); 70 int genfs_can_extattr(struct vnode *, kauth_cred_t, accmode_t, int); 82 kauth_cred_t, bool)); 86 kauth_cred_t, bool); 96 int genfs_ufslike_rename_check_permitted(kauth_cred_t, 103 int genfs_ufslike_remove_check_permitted(kauth_cred_t, 120 int (*gro_rename)(struct mount *mp, kauth_cred_t cred, 125 int (*gro_remove)(struct mount *mp, kauth_cred_t cred, [all …]
|
/netbsd/sys/kern/ |
H A D | kern_auth.c | 102 kauth_cred_t 105 kauth_cred_t cred; in kauth_cred_alloc() 158 kauth_cred_clone1(kauth_cred_t from, kauth_cred_t to, bool copy_groups) in kauth_cred_clone1() 183 kauth_cred_clone(kauth_cred_t from, kauth_cred_t to) in kauth_cred_clone() 191 kauth_cred_t 194 kauth_cred_t new_cred; in kauth_cred_dup() 212 kauth_cred_t 215 kauth_cred_t new_cred; in kauth_cred_copy() 484 kauth_cred_t cred; in kauth_proc_setgroups() 586 kauth_cred_uidmatch(kauth_cred_t cred1, kauth_cred_t cred2) in kauth_cred_uidmatch() [all …]
|
H A D | vnode_if.src | 127 IN kauth_cred_t cred; 137 IN kauth_cred_t cred; 146 IN kauth_cred_t cred; 155 IN kauth_cred_t cred; 164 IN kauth_cred_t cred; 175 IN kauth_cred_t cred; 186 IN kauth_cred_t cred; 198 IN kauth_cred_t cred; 228 IN kauth_cred_t cred; 240 IN kauth_cred_t cred; [all …]
|
/netbsd/sys/ufs/ufs/ |
H A D | ufs_extern.h | 106 int ufs_truncate_retry(struct vnode *, int, uint64_t, kauth_cred_t); 120 int ufs_dirempty(struct inode *, ino_t, kauth_cred_t); 124 bool ufs_gro_directory_empty_p(struct mount *, kauth_cred_t, 128 int ufs_gro_rename_check_permitted(struct mount *, kauth_cred_t, 132 int ufs_gro_remove_check_permitted(struct mount *, kauth_cred_t, 134 int ufs_gro_rename(struct mount *, kauth_cred_t, 138 int ufs_gro_remove(struct mount *, kauth_cred_t, 143 int ufs_gro_genealogy(struct mount *, kauth_cred_t, 155 int chkdq(struct inode *, int64_t, kauth_cred_t, int); 156 int chkiq(struct inode *, int32_t, kauth_cred_t, int); [all …]
|
H A D | ufsmount.h | 97 kauth_cred_t um_cred[MAXQUOTAS]; /* quota file access cred */ 136 int (*uo_truncate)(struct vnode *, off_t, int, kauth_cred_t); 137 int (*uo_balloc)(struct vnode *, off_t, int, kauth_cred_t, int, 140 int (*uo_bufrd)(struct vnode *, struct uio *, int, kauth_cred_t); 141 int (*uo_bufwr)(struct vnode *, struct uio *, int, kauth_cred_t);
|
/netbsd/sys/nfs/ |
H A D | nfs_var.h | 91 int nfs_null(struct vnode *, kauth_cred_t, struct lwp *); 93 int nfs_readlinkrpc(struct vnode *, struct uio *, kauth_cred_t); 99 int nfs_removerpc(struct vnode *, const char *, int, kauth_cred_t, 103 const char *, int, kauth_cred_t, struct lwp *); 104 int nfs_readdirrpc(struct vnode *, struct uio *, kauth_cred_t); 105 int nfs_readdirplusrpc(struct vnode *, struct uio *, kauth_cred_t); 108 int nfs_lookitup(struct vnode *, const char *, int, kauth_cred_t, 111 int nfs_flush(struct vnode *, kauth_cred_t, int, struct lwp *, int); 173 kauth_cred_t, struct mbuf **, struct mbuf **, char **, int *); 282 int nfsrv_fhtovp(nfsrvfh_t *, int, struct vnode **, kauth_cred_t, [all …]
|
/netbsd/sys/secmodel/suser/ |
H A D | suser.h | 39 int secmodel_suser_generic_cb(kauth_cred_t, kauth_action_t, void *, 41 int secmodel_suser_system_cb(kauth_cred_t, kauth_action_t, void *, 43 int secmodel_suser_process_cb(kauth_cred_t, kauth_action_t, void *, 45 int secmodel_suser_network_cb(kauth_cred_t, kauth_action_t, void *, 47 int secmodel_suser_machdep_cb(kauth_cred_t, kauth_action_t, void *, 49 int secmodel_suser_device_cb(kauth_cred_t, kauth_action_t, void *, 51 int secmodel_suser_vnode_cb(kauth_cred_t, kauth_action_t, void *,
|
H A D | secmodel_suser.c | 126 suser_isroot(kauth_cred_t cred) in suser_isroot() 137 kauth_cred_t cred = arg; in suser_eval() 196 secmodel_suser_generic_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_generic_cb() 226 secmodel_suser_system_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_system_cb() 466 secmodel_suser_process_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_process_cb() 562 secmodel_suser_network_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_network_cb() 829 secmodel_suser_machdep_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_machdep_cb() 876 secmodel_suser_device_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_device_cb() 940 secmodel_suser_vnode_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_suser_vnode_cb()
|
/netbsd/sys/secmodel/overlay/ |
H A D | overlay.h | 41 int secmodel_overlay_generic_cb(kauth_cred_t, kauth_action_t, void *, 43 int secmodel_overlay_system_cb(kauth_cred_t, kauth_action_t, void *, 45 int secmodel_overlay_process_cb(kauth_cred_t, kauth_action_t, void *, 47 int secmodel_overlay_network_cb(kauth_cred_t, kauth_action_t, void *, 49 int secmodel_overlay_machdep_cb(kauth_cred_t, kauth_action_t, void *, 51 int secmodel_overlay_device_cb(kauth_cred_t, kauth_action_t, void *, 53 int secmodel_overlay_vnode_cb(kauth_cred_t, kauth_action_t, void *,
|
H A D | secmodel_overlay.c | 235 secmodel_overlay_generic_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_generic_cb() 261 secmodel_overlay_system_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_system_cb() 287 secmodel_overlay_process_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_process_cb() 313 secmodel_overlay_network_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_network_cb() 339 secmodel_overlay_machdep_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_machdep_cb() 365 secmodel_overlay_device_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_device_cb() 391 secmodel_overlay_vnode_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_overlay_vnode_cb()
|
/netbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_extern.h | 94 int ext2fs_alloc(struct inode *, daddr_t, daddr_t , kauth_cred_t, 97 kauth_cred_t, struct buf **); 98 int ext2fs_valloc(struct vnode *, int, kauth_cred_t, ino_t *); 106 int ext2fs_balloc(struct inode *, daddr_t, int, kauth_cred_t, 108 int ext2fs_gop_alloc(struct vnode *, off_t, off_t, int, kauth_cred_t); 120 int ext2fs_truncate(struct vnode *, off_t, int, kauth_cred_t); 136 int ext2fs_dirempty(struct inode *, ino_t, kauth_cred_t); 148 int ext2fs_reload(struct mount *, kauth_cred_t, struct lwp *); 158 int ext2fs_bufrd(struct vnode *, struct uio *, int, kauth_cred_t); 159 int ext2fs_bufwr(struct vnode *, struct uio *, int, kauth_cred_t);
|
/netbsd/sys/secmodel/securelevel/ |
H A D | securelevel.h | 41 int secmodel_securelevel_system_cb(kauth_cred_t, kauth_action_t, void *, 43 int secmodel_securelevel_process_cb(kauth_cred_t, kauth_action_t, void *, 45 int secmodel_securelevel_network_cb(kauth_cred_t, kauth_action_t, void *, 47 int secmodel_securelevel_machdep_cb(kauth_cred_t, kauth_action_t, void *, 49 int secmodel_securelevel_device_cb(kauth_cred_t, kauth_action_t, void *, 51 int secmodel_securelevel_vnode_cb(kauth_cred_t, kauth_action_t, void *,
|
/netbsd/share/examples/secmodel/ |
H A D | secmodel_example.c | 42 static int secmodel_example_device_cb(kauth_cred_t, kauth_action_t, void *, 44 static int secmodel_example_generic_cb(kauth_cred_t, kauth_action_t, void *, 52 static int secmodel_example_system_cb(kauth_cred_t, kauth_action_t, void *, 54 static int secmodel_example_vnode_cb(kauth_cred_t, kauth_action_t, void *, 211 secmodel_example_generic_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_example_generic_cb() 233 secmodel_example_system_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_example_system_cb() 350 secmodel_example_process_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_example_process_cb() 427 secmodel_example_network_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_example_network_cb() 559 secmodel_example_machdep_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_example_machdep_cb() 592 secmodel_example_device_cb(kauth_cred_t cred, kauth_action_t action, in secmodel_example_device_cb() [all …]
|
/netbsd/sys/ufs/ffs/ |
H A D | ffs_extern.h | 90 int ffs_alloc(struct inode *, daddr_t, daddr_t , int, int, kauth_cred_t, 93 int, kauth_cred_t, struct buf **, daddr_t *); 94 int ffs_valloc(struct vnode *, int, kauth_cred_t, ino_t *); 109 int ffs_balloc(struct vnode *, off_t, int, kauth_cred_t, int, 115 int ffs_truncate(struct vnode *, off_t, int, kauth_cred_t); 120 int ffs_reload(struct mount *, kauth_cred_t, struct lwp *); 130 kauth_cred_t, size_t *, struct lwp *); 131 int ffs_bufrd(struct vnode *, struct uio *, int, kauth_cred_t); 132 int ffs_bufwr(struct vnode *, struct uio *, int, kauth_cred_t);
|
/netbsd/sys/secmodel/keylock/ |
H A D | keylock.h | 40 int secmodel_keylock_system_cb(kauth_cred_t, kauth_action_t, void *, 42 int secmodel_keylock_process_cb(kauth_cred_t, kauth_action_t, void *, 44 int secmodel_keylock_network_cb(kauth_cred_t, kauth_action_t, void *, 46 int secmodel_keylock_machdep_cb(kauth_cred_t, kauth_action_t, void *, 48 int secmodel_keylock_device_cb(kauth_cred_t, kauth_action_t, void *,
|
/netbsd/sys/fs/union/ |
H A D | union.h | 96 kauth_cred_t um_cred; /* Credentials of user calling mount */ 145 extern int union_check_rmdir(struct union_node *, kauth_cred_t); 146 extern int union_copyfile(struct vnode *, struct vnode *, kauth_cred_t, 148 extern int union_copyup(struct union_node *, int, kauth_cred_t, 151 extern int union_dowhiteout(struct union_node *, kauth_cred_t); 158 extern int union_cn_close(struct vnode *, int, kauth_cred_t,
|
/netbsd/sys/ufs/lfs/ |
H A D | ulfs_extern.h | 98 int ulfs_balloc_range(struct vnode *, off_t, off_t, kauth_cred_t, int); 111 int ulfs_dirempty(struct inode *, ino_t, kauth_cred_t); 121 int lfs_chkdq(struct inode *, int64_t, kauth_cred_t, int); 122 int lfs_chkiq(struct inode *, int32_t, kauth_cred_t, int); 147 int ulfs_gop_alloc(struct vnode *, off_t, off_t, int, kauth_cred_t); 150 kauth_cred_t, size_t *, struct lwp *);
|
H A D | lfs_extern.h | 127 int lfs_valloc(struct vnode *, int, kauth_cred_t, ino_t *, int *); 131 int lfs_extend_ifile(struct lfs *, kauth_cred_t); 136 int lfs_balloc(struct vnode *, off_t, int, kauth_cred_t, int, struct buf **); 169 int lfs_truncate(struct vnode *, off_t, int, kauth_cred_t); 233 int lfs_gop_alloc(struct vnode *, off_t, off_t, int, kauth_cred_t); 265 int lfs_bufrd(struct vnode *, struct uio *, int, kauth_cred_t); 266 int lfs_bufwr(struct vnode *, struct uio *, int, kauth_cred_t);
|
/netbsd/sys/netinet/ |
H A D | portalgo.c | 108 int (*func)(int, uint16_t *, struct inpcb *, kauth_cred_t); 111 static int algo_bsd(int, uint16_t *, struct inpcb *, kauth_cred_t); 114 static int algo_hash(int, uint16_t *, struct inpcb *, kauth_cred_t); 115 static int algo_doublehash(int, uint16_t *, struct inpcb *, kauth_cred_t); 116 static int algo_randinc(int, uint16_t *, struct inpcb *, kauth_cred_t); 240 check_suitable_port(uint16_t port, struct inpcb *inp, kauth_cred_t cred) in check_suitable_port() 411 kauth_cred_t cred) in algo_random_start() 465 kauth_cred_t cred) in algo_random_pick() 603 kauth_cred_t cred) in algo_hash() 652 kauth_cred_t cred) in algo_doublehash() [all …]
|