0
I Use This!
Activity Not Available

Commits : Listings

Analyzed about 1 year ago. based on code collected about 1 year ago.
Jan 18, 2023 — Jan 18, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Patch from Baruch Even <[email protected]>
Muli Ben-Yehuda
as mulix
More... almost 21 years ago
* module/rules/freebsd5/log_dev.c: (init_log_dev_file): Use clone_setup() function rather than rely on lazy initialization. More... almost 21 years ago
* module/hijack/linux/hijack_sysctl.c: (scthijack_sysctl_init): check, and set owner, only if tracker_top_table[0].de isn't null, because even if register_sysctl_table() it doesn't procfs registeration worked. * module/rules/linux/tracker_sysctl.c: (sctrules_sysctl_init): likewise More... almost 21 years ago
Make procfs sysctls (/proc/sys/*) safe when module tries to unload, under Linux 2.4 and 2.6 More... almost 21 years ago
forgot to switch to (int) now that sct_inc_use_count() return value. More... almost 21 years ago
Make sct_inc_use_count() return 1 if use count increase worked. More... almost 21 years ago
Make special syscalls obey scthijack_lock_caller() return value, same way the templates works. More... almost 21 years ago
* module/hijack/common/syscall_hijack_common.c: (scthijack_unlock_caller): when calling this function, caller should be locked already, so caller lock data must not be NULL. * module/templates/syscall_hijack_stub.tmpl.BSD: obey scthijack_lock_caller() return value. * module/templates/syscall_hijack_stub.tmpl.Linux: likewise More... almost 21 years ago
scthijack_lock_caller() may fail under linux 2.6, now it returns non-zero if sct_rules is locked, and 0 if failed. More... almost 21 years ago
* module/hijack/common/syscalls_list.c: (add_pid_trace): switch logic, instand of return if p == NULL, add to list only if p != NULL. * module/hijack/netbsd/special_hijack.c: (stub_syscall_exit): add pid trace support. More... almost 21 years ago
Use scthijack_lock_caller() and scthijack_unlock_caller() for special hijack syscalls in the same way of the templates. And get after_func only after orignal syscall returned. More... almost 21 years ago
Lock sct_rules module while calling before, and after functions. More... almost 21 years ago
Add function sct_atomic_set_ptr() to switch pointer by value. More... almost 21 years ago
* module/hijack/linux/syscall_hijack.c: (sct_syscall_switch): remove my last commit. xchg() is broken under linux 2.2. the macro xchg() under 2.2 isn't defined with `volatile` which causes many werid problems. More... almost 21 years ago
* module/hijack/linux/syscall_hijack.c: (sct_syscall_switch): make linux 2.2 use xchg() for syscall switching, it previously didn't work because for some odd reason xchg() on linux 2.2 must return into a parameter. More... almost 21 years ago
2004-02-29 10:08:55 Muli Ben-Yehuda <[email protected]>
Muli Ben-Yehuda
as mulix
More... almost 21 years ago
* sct_parselib/filter_parser.cpp: reset filter parser variable type to DT_LAST_TYPE. * sct_parselib/parser.cpp: use memmove(). According to manpage in memmove(), the two strings may overlap. while in memcpy() manpage such saying doesn't appear. More... almost 21 years ago
* module/include/arch-bsd/atomic.h: the variable doesn't need to be volatile. More... almost 21 years ago
Another possible memory leak if failed to allocate node. More... almost 21 years ago
Dont call functions who may sleep (in our case mem_alloc()) while holding tasklist_lock spinlock. More... almost 21 years ago
Fix memory leak. More... almost 21 years ago
I mistakly removed <asm/unistd.h> from here, readd it. More... almost 21 years ago
* tests/stress/sct_rules_module_tests.c: (wait4_test), (test_all_syscalls_register_rules): Changed waitpid test into wait4, waitpid() is mapped in libc to wait4(). More... almost 21 years ago
Rework module include files. More... almost 21 years ago
Move 'debug_level' variable from common/ directory to per arch/ directory to avoid conflict between two modules Add default debugging level. Rename sct_cp_to_user_sysctl() in sct_hijack module into scthijack_cp_to_user_sysctl() to avoid conflict with sct_rules. More... almost 21 years ago
Fix compilation under linux 2.6 - missing includes. More... almost 21 years ago
Fix warnings of 'Using a hash as a reference is deprecated'. More... almost 21 years ago
Linux: add MODULE_PARM for 'allow_unloading', and 'debug' parameters. More... almost 21 years ago
Fix compilation under linux-2.2 add missing function proc_doulongvec_minmax() More... almost 21 years ago
sct_hijack now needs snprintf.c for syscalls list generation. add it. More... almost 21 years ago