Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 172) sorted by relevance

1234567

/dragonfly/contrib/openpam/lib/libpam/
H A Dopenpam_load.c57 pam_module_t *module; in openpam_load_module() local
59 module = openpam_dynamic(modulename); in openpam_load_module()
66 module = openpam_static(modulename); in openpam_load_module()
71 if (module == NULL) { in openpam_load_module()
75 return (module); in openpam_load_module()
88 if (module == NULL) in openpam_release_module()
90 if (module->dlh == NULL) in openpam_release_module()
93 dlclose(module->dlh); in openpam_release_module()
95 FREE(module->path); in openpam_release_module()
96 FREE(module); in openpam_release_module()
[all …]
H A Dopenpam_dynamic.c125 pam_module_t *module; in try_module() local
128 if ((module = calloc(1, sizeof *module)) == NULL || in try_module()
137 module->func[i] = (pam_func_t)dlfunc(module->dlh, in try_module()
155 return (module); in try_module()
158 if (module != NULL) { in try_module()
160 dlclose(module->dlh); in try_module()
162 FREE(module->path); in try_module()
163 FREE(module); in try_module()
181 pam_module_t *module; in openpam_dynamic() local
247 return (module); in openpam_dynamic()
[all …]
H A Dopenpam_static.c61 pam_module_t **module; in openpam_static() local
63 SET_FOREACH(module, openpam_static_modules) { in openpam_static()
64 if (strcmp((*module)->path, path) == 0) in openpam_static()
65 return (*module); in openpam_static()
H A Dopenpam_dispatch.c78 pamh->current->module->path, in openpam_dispatch()
107 if (chain->module->func[primitive] == NULL) { in openpam_dispatch()
109 chain->module->path, pam_sm_func_name[primitive]); in openpam_dispatch()
118 pam_sm_func_name[primitive], chain->module->path); in openpam_dispatch()
119 r = (chain->module->func[primitive])(pamh, flags, in openpam_dispatch()
123 chain->module->path, pam_sm_func_name[primitive], in openpam_dispatch()
/dragonfly/sys/sys/
H A Dmodule.h53 typedef struct module *module_t;
111 #define MODULE_DEPEND(module, mdepend, vmin, vpref, vmax) \ argument
112 static struct mod_depend _##module##_depend_on_##mdepend = { \
117 MODULE_METADATA(_md_##module##_on_##mdepend, MDT_DEPEND, \
118 &_##module##_depend_on_##mdepend, #mdepend)
122 SYSINIT(name##module, sub, order, module_register_init, &data); \
125 #define MODULE_VERSION(module, version) \ argument
126 static struct mod_version _##module##_version = { \
129 MODULE_METADATA(_##module##_version, MDT_VERSION, \
130 &_##module##_version, #module)
/dragonfly/etc/pam.d/
H A DREADME5 Each file details the module chain for a single service, and must be
17 module-type control-flag module-path arguments
24 module-type:
32 control-flag: How libpam handles success or failure of the module.
38 module failed, no remaining modules are run.
49 preceding auth module.
51 the preceding auth module, and if that fails
57 Note that having a "sufficient" module as the last entry for a
58 particular service and module type may result in surprising behaviour.
60 pam_deny module at the end of the chain.
/dragonfly/contrib/gdb-7/gdb/python/
H A Dpy-evts.c48 if (PyModule_AddObject (gdb_py_events.module, in add_new_registry()
64 gdb_py_events.module = PyModule_Create (&EventModuleDef); in gdbpy_initialize_py_events()
66 gdb_py_events.module = Py_InitModule ("events", NULL); in gdbpy_initialize_py_events()
69 if (!gdb_py_events.module) in gdbpy_initialize_py_events()
85 Py_INCREF (gdb_py_events.module); in gdbpy_initialize_py_events()
89 (PyObject *) gdb_py_events.module) < 0) in gdbpy_initialize_py_events()
/dragonfly/sbin/ipfw3/
H A Dipfw3.c179 tmp->module = module; in register_ipfw_keyword()
200 tmp->module = module; in register_ipfw_func()
207 if (tmp->opcode == opcode && tmp->module == module) { in register_ipfw_func()
272 if (k->module == cmd->module && in show_filter()
276 k->module == m->module && in show_filter()
417 map->module == key->module && in rule_add()
451 map->module == key->module && in rule_add()
478 map->module == key->module && in rule_add()
525 map->module == key->module && in rule_add()
815 if ( k->module == cmd->module && k->opcode == cmd->opcode ) { in rule_show()
[all …]
H A Dipfw3.h131 int module; member
138 int module; member
146 void register_ipfw_keyword(int module, int opcode, char *word, int type);
155 void register_ipfw_keyword(int module, int opcode, char *word, int type);
156 void register_ipfw_func(int module, int opcode,
/dragonfly/sys/dev/drm/
H A Ddrm_encoder_slave.c58 struct module *module = NULL;
76 module = client->dev.driver->owner;
77 if (!try_module_get(module)) {
98 module_put(module);
115 struct module *module = client->dev.driver->owner;
120 module_put(module);
/dragonfly/tools/tools/bus_autoconf/
H A Dbus_autoconf.c64 char *module; in main() local
77 module = strchr(fname, ','); in main()
78 if (module == NULL) { in main()
83 *module++ = 0; in main()
86 postfix = strchr(module, '.'); in main()
95 usb_import_entries(section, module, ptr, len); in main()
/dragonfly/contrib/file/magic/Magdir/
H A Dos929 # OS9/6809 module descriptions:
31 0 beshort 0x87CD OS9/6809 module:
43 >6 byte&0xf0 0x30 multi-module
44 >6 byte&0xf0 0x40 data module
46 >6 byte&0xf0 0xC0 system module
53 0 beshort 0x4AFC OS9/68K module:
74 >0x12 byte 3 multi-module
75 >0x12 byte 4 data module
77 >0x12 byte 12 system module
H A Daudio115 >83 byte 0 (module)
171 #audio/x-tracker-module
177 #audio/x-tracker-module
188 #audio/x-protracker-module
192 #audio/x-protracker-module
196 #audio/x-startracker-module
200 #audio/x-startracker-module
204 #audio/x-fasttracker-module
208 #audio/x-fasttracker-module
212 #audio/x-fasttracker-module
[all …]
/dragonfly/lib/libc/citrus/
H A Dcitrus_mapper.c130 size_t linebufsize, const char **module, const char **variable) in lookup_mapper_entry() argument
163 *module = p; in lookup_mapper_entry()
206 const char * __restrict module, in mapper_open() argument
226 ret = _citrus_load_module(&cm->cm_module, module); in mapper_open()
232 _citrus_find_getops(cm->cm_module, module, "mapper"); in mapper_open()
283 const char * __restrict module, const char * __restrict variable) in _citrus_mapper_open_direct() argument
286 return (mapper_open(ma, rcm, module, variable)); in _citrus_mapper_open_direct()
320 const char *module, *variable; in _citrus_mapper_open() local
341 (size_t)PATH_MAX, &module, &variable); in _citrus_mapper_open()
347 ret = mapper_open(ma, &cm, module, variable); in _citrus_mapper_open()
/dragonfly/contrib/gcc-4.7/libobjc/
H A Dinit.c568 __objc_exec_class (struct objc_module *module) in __objc_exec_class() argument
579 struct objc_symtab *symtab = module->symtab; in __objc_exec_class()
596 init_check_module_version (module); in __objc_exec_class()
625 __objc_module_list = list_cons (module, __objc_module_list); in __objc_exec_class()
837 __objc_create_classes_tree (struct objc_module *module) in __objc_create_classes_tree() argument
840 struct objc_symtab *symtab = module->symtab; in __objc_create_classes_tree()
874 __objc_call_load_callback (struct objc_module *module) in __objc_call_load_callback() argument
879 struct objc_symtab *symtab = module->symtab; in __objc_call_load_callback()
913 init_check_module_version (struct objc_module *module) in init_check_module_version() argument
915 if ((module->version != OBJC_VERSION) || (module->size != sizeof (struct objc_module))) in init_check_module_version()
[all …]
/dragonfly/contrib/bmake/
H A Dmake.h666 #define DEBUG(module) (opts.debug.CONCAT(DEBUG_, module)) argument
670 #define DEBUG_IMPL(module, args) \ argument
672 if (DEBUG(module)) \
676 #define DEBUG0(module, fmt) \ argument
677 DEBUG_IMPL(module, (fmt))
678 #define DEBUG1(module, fmt, arg1) \ argument
679 DEBUG_IMPL(module, (fmt, arg1))
680 #define DEBUG2(module, fmt, arg1, arg2) \ argument
681 DEBUG_IMPL(module, (fmt, arg1, arg2))
682 #define DEBUG3(module, fmt, arg1, arg2, arg3) \ argument
[all …]
/dragonfly/usr.sbin/ppp/
H A Ddefs.c423 loadmodules(int how, const char *module, ...) in loadmodules() argument
428 va_start(ap, module); in loadmodules()
429 while (module != NULL) { in loadmodules()
430 if (modfind(module) == -1) { in loadmodules()
431 if (ID0kldload(module) == -1) { in loadmodules()
433 log_Printf(LogWARN, "%s: Cannot load module\n", module); in loadmodules()
437 module = va_arg(ap, const char *); in loadmodules()
444 loadmodules(int how __unused, const char *module __unused, ...) in loadmodules()
/dragonfly/contrib/openpam/
H A DHISTORY42 - ENHANCE: Add a pam_return(8) module which returns an arbitrary
43 code specified in the module options.
57 module (or misspelling the name of a module) in a policy could
131 while searching for a module.
157 by the module to pam_set_user(3) and pam_get_authtok(3).
164 module before loading it.
331 - ENHANCE: Added sample pam_unix module.
388 of the module data list.
427 if the module that was actually loaded was versioned.
464 specified by the module.
[all …]
/dragonfly/contrib/smbfs/
H A DINSTALL5 process requires kernel sources in order to compile KLD module. If you want
9 Note for FreeBSD-current: it have kernel module sources in the base
11 config file. smbfs can be either compiled in the kernel or loaded as module.
19 shares and unload an old module via 'kldunload smbfs' command.
26 directory and KLD module into /modules directory.
34 KLD module can be loaded either manually:
/dragonfly/share/examples/kld/cdev/
H A DREADME67 This is the README file for the sample kld module
70 A kld module may be used to load any data or
73 the kernel that the module should be used instead of the
76 Generally, it is assumed that a loadable module is one of
81 This is not enforced, so you may use the kld module
85 allow the module loader to replace an *existing* entry to
105 To test the module, do the following:
107 cd module
122 The module consumes memory when loaded; it can be freed up by
126 cd module
[all …]
/dragonfly/lib/libipfw3/basic/
H A Dipfw3_basic.c251 cmd->module = MODULE_BASIC_ID; in add_proto()
262 (*cmd)->module = MODULE_BASIC_ID; in parse_count()
272 (*cmd)->module = MODULE_BASIC_ID; in parse_skipto()
342 (*cmd)->module = MODULE_BASIC_ID; in parse_in()
352 (*cmd)->module = MODULE_BASIC_ID; in parse_out()
362 (*cmd)->module = MODULE_BASIC_ID; in parse_via()
381 (*cmd)->module = MODULE_BASIC_ID; in parse_src_port()
395 (*cmd)->module = MODULE_BASIC_ID; in parse_dst_port()
419 (*cmd)->module = MODULE_BASIC_ID; in parse_from()
481 (*cmd)->module = MODULE_BASIC_ID; in parse_to()
[all …]
/dragonfly/lib/libipfw3/layer2/
H A Dipfw3_layer2.c137 (*cmd)->module = MODULE_LAYER2_ID; in parse_layer2()
151 (*cmd)->module = MODULE_LAYER2_ID; in parse_mac_from()
157 (*cmd)->module = MODULE_LAYER2_ID; in parse_mac_from()
175 (*cmd)->module = MODULE_LAYER2_ID; in parse_mac_to()
181 (*cmd)->module = MODULE_LAYER2_ID; in parse_mac_to()
197 (*cmd)->module = MODULE_LAYER2_ID; in parse_mac()
/dragonfly/contrib/tcpdump/
H A Dnetdissect.c122 nd_load_smi_module(const char *module, char *errbuf, size_t errbuf_size) in nd_load_smi_module() argument
125 if (smiLoadModule(module) == 0) { in nd_load_smi_module()
127 module); in nd_load_smi_module()
134 module); in nd_load_smi_module()
/dragonfly/lib/libipfw3/layer4/
H A Dipfw3_layer4.c69 (*cmd)->module = MODULE_LAYER4_ID; in parse_tcpflag()
92 (*cmd)->module = MODULE_LAYER4_ID; in parse_uid()
114 (*cmd)->module = MODULE_LAYER4_ID; in parse_gid()
124 (*cmd)->module = MODULE_LAYER4_ID; in parse_established()
137 (*cmd)->module = MODULE_LAYER4_ID; in parse_bpf()
/dragonfly/contrib/pam_passwdqc/
H A DREADME1 pam_passwdqc is a simple password strength checking module for
7 This module should be stacked before your usual password changing
8 module (such as pam_unix or pam_pwdb) in the password management group
10 password changing module should then be told to use the provided new
13 password changing module lacks the "use_authtok" option or its prompts
16 option to use with the password changing module is "use_first_pass".
142 The module can be configured to warn of weak passwords only, but not
148 Normally, the module uses getpwnam(3) to obtain the user's personal
154 The number of times the module will ask for a new password if the user
173 also specified, in which case no other module gets a chance to ask
[all …]

1234567