2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * This is a contract private interface and is subject to change 2N/A * for adt_set_user(): ADT_NEW if creating a session for a newly 2N/A * authenticated user -- login -- and ADT_UPDATE if an authenticated 2N/A * user is changing uid/gid -- e.g., su. ADT_USER changes only the 2N/A * ruid / euid / rgid / egid values and is appropriate for login-like 2N/A * operations where PAM has already set the audit context in the cred. 2N/A * ADT_SETTID is for the special case where it is necessary to store 2N/A * the terminal id in the credential before forking to the login or 2N/A * login-like process. 2N/A * flag defs for the flags argument of adt_start_session() 2N/A /* | all of above = ADT_FLAGS_ALL */ 2N/A * Special typedefs for translations. 2N/Atypedef int fd_t;
/* file descriptor */