docs/125746: man 2 socket ERRORS section incomplete

Dan Lukes dan at obluda.cz
Fri Jul 18 12:30:04 UTC 2008


>Number:         125746
>Category:       docs
>Synopsis:       man 2 socket ERRORS section incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 18 12:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
Obludarium
>Environment:
src/lib/libc/sys/socket.2,v 1.30 2004/07/02 23:52:13 ru

>Description:
	socket(2) may return EPERM also, for example, when SOCK_RAW socket type requested by non-superuser

	The EPERM return code is not mentioned in ERRORS section of manual page


>How-To-Repeat:
>Fix:

	Add the notice about the EPERM in ERROR section of socket(2) manual page - something like:

EPERM  User has insufficient privileges to carry out requested operation.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list