unknown.c revision 462be471126495414a94f9fa35e16c02dc462c04
1N/A * The contents of this file are subject to the terms of the 1N/A * Common Development and Distribution License, Version 1.0 only 1N/A * (the "License"). You may not use this file except in compliance 1N/A * See the License for the specific language governing permissions 1N/A * and limitations under the License. 1N/A * When distributing Covered Code, include this CDDL HEADER in each 1N/A * If applicable, add the following below this CDDL HEADER, with the 1N/A * fields enclosed by brackets "[]" replaced with your own identifying 1N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 1N/A * Use is subject to license terms. 1N/A/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 1N/A/* All Rights Reserved */ 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A * logs attempts by unknown remote machines to run uucico in FOREIGN 1N/A * sends mail to login MAILTO ("uucp"). the executable should be 1N/A/* don't return from here */ 1N/A "To: %s\nSubject: %s %s\n\n%s %s:\t%s (%d)\nlog msg:\t%s",
1N/A /* reset to real uid. get a pipe. put error message on */ 1N/A /* "write end" of pipe, close it. dup "read end" to */ 1N/A /* stdin and then execl mail (which will read the error */ 1N/A /* message we just wrote). */