/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1985-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* David Korn <[email protected]> *18* Phong Vo <[email protected]> *19* *20***********************************************************************/21#pragma prototyped22/*23* Glenn Fowler24* AT&T Bell Laboratories25*26* fmtmode() and strperm() readonly data27* for external format modes28*/2930#include "modelib.h"3132struct modeop modetab[MODELEN] =33{340170000, 12, 0000000, 0, "-pc?d?b?-Cl?sDw?",350000400, 8, 0000000, 0, "-r",360000200, 7, 0000000, 0, "-w",370004000, 10, 0000100, 6, "-xSs",380000040, 5, 0000000, 0, "-r",390000020, 4, 0000000, 0, "-w",40#ifdef S_ICCTYP410003000, 8, 0000010, 3, "-x-xSs-x",42#else430002000, 9, 0000010, 3, "-xls",44#endif450000004, 2, 0000000, 0, "-r",460000002, 1, 0000000, 0, "-w",47#ifdef S_ICCTYP480003000, 8, 0000001, 0, "-xyY-xeE",49#else500001000, 8, 0000001, 0, "-xTt",51#endif52};5354int permmap[PERMLEN] =55{56S_ISUID, X_ISUID,57S_ISGID, X_ISGID,58S_ISVTX, X_ISVTX,59S_IRUSR, X_IRUSR,60S_IWUSR, X_IWUSR,61S_IXUSR, X_IXUSR,62S_IRGRP, X_IRGRP,63S_IWGRP, X_IWGRP,64S_IXGRP, X_IXGRP,65S_IROTH, X_IROTH,66S_IWOTH, X_IWOTH,67S_IXOTH, X_IXOTH68};697071