lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080619172932.0509e359@hack>
Date:	Thu, 19 Jun 2008 17:29:32 +0100
From:	WANG Cong <wcong@...tical-links.com>
To:	mtk.manpages@...il.com
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: [Patch] Add the ENOSYS description for syslog(2)


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@...tical-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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ