Bug 125746

Summary: man 2 socket ERRORS section incomplete
Product: Documentation Reporter: Dan Lukes <dan>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dan Lukes 2008-07-18 13:30:03 UTC
	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

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.
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2008-08-04 23:22:30 UTC
State Changed
From-To: open->patched

The EPERM error has been added to the ERRORS section of socket.2, 
thanks! 


Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2008-08-04 23:22:30 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me, MFC reminder.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-08-04 23:22:35 UTC
trhodes     2008-08-04 22:22:17 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/sys         socket.2 
  Log:
  SVN rev 181312 on 2008-08-04 22:22:17Z by trhodes
  
  Add EPERM to the ERRORS section.
  
  PR:             125746
  
  Revision  Changes    Path
  1.33      +3 -1      src/lib/libc/sys/socket.2
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-08-29 01:20:28 UTC
trhodes     2008-08-29 00:20:05 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libc/sys         socket.2 
  Log:
  SVN rev 182420 on 2008-08-29 00:20:05Z by trhodes
  
  MFC r181312:
  
  Add EPERM to the ERRORS section.
  
  PR: 125746
  
  Revision  Changes    Path
  1.31.2.1  +3 -1      src/lib/libc/sys/socket.2
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2008-08-29 01:44:20 UTC
trhodes     2008-08-29 00:44:00 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libc/sys         socket.2 
  Log:
  SVN rev 182421 on 2008-08-29 00:44:00Z by trhodes
  
  MFC r181312:
  
  Add EPERM to the ERRORS section.
  
  PR: 125746
  
  > PR:            If a GNATS PR is affected by the change.
  > Submitted by:  If someone else sent in the change.
  > Reviewed by:   If someone else reviewed your modification.
  > Approved by:   If you needed approval for this commit.
  > Obtained from: If the change is from a third party.
  > MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
  > Security:      Vulnerability reference (one per line) or description.
  > Empty fields above will be automatically removed.
  
  _M   sys
  M    sys/socket.2
  
  Revision  Changes    Path
  1.30.8.1  +3 -1      src/lib/libc/sys/socket.2
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Tom Rhodes freebsd_committer freebsd_triage 2008-08-29 01:44:41 UTC
State Changed
From-To: patched->closed

MFC complete, thanks!