uawdijnntqw1x1x1
IP : 216.73.216.155
Hostname : vm5018.vps.agava.net
Kernel : Linux vm5018.vps.agava.net 3.10.0-1127.8.2.vz7.151.14 #1 SMP Tue Jun 9 12:58:54 MSK 2020 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
var
/
..
/
usr
/
share
/
doc
/
.
/
javascript-common
/
..
/
klogd
/
modutils.patch
/
/
diff -u --new-file --recursive base/modules-2.0.0/depmod/modprobe.c ./modules-2.0.0/depmod/modprobe.c --- base/modules-2.0.0/depmod/modprobe.c Mon Jun 10 05:29:08 1996 +++ ./modules-2.0.0/depmod/modprobe.c Thu Aug 29 09:58:01 1996 @@ -233,6 +233,13 @@ verbose ("\r\t%s\n\t\t",cmd); int ret = system(cmd); #endif + if ( fork() == 0 ) + { + /* Child process. */ + if ( execlp("klogd", "klogd", "-i", (char *) 0) < 0 ) + fprintf(stderr, "Failure in signaling klogd.\n"); + exit(0); + } return ret; } /* diff -u --new-file --recursive base/modules-2.0.0/insmod/insmod.c ./modules-2.0.0/insmod/insmod.c --- base/modules-2.0.0/insmod/insmod.c Mon Jun 10 06:42:25 1996 +++ ./modules-2.0.0/insmod/insmod.c Thu Aug 29 09:56:53 1996 @@ -253,6 +253,18 @@ ++n_stringpatches; } + +void signal_klogd() { + if ( fork() == 0 ) + { + if ( execlp("klogd", "klogd", "-i", (char *) 0) < 0 ) + fprintf(stderr, "Failure in signaling klogd.\n"); + exit(0); + } + return; +} + + int main(int argc, char **argv) { FILE *fp; @@ -983,6 +995,8 @@ symvalue(sp) + addr, symtype, symname(sp)); } + signal_klogd(); + if (nksyms > 0) free(ksymtab); /* it has done its job */ @@ -1292,6 +1306,7 @@ --argc; ++argv; } + signal_klogd(); return errors; } /* else recursive removal */ @@ -1353,6 +1368,8 @@ break; } } + + signal_klogd(); return errors; }
/var/../usr/share/doc/./javascript-common/../klogd/modutils.patch