libexplain  1.4.D001
libexplain/buffer/dac.h
Go to the documentation of this file.
00001 /*
00002  * libexplain - Explain errno values returned by libc functions
00003  * Copyright (C) 2008, 2009, 2012, 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_BUFFER_DAC_H
00021 #define LIBEXPLAIN_BUFFER_DAC_H
00022 
00023 #include <libexplain/string_buffer.h>
00024 
00032 void explain_buffer_dac_chown(explain_string_buffer_t *sb);
00033 
00041 void explain_buffer_dac_override(explain_string_buffer_t *sb);
00042 
00050 void explain_buffer_dac_read_search(explain_string_buffer_t *sb);
00051 
00059 void explain_buffer_dac_fowner(explain_string_buffer_t *sb);
00060 
00068 void explain_buffer_dac_fsetid(explain_string_buffer_t *sb);
00069 
00077 void explain_buffer_dac_kill(explain_string_buffer_t *sb);
00078 
00086 void explain_buffer_dac_setgid(explain_string_buffer_t *sb);
00087 
00095 void explain_buffer_dac_setuid(explain_string_buffer_t *sb);
00096 
00104 void explain_buffer_dac_setpcap(explain_string_buffer_t *sb);
00105 
00113 void explain_buffer_dac_linux_immutable(explain_string_buffer_t *sb);
00114 
00122 void explain_buffer_dac_net_bind_service(explain_string_buffer_t *sb);
00123 
00131 void explain_buffer_dac_broadcast(explain_string_buffer_t *sb);
00132 
00140 void explain_buffer_dac_admin(explain_string_buffer_t *sb);
00141 
00149 void explain_buffer_dac_net_admin(explain_string_buffer_t *sb);
00150 
00158 void explain_buffer_dac_net_raw(explain_string_buffer_t *sb);
00159 
00167 void explain_buffer_dac_ipc_lock(explain_string_buffer_t *sb);
00168 
00176 void explain_buffer_dac_ipc_owner(explain_string_buffer_t *sb);
00177 
00185 void explain_buffer_dac_sys_module(explain_string_buffer_t *sb);
00186 
00194 void explain_buffer_dac_sys_rawio(explain_string_buffer_t *sb);
00195 
00203 void explain_buffer_dac_sys_chroot(explain_string_buffer_t *sb);
00204 
00212 void explain_buffer_dac_sys_ptrace(explain_string_buffer_t *sb);
00213 
00221 void explain_buffer_dac_sys_pacct(explain_string_buffer_t *sb);
00222 
00230 void explain_buffer_dac_sys_admin(explain_string_buffer_t *sb);
00231 
00239 void explain_buffer_dac_sys_boot(explain_string_buffer_t *sb);
00240 
00248 void explain_buffer_dac_sys_nice(explain_string_buffer_t *sb);
00249 
00257 void explain_buffer_dac_sys_resource(explain_string_buffer_t *sb);
00258 
00266 void explain_buffer_dac_sys_time(explain_string_buffer_t *sb);
00267 
00275 void explain_buffer_dac_sys_tty_config(explain_string_buffer_t *sb);
00276 
00284 void explain_buffer_dac_sys_mknod(explain_string_buffer_t *sb);
00285 
00293 void explain_buffer_dac_sys_lease(explain_string_buffer_t *sb);
00294 
00304 void explain_buffer_and_the_process_is_not_privileged(
00305     explain_string_buffer_t *sb);
00306 
00317 void explain_buffer_does_not_have_capability(explain_string_buffer_t *sb,
00318     const char *cap_name);
00319 
00320 #endif /* LIBEXPLAIN_BUFFER_DAC_H */
00321 /* vim: set ts=8 sw=4 et : */