Debian Codegraph @

templates/man2/delete_module.2.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-06-05 06:21+0200\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 "delete_module"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "delete_module - unload a kernel module"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<O_*> constants */\n"
78 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
79 "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr ""
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<int syscall(SYS_delete_module, const char *>I<name>B<, unsigned int >I<flags>B<);>\n"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "I<Note>: glibc provides no wrapper for B<delete_module>(), necessitating the "
94 "use of B<syscall>(2)."
95 msgstr ""
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "The B<delete_module>() system call attempts to remove the unused loadable "
109 "module entry identified by I<name>. If the module has an I<exit> function, "
110 "then that function is executed before unloading the module. The I<flags> "
111 "argument is used to modify the behavior of the system call, as described "
112 "below. This system call requires privilege."
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid "Module removal is attempted according to the following rules:"
119 msgstr ""
120
121 #. type: IP
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "(1)"
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "If there are other loaded modules that depend on (i.e., refer to symbols "
133 "defined in) this module, then the call fails."
134 msgstr ""
135
136 #. type: IP
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "(2)"
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "Otherwise, if the reference count for the module (i.e., the number of "
148 "processes currently using the module) is zero, then the module is "
149 "immediately unloaded."
150 msgstr ""
151
152 #. type: IP
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "(3)"
157 msgstr ""
158
159 #. #-#-#-#-# archlinux: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
160 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
161 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
162 #. type: Plain text
163 #. #-#-#-#-# debian-trixie: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
164 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
165 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
166 #. type: Plain text
167 #. #-#-#-#-# debian-unstable: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
168 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
169 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
170 #. type: Plain text
171 #. #-#-#-#-# fedora-44: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
172 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
173 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
174 #. type: Plain text
175 #. #-#-#-#-# fedora-rawhide: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
176 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
177 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
178 #. type: Plain text
179 #. #-#-#-#-# mageia-cauldron: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
180 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
181 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
182 #. type: Plain text
183 #. #-#-#-#-# opensuse-leap-16-1: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
184 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
185 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
186 #. type: Plain text
187 #. #-#-#-#-# opensuse-tumbleweed: delete_module.2.pot (PACKAGE VERSION) #-#-#-#-#
188 #. O_TRUNC == KMOD_REMOVE_FORCE in kmod library
189 #. O_NONBLOCK == KMOD_REMOVE_NOWAIT in kmod library
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "If a module has a nonzero reference count, then the behavior depends on the "
195 "bits set in I<flags>. In normal usage (see NOTES), the B<O_NONBLOCK> flag "
196 "is always specified, and the B<O_TRUNC> flag may additionally be specified."
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid "The various combinations for I<flags> have the following effect:"
203 msgstr ""
204
205 #. type: TP
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "B<flags == O_NONBLOCK>"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid "The call returns immediately, with an error."
216 msgstr ""
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<flags == (O_NONBLOCK | O_TRUNC)>"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "The module is unloaded immediately, regardless of whether it has a nonzero "
230 "reference count."
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<(flags & O_NONBLOCK) == 0>"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "If I<flags> does not specify B<O_NONBLOCK>, the following steps occur:"
244 msgstr ""
245
246 #. type: IP
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "\\[bu]"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid "The module is marked so that no new references are permitted."
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "If the module's reference count is nonzero, the caller is placed in an "
264 "uninterruptible sleep state (B<TASK_UNINTERRUPTIBLE>) until the reference "
265 "count is zero, at which point the call unblocks."
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid "The module is unloaded in the usual way."
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "The B<O_TRUNC> flag has one further effect on the rules described above. By "
279 "default, if a module has an I<init> function but no I<exit> function, then "
280 "an attempt to remove the module fails. However, if B<O_TRUNC> was "
281 "specified, this requirement is bypassed."
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "Using the B<O_TRUNC> flag is dangerous! If the kernel was not built with "
289 "B<CONFIG_MODULE_FORCE_UNLOAD>, this flag is silently ignored. (Normally, "
290 "B<CONFIG_MODULE_FORCE_UNLOAD> is enabled.) Using this flag taints the "
291 "kernel (TAINT_FORCED_RMMOD)."
292 msgstr ""
293
294 #. type: SH
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "RETURN VALUE"
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "On success, zero is returned. On error, -1 is returned and I<errno> is set "
306 "to indicate the error."
307 msgstr ""
308
309 #. type: SH
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "ERRORS"
314 msgstr ""
315
316 #. type: TP
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "B<EBUSY>"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid ""
327 "The module is not \"live\" (i.e., it is still being initialized or is "
328 "already marked for removal); or, the module has an I<init> function but has "
329 "no I<exit> function, and B<O_TRUNC> was not specified in I<flags>."
330 msgstr ""
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "B<EFAULT>"
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid ""
343 "I<name> refers to a location outside the process's accessible address space."
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<ENOENT>"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid "No module by that name exists."
357 msgstr ""
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<EPERM>"
364 msgstr ""
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "The caller was not privileged (did not have the B<CAP_SYS_MODULE> "
371 "capability), or module unloading is disabled (see I</proc/sys/kernel/"
372 "modules_disabled> in B<proc>(5))."
373 msgstr ""
374
375 #. type: TP
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "B<EWOULDBLOCK>"
380 msgstr ""
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "Other modules depend on this module; or, B<O_NONBLOCK> was specified in "
387 "I<flags>, but the reference count of this module is nonzero and B<O_TRUNC> "
388 "was not specified in I<flags>."
389 msgstr ""
390
391 #. type: SH
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "STANDARDS"
396 msgstr ""
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid "Linux."
402 msgstr ""
403
404 #. type: SH
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "HISTORY"
409 msgstr ""
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "The B<delete_module>() system call is not supported by glibc. No "
416 "declaration is provided in glibc headers, but, through a quirk of history, "
417 "glibc versions before glibc 2.23 did export an ABI for this system call. "
418 "Therefore, in order to employ this system call, it is (before glibc 2.23) "
419 "sufficient to manually declare the interface in your code; alternatively, "
420 "you can invoke the system call using B<syscall>(2)."
421 msgstr ""
422
423 #. type: SS
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "Linux 2.4 and earlier"
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid "In Linux 2.4 and earlier, the system call took only one argument:"
434 msgstr ""
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid "B< int delete_module(const char *>I<name>B<);>"
440 msgstr ""
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 msgid "If I<name> is NULL, all unused modules marked auto-clean are removed."
446 msgstr ""
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Some further details of differences in the behavior of B<delete_module>() "
453 "in Linux 2.4 and earlier are I<not> currently explained in this manual page."
454 msgstr ""
455
456 #. type: SH
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "NOTES"
461 msgstr ""
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "The uninterruptible sleep that may occur if B<O_NONBLOCK> is omitted from "
468 "I<flags> is considered undesirable, because the sleeping process is left in "
469 "an unkillable state. As at Linux 3.7, specifying B<O_NONBLOCK> is optional, "
470 "but in future kernels it is likely to become mandatory."
471 msgstr ""
472
473 #. type: SH
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "SEE ALSO"
478 msgstr ""
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid ""
484 "B<create_module>(2), B<init_module>(2), B<query_module>(2), B<lsmod>(8), "
485 "B<modprobe>(8), B<rmmod>(8)"
486 msgstr ""
487
488 #. type: TH
489 #: debian-trixie
490 #, no-wrap
491 msgid "2024-05-02"
492 msgstr ""
493
494 #. type: TH
495 #: debian-trixie
496 #, no-wrap
497 msgid "Linux man-pages 6.9.1"
498 msgstr ""
499
500 #. type: Plain text
501 #: debian-trixie
502 msgid "Standard C library (I<libc>, I<-lc>)"
503 msgstr ""
504
505 #. type: TH
506 #: fedora-44 fedora-rawhide
507 #, no-wrap
508 msgid "2024-07-23"
509 msgstr ""
510
511 #. type: TH
512 #: fedora-44 fedora-rawhide
513 #, no-wrap
514 msgid "Linux man-pages 6.13"
515 msgstr ""
516
517 #. type: TH
518 #: mageia-cauldron
519 #, no-wrap
520 msgid "Linux man-pages 6.17"
521 msgstr ""
522
523 #. type: TH
524 #: opensuse-leap-16-1 opensuse-tumbleweed
525 #, no-wrap
526 msgid "Linux man-pages (unreleased)"
527 msgstr ""