Debian Codegraph @

templates/man3/get_auditfail_action.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-02-27 18:52+0100\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "GET_AUDITFAIL_ACTION"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "2006-7-10"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "Linux 2.7"
38 msgstr ""
39
40 #. type: TH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "Linux Programmer's Manual"
45 msgstr ""
46
47 #. type: SH
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, no-wrap
51 msgid "NAME"
52 msgstr ""
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 msgid "get_auditfail_action - Get failure_action tunable value"
58 msgstr ""
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "SYNOPSIS"
65 msgstr ""
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide
69 #, no-wrap
70 msgid "B<#include E<lt>libaudit.hE<gt>>\n"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide
75 #, no-wrap
76 msgid "B<int get_auditfail_action(auditfail_t *>I<failmode>B<);>\n"
77 msgstr ""
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "DESCRIPTION"
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 msgid ""
90 "This function gets the failure_action tunable value stored in B</etc/"
91 "libaudit.conf>. B<get_auditfail_action> should be called after an "
92 "B<audit_open> call returns an error to see what action the admin prefers."
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "The failure_action value found in B</etc/libaudit.conf> is copied into the "
100 "I<failmode> argument upon function return. This value should then be used "
101 "by the calling application to determine what action should be taken when the "
102 "audit subsystem is unavailable."
103 msgstr ""
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "RETURN VALUE"
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "Upon success, B<get_auditfail_action> returns a zero, and the I<failmode> "
117 "argument will hold the failure_action value. The possible values for "
118 "failure_action are: FAIL_IGNORE (0), FAIL_LOG (1), and FAIL_TERMINATE (2). "
119 "Upon failure, B<get_auditfail_action> returns a return code of one."
120 msgstr ""
121
122 #. type: SH
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 #, no-wrap
126 msgid "ERRORS"
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "An error is returned if there is an error reading B</etc/libaudit.conf> or "
134 "if the failure_action tunable is not found in the file."
135 msgstr ""
136
137 #. type: SH
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid "EXAMPLES"
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-unstable fedora-44 fedora-rawhide
146 #, no-wrap
147 msgid ""
148 " /* Sample code */\n"
149 " auditfail_t failmode;\n"
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid ""
157 " if ((fd = audit_open() ) E<lt> 0 ) {\n"
158 " fprintf (stderr, \"Cannot open netlink audit socket\");\n"
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-unstable fedora-44 fedora-rawhide
163 #, no-wrap
164 msgid ""
165 " /* Get the failure_action */\n"
166 " if ((rc = get_auditfail_action(&failmode)) == 0) {\n"
167 " if (failmode == FAIL_LOG)\n"
168 " fprintf (stderr, \"Audit subsystem unavailable\");\n"
169 " else if (failmode == FAIL_TERMINATE)\n"
170 " exit (1);\n"
171 " /* If failmode == FAIL_IGNORE, do nothing */\n"
172 " }\n"
173 " }\n"
174 msgstr ""
175
176 #. type: SH
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "SEE ALSO"
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid "B<audit_open>(3), B<auditd>(8)."
187 msgstr ""
188
189 #. type: SH
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "AUTHOR"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid "Lisa M. Smith."
200 msgstr ""
201
202 #. type: Plain text
203 #: debian-trixie mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid "#include E<lt>libaudit.hE<gt>"
205 msgstr ""
206
207 #. type: Plain text
208 #: debian-trixie mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid "int\\ B<get_auditfail_action>(auditfail_t *I<failmode>);"
210 msgstr ""
211
212 #. type: Plain text
213 #: debian-trixie mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid ""
216 " /* Sample code */\n"
217 " auditfail_t failmode;\t\n"
218 msgstr ""
219
220 #. type: Plain text
221 #: debian-trixie mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid ""
224 " /* Get the failure_action */\n"
225 " if ((rc = get_auditfail_action(&failmode)) == 0) {\n"
226 " if (failmode == FAIL_LOG)\n"
227 " fprintf (stderr, \"Audit subsystem unavailable\");\n"
228 " else if (failmode == FAIL_TERMINATE) \n"
229 " exit (1);\n"
230 " /* If failmode == FAIL_IGNORE, do nothing */\n"
231 " }\n"
232 " }\n"
233 msgstr ""