1*2d543d20SAndroid Build Coastguard Worker /* Author: Mark Goldman <[email protected]> 2*2d543d20SAndroid Build Coastguard Worker * 3*2d543d20SAndroid Build Coastguard Worker * Copyright (C) 2007 Tresys Technology, LLC 4*2d543d20SAndroid Build Coastguard Worker * 5*2d543d20SAndroid Build Coastguard Worker * This library is free software; you can redistribute it and/or 6*2d543d20SAndroid Build Coastguard Worker * modify it under the terms of the GNU Lesser General Public 7*2d543d20SAndroid Build Coastguard Worker * License as published by the Free Software Foundation; either 8*2d543d20SAndroid Build Coastguard Worker * version 2.1 of the License, or (at your option) any later version. 9*2d543d20SAndroid Build Coastguard Worker * 10*2d543d20SAndroid Build Coastguard Worker * This library is distributed in the hope that it will be useful, 11*2d543d20SAndroid Build Coastguard Worker * but WITHOUT ANY WARRANTY; without even the implied warranty of 12*2d543d20SAndroid Build Coastguard Worker * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13*2d543d20SAndroid Build Coastguard Worker * Lesser General Public License for more details. 14*2d543d20SAndroid Build Coastguard Worker * 15*2d543d20SAndroid Build Coastguard Worker * You should have received a copy of the GNU Lesser General Public 16*2d543d20SAndroid Build Coastguard Worker * License along with this library; if not, write to the Free Software 17*2d543d20SAndroid Build Coastguard Worker * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18*2d543d20SAndroid Build Coastguard Worker */ 19*2d543d20SAndroid Build Coastguard Worker 20*2d543d20SAndroid Build Coastguard Worker #ifndef _SEMANAGE_GENHOMEDIRCON_H_ 21*2d543d20SAndroid Build Coastguard Worker #define _SEMANAGE_GENHOMEDIRCON_H_ 22*2d543d20SAndroid Build Coastguard Worker 23*2d543d20SAndroid Build Coastguard Worker #include "utilities.h" 24*2d543d20SAndroid Build Coastguard Worker 25*2d543d20SAndroid Build Coastguard Worker int semanage_genhomedircon(semanage_handle_t * sh, 26*2d543d20SAndroid Build Coastguard Worker sepol_policydb_t * policydb, int usepasswd, 27*2d543d20SAndroid Build Coastguard Worker char *ignoredirs); 28*2d543d20SAndroid Build Coastguard Worker 29*2d543d20SAndroid Build Coastguard Worker #endif 30