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, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 /* 23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27 /* 28 * Copyright 2026 Oxide Computer Company 29 */ 30 31 #include <mdb/mdb_shell.h> 32 #include <mdb/mdb_lex.h> 33 34 void 35 mdb_shell_exec(char *cmd __unused) 36 { 37 yyperror("shell escape facility not available in kmdb\n"); 38 } 39 40 void 41 mdb_shell_pipe(char *cmd __unused) 42 { 43 yyperror("shell pipe facility not available in kmdb\n"); 44 } 45 46 void 47 mdb_shell_source(char *cmd __unused) 48 { 49 yyperror("shell escape facility not available in kmdb\n"); 50 } 51 52 void 53 mdb_shell_pipe_source(char *cmd __unused) 54 { 55 yyperror("shell pipe facility not available in kmdb\n"); 56 } 57 58 void 59 mdb_shell_source_run(void) 60 { 61 } 62 63 void 64 mdb_shell_source_discard(void) 65 { 66 } 67 68 int 69 mdb_shell_filter(const char *cmd __unused) 70 { 71 yyperror("shell pipe facility not available in kmdb\n"); 72 return (-1); 73 } 74 75 void 76 mdb_shell_filter_pump(int fd __unused, mdb_iob_t *iob __unused) 77 { 78 } 79 80 void 81 mdb_shell_filter_close(int fd __unused) 82 { 83 } 84 85 void 86 mdb_shell_producer(struct mdb_cmd *cp __unused) 87 { 88 yyperror("shell pipe facility not available in kmdb\n"); 89 } 90