Bug 69101

Summary: EFAULT is missing from the man-page for open system call [open(2)]
Product: Documentation Reporter: mrrosen
Component: man-pagesAssignee: documentation_man-pages (documentation_man-pages)
Status: RESOLVED INVALID    
Severity: normal CC: bhaktiparmar101, mtk.manpages
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description mrrosen 2014-01-20 19:21:37 UTC
Open can generate an EFAULT (errno = 14) if the const char* path is an invalid pointer (ie one that is not accessible). However, while the man-page lists numerous possible error codes open might generate, this one is missing.
Comment 1 Michael Kerrisk 2014-01-21 13:48:42 UTC
I think you've missed something. EFAULT is listed in open(1):

http://man7.org/linux/man-pages/man2/open.2.html#ERRORS