1546N/A * Copyright (c) 1990, 2015, Oracle and/or its affiliates. All rights reserved. 1546N/A * Permission is hereby granted, free of charge, to any person obtaining a 1546N/A * copy of this software and associated documentation files (the "Software"), 1546N/A * to deal in the Software without restriction, including without limitation 1546N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1546N/A * and/or sell copies of the Software, and to permit persons to whom the 1546N/A * Software is furnished to do so, subject to the following conditions: 1546N/A * The above copyright notice and this permission notice (including the next 1546N/A * paragraph) shall be included in all copies or substantial portions of the 1546N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1546N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1546N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1546N/A * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1546N/A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 1546N/A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 1546N/A * DEALINGS IN THE SOFTWARE. 550N/A * $XConsortium: auth.c,v 1.17 89/12/14 09:42:18 rws Exp $ 550N/A * Copyright 1988 Massachusetts Institute of Technology 550N/A * Permission to use, copy, modify, and distribute this software and its 550N/A * documentation for any purpose and without fee is hereby granted, provided 550N/A * that the above copyright notice appear in all copies and that both that 550N/A * copyright notice and this permission notice appear in supporting 550N/A * documentation, and that the name of M.I.T. not be used in advertising or 550N/A * publicity pertaining to distribution of the software without specific, 550N/A * written prior permission. M.I.T. makes no representations about the 550N/A * suitability of this software for any purpose. It is provided "as is" 550N/A * without express or implied warranty. 550N/A * Author: Keith Packard, MIT X Consortium 1546N/A * If we get back a 0.0.0.0 IP address, ignore this entry. 1546N/A * This typically happens when a machine is in a standalone mode. 1546N/A if (
needed > 0) {
/* fallback if getrandom returns non-retryable error */ 1546N/A /* Change to real user id, before writing any files */ 1546N/A "WARNING: This program will overwrite existing files.\n" 1546N/A "This may cause your X server to not accept any" 1546N/A " new client connections.\n");
1546N/A "Filename should include display",