10SN/A/*- 22362SN/A * SPDX-License-Identifier: BSD-3-Clause 30SN/A * 40SN/A * Copyright (c) 1992, 1993 50SN/A * The Regents of the University of California. All rights reserved. 60SN/A * 72362SN/A * Redistribution and use in source and binary forms, with or without 80SN/A * modification, are permitted provided that the following conditions 92362SN/A * are met: 100SN/A * 1. Redistributions of source code must retain the above copyright 110SN/A * notice, this list of conditions and the following disclaimer. 120SN/A * 2. Redistributions in binary form must reproduce the above copyright 130SN/A * notice, this list of conditions and the following disclaimer in the 140SN/A * documentation and/or other materials provided with the distribution. 150SN/A * 3. Neither the name of the University nor the names of its contributors 160SN/A * may be used to endorse or promote products derived from this software 170SN/A * without specific prior written permission. 180SN/A * 190SN/A * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 200SN/A * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 212362SN/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 222362SN/A * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 232362SN/A * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 240SN/A * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 250SN/A * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 260SN/A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 270SN/A * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 280SN/A * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 290SN/A * SUCH DAMAGE. 300SN/A */ 310SN/A 320SN/A#define PFLAGS_FULL 0x01 330SN/A 340SN/Astruct dumpers { 350SN/A int (*ident)(int efd, pid_t pid, char *binfile); 360SN/A void (*dump)(int efd, int fd, pid_t pid); 370SN/A}; 380SN/Aextern int pflags; 390SN/A