FOr SYSCALL_MODULE_HELPER, use "sys/<syscallname>" module name.
FOr SYSCALL32_MODULE_HELPER, use "sys32/<syscallname>" module name. This avoids modules name conflict when compat32 syscall does not need shims. Note that SYSCALL_MODULE_HELPER is going to be unused in the tree by several next commits. Suggested by: jhb MFC after: 2 weeks
This commit is contained in:
parent
e28b3013f9
commit
7932a1f757
@ -61,7 +61,7 @@ static struct syscall_module_data name##_syscall32_mod = { \
|
||||
}; \
|
||||
\
|
||||
static moduledata_t name##32_mod = { \
|
||||
#name, \
|
||||
"sys32/" #name, \
|
||||
syscall32_module_handler, \
|
||||
&name##_syscall32_mod \
|
||||
}; \
|
||||
|
@ -149,7 +149,7 @@ static struct syscall_module_data name##_syscall_mod = { \
|
||||
}; \
|
||||
\
|
||||
static moduledata_t name##_mod = { \
|
||||
#name, \
|
||||
"sys/" #name, \
|
||||
syscall_module_handler, \
|
||||
&name##_syscall_mod \
|
||||
}; \
|
||||
|
Loading…
Reference in New Issue
Block a user