public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29445] New: Error in the documentation
@ 2022-08-04  0:37 rmbeer2 at gmail dot com
  2022-08-04  0:39 ` [Bug libc/29445] Error in the documentation of OPEN rmbeer2 at gmail dot com
  2022-08-04  8:01 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: rmbeer2 at gmail dot com @ 2022-08-04  0:37 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29445

            Bug ID: 29445
           Summary: Error in the documentation
           Product: glibc
           Version: 2.35
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: rmbeer2 at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

After reading and doing some tests to be sure, I have verified that the
documentation of open (man 2 open) is not correct.

- Make read only (O_RDONLY) don't give read and write mode (O_RDWR).
- Using O_CREAT don't modify again the modes of the file after being created.
- Omit the third parameter, the mode get any garbage is make for the file.
- Write mode only work in the first time where the file is create, don't matter
if the file are create in no write mode.

I'm not sure how it should be fixed, or if any standard should be followed.
Perhaps only the modification of the operating details in the documentation is
needed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/29445] Error in the documentation of OPEN
  2022-08-04  0:37 [Bug libc/29445] New: Error in the documentation rmbeer2 at gmail dot com
@ 2022-08-04  0:39 ` rmbeer2 at gmail dot com
  2022-08-04  8:01 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rmbeer2 at gmail dot com @ 2022-08-04  0:39 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29445

rm beer <rmbeer2 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Error in the documentation  |Error in the documentation
                   |                            |of OPEN

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/29445] Error in the documentation of OPEN
  2022-08-04  0:37 [Bug libc/29445] New: Error in the documentation rmbeer2 at gmail dot com
  2022-08-04  0:39 ` [Bug libc/29445] Error in the documentation of OPEN rmbeer2 at gmail dot com
@ 2022-08-04  8:01 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2022-08-04  8:01 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29445

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
The manual pages are not maintained by the glibc project. Please report issues
with them to the linux-man mailing list:
<https://www.kernel.org/doc/man-pages/linux-man-ml.html>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-04  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04  0:37 [Bug libc/29445] New: Error in the documentation rmbeer2 at gmail dot com
2022-08-04  0:39 ` [Bug libc/29445] Error in the documentation of OPEN rmbeer2 at gmail dot com
2022-08-04  8:01 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).