Hi, Michael! syslog(2) just returns ENOSYS when CONFIG_PRINTK is not enabled. This should be described in man pages, I think. Patch is below. Thanks. Sigend-off-by: WANG Cong <wcong@critical-links.com> --- diff -Nrup man-pages-3.00/man2/syslog.2 man-pages-3.00.modified/man2/syslog.2 --- man-pages-3.00/man2/syslog.2 2008-06-11 05:20:46.000000000 +0100 +++ man-pages-3.00.modified/man2/syslog.2 2008-06-19 17:13:00.000000000 +0100 @@ -235,6 +235,12 @@ capability). .B ERESTARTSYS System call was interrupted by a signal; nothing was read. (This can be seen only during a trace.) +.TP +.B ENOSYS +This system call is not enabled when the operating system +kernel was compiled. +The kernel configuration parameter controlling this is +.BR CONFIG_PRINTK . .SH "CONFORMING TO" This system call is Linux-specific and should not be used in programs intended to be portable. --
| Linus Torvalds | Linux 2.6.21 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Josef 'Jeff' Sipek | [PATCH 02/24] lookup_one_len_nd - lookup_one_len with nameidata argument |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| David Miller | [PATCH]: Preliminary release of Sun Neptune driver |
