Bug 69101 - EFAULT is missing from the man-page for open system call [open(2)]
Summary: EFAULT is missing from the man-page for open system call [open(2)]
Status: RESOLVED INVALID
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 19:21 UTC by mrrosen
Modified: 2018-09-05 15:22 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.