libexplain
1.4.D001
|
00001 /* 00002 * libexplain - Explain errno values returned by libc functions 00003 * Copyright (C) 2008, 2009, 2013 Peter Miller 00004 * Written by Peter Miller <pmiller@opensource.org.au> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU Lesser General Public License as 00008 * published by the Free Software Foundation; either version 3 of the 00009 * License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public License 00017 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #ifndef LIBEXPLAIN_CAPABILITY_H 00021 #define LIBEXPLAIN_CAPABILITY_H 00022 00031 int explain_capability(int cap); 00032 00041 int explain_capability_chown(void); 00042 00054 int explain_capability_dac_override(void); 00055 00067 int explain_capability_dac_read_search(void); 00068 00080 int explain_capability_fowner(void); 00081 00096 int explain_capability_fsetid(void); 00097 00109 int explain_capability_kill(void); 00110 00122 int explain_capability_setgid(void); 00123 00134 int explain_capability_setuid(void); 00135 00146 int explain_capability_setpcap(void); 00147 00157 int explain_capability_linux_immutable(void); 00158 00169 int explain_capability_net_bind_service(void); 00170 00180 int explain_capability_net_broadcast(void); 00181 00203 int explain_capability_net_admin(void); 00204 00215 int explain_capability_net_raw(void); 00216 00228 int explain_capability_ipc_lock(void); 00229 00239 int explain_capability_ipc_owner(void); 00240 00251 int explain_capability_sys_module(void); 00252 00263 int explain_capability_sys_rawio(void); 00264 00274 int explain_capability_sys_chroot(void); 00275 00285 int explain_capability_sys_ptrace(void); 00286 00296 int explain_capability_sys_pacct(void); 00297 00342 int explain_capability_sys_admin(void); 00343 00353 int explain_capability_sys_boot(void); 00354 00368 int explain_capability_sys_nice(void); 00369 00387 int explain_capability_sys_resource(void); 00388 00400 int explain_capability_sys_time(void); 00401 00412 int explain_capability_sys_tty_config(void); 00413 00423 int explain_capability_mknod(void); 00424 00434 int explain_capability_lease(void); 00435 00436 00437 #endif /* LIBEXPLAIN_CAPABILITY_H */ 00438 /* vim: set ts=8 sw=4 et : */