dtrace_cddl.h (256281) | dtrace_cddl.h (268578) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 4 unchanged lines hidden (view full) --- 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 * | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 4 unchanged lines hidden (view full) --- 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 * |
21 * $FreeBSD: stable/10/sys/cddl/dev/dtrace/dtrace_cddl.h 211610 2010-08-22 11:04:43Z rpaulo $ | 21 * $FreeBSD: stable/10/sys/cddl/dev/dtrace/dtrace_cddl.h 268578 2014-07-12 22:56:41Z rpaulo $ |
22 * 23 */ 24 25#ifndef _DTRACE_CDDL_H_ 26#define _DTRACE_CDDL_H_ 27 28#include <sys/proc.h> 29 --- 98 unchanged lines hidden (view full) --- 128#define p_parent p_pptr 129 130/* 131 * Definitions for fields in struct thread which are named differently in FreeBSD. 132 */ 133#define t_procp td_proc 134#define t_tid td_tid 135#define t_did td_tid | 22 * 23 */ 24 25#ifndef _DTRACE_CDDL_H_ 26#define _DTRACE_CDDL_H_ 27 28#include <sys/proc.h> 29 --- 98 unchanged lines hidden (view full) --- 128#define p_parent p_pptr 129 130/* 131 * Definitions for fields in struct thread which are named differently in FreeBSD. 132 */ 133#define t_procp td_proc 134#define t_tid td_tid 135#define t_did td_tid |
136#define t_cred td_ucred |
|
136 137 138int priv_policy(const cred_t *, int, boolean_t, int, const char *); 139boolean_t priv_policy_only(const cred_t *, int, boolean_t); 140boolean_t priv_policy_choice(const cred_t *, int, boolean_t); 141 142/* 143 * Test privilege. Audit success or failure, allow privilege debugging. --- 21 unchanged lines hidden --- | 137 138 139int priv_policy(const cred_t *, int, boolean_t, int, const char *); 140boolean_t priv_policy_only(const cred_t *, int, boolean_t); 141boolean_t priv_policy_choice(const cred_t *, int, boolean_t); 142 143/* 144 * Test privilege. Audit success or failure, allow privilege debugging. --- 21 unchanged lines hidden --- |