⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 linux下记录系统日志代码以及记录内核日志代码
💻
字号:
Version 1.3 Patch Level 3General. ------------------------------------------------------------------Update to documentation including klogd.8 manpage to reflect new features.Included patch for modules-2.0.0 package to provide support for signallingklogd of changes in kernel module status.klogd ---------------------------------------------------------------------Provided support for signalling klogd to reload static and kernel modulesymbol information via SIGUSR1 and SIGUSR2.Implemented -p switch to cause a reload of kernel module symbol informationwhenever a protection fault is detected.Informative message is printed whenever klogd state change occurs.Added -i and -I switches to signal the currently executing klogd daemonto reload symbold information.Version 1.3 Patch Level 2General. ------------------------------------------------------------------Added oops.c and oops_test.c.  Oops.c implements a kernel loadable modulewhich will generate a general protection fault.  The oops_test.c programgenerates a test program for exercising the loadable module.syslogd ------------------------------------------------------------------Fixed bug resulting in file descriptors being orphaned when syslogd wasinitialized via signal handler.klogd ---------------------------------------------------------------------Bug fix to prevent errors when reading symbol tables with 64 bit addresses.Added support for debugging of protection faults occuring in kernelloadable modules.Version 1.3 Patch Level 1General. ------------------------------------------------------------------Cleanups in the Makefile.Patches to support compilation in the ALPHA environment.  I have notbeen able to test these personally so if anyone has any feedback Iwould be interested in hearing from the Linux ALPHA community.Spelling and grammar corrections in the man pages.syslogd ------------------------------------------------------------------Patch to fix parsing of hostnames in syslogd.c.The return value of gethostbyname is now properly checked.  This shouldfix the problems with core dumps when name resolution failed.Bounds error fixed when setting the file descriptors for UNIX domainsockets.klogd ---------------------------------------------------------------------Error checking and reporting enhanced.  I have a couple of reportsthat klogd is experiencing errors when reading the /proc filesystem.Any additional information would be appreciated.The sys_syslog function has been renamed to ksyslog.  This was in aset patches for ALPHA support so I am assuming that this is necessaryfor that environmentVersion 1.3 Numerous changes, performance enhancements, code cleanups and bug fixes.Too many to individually summarize.  Have a look at the top of eachsource file for more information.** Default behavior of sysklogd is not to accept any message thatis sent via syslog/udp.  To allow remote reception add -r to thecommand-line arguments.** Spaces are now accepted in the syslog configuration file.  Thisshould be a real crowd pleaser.syslogd now uses dynamic allocation of logging output descriptors.There is no longer a static limit on the number of log destinationsthat can be defined.klogd supports on-the-fly kernel address to symbol translations.This requires that a valid kernel symbol map be found at execution.** The default level for console log messages was changed to 6.  Thismeans that kernel messages with a priority less than or equal to 5(KERN_NOTICE) will be logged to the console.	This item has been flagged because it results in a behavior	change which will be different if version 1.3 replaces an	existing 1.2 binary.  Linus strongly suggested that this	behavior be changed and in the 1.3.3x kernels Linus in fact	made it impossible to set the console log level lower than	about 5.	There were good reasons from his perspective for doing so.	The most troublesome being that user's of packaged	distributions were not able to generate register dumps with	the kernel debugging keys, most notably altgr-SCRLCK.	If a kernels prior to 1.3.3x are being used the klogd daemon	invocation must be changed to something like: klogd -c 1		This will turn off logging of kernel messages to the console.	If you understand the ramifications of this the 1.3.3x kernels	can be patched to allow the suppression of console log	messages.  It is important to be cognizant of the effects of	these changes.  None the least of which is that Linus and Alan	will yell at you if you complain about not being able to	generate kernel debugging information.. :-)---------------------------------------------------------------------------Version 1.2Fixes to both klogd and syslogd so that the package will compile withouterrors due to the vararg procedures.Modified pid files produced so that the names of the files areklogd.pid and syslogd.pid respectively.Fixed bug in klogd which prevented output from being directed to a filewhen the program was compiled to auto-background itself.  In theauto-backgrounding configuration the forked process was closing all itsfile descriptors which was causing the errant behavior.Modified signal handling in klogd so that all signal are set to ignoredbefore establishing specific signal handlers.Fixed bug in syslogd which was causing a delay in opening of the /dev/logUNIX domain socket.  This should correct the race condition which waspreventing klogd from properly logging kernel messages when the twodaemons were started in rapid succession.Modified the closing/opening of file descriptors when syslogd wascompiled with auto-backgrounding support.  Closes the potential fora somewhat obscure bug caused by the /dev/log socket being opened onfd 0.Changed the names of the man pages from an extension of 1 to 8.---------------------------------------------------------------------------Version 1.1Extensive changes and additional functionality added to klogd.  Pleasesee sources and man-pages for documentation.Fixed bugs in both syslogd and klogd with respect to fragmentedmessage re-assembly.  Bootup messages should now be display properly.Fixed bug in syslogd which prevented proper logging of messages withpriority classes of none and emerg.Fixed bug which caused core dump when messages were logged to users.Also fixed bug with messages to login type of LOGIN.Fixed problem with zombies being left when messages were logged tomultiple users.Enhanced functionality of syslog_tst program.Added man-pages.------------------------------------------------------------------------------------------------------------------------------------------------------Version 1.0Initial release.---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -